• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Desyncs

Status
Not open for further replies.
Is there a list of natives that can cause desyncs?

There is one in my map and I'm having a really tough time finding it.

Also, is GetLocalPlayer() the only function that has to be used with non-net traffic within it or are there more?

Here are the blocks in my map that use GetLocalPlayer(). Hopefully one of them is the cause.

JASS:
if GetLocalPlayer()==GetOwningPlayer(GetKillingUnit()) then
       call SetTextTagVisibility(tag,true)
endif

JASS:
        if IsPlayerAlly(GetLocalPlayer(),GetOwningPlayer(GetTriggerUnit())) or GetLocalPlayer()==GetOwningPlayer(GetTriggerUnit()) then
            call TimerDialogDisplay(udg_DeadTimerWindow[GetPlayerId(GetOwningPlayer(GetTriggerUnit()))+1],true)
        endif
 
Status
Not open for further replies.
Top