Official Soldat Forums

Official Content => Soldat Developer Log => Topic started by: Shoozza on September 09, 2012, 08:59:17 pm

Title: Devlog update (2012-09-10) Cleanup and Cleanup
Post by: Shoozza on September 09, 2012, 08:59:17 pm
Hello community!

I noticed that it was Sunday Night and I didn't really committed stuff for Soldat so instead of posting right away I did some code cleanup ;)
Zakath also did some code cleanup and Falcon worked on the scripcore leaving some "accidental" Delphi compile errors for me to fix (yeah happens like each week now :P).

Besides that I tried to replace all special libraries Soldat uses for GUI stuff with default ones in order to compile Soldat with Lazarus. But as our old version of Delphi needs these units for Unicode support it didn't work out. I could compile and run it but got error popups and playing wasn't possible...
I think it's better to separate the GUI from the game, redo the GUI and port the game to Lazarus that way.
But that will take a while and I don't plan to do it for the next release.

I wanted to work on the Updater for Soldat but then I looked into the code formatter in Lazarus. It actually comes close to what I want for Soldat after changing some settings.
I'm not sure if it will work for Soldat though as it crashed last time I tried it.

I also noticed that running Soldat in the Delphi debugger can be problematic. Especially if you trigger the high CPU load bug which seems to happens when you leave and join an offline game with a certain timing. I didn't test it much but it seems like you need to be dead while leave the game. If you know more about this let me know.
Title: Re: Devlog update (2012-09-10) Cleanup and Cleanup
Post by: themangokid2 on September 10, 2012, 12:52:54 pm
<33 loove <33 clean up, have nothing to add just that you are doing a good job!!
Title: Re: Devlog update (2012-09-10) Cleanup and Cleanup
Post by: Tehbugerz0r on September 11, 2012, 09:06:58 am
Quote
Especially if you trigger the high CPU load bug which seems to happens when you leave and join an offline game with a certain timing.
Can you please link to the bug tracker when you refer to specific current bugs? #160 (http://bugs.soldat.pl/view.php?id=160) is this the one you're refering to?
Title: Re: Devlog update (2012-09-10) Cleanup and Cleanup
Post by: As de Espada on September 11, 2012, 09:45:51 am
It's nice to see that there is some developing. Keep the good work, you are making soldat better :)
Title: Re: Devlog update (2012-09-10) Cleanup and Cleanup
Post by: Shoozza on September 11, 2012, 10:36:55 am
Quote
Especially if you trigger the high CPU load bug which seems to happens when you leave and join an offline game with a certain timing.
Can you please link to the bug tracker when you refer to specific current bugs? #160 (http://bugs.soldat.pl/view.php?id=160) is this the one you're refering to?
Yes that is the one I was referring to. I totally forgot that I added it to the bugtracker.