Trunk and released exe behave different

Discuss the future of Warzone 2100 with us.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Trunk and released exe behave different

Post by BunkerBlaster »

I have made several posts regarding stats, ping, score, etc because they dont work for me with the 2.3.0 released EXE or some of the prior betas. So I finally learned how to compile the game myself and found everything works. I looked for where this got fixed and see no change. So I reverted back to rev 10706 and stats, ping, score, everything works. Instead of reverting did a fresh download up to rev 10706 with same results (everything works). So I'm thinking the released EXE possibly has a problem with Win XP? Maybe from the way it was compiled or the machine it was compiled on? I wanted to see if the problem started with 2.3 beta 1 EXE or somewhere between but the EXE for the betas are no longer available on SF. Any suggestions on how to go about troubleshooting this would be greatly appreciated.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Trunk and released exe behave different

Post by Zarel »

Try 2.3-branch? I'm pretty sure it's a 2.3-branch specific problem.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Re: Trunk and released exe behave different

Post by BunkerBlaster »

Since the problem does not exist when I compile the game I would need to know what method the 2.30 release was compiled with and the operating system.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Trunk and released exe behave different

Post by Zarel »

BunkerBlaster wrote:Since the problem does not exist when I compile the game I would need to know what method the 2.30 release was compiled with and the operating system.
2.3.0 release was compiled by compiling 2.3-branch, not trunk.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Re: Trunk and released exe behave different

Post by BunkerBlaster »

ok, so if using SVN to upate to certain revision is not the right way to trouble shoot the problem, is there a specific snapshot I should work from? Or should I download the tarball??? This seems like its getting complicated since I don't fully understand.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Trunk and released exe behave different

Post by Buginator »

While we have done a recent snapshot of trunk, we have been doing all the betas from branch/2.3.
Every release (well, a couple exceptions) are listed in tags/2.3_betaxyz.

I thought I already explained what the issue was with the scoreboard?
and it ends here.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Re: Trunk and released exe behave different

Post by BunkerBlaster »

Buginator wrote:I thought I already explained what the issue was with the scoreboard?
Yes you did, scores and pings are last data priority sent and the buffer size issue. At the time I think I was refering to 8 player games and scores not updating would be understandable. Hell I don't see scores with 2 player games (never). The score is allways 0.
The thing is if I play between 2 computers using my compiled game (rev 10706) I do see scores and I see them in realtime so they work quite well. So what I'm saying is there is a huge difference and I just want to know why and perhaps help fix it. I'll try the snapshot...
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Trunk and released exe behave different

Post by Buginator »

That is only part of the problem. The other part is, the sync issues.
As long as you don't cheat (it disables scores), then the score should be counted - sync issues, and the other stuff I mentioned before.
and it ends here.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Re: Trunk and released exe behave different

Post by BunkerBlaster »

This is what I tested.
Trunk last commit rev 10701
Snapshot 2.3.0 last commit rev 10706
Snapshot RC1A last commit rev 10620
Snapshot Beta12 last commit rev 10550
Snapshot Beta1 last commit rev 8394

All of the above displayed multiplayer scores.

The release version 2.3.0 does not. Score remains at 0.

Perhaps a poll can be initiated to see if others only see a multiplayer score of 0, and their operating system.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Re: Trunk and released exe behave different

Post by BunkerBlaster »

After playing a few 8 multiplayer games with compiled game I found that I see scores for a few players, not all. The scores I see are only the players that say they also compiled their game. Players that run the released 2.3.0 say they never see scores, even long before the 2.3.0 release. Go figure, nobody ever complained.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Trunk and released exe behave different

Post by Zarel »

BunkerBlaster wrote:After playing a few 8 multiplayer games with compiled game I found that I see scores for a few players, not all. The scores I see are only the players that say they also compiled their game. Players that run the released 2.3.0 say they never see scores, even long before the 2.3.0 release. Go figure, nobody ever complained.
To be exact, a few people have mentioned it; we just haven't figured it out yet.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Re: Trunk and released exe behave different

Post by BunkerBlaster »

One more thing, the previous stats I posted suggested I was running out of bandwidth, or buffer was full.

Stats with compiled game appear as Buginator explained they should. This is from a 7 player game I hosted that lasted about 30 min

== Total bytes sent 659212239, Total bytes received 2499110 ==
== Total packets sent 38518, recv 60624 ==

-Sync statistics -
-----------------------------------------------------------
joins: 9, kicks: 0, drops: 0, left 7
banned: 0, cantjoin: 0, rejected: 0
-----------------------------------------------------------
sent/unsent DroidCheck 48163 / 0
sent/unsent StructureCheck 48163 / 0
sent/unsent PowerCheck 48163 / 0
sent/unsent ScoreCheck 48163 / 0
sent/unsent Ping 48163 / 0
sent/unsent isMPDirtyBit 9118 / 39045
-----------------------------------------------------------


And this is from a 8 player game I joined

-Sync statistics -
-----------------------------------------------------------
sent/unsent DroidCheck 5505 / 0
sent/unsent StructureCheck 5505 / 0
sent/unsent PowerCheck 5505 / 0
sent/unsent ScoreCheck 5505 / 0
sent/unsent Ping 5505 / 0
sent/unsent isMPDirtyBit 25 / 5480
-----------------------------------------------------------

I also see pings change now, where before I didn't.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Trunk and released exe behave different

Post by Zarel »

Maybe it's the compiler. Which compiler are you using? MSVC?
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: Trunk and released exe behave different

Post by Safety0ff »

About the byte counts, Buginator and I noticed that they were way off when we where testing an unrelated bug fix.
BunkerBlaster
Trained
Trained
Posts: 268
Joined: 21 Feb 2010, 09:56

Re: Trunk and released exe behave different

Post by BunkerBlaster »

Zarel wrote:Maybe it's the compiler. Which compiler are you using? MSVC?
Yes MS C ++ 2008 express. Would it help if I tried MinGW? As far as programming I am not up to par. I use to program using different basics or machine language. I have purchased copy of Visual Basic but have not used it in years. (yes I know its useless here)
Last edited by BunkerBlaster on 07 May 2010, 05:59, edited 1 time in total.