Official Soldat Forums

Official Content => Soldat Developer Log => Topic started by: Shoozza on March 04, 2012, 05:27:26 pm

Title: Devlog update (2012-03-04) Daily devlog test
Post by: Shoozza on March 04, 2012, 05:27:26 pm
Hi!

This time I tried something different.
I wrote mini devlogs every day :) This is how it would look like if you get updated from me every day ;)

Monday:
Updated Lazarus project files for Soldatserver.
Had to reinstall Lazarus because it didn't work with indy10 and had problems finding libraries ;)
Reinstalling didn't fix the issues so I had to modify the code and the project files for Lazarus to work correctly.
(installed Lazarus 3 or more times x86, x86_64 and different versions nightly build and stable)
After that I Installed a x86_64 crosscompiler for windows and compiled Soldatserver for 64bit windows.

Tuesday:
Tried to compile Soldatserver for Linux but zlib issues made me stop.
Modified the deploy scripts which are needed for Soldatserver.
Also thought about how the new translation system should look like (gettext or ini files). Took a look at the up and down sides of both solutions.
Implemented a very simple gettext like solution for testing purposes which because Delphi's hashstringlist is sadly not Unicode ready so this wasn't very effective.
My solution showed me that it would be 2 to 4 times slower than non translated string assignments.
Also played around with m4 preprocessor but It's not really worth it.
Would be nice to have some compile time functions in Delphi.
Found out that we use old libs for loading translations (and they throw a lot of warnings too :S) maybe we should update to the latest version. Well I guess only if time allows it.
Finished rewriting the Soldatserver patch deployment batch script (took weeks if not months to get back to it :S) and also fixed issues in the full deployment script for soldatserver. Releasing should be easy now.

Wednesday:
Did some code cleanup. Renamed labels and other controls with default names in soldats gui for better reading. Decided that Betatesting can start on 2012-03-03.

Thursday:
Fixed Spas reloads itself bug #149 (http://bugs.soldat.pl/view.php?id=149). Added autoreload support for server and bots (not sure if bots use it though :P). Updated the bugtracker.

Friday:
Added information about started votekicks to soldat. Wasn't that difficult. http://forums.soldat.pl/index.php?topic=41707.0
FLAB moved stuff to a different domain (our version control) so there was a certificate validating error message but MM told me that it's ok.

Saturday:
Skoskav fixed the #74 default volumes too loud bug (http://bugs.soldat.pl/view.php?id=74). Fixed bugs in build scripts and wrote the commandline compile script for Soldatserver for windows. We had a discussion about changelogs. Maybe mantis will be used in the future for keeping track of the changes (instead of our svnlog).

Sunday:
Falcon started helping a lot. He fixed the issues with loading bots with wrong values. He added a ForceWeaponX function to the scriptcore which allows forcing secondaries. ForceWeapon will be replaced by this function in the future.
He also added other stuff like AppOnIdleTimer which can be used when safemode is off to change the speed of AppOnIdle.
Then he also unlocked bows in Forceweapon and BotChat for normal Players.
He also removed the [*] from WriteConsole messages and disabled the "not allowed weapon" spam in OnPlayerDamage.
OnVoteMap and OnVoteKick were added to the script core which are called when a player votes for a map or to kick a player.
OnVoteMapStart and OnVoteKickStart are called when someone starts a map/kick vote.
For some reason the vote kick and vote map function were disabled :P
I did some refactoring work and tested a few Delphi extensions. I found a few Delphi extensions and tried them.
We finally have a profiler for Delphi and there are other tools like a memory leak detector and a code analysis tool.

I actually wanted to release the first beta version of Soldat 1.6.3 for the Beta team but there are still things missing for one click deployment so it didn't happen.

I'll work on the build scripts so that they work with the changed repository path (repository moved today) and then I'll finish the commanline compile scripts which should support debug and release and testing builds.


Ok, you made it.
Till next week (or until the beta comes out :P).
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Falcon` on March 04, 2012, 05:35:45 pm
I've also removed arrayhigh() as it was bugged (... actualy now shoozza found out why but it's gone already) and changed dummy bots behavior. For now to make bot stand still you don't have to name it Dummy, but you should add Dummy=1 in bot file. So don't get confused when they start running around on your servers :P
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Bonecrusher on March 04, 2012, 05:37:34 pm
I'm glad you focus mainly on bugfixing on a daily basis, it's what soldat needs most. Also happy about all those scriptcore enhancements falcon is going to introduce us to, hopefully :P Keep up the good work guys
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Sipar on March 04, 2012, 05:46:53 pm
fucking great, kudos to devs.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: themangokid2 on March 04, 2012, 06:07:45 pm
Again so nice to see more updates, good work. ^^
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Xadhoom on March 04, 2012, 06:18:33 pm
Keep up with the great work!
So happy Falcon joined dev-team.  ;)
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: DutchFlame on March 04, 2012, 07:54:13 pm
Lol, didn't understand any of these fixes, but im sure it will make soldat better so good job and keep going!

So the new release will be within 2 weeks from now?
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: As de Espada on March 04, 2012, 10:56:51 pm
too detailed I think, but if it's not that much extra work to you some peopple may like
you have to think to who are you making that dev (or is it whom?)
because if it's for players they won't understand shit

I'll translate:

Monday: worked on Lazarus, after some problems I was finally able to compile Soldatserver for Windows.

The other days are ok I think.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: McWise on March 05, 2012, 06:49:38 am
Wow I really like this daily dev log better than they one before,
but do you want to really post it daily or make a weekly update?

Because I think a daily update would be a bit too much :)

Keep it up!
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Tehbugerz0r on March 05, 2012, 08:29:15 am
Why does safe mode have to be disabled for AppOnIdleTimer? We can't all host servers for ourselves. Bloody annoying.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: jrgp on March 05, 2012, 08:31:31 am
Why does safe mode have to be disabled for AppOnIdleTimer? We can't all host servers for ourselves. Bloody annoying.

Maybe because that function's functionality can be used to abuse a soldatserver to the point of crashing it or causing high system load on the host itself.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Mighty on March 05, 2012, 10:35:29 am
Good work. Keep it up :)
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Tehbugerz0r on March 05, 2012, 10:48:19 am
Why does safe mode have to be disabled for AppOnIdleTimer? We can't all host servers for ourselves. Bloody annoying.

Maybe because that function's functionality can be used to abuse a soldatserver to the point of crashing it or causing high system load on the host itself.
So that's not gonna change, and may as well not exist? It didn't need safe mode on the modded server binaries which I can't seem to find the topic anywhere, so why the heck should we do that to the official version? It's all the scripter's responsibility, the skilled ones shouldn't suffer for those who don't know what they're doing. This is enesce's bull all over again.
Yes, I'm enraged. Happens after huge disappointment.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: SyavX on March 05, 2012, 11:42:42 am
Then he also unlocked BotChat for normal Players
Well, not the best idea... but if it's done, then why not to replace the OnPlayerSpeak event with:
Code: [Select]
function OnPlayerSpeak(ID: Byte; Text: string): stringto be able to alter a Text param?


He also removed the [*] from WriteConsole messages
So there is no more way to determine there was either scriptcore or soldatserver message displayed?
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Falcon` on March 05, 2012, 03:22:43 pm
So that's not gonna change, and may as well not exist? It didn't need safe mode on the modded server binaries which I can't seem to find the topic anywhere, so why the heck should we do that to the official version? It's all the scripter's responsibility, the skilled ones shouldn't suffer for those who don't know what they're doing. This is enesce's bull all over again.
Yes, I'm enraged. Happens after huge disappointment.

Soldat server hosters often give you some tools to upload the scripts to the servers (it's often a simple FTP access or derivative) thus they have no control on what's the "quality" of the uploaded script. That's why i decided to give them control on whenever the timer parameter should be on or not. What comes to modified binary (it's still available here (http://forums.soldat.pl/index.php?topic=41321.0) btw) it worked in pretty similar way: it was up to host to decide whenever he wants to use it or not. And as I mentioned, I'd rather still give them that choice.

Then he also unlocked BotChat for normal Players
Well, not the best idea...

*This one is a bit controversial due to obvious possibility of abuse. You may even ask "What are possible advantages of this?". We use it on Last Stand servers to make reloading similar to one in L4D2, so that when player reloads, script spams "Reloading!" trough him. It's also used in player controlled bosses to indicate incomming spell ("Come on, Hellrain!"). If you see some server admin abusing it - just avoid that server and best, report it somewhere

but if it's done, then why not to replace the OnPlayerSpeak event with:
Code: [Select]
function OnPlayerSpeak(ID: Byte; Text: string): stringto be able to alter a Text param?
He also removed the [*] from WriteConsole messages
As I shouldn't add more features now because beta tests has started, I'll add in in next version

So there is no more way to determine there was either scriptcore or soldatserver message displayed?
BotChat() doesn't trigger OnPlayerSpeak();
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: SyavX on March 05, 2012, 04:48:33 pm
So there is no more way to determine there was either scriptcore or soldatserver message displayed?
BotChat() doesn't trigger OnPlayerSpeak();

I meant messages like this:
(http://img51.imageshack.us/img51/8253/writeconsole.png)
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: machina on March 12, 2012, 07:32:36 am
Good job and keep with it until new release comes...
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Adam on March 15, 2012, 01:53:16 pm
  Ok...I've been following your updates and I just wanted to ask are you just going to keep fixing bugs or are you going to add different  components to the game like different gui,customization,BALANCEDguns, and more creativity to the game?. I'm not trying to say your work is bad but all I see is bug fix after fix...much of the bugs aren't even recognized...you don't have to do all this but maybe in an log update or something you can add a small post like updated gui Stage:1 ::) and again i'm not trying to say anything bad with your work but
if you can do a little tweak to the game it would be fine. :-*
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Dusty on March 15, 2012, 02:52:32 pm
this guy is obviously new to the game
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: 13th_account on March 15, 2012, 02:59:51 pm
  Ok...I've been following your updates and I just wanted to ask are you just going to keep fixing bugs or are you going to add different  components to the game like different gui,customization,BALANCEDguns, and more creativity to the game?. I'm not trying to say your work is bad but all I see is bug fix after fix...much of the bugs aren't even recognized...you don't have to do all this but maybe in an log update or something you can add a small post like updated gui Stage:1 ::) and again i'm not trying to say anything bad with your work but
if you can do a little tweak to the game it would be fine. :-*

I don't want to spoil any planned features or make promises we can't keep, but I've been looking into how to go about cleaning up and improving the GUI, and how to add new weapons if that becomes a possibility. The biggest problem with that though is that the new weapons really has to be unique and a worthy addition to Soldat, not just be another auto with slightly different stats. If anyone has any really good ideas for weapons I'd love to read them in the Suggestion forum.

Though right now I think the focus is on getting a release out as soon as possible that solves some nasty bugs.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: AdamD on March 15, 2012, 04:40:59 pm
ninja stars
halberds
weapon only describable as "FIRE ROCK"
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Adam on March 16, 2012, 01:07:23 pm
this guy is obviously new to the game
nah 1-2 years irc player :D
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: jrgp on March 16, 2012, 01:10:38 pm
this guy is obviously new to the game
nah 1-2 years irc player :D

You still count as new.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Adam on March 16, 2012, 01:41:34 pm
this guy is obviously new to the game
nah 1-2 years irc player :D

You still count as new.
[retard] <--- my face right now
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: jrgp on March 16, 2012, 01:58:48 pm
this guy is obviously new to the game
nah 1-2 years irc player :D

You still count as new.
[retard] <--- my face right now

I see you enjoy proving my point even further.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: 13th_account on March 16, 2012, 03:19:31 pm
Aren't you also pretty new, jrgp?
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Furai on March 16, 2012, 04:22:40 pm
Now let's argue who started playing this game earlier. Really. I like how this devlog is going off-topic. :)
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: jrgp on March 16, 2012, 05:02:28 pm
Aren't you also pretty new, jrgp?

Not quite. :P

2004, 8 years of Soldat.
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: DutchFlame on March 16, 2012, 06:27:24 pm
Im actually wondering where the next devlog is (supposed to be from last sunday).. oh well I guess this sundays will be a big one then..
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: Shoozza on March 16, 2012, 07:52:55 pm
Im actually wondering where the next devlog is (supposed to be from last sunday).. oh well I guess this sundays will be a big one then..
I had no internet for hmm 4 days and had to reinstalled windows too :/
Still not finished installing all stuff...
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: DutchFlame on March 16, 2012, 10:44:42 pm
Im actually wondering where the next devlog is (supposed to be from last sunday).. oh well I guess this sundays will be a big one then..
I had no internet for hmm 4 days and had to reinstalled windows too :/
Still not finished installing all stuff...

lol without shoozza being around soldat would be long gone..
Title: Re: Devlog update (2012-03-04) Daily devlog test
Post by: 13th_account on March 17, 2012, 03:39:01 am
ninja stars
halberds
weapon only describable as "FIRE ROCK"

Needs to be a bit more descriptive, and in the Suggestion forum so others can critique it.


Aren't you also pretty new, jrgp?

Not quite. :P

2004, 8 years of Soldat.

That still count as new. You've missed two thirds of the releases.