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

Does using this cause desync?

Status
Not open for further replies.
Level 12
Joined
Dec 2, 2016
Messages
733
im using the Warcraft map optimizer program that basically erases all wc3 object data. I'm wondering does this ever cause desyncs?

Also another question.

Let's say you had a function that had something to do with local player, but in the same function you also declare a spec for another player not the local player.

Even if you didn't call the function, can the game still desync? Let me know if you want me to word that better^

Thanks.
 
Level 11
Joined
Jun 2, 2004
Messages
849
im using the Warcraft map optimizer program that basically erases all wc3 object data. I'm wondering does this ever cause desyncs?
Yes, but not in the way you're thinking.

If someone plays an optimized map, then goes to play another map, it can cause a desync when playing the other map. This is because wc3 doesn't clear all data between maps and this occasionally causes issues.
 
Level 13
Joined
May 10, 2009
Messages
868
Ah okay and what about the other question?
What's exactly a spec? An effect? In that case, creating or destroying objects within a local player block is discouraged, because it desync the game.

Try to assign an effect path to a string variable, and modify that string for a specific player. Out of the if block, you create the effect using the string var.

Edit: Oh well, I said "out of the loop".
 
Last edited:
Level 12
Joined
Dec 2, 2016
Messages
733
What's exactly a spec? An effect? In that case, creating or destroying objects within a local player block is discouraged, because it desync the game.

Try to assign an effect path to a string variable, and modify that string for a specific player. Out of the loop, you create the effect using the string var.

I read somewhere that if you have a function lets say sending a message to a local player, and if you also have a message in the same function sending a message to a specific player not local player it can cause a desync. Did I read that wrong or nah?
 
Yes, but not in the way you're thinking.

If someone plays an optimized map, then goes to play another map, it can cause a desync when playing the other map. This is because wc3 doesn't clear all data between maps and this occasionally causes issues.
I recall this only applies to Widgetizer, but not Vexorian Map Optimizer.
 
Status
Not open for further replies.
Top