Page 1 of 1

saves/loads killing experience

Posted: 29 Nov 2006, 08:44
by sq2
*not sure if this is the sort of thing you guys are looking for*
*apologies in advance*

Warzone2100 Version
2.0.5_rc1

Operating System
xp:sp2 (NOT xp64!)

Hardware Information
amd64X2,nvidia 7600gt, not really related

Warzone2100 Configuration
basically recently installed, only changed rez.

Bug Description
ok so when recycling units, next combat thing you build gets that 'experience'
sometimes when saving and loading, this 'experience' is lost.
like recycle a commander hero, sart building a commander, save, load, commander is
built with no rank or experience.

maybe related, when moving between the chapters on the campaign
the units, and experience are all lost...
most noticeable moving to ch3 because it loads, and you fail immediately because you have no units

Re: saves/loads killing experience

Posted: 29 Nov 2006, 08:55
by lav_coyote25
right from the begining - this was a very often repeated (bug/feature ::) )...  pick any of the old forums and there would be at least once or 10 times a year that same complaint... supposedly it was to be looked at when the source was released to GPL.  seems we all overlooked this one :o . oh well , we are not perfect... please to be adding this to the list of things to do.  thankyou. ;D

Re: saves/loads killing experience

Posted: 29 Nov 2006, 09:10
by sq2
lol sorry i didn't know, i'm new here...
well i suppose u can kill this thread,
if its a known thing.
sorry for bringing it up again.

ps good work guys, looks sweet etc

Re: saves/loads killing experience

Posted: 29 Nov 2006, 09:13
by lav_coyote25
no . dont kill this  - its the only way to make sure all those annoying little  (features) get fixed...  even if its the last one to get looked at... it still needs to be done.
;D

Re: saves/loads killing experience

Posted: 29 Nov 2006, 17:30
by Watermelon
you'll probably need to change production run and production save struct to store another int value to store the exp level/number of kills of the current unit in production.

Re: saves/loads killing experience

Posted: 30 Nov 2006, 06:54
by sq2
Watermelon wrote: you'll probably need to change production run and production save struct to store another int value to store the exp level/number of kills of the current unit in production.
thats sorta what i was going to say, so your saying change the save routine
to record them, you make it sound so easy! :P
the only other logical solutions i can see is change it so that the experience is
only assinged when the units are finished.
but this would cause problems with build queues, i think. and change when
units would get the EXP so u would need to be carefull upgrading commanders.

Re: saves/loads killing experience

Posted: 01 Dec 2006, 16:42
by Watermelon
sq2 wrote: thats sorta what i was going to say, so your saying change the save routine
to record them, you make it sound so easy! :P
the only other logical solutions i can see is change it so that the experience is
only assinged when the units are finished.
but this would cause problems with build queues, i think. and change when
units would get the EXP so u would need to be carefull upgrading commanders.
assign exp when units are finished will probably cause more problems than the exp loss,like the build queues problem you mentioned,changing factory production save format is the best solution I can think of by far.