Need Map Help

OMGletterz

New Member
Reaction score
0
Ok, I have spent a few days creating this map. And I just finished it. I went to go test it with a friend but Warcraft III (ROC) just completly freezes on the first round. I can't Control+Alt+delete out, or anything to close it. The only thing I can do is pull my power plug out of my computer then turn it back on. I am a novice map maker, and I can't for the life in me find out what is wrong! Can someone please help me? I'll upload the map if someone tells me where I can upload it too.

Thank you very much
-OMGletterz
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Sounds like you may have an infinite loop in a trigger somewhere. This is the only map that does this, right?
Assuming so, recheck your triggers carefully.
 

OMGletterz

New Member
Reaction score
0
I am looking over it, I didn't use any loop triggers... And Neither do I know what they are, I am still a beginner. I still don't see anything! I am confused about what I did wrong.
 

crabbb622

New Member
Reaction score
9
For future reference, you should probably test your map more frequently (like before you write your whole code to find that it doesn't work all), by pressing control-F9

Edit: If you're really stuck, you can do what they call "tracing". choose a trigger and make let the game run up to that point, but at the end of that trigger, disable all the other triggers. if it reached that point without crashing, you'll know that it wasn't that trigger, and if your triggers are sequential, it must be anything after that trigger. and keep doing it until you've isolated the problem
 

OMGletterz

New Member
Reaction score
0
Alrighty, will do. Will post back in a bit if I still can't find it.

Edit: Ok, I just went through about 5 triggers for spawning the units, they all freeze and I think I am really going to screw up my computer becuase I have to keep pulling out my power cord. Can someone who is really good with triggers take a look at my map? I am not asking to test it becuase I don't want to mess up your computer, but look at my spawn triggers please! Put the link to a site so I can upload my map.
 

HG-Bonfire

New Member
Reaction score
22
You can attach your map to a forum post, it's the paperclip up at the top of the options next to the smily face and the undo and redo buttons.
 

OMGletterz

New Member
Reaction score
0
Alright, I got it attached, thank you for that! Someone reply back please if they find out something.
 

Attachments

  • Your Last Stand.w3m
    146.4 KB · Views: 120

crabbb622

New Member
Reaction score
9
You should post one of your triggers on here. right click the name of the trigger (right above events, not the list of triggers, i think) and click copy as text. then, on here, click on GUI tags (that lowercase a next to the exclamation mark) and paste it.

Also, there's an option to attach files to your posts if you look lower down (can't be in quick reply mode)

I overexplained all that but oh well, kind of curious to see what's going on.

edit: oh, great, lol. Anyways, i'm looking at it now. will say.

edit: Whoa! you've got 460 units created at once! you know that? you should try deleting some of the spawns and see if that helps. don't do anything else, so you can press ctrl-z, so u don't have to redo the code. I would help you myself, but i'm low on time, yea i'm going now, i'll see it tomorrow

edit: nope, wait, 1 last thing. your terrain/map layout looks really cool :D
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Evidently your biggest problem would definitely be leaks from what i can see... All of your spawn triggers leak and they leak pretty drastically...
Trigger:
  • Round 2
    • Events
      • Unit - A unit owned by Player 11 (Dark Green) Dies
    • Conditions
      • (Player 11 (Dark Green) Food used) Less than or equal to 0
    • Actions
      • Game - Display to (All players) for 10.00 seconds the text: Congratulations! He...
      • Player Group - Pick every player in (All players) and do (Player - Add 10 to (Matching player) Current gold)
      • Wait 20.00 seconds
      • Game - Display to (All players) for 10.00 seconds the text: Round 2
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Red Zombie Spawn <gen>) facing (Player 1 (Red) start location)
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Blue Zombie Spawn <gen>) facing (Player 2 (Blue) start location)
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Teal Zombie Spawn <gen>) facing (Player 3 (Teal) start location)
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Purple Zombie Spawn <gen>) facing (Player 4 (Purple) start location)
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Yellow Zombie Spawn <gen>) facing (Player 5 (Yellow) start location)
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Orange Zombie Spawn <gen>) facing (Player 6 (Orange) start location)
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Green Zombie Spawn <gen>) facing (Player 7 (Green) start location)
      • Unit - Create 20 Zombie 1 for Player 11 (Dark Green) at (Center of Pink Zombie Spawn <gen>) facing (Player 8 (Pink) start location)
      • Trigger - Turn on Round 3 <gen>
      • Trigger - Turn off (This trigger)
Needs to look something like
Trigger:
  • Round 2
    • Events
      • Unit - A unit owned by Player 11 (Dark Green) Dies
    • Conditions
      • (Player 11 (Dark Green) Food used) Less than or equal to 0
    • Actions
      • Game - Display to (All players) for 10.00 seconds the text: Congratulations! He...
      • Player Group - Pick every player in (All players) and do (Player - Add 10 to (Matching player) Current gold)
      • Wait 20.00 seconds
      • Set SpawnPt = Center of Red Zombie Spawn <gen>
      • Game - Display to (All players) for 10.00 seconds the text: Round 2
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Red Zombie Spawn <gen>) facing (Player 1 (Red) start location)
      • call RemoveLocation (udg_SpawnPt)
      • Set SpawnPt = Center of Blue Zombie Spawn <gen>
      • Unit - Create 20 Zombie 2 for Player 11 (Dark Green) at (Center of Blue Zombie Spawn <gen>) facing (Player 2 (Blue) start location)
      • call RemoveLocation (udg_SpawnPt)
      • Trigger - Turn on Round 3 <gen>
      • Trigger - Turn off (This trigger)
And you want to do that for each player... In each spawn trigger... So it doesn't store the location as random data... you might want to check out the memory leak tut.. There are a few of them and they are quite helpful.. Leaks can definitely harm a map, and it is a good idea to remove them all :p.
 

OMGletterz

New Member
Reaction score
0
Where do I find the action call RemoveLocation (udg_SpawnPt) that is in the last response? Just a reminder I am on ROC.
 

crabbb622

New Member
Reaction score
9
yes, you need to read up on leaks later, but that's more advanced than the problem at hand. the problem is that you are spawning 20 zombies times 8 players...160. oh crap, my bad. It still may be a problem, though.

oh, in case you didn't know, i'm talking about the trigger called Round 1, where you spawn the zombies

edit: yep, it's definitely the numbers. See, i disabled half the spawns for round 1 and was able to play. once i got to round 2 (which i left alone), it froze. I was, however, able to minimize the game, or control alt delete to exit warcraft. Probably the differences in our computers.

So what you can do is have the zombies spawn in 2 waves of ten, say maybe 5 seconds apart. If that doesn't work, you can split it up even more.And if you don't want the zombies coming in 5 seconds apart, you can put a wait on the attack trigger.

Playing one round, i could see how the game would be fun. Good job, although i might point out that you made over 9000 typos
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Where do I find the action call RemoveLocation (udg_SpawnPt) that is in the last response? Just a reminder I am on ROC.
Ermm all you have to do is find the Custom Script function... But I don't know if RoC has it... You would have to look. But it's a custom script. So... yeah lol... And you might want to add waits between unit spawn just because spawning 160 units at once.. Yeah... That can cause problems XD.
 

OMGletterz

New Member
Reaction score
0
Alright I don't see custom scripts anywhere so that's outta the question, but I am working on halving the units to spawn 10, then another 10 after a few seconds. Will write back if it works
 

OMGletterz

New Member
Reaction score
0
Great! I have another problem now! I made it so people can train a zombie and when it is finished training, it sends 20 Zombies to the spot they trained it at, but it freezes again after it finishes building. I thought my problem was too many zombies, so I changed it from 20 to 10 and tested... Still freezes, can anyone tell me what I did wrong this time?
 

crabbb622

New Member
Reaction score
9
Try changing it to one zombie. And i must comment, the region Whole Map is incredibly unnecessary, as there is a function called "Playable Map Area"
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top