| 06-23-2007, 05:14 PM | #1 |
i have tryed to sync local data (or make local events with global actions) and have not found some solution which would match =(. and if some one guess for what is that good ? you could make some funny things with what in MP (multiplayer) =) |
| 06-23-2007, 05:29 PM | #2 |
I just have to smile and nod, and then push the back button. Sometimes you make absolutely no sense Toadcop, but we love you anyway. |
| 06-23-2007, 05:40 PM | #3 |
Szythe O_O and ? i bet you have simple not understand the question =) for example if Players(0) camera cameratargetposition is in some rect it will create a unit (once. this can be made by pereodical checks) what what means ? i must get local players current camera position and then make some checks after that if conditions are matching then it must create a unit (for all players) overwise desync. the problem is to "conver" it from local to global. |
| 06-23-2007, 08:52 PM | #4 |
there's a sync native for use with game caches, not sure what it's called but the GetHost() function makes use of it |
| 06-23-2007, 09:02 PM | #5 |
it can only sync data with the host... if it was so easy i would make it earlier =) |
| 06-23-2007, 10:07 PM | #6 |
Hmmm... I see your problem. JASS:if GetLocalPlayer() == Player() then set b = true endif set b2 = b if b2 then call CreateUnit() endif |
| 06-23-2007, 10:27 PM | #7 |
Jazradel you got it ;) BUT ! this will cause a DeSync :'( cause b2 will be on 1 machine true so i will create a unit only for one player. |
| 06-24-2007, 08:27 PM | #8 |
well =( so i must search it by my self. + there is some info what can i do local and what not? cause to set mbitem value localy will cause a desync (for example). + and why could server splits happen !? |
| 06-24-2007, 08:39 PM | #9 |
I don't think it is possible to sync with non-host players. |
| 06-24-2007, 09:12 PM | #10 |
Captain Griffen bet ? =) Tc makes many impossible things possible =) i was searching simple in a better method. but how i see there is not many people who knows something about it. |
| 06-26-2007, 03:17 PM | #11 |
If you really know how to make it, just post it, even if it isn't optimized |
| 06-26-2007, 03:25 PM | #12 |
I can remember PipeDream talking about something with syncing selections, but that would be a very slow, dangerous process and completely hopeless for most applications (even if it would work, since I cannot remember the exact conversation). |
| 06-26-2007, 11:26 PM | #13 |
well here it is Alpha version of my newest system TSync it will sync any positive integer for all and from any player ! well it's some kind something new =) but ofc there are some - in this sys. but in whole it works alomst like SyncStore() (gamecache API) but it synchrone really any local value from any player ! this allow to use players cameraposition and not to get desynchronized ! well check this out =) // the "RES =" will show current cameratargetX from Player(0) ! |
