• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Crash] Need help for my map

Status
Not open for further replies.
Level 3
Joined
Nov 7, 2012
Messages
38
Players will get disconnect from my game when the game start and i knew my map contains some leaks and problems. i have tried to fix it many times but i failed, it still make people disconnected. :goblin_cry:
So i hope someone can help me to find out the bugs from my map and help me to mend it. :goblin_yeah:


View attachment Game of Doubi.w3x
 
Level 3
Joined
Nov 7, 2012
Messages
38
when does the desync occures exactly? on game start? or when some actions were made?
when the game started after several seconds, they get disconnect...i don't think has any problem in the map initi trigger...
 
Level 12
Joined
Oct 16, 2010
Messages
680
if map init would cause the desync then they would have been kicked immediately when game start.

if they lag so much , maybe thats not even a desync just some bad code like an infinite loop or such
that can result in a disconnection too

EDIT: anyways post the trigger you think that is the lags source
 
Level 3
Joined
Nov 7, 2012
Messages
38
if map init would cause the desync then they would have been kicked immediately when game start.

if they lag so much , maybe thats not even a desync just some bad code like an infinite loop or such
that can result in a disconnection too

EDIT: anyways post the trigger you think that is the lags source

this is the original trigger(the lags source i think):

  • Game Start
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Game - Set the time of day to 6.00
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Set (Picked player) Current gold to 500
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Region 014 <gen>
      • Game - Display to (All players) for 20.00 seconds the text: Hello, Doubi! Welco...
      • Player - Turn Gives bounty On for Player 11 (Dark Green)
      • Set Fishing_Victims[1] = lol Furion (Night Elf Form)
      • Set Fishing_Victims[2] = Crypt Fiend
      • Set Fishing_Victims[3] = Da Pi Gu jiosman
      • Set Fishing_Victims[4] = Flying Machine
      • Set Fishing_Victims[5] = Couatl
      • Set Fishing_Victims[6] = Mur'gul Slave
      • Set Fishing_Victims[7] = lol ooshittt
      • Set Fishing_Victims[8] = Riki
      • Set Fishing_Victims[9] = Skeletal Mage
      • Set Fishing_Victims[10] = Mud Golem
      • Set Fishing_Victims[11] = Dragon Turtle
      • Set Fishing_Victims[12] = Berserk Elemental
      • Set Fishing_Victims[13] = Polar Furbolg Ursa Warrior
      • Set Fishing_Victims[14] = Enraged Wildkin
      • Set Fishing_Victims[15] = Satyr
      • Set Fishing_Victims[16] = Timber Wolf
      • Set Fishing_Victims[17] = Centaur Drudge
      • Set Fishing_Victims[18] = Fel Beast
      • Set Fishing_Victims[19] = Kobold Taskmaster
      • Set Fishing_Victims[20] = Mammoth
      • Set Fishing_Victims[21] = Nerubian Warrior
      • Set Fishing_Victims[22] = Ogre Mauler
      • Set Fishing_Victims[23] = Spider Crab Behemoth
      • Set Fishing_Victims[24] = Forest Troll Berserker
      • Set Fishing_Victims[25] = Rifleman
      • Set Fishing_Victims[26] = Gryphon Rider
      • Set Fishing_Victims[27] = Troll Batrider
      • Set Fishing_Victims[28] = Fel Orc Raider
      • Set Fishing_Victims[29] = Ghoul
      • Set Fishing_Victims[30] = Kel'Thuzad (Ghost)
      • Set Fishing_Victims[31] = Mountain Giant
      • Set Fishing_Victims[32] = Druid of the Claw (Night Elf Form)
      • Set Fishing_Victims[33] = Naga Myrmidon
      • Set Fishing_Victims[34] = Naga Royal Guard
      • Set Fishing_Victims[35] = Footman
      • Set Fishing_Victims[36] = Troll Headhunter
      • Set Fishing_Victims[37] = Zombie
      • Set Fishing_Victims[38] = Archer
      • Set Fishing_Region[1] = Region 003 <gen>
      • Set Fishing_Region[2] = Region 007 <gen>
      • Set Fishing_Region[3] = Region 013 <gen>
      • Set Fishing_Region[4] = Region 002 <gen>
      • Set Fishing_Region[5] = Region 005 <gen>
      • Set Fishing_Region[6] = Region 010 <gen>
      • Set Fishing_Region[7] = Region 008 <gen>
      • Set Fishing_Region[8] = Region 011 <gen>
      • Set Fishing_Region[9] = Region 006 <gen>
      • Set Fishing_Region[10] = Region 012 <gen>
      • Set Fishing_Region[11] = Region 004 <gen>
      • Set Fishing_Region[12] = Region 009 <gen>
      • Set Fishing_Region[13] = Region 016 <gen>
      • Set Fishing_Region[14] = Region 017 <gen>
      • Set Fishing_Region[15] = Region 018 <gen>
      • Set Fishing_Region[16] = Region 022 <gen>
      • Set Fishing_Region[17] = Region 024 <gen>
      • Set Fishing_Region[18] = Region 042 <gen>
      • Set Fishing_Region[19] = Region 044 <gen>
      • Set Fishing_Region[20] = Region 045 <gen>
      • Set Fishing_Region[21] = Region 037 <gen>
      • Set Fishing_Region[22] = Region 048 <gen>
      • Set Fishing_Region[23] = Region 041 <gen>
      • Set Fishing_Region[24] = Region 039 <gen>
      • Set Fishing_Region[25] = Region 043 <gen>
      • Set Fishing_Region[26] = Region 046 <gen>
      • Set Fishing_Region[27] = Region 047 <gen>
      • Set Fishing_Region[28] = Region 040 <gen>
      • Set Fishing_Region[29] = Region 038 <gen>
      • Set Fishing_Region[30] = Region 055 <gen>
      • Set Fishing_Region[31] = Region 060 <gen>
      • Set Fishing_Region[32] = Region 059 <gen>
      • Set Fishing_Region[33] = Region 056 <gen>
      • Set Fishing_Region[34] = Region 058 <gen>
      • Set Fishing_Region[35] = Region 057 <gen>
      • Set Fishing_Region[36] = Region 064 <gen>
      • Set Fishing_Region[37] = Region 063 <gen>
      • Set Fishing_Region[38] = Region 061 <gen>
      • Set Fishing_Region[39] = Region 062 <gen>
      • Set Fishing_Region[40] = Region 065 <gen>
      • Set Color_Text[1] = |cffFF0000
      • Set Color_Text[2] = |cff0000FF
      • Set Color_Text[3] = |cff00FFFF
      • Set Color_Text[4] = |cff800080
      • Set Color_Text[5] = |cffFFFF00
      • Set Color_Text[6] = |cffFF8000
      • Set Color_Text[7] = |cff00FF00
      • Set Color_Text[8] = |cffFF80C0
      • Set Color_Text[9] = |cffC0C0C0
      • Set Color_Text[10] = |cff80FFFF
      • Set Color_Text[11] = |cff008000
      • Set Color_Text[12] = |cff804000
      • Set GetLastHitWavesCount = 0
      • Game - Display to (All players) for 20.00 seconds the text: This map contains s...
      • Wait 12.00 game-time seconds
      • Game - Display to (All players) for 20.00 seconds the text: Get ready for the f...
      • Wait 7.00 game-time seconds
      • Game - Display to (All players) for 20.00 seconds the text: |cffFFFF001: Fishin...
      • Wait 2.00 game-time seconds
      • Game - Display to (All players) for 20.00 seconds the text: Hook the units whic...
      • Wait 5.00 game-time seconds
      • Game - Display to (All players) for 10.00 seconds the text: Game time is 6 minu...
      • Wait 2.00 game-time seconds
      • Game - Display to (All players) for 5.00 seconds the text: 3
      • Wait 1.00 game-time seconds
      • Game - Display to (All players) for 5.00 seconds the text: 2
      • Wait 1.00 game-time seconds
      • Game - Display to (All players) for 5.00 seconds the text: 1
      • Wait 1.00 game-time seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 1 (Red) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 1 (Red) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 2 (Blue) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 2 (Blue) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 3 (Teal) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 3 (Teal) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 4 (Purple) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 4 (Purple) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 5 (Yellow) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 5 (Yellow) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 6 (Orange) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 6 (Orange) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Pan camera for (Picked player) to (Center of Region 015 <gen>) over 0.00 seconds
      • Game - Display to (All players) for 5.00 seconds the text: Go!
      • Countdown Timer - Start BattleBegin as a One-shot timer that will expire in 360.00 seconds
      • Countdown Timer - Create a timer window for (Last started timer) with title Game Time:
      • Set BattleBegin = (Last started timer)
      • Countdown Timer - Change the color of the time for (Last created timer window) to (100.00%, 80.00%, 20.00%) with 0.00% transparency
      • Set BattleBeginWindow = (Last created timer window)
      • Countdown Timer - Show BattleBeginWindow
      • Trigger - Turn on Fishing 2 <gen>
this is the change i made(i splited it into 2 triggers):

  • Game Start
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Fishing_Victims[1] = lol Furion (Night Elf Form)
      • Set Fishing_Victims[2] = Crypt Fiend
      • Set Fishing_Victims[3] = Da Pi Gu jiosman
      • Set Fishing_Victims[4] = Flying Machine
      • Set Fishing_Victims[5] = Couatl
      • Set Fishing_Victims[6] = Mur'gul Slave
      • Set Fishing_Victims[7] = lol ooshittt
      • Set Fishing_Victims[8] = Riki
      • Set Fishing_Victims[9] = Skeletal Mage
      • Set Fishing_Victims[10] = Mud Golem
      • Set Fishing_Victims[11] = Dragon Turtle
      • Set Fishing_Victims[12] = Berserk Elemental
      • Set Fishing_Victims[13] = Polar Furbolg Ursa Warrior
      • Set Fishing_Victims[14] = Enraged Wildkin
      • Set Fishing_Victims[15] = Satyr
      • Set Fishing_Victims[16] = Timber Wolf
      • Set Fishing_Victims[17] = Centaur Drudge
      • Set Fishing_Victims[18] = Fel Beast
      • Set Fishing_Victims[19] = Kobold Taskmaster
      • Set Fishing_Victims[20] = Mammoth
      • Set Fishing_Victims[21] = Nerubian Warrior
      • Set Fishing_Victims[22] = Ogre Mauler
      • Set Fishing_Victims[23] = Spider Crab Behemoth
      • Set Fishing_Victims[24] = Forest Troll Berserker
      • Set Fishing_Victims[25] = Rifleman
      • Set Fishing_Victims[26] = Gryphon Rider
      • Set Fishing_Victims[27] = Troll Batrider
      • Set Fishing_Victims[28] = Fel Orc Raider
      • Set Fishing_Victims[29] = Ghoul
      • Set Fishing_Victims[30] = Kel'Thuzad (Ghost)
      • Set Fishing_Victims[31] = Mountain Giant
      • Set Fishing_Victims[32] = Druid of the Claw (Night Elf Form)
      • Set Fishing_Victims[33] = Naga Myrmidon
      • Set Fishing_Victims[34] = Naga Royal Guard
      • Set Fishing_Victims[35] = Footman
      • Set Fishing_Victims[36] = Troll Headhunter
      • Set Fishing_Victims[37] = Zombie
      • Set Fishing_Victims[38] = Archer
      • Set Fishing_Region[1] = Region 003 <gen>
      • Set Fishing_Region[2] = Region 007 <gen>
      • Set Fishing_Region[3] = Region 013 <gen>
      • Set Fishing_Region[4] = Region 002 <gen>
      • Set Fishing_Region[5] = Region 005 <gen>
      • Set Fishing_Region[6] = Region 010 <gen>
      • Set Fishing_Region[7] = Region 008 <gen>
      • Set Fishing_Region[8] = Region 011 <gen>
      • Set Fishing_Region[9] = Region 006 <gen>
      • Set Fishing_Region[10] = Region 012 <gen>
      • Set Fishing_Region[11] = Region 004 <gen>
      • Set Fishing_Region[12] = Region 009 <gen>
      • Set Fishing_Region[13] = Region 016 <gen>
      • Set Fishing_Region[14] = Region 017 <gen>
      • Set Fishing_Region[15] = Region 018 <gen>
      • Set Fishing_Region[16] = Region 022 <gen>
      • Set Fishing_Region[17] = Region 024 <gen>
      • Set Fishing_Region[18] = Region 042 <gen>
      • Set Fishing_Region[19] = Region 044 <gen>
      • Set Fishing_Region[20] = Region 045 <gen>
      • Set Fishing_Region[21] = Region 037 <gen>
      • Set Fishing_Region[22] = Region 048 <gen>
      • Set Fishing_Region[23] = Region 041 <gen>
      • Set Fishing_Region[24] = Region 039 <gen>
      • Set Fishing_Region[25] = Region 043 <gen>
      • Set Fishing_Region[26] = Region 046 <gen>
      • Set Fishing_Region[27] = Region 047 <gen>
      • Set Fishing_Region[28] = Region 040 <gen>
      • Set Fishing_Region[29] = Region 038 <gen>
      • Set Fishing_Region[30] = Region 055 <gen>
      • Set Fishing_Region[31] = Region 060 <gen>
      • Set Fishing_Region[32] = Region 059 <gen>
      • Set Fishing_Region[33] = Region 056 <gen>
      • Set Fishing_Region[34] = Region 058 <gen>
      • Set Fishing_Region[35] = Region 057 <gen>
      • Set Fishing_Region[36] = Region 064 <gen>
      • Set Fishing_Region[37] = Region 063 <gen>
      • Set Fishing_Region[38] = Region 061 <gen>
      • Set Fishing_Region[39] = Region 062 <gen>
      • Set Fishing_Region[40] = Region 065 <gen>
      • Set Color_Text[1] = |cffFF0000
      • Set Color_Text[2] = |cff0000FF
      • Set Color_Text[3] = |cff00FFFF
      • Set Color_Text[4] = |cff800080
      • Set Color_Text[5] = |cffFFFF00
      • Set Color_Text[6] = |cffFF8000
      • Set Color_Text[7] = |cff00FF00
      • Set Color_Text[8] = |cffFF80C0
      • Set Color_Text[9] = |cffC0C0C0
      • Set Color_Text[10] = |cff80FFFF
      • Set Color_Text[11] = |cff008000
      • Set Color_Text[12] = |cff804000
      • Set GetLastHitWavesCount = 0
  • introduction
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Game - Set the time of day to 6.00
      • Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • Player - Set (Picked player) Current gold to 500
          • Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Region 014 <gen>
      • Player - Turn Gives bounty On for Player 11 (Dark Green)
      • Game - Display to (All players) for 20.00 seconds the text: Hello, Doubi! Welco...
      • Wait 2.00 game-time seconds
      • Game - Display to (All players) for 20.00 seconds the text: This map contains s...
      • Wait 12.00 game-time seconds
      • Game - Display to (All players) for 20.00 seconds the text: Get ready for the f...
      • Wait 7.00 game-time seconds
      • Game - Display to (All players) for 20.00 seconds the text: |cffFFFF001: Fishin...
      • Wait 2.00 game-time seconds
      • Game - Display to (All players) for 20.00 seconds the text: Hook the units whic...
      • Wait 5.00 game-time seconds
      • Game - Display to (All players) for 10.00 seconds the text: Game time is 6 minu...
      • Wait 2.00 game-time seconds
      • Game - Display to (All players) for 5.00 seconds the text: 3
      • Wait 1.00 game-time seconds
      • Game - Display to (All players) for 5.00 seconds the text: 2
      • Wait 1.00 game-time seconds
      • Game - Display to (All players) for 5.00 seconds the text: 1
      • Wait 1.00 game-time seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 1 (Red) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 1 (Red) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 2 (Blue) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 2 (Blue) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 3 (Teal) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 3 (Teal) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 4 (Purple) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 4 (Purple) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 5 (Yellow) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 5 (Yellow) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 6 (Orange) slot status) Equal to Is playing
        • Then - Actions
          • Unit - Create 1 lol Damai for Player 6 (Orange) at (Center of Region 015 <gen>) facing Default building facing degrees
        • Else - Actions
      • Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • Camera - Pan camera for (Picked player) to (Center of Region 015 <gen>) over 0.00 seconds
      • Game - Display to (All players) for 5.00 seconds the text: Go!
      • Countdown Timer - Start BattleBegin as a One-shot timer that will expire in 360.00 seconds
      • Countdown Timer - Create a timer window for (Last started timer) with title Game Time:
      • Set BattleBegin = (Last started timer)
      • Countdown Timer - Change the color of the time for (Last created timer window) to (100.00%, 80.00%, 20.00%) with 0.00% transparency
      • Set BattleBeginWindow = (Last created timer window)
      • Countdown Timer - Show BattleBeginWindow
      • Trigger - Turn on Fishing 2 <gen>
isn't the original trigger a lags source? i don't think another triggers is because they only work when the countdown timer expired.
 
Level 3
Joined
Nov 7, 2012
Messages
38
u said you splitted it into two triggers. Then the original trigger shouldn't exist anymore in your map.

If you didn't removed the original trigger then remove it (or disable if you don't want to remove completely).

EDIT: use [trigger][/trigger] tags for posting triggers instead inserting pictures

and what do you think about the both triggers?
 
Level 3
Joined
Nov 7, 2012
Messages
38
that 2 separate triggers should work as far as I can tell. It shouldn't lagg that much unless u have a very old pc or a very poor bandwidth:/

but did you removed or at least disabled the original trigger? the one u splitted in half

yes, i did.

i tested it with my friend just now, my friend got disconnect when game start...the change doesn't work...failed again...
 
Level 3
Joined
Nov 7, 2012
Messages
38
so no other possible triggers there u said... then i would say its a connecting issue
it can be of a blocked port or low net issue maybe firewall... nothing more I can say:/


are u on local network? or what other lan softvere are you using?(like hamachi or garena?:p)

yes i use garena on local network. i thought it was the difference of warcraft's version cause the problem but i joined public game i did not get disconnect...
 
Level 3
Joined
Nov 7, 2012
Messages
38
what a joke...i have detected that the players will get disconnect from any custom map i created...even empty map... what's the problem?
 
Level 3
Joined
Nov 7, 2012
Messages
38
are u using router? or only modem?

if u have a router and i recall correctly u have to open a specific port to host games

yep looked up.. you need to enable port forfarding for 6112-6119

modem.
i don't know why, only my maps have this disconnection problem. i tested it before, i let my friend to host game and i join it, i will get disconnect too...
 
Status
Not open for further replies.
Top