• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

i get error when im playing my map

Status
Not open for further replies.
Level 17
Joined
Jun 12, 2007
Messages
1,261
Please explain to us what the problem is, instead of posting the map right away.

- What does the error say?
- Can you play the map? Or does it close right away?
- Are you using custom models/skins?
- Are you sure you have no triggers?
- Can you play more early versions of the map you made without the error, if so you should check what u have added.

These steps can help you and us find the problem, instead of downlaoding the map and look for something we don't even know what it looks like. =)
 
Level 6
Joined
Jun 14, 2008
Messages
176
Most likely a loop that never ends, with so many leaks that memory is full in no time.

Map has few leaks(only two leaks everytime a hero is purchased, which means 2 per player).


Anyway, I tried removing all the triggers(including the map specific trigger), removed all custom models and tested the evil side.

I removed all the global variables(there are sure a lot of variables).

I removed all the custom spells(over 400 custom spells also).

Map still crashed after about 40 seconds.

Not sure what's causing it, here are the only triggers that remain:

  • Tavern Evil
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Unit-type of (Selling unit)) Equal to Tavern of Evil
    • Actions
      • Unit - Remove (Buying unit) from the game
      • Unit - Move (Sold unit) instantly to (Center of Start Evil <gen>)
  • Tavern Good
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Unit-type of (Selling unit)) Equal to Tavern of Good
    • Actions
      • Unit - Remove (Buying unit) from the game
      • Unit - Move (Sold unit) instantly to (Center of Start Good <gen>)
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Use melee time of day (for all players)
      • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
      • Melee Game - Set starting resources (for all players)
      • Melee Game - Run melee AI scripts (for computer players)
      • Player - Add 3000 to Player 1 (Red) Current gold
      • Player - Add 3000 to Player 1 (Red) Current lumber
      • Player - Add 3000 to Player 7 (Green) Current gold
      • Player - Add 3000 to Player 7 (Green) Current lumber
      • Visibility - Enable fog of war
      • Visibility - Disable black mask
Anyway, can't really figured it out, I removed almost everything(custom) and the map still crashed after 40 seconds.
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
can it be sumthing with the changes with the units... hm i changed build speed etc and stuff :)

Don't think so, maps mostly crash like that if u have a loop that never ends and sucks up major RAM.
Or bugged models, but simple stuff like that don't make them crash.

So this map (version) is corrupted, I suggest you start from a older version that does not crash.
 
Status
Not open for further replies.
Top