• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Desyncs

Status
Not open for further replies.
Level 4
Joined
Jun 28, 2010
Messages
38
Too broad of a question and not enough information; especially if I DL this map and see 50+ triggers complete with custom code. You have to narrow it down to when it happens in the map and if its happening during some kind of event in your map point us to the trigger in your map.

I recommend looking at this post about Desyncs Causes of desync
 
Level 24
Joined
Jun 26, 2020
Messages
1,852
The unique big change I did was:
vJASS:
if GetLocalPlayer()==GetEnumPlayer() then
    call SelectGroupBJ(g)
endif
For
vJASS:
loop
    set u=FirstOfGroup(g)
    exitwhen u==null
    if GetLocalPlayer()==GetEnumPlayer() then
        call SelectUnit(u,true)
    endif
    call GroupRemoveUnit(g,u)
endloop
I guess this happens because the function SelectGroupBJ use variables that will have different values and thats why the desync happened, anyway, thanks for your help.
 
Status
Not open for further replies.
Top