Jump to content
Sign in to follow this  
Lt_Dan_Sweden

Memory leak only on dedic?

Recommended Posts

Hi

I have made a great mission for Multi but it memory leaks. But only on Dedic servers and only during the starting of the game. To specific, memory is calm, when sides are assigned, its calm when Roles (officer, machinegunner etc) are being chosen. Then the mission is sent to all players. Memory increases from 50 to about 90 MEG, then the Briefing screen is seen. Now is when the memory doesnt stop. It keep growing until all ahve pressed green and game is started. When the game is started it stops.

I have made two amnual changes in files

init.sqs

? side player == resistance : goto "resistance"

1 setradiomsg "null"

2 setradiomsg "null"

3 setradiomsg "null"

4 setradiomsg "null"

exit

#resistance

exit

AND

DESCRIPTION.EXT

respawn=3

respawndelay=60

onLoadMission=$STRD_01

titleParam1 = "TimeLimit:";

valuesParam1[] = { 900, 1800, 2700, 3600};

defValueParam1 = 1800;

textsParam1[] = {"15 min","30 min","45 min","60 min"};

TitleParam2 = "TimeZone:";

ValuesParam2[] = {7,1};

DefValueParam2 = 0;

TextsParam2[] = {"Morning","Night"};

You can download the whole source code or PBO at

http://swec.cjb.net/banor.htm

The name is "Advanced ambush"

Need help with Beta testings.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×