| 07-14-2007, 01:21 AM | #1 |
Does anyone have any idea what these do? JASS:SyncStoredBoolean SyncStoredInteger SyncStoredReal SyncStoredString SyncStoredUnit |
| 07-14-2007, 01:39 AM | #2 |
I think that if you stored local-player values in gamecache and you used those natives they would change the stored values to those of (probably) the host, thus after getting the stored values they don't desync. At least that's how I thought GetHostPlayer() works. |
| 07-14-2007, 01:53 AM | #3 |
Hmm so simply if you use those natives after you store a value in Cache you dont have to worry about desyncs? The reason I am asking is because im trying to find way to differentiate between replays and actually playing the game. The following natives JASS:ReloadGameCachesFromDisk SaveGameCache If this doesnt work my last resort is propably cameras, as they seem to act differently in replays then when your playing the game |
| 07-14-2007, 10:15 AM | #4 |
PandaMine they work only in sg. well to sync cam data is not so easy... i got some problems with it. but ! for 1 player it works well ^^ this natives sync data with the host. so host can cheat and then sync it ^^ |
| 07-14-2007, 10:40 AM | #5 |
God dammit forgot about that (must be those single player campaign natives) If only Bnet used GCache back to the old drawing board ..... |
