Author Topic: Shroud of darkness and network issue  (Read 979 times)

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Shroud of darkness and network issue
« 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.



Edit:
I think it's just a matter of adding shroudOfDarkness to LaunchMessage but I'm not sure how the message size/type works
« Last Edit: 12 May 2011, 01:48:40 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Shroud of darkness and network issue
« Reply #1 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.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Shroud of darkness and network issue
« Reply #2 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:
« Last Edit: 12 May 2011, 14:14:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

 

anything