• 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.

reducing lag issues

Status
Not open for further replies.
Level 5
Joined
Jun 17, 2006
Messages
114
hey guys, i have been working on a map for some months now but recently i have encountered a problem; the game begins to lag badly after about 45 minutes. this lag is not related to connection speed, and i'm pretty sure it's caused by the CPU having too many operations to handle. do any of you know what things might cause something like this? i'm currently going through my triggers and doing whatever i can to reduce lag, but if there is something that REALLY causes lag i'd be interested to know what it is. thanks.
 
Level 5
Joined
Jun 17, 2006
Messages
114
a question about scripts

i have this script here i'm not so sure of. i want to prevent a leak, and i'm wondering if calling this script will destroy point1.

Set point1 = (Random point in random mobs 3 <gen>)
Unit - Create 1 Black Goblin for Player 12 (Brown) at point1 facing Default building facing degrees
Custom script: Call RemoveLocation(udg_point1)

also, do i need to do this to prevent a memory leak from point1? thanks.
 
Level 5
Joined
Jun 17, 2006
Messages
114
whoops meant to post that on the main board. thanks for the help ramza, the leak checker is great.
 
Status
Not open for further replies.
Top