• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[JASS] Desyncs

Status
Not open for further replies.

Cokemonkey11

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