• 🏆 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!

[JASS] Desyncs

Status
Not open for further replies.

Cokemonkey11

Spell Reviewer
Level 29
Joined
May 9, 2006
Messages
3,534
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