| 01-02-2014, 04:06 PM | #1 |
I was reading this thread and I realized I have no idea how wc3 really works. Like at all. The part that I'm interested in here is multiplayer syncing: How does the VM sync thing between players before the game starts? during the game (for events that happen in game but as well as for each local machine evaluating code)? How to deal with each machine evaluating code at different rates / with different results is especially mystifying for me... The trigger/script related part of this question is: is there a best way to sync something (that isn't automatically sync'd already)? I'd be surprised if there was a good way since the only things that really need additional syncing come from 3rd party tools. Thanks for any insight! |
| 01-03-2014, 10:07 AM | #2 | |
Quote:
|
| 01-03-2014, 04:52 PM | #3 |
you know i want the long answer ;) <3 game cache? |
| 01-05-2014, 12:17 AM | #4 |
Game cache yes. Long answer: http://www.hiveworkshop.com/forums/t...ommand-114475/ And it might answer some of your other questions. I use the method in the link above to do syncing camera coordinates between players, and it works pretty well (at least on LAN with a decent connection): http://www.hiveworkshop.com/forums/l...radata-244987/ |
| 01-06-2014, 06:05 PM | #5 | |
ahhh very informative, thanks purge!
do you have any experience with how well this syncing method works on bots? some bots are set up to force very quick, very small packet transfers allowing for decreased latency. id imagine it works great or not at all... in the second thread (the one you made on the hive), Network is mentioned as an alternative to gamecache. I searched but couldn't find any threads on it -- any chance you have a link for that too? |
| 01-06-2014, 09:01 PM | #6 |
This is network: http://www.hiveworkshop.com/forums/s...-0-0-a-226065/ I wouldn't say it is an alternative to gamecache, since it uses gamecache. It may help simplify some things though. And I have not tested it on bots. Sadly, host bots are one of those things in wc3 that I know next to nothing about. It would probably be something you'd have to test yourself, or you can try asking around one of the hostbot forums, e.g.: https://www.ghostpp.com/forum/ |
