HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detecting desync in single player campaign

02-07-2008, 11:47 AM#1
zen87
As title said, possible? I have this multiplayer map and im testing it in single player, is it possible for me to detect desync in the map?
02-07-2008, 11:48 AM#2
Malf
Desyncs happen in multiplayer, ._.
02-07-2008, 03:15 PM#3
Alevice
Yeah, syncronizing only occurs on multiplayer, where there is a need to keep the state of the game the same way for every computer within such (to prevent things like in the state on one computer implies player x won, while on the state of another computer player y won).

You can detrmine desync will occur if the state change on each individual computer goes beyond a simple UI difference (like multiboards, sounds, sfx, text messages, etc).
02-07-2008, 11:33 PM#4
Toadcop
Quote:
like multiboards, sounds
seems to be particualy synchrone... aka if use them inccorect so they also can desync.
imho no only expirience and knowledge...
02-07-2008, 11:37 PM#5
PipeDream
Maybe LAN games with an extra war3 instance in a VM?
02-07-2008, 11:57 PM#6
Toadcop
btw maybe i am a noob BUT i couldn't connect to LAN game if i was allready hosting a game =\ (i have simply switched between 2 Windows users.)
but i think it's not correct so xD.
but well i could launch x copies of war3.
02-08-2008, 12:03 AM#7
PipeDream
VM gives it a new IP address / whatever else for complete isolation
02-08-2008, 02:30 AM#8
Alevice
Quote:
Originally Posted by Toadcop
seems to be particualy synchrone... aka if use them inccorect so they also can desync.

yeah, the instances of them all should exist, however, you can have them point to somewhat different data (eg, a sfx handle can be linked to an invisible model in one comp, and to a healing aura model in another), and still work.

btw, quite a clever idea, pipedream. that would help me a lot in my testing. :D
02-08-2008, 10:10 AM#9
zen87
Quote:
Originally Posted by PipeDream
Maybe LAN games with an extra war3 instance in a VM?
O_o how to do that?
02-08-2008, 03:53 PM#10
Alevice
look for VirtualBox, VMWare, qemu, or any sort of pc emulator. They will run a Virtual Machine, where you can install an os, and pretend to have an additional computer. That way you run war3 on your host OS (the place where you have either of those emulators) and on a running guest (an active vm), which will even have his own ip address, so you can connect to it, and play a lan match as if two compuetrs were connected. The overhead should be somewhat noticeable, however.
02-09-2008, 12:22 AM#11
Toadcop
yes objects with handle id 0x100000 + are synchrone but some params can be local. (for example unit's coordinates ^^ but unit must be "untouched" otherwise it will cause a desync)

btw imho not bad solution for windows (VM)
http://www.microsoft.com/downloads/d...displaylang=en
02-09-2008, 03:36 AM#12
Alevice
I terribly idslike virtual pc. I find it's overhead and lack of options to be significantly annoying. I prefer to work with virtual box or vmware.
02-09-2008, 10:35 PM#13
Pyrogasm
Virtual PC is really, really, really slow.

Bordering on I-want-to-slap-myself-in-the-face slow. Or at least it is when running XP on VPC in OS X (wow, acronyms).
02-09-2008, 10:42 PM#14
Toadcop
I terribly idslike virtual pc well everyone dislike MS stuff... xD