Hi, this is my first thread in this forum..
Thanks to all of you for sharing knowledge and helping people to make work their own servers..
I don't know if for this is needed to create a thread, if it isn't please let me know.
Ok, this is what happened to me, I have a server v0.53 and it loot tents, but when I restart my server to respawn the loot I lose my tent because persistance isn't working yet, so, I thought and look for info to make the loot respawn, so I wouldn't have to restart the server and the tents would still be there
This is what I did
Open init.sqf file and looked for this lines
I deleted this lines
And went to the end of the file and added a few lines before diag_log "===== SERVER: END (mission)\init";
The end of my init.sqf look like this
Thanks to all of you for sharing knowledge and helping people to make work their own servers..
I don't know if for this is needed to create a thread, if it isn't please let me know.
Ok, this is what happened to me, I have a server v0.53 and it loot tents, but when I restart my server to respawn the loot I lose my tent because persistance isn't working yet, so, I thought and look for info to make the loot respawn, so I wouldn't have to restart the server and the tents would still be there
This is what I did
Open init.sqf file and looked for this lines
Code:
//STANDART SPAWN
_position = [7500,7500,0];
//exportProxies [_position,200000];
importProxies;
diag_log "SPAWN: START spawnLoot";
spawnLoot [_position,30000,11000];
diag_log "SPAWN: END spawnLoot";
sleep 1;
I deleted this lines
Code:
diag_log "SPAWN: START spawnLoot";
spawnLoot [_position,30000,11000];
diag_log "SPAWN: END spawnLoot";
sleep 1;
And went to the end of the file and added a few lines before diag_log "===== SERVER: END (mission)\init";
The end of my init.sqf look like this
Code:
setTimeForScripts 0.03;
_counter = 0;
while {_counter < 1} do
{
diag_log "SPAWN: START spawnLoot";
spawnLoot [_position,30000,11000];
diag_log "SPAWN: END spawnLoot";
sleep 10800;
_counter = 0;
};
diag_log "===== SERVER: END (mission)\init";