Debug-Log Upload is working


After too much time, i finally got this beast working.
I can now have a dialog like this: 

... and my server saves a CSV, that looks like this:


That was much more work than i thought. Especially because i had to relearn PHP. I hate PHP... Its like C(++), but ugly :/ (and i really like C(++))

Tomorrow i want to (FINALLY) implement this into the game, and then i can (FINALLY) start to fix bugs...
I really hope you help me with playing and sending logs ;)

Thanks for reading :)


Extra Info:

The Log-File is converted to raw ascii, then compressed with gzip, then encrypted with a custom "algorithm" (yes it's just xor...), and then converted to base64*. This string i can send easily to my server via http-post and reverse the whole thing.

If you are interested in the code, just leave a comment. Then i'll do a little code presentation and explanation.

*its slightly converted. + becomes - and / becomes _. With "raw" base64 i have problems while sending it via http-post.


EDIT:

After looking at the Log-Send-Dialog for some time, i think i can remove the top. In the beginning i didn't include this informations in the log itself, but now it's kinda redundant....

Get Oregano Wars

Leave a comment

Log in with itch.io to leave a comment.