MegaGlest Forum

Archives (read only) => Glest Advanced Engine => General discussion => Topic started by: hailstone on 12 May 2011, 01:24:16

Title: Shroud of darkness and network issue
Post by: hailstone on 12 May 2011, 01:24:16
I set the shroud of darkness and fog of war to off in a network game (on the same computer). It worked for the server but not the client. It also shows units at the edge of the shroud instead of hiding them.

Left is server, right is client.

(http://www.divshare.com/img/midsize/14812463-3a4.png) (http://www.divshare.com/download/14812463-3a4)

Edit:
I think it's just a matter of adding shroudOfDarkness to LaunchMessage but I'm not sure how the message size/type works
Title: Re: Shroud of darkness and network issue
Post by: silnarm on 12 May 2011, 09:26:48
Edit:
I think it's just a matter of adding shroudOfDarkness to LaunchMessage but I'm not sure how the message size/type works

Just add the new member and set as appropriate, should work.  The message size is set with sizeof() so you don't need to change anything there.
Title: Re: Shroud of darkness and network issue
Post by: hailstone on 12 May 2011, 13:28:09
The client nearly always disconnects because of data sync error if shroudOfDarkness is there (it worked once somehow).

Code: [Select]
29215: Frame: 0 :: Glest::Net::ServerInterface::dataSync
29215: Frame: 0 :: DataSync Fail: UpgradeType 183: energy_compression of FactionType: magic
29215: Frame: 0 :: DataSync Fail: UpgradeType 184: energy_sharpening of FactionType: magic

If I try to load Shibboleth two UpgradeTypes fail for it too. It should be the same since I copied the files and it was working before adding the member.

Edit:
I set the same data dir and it still has data sync fail, even after removing shroudOfDarkness.  :scared: