• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[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