HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Memorly leaks/Lag

01-07-2006, 11:34 PM#1
Immoralis
if i create a unit at a point and remove the do the custom script for remove location and remove the unit 5 seconds later and do this 1000 times, will there be any other memory leaks and/or lag created?
01-07-2006, 11:48 PM#2
Earth-Fury
so, your creating a unit at a point, destroying the location, and removing the unit, every 5 seconts?

if this is correct, then there will be no leak or lag (as far as i know. which is farther then you can throw me.) now, doing it with 50 units every 5 seconts may cause lag. (depends on your computer specs)

just remember: destroy:

- unit groups (group)
- points (location)
- player groups (force)
(theres more, but these are the most commonly used / leaked) and you should be fine. (once you get better at triggering, then you should get better at controling memory leaks.)
01-07-2006, 11:52 PM#3
Immoralis
hmmm, if i only create 1 unit do i need the unit group stuff

edit: also, earth-fury can you possibly change your avatar and signature to something that isnt so sugestive, the administrators of my school's computers are giving me a hard time :)
01-08-2006, 12:00 AM#4
iNfraNe
no u dont need unit group stuff. He was just pointing out what you should be carefull for.
What you did will not leak memory.
01-08-2006, 12:19 AM#5
Earth-Fury
a unit group is a referance to multiple units. A unit is a unit. They are 2 seperate things. making a unit is not making a unit group. making a unit group isnt making any units. (only referancing them)

and its just slightly suggestive :) i took out all the nauty parts =P
01-08-2006, 05:53 AM#6
Immoralis
that one girl in ur sig looks like shes on the verge of something....
01-08-2006, 11:00 AM#7
Vexorian
She is of course very sick, and coughing.
01-08-2006, 03:19 PM#8
Earth-Fury
Quote:
Originally Posted by Vexorian
She is of course very sick, and coughing.

in the morning. thats why she is under-dressed.
01-08-2006, 08:46 PM#9
The_AwaKening
I would suggest not reading forums at school then.
01-08-2006, 09:40 PM#10
Vexorian
I would suggest disabling images when using internet at school
01-08-2006, 10:29 PM#11
Zoxc
Quote:
Originally Posted by Vexorian
I would suggest disabling images when using internet at school

School's browsers don't support such "advanced" functionality... (talking of IE)
01-08-2006, 10:34 PM#12
Whitehorn
You can turn off viewing sigs (avatars too?).

Oh and EF, Mr. hypocrite, you spelt knowledge wrong.
01-08-2006, 11:25 PM#13
Vexorian
well don't use school comps for your joy then
01-09-2006, 12:32 AM#14
Earth-Fury
Quote:
Originally Posted by Whitehorn
You can turn off viewing sigs (avatars too?).

Oh and EF, Mr. hypocrite, you spelt knowledge wrong.

Ever heard of learning disabilitys, Mr. Jackass? =)
(wonder how long it will take him to ban me )
01-09-2006, 12:56 AM#15
Vexorian
hmnn I think the question got an answer and the topic is getting weird so I will close this thread.

Immoralis: if you feel the question wasn't answered feel free to make a new thread.