Sending debug-logs via HTTP


Yesterday i installed apache on my server, because i want to make sending logs very simpel. I had problems getting SSL to work but i'll try again today evening. Actually it's not really required because there is absolutly no critical data and i want to compress and encrypt the data anyway.

Good thing is, that Godot has the Node HTTPRequest builtin and i can send POST-data with it. With this i can simply "visit" the page and send in the same step the desired log.

Dont worry, there will be no personal data. The data includes:

  • Unique System ID Hash (so i can "track" if the same user has the same problem again. Its provded by the OS and then hashed)
  • Which game you play (so i an reuse this for other games)
  • Which version you play (so i know which problem appears in which version)
  • The logs (Random-Seeds, what the AI does, what you did, what units do if the have problems, etc.)

Especially with the logs i'll maybe run into problems when they get bigger, but it think it should work.
Of course there will be an option to disable the sending, but i really want to encourage you to leave it on.
I think it will be best to have this in 3 variants:

  • Automatic sending (default, sorry, but i really want "your" data to find the bugs...)
  • Manual sending (you can read what will be send, and you can allow it or not)
  • Disabled (please dont to it ;) )

If anybody is interessted in how i do this, just leave a comment, then i'll make a short tutorial. But beware, i'm not the best tutor.

Thanks for reading :)

Get Oregano Wars

Leave a comment

Log in with itch.io to leave a comment.