Jump to content

Recommended Posts

9 hours ago, davidoss said:

I have no problem with.

I posted it for GF as example of another point of view and performance.

I could make my own release but the code has no development state of any kind  because i have no time to support it

Cool thanks! I posted the mission here: https://steamcommunity.com/sharedfiles/filedetails/?id=1632673343. It's super simple and the map isn't great for perf but it plays pretty well.

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, JasonTheRed said:

 

Cool & thanks JasonTheRed ,

but you should really open a new topic , since we are talking for a different script

or maybe to post this in Ravage thread.

Share this post


Link to post
Share on other sites

This is also needs an update for optimisations according the loot , debug , sort of types and spawn.

In order to work with the updated code that the GF Auto Loot Road Crash Script - Mod is using :

 

 

Share this post


Link to post
Share on other sites

You should have the debug enabled , i think it should be by default and check for the spawned amount of items.

If there is a big number of spawn items there will be an impact on the fps and all this is generally depends on the used map and the script settings .

Personally in my old laptop that i play too limited , i can spawn 3000 items without any fps loss.

Share this post


Link to post
Share on other sites
Just now, GEORGE FLOROS GR said:

Hello there to Everyone !

 

It's time for a lot of updates !

This will be as well :

 

after all this scripts , It's time to edit a Survival Harcore mission !

 

GF Auto Loot Script - Mod

( auto mod detection and or custom )

p8BFKN2.pngQlqbWuE.png

7MaUjcF.pngsgcdQRD.pngM22LObK.png

 

Thanks !

Share this post


Link to post
Share on other sites

Changelog:

 

v3.0
A lot of the previous code is reedited.
Added option for the spawned items number.
Code optimization.

  • Like 1

Share this post


Link to post
Share on other sites

Hey i got few a question about this script,

how its work exactly that spawn loot in building near the player or at mission start ?

the loot are deleted if there no player near a building where loot was spawned ?

its work with the ravage item ?

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Hello there Damsus !

 

With this new update ,

it is possible to select from the settings , about the loot to be deleted and spawn again in a time cycle that you want , in the example i have set it in 4 hours.

 

The items spawn one time and not dynamic , similar with DayZ , they are Not despawn in a distance.

There is also included a check for distance from players and Blacklisted Zones.

The settings for the distance are in the settings , it's not depending on the marker size.

This is how it works , in all my scripts actually.

 

There are also now included some extra custom arrays , with Ravage and ace items and they are added by default.

 

Everything that you need is in the settings.

  • Like 1

Share this post


Link to post
Share on other sites
4 hours ago, GEORGE FLOROS GR said:

Hello there Damsus !

 

With this new update ,

it is possible to select from the settings , about the loot to be deleted and spawn again in a time cycle that you want , in the example i have set it in 4 hours.

 

The items spawn one time and not dynamic , similar with DayZ , they are Not despawn in a distance.

There is also included a check for distance from players and Blacklisted Zones.

The settings for the distance are in the settings , it's not depending on the marker size.

This is how it works , in all my scripts actually.

 

There are also now included some extra custom arrays , with Ravage and ace items and they are added by default.

 

Everything that you need is in the settings.

Ok thanks

  • Like 1

Share this post


Link to post
Share on other sites

hello, i think i found a bug or something, so... i placed your script inside my mission, set it to custom loot and tested this in my mission, hosted a lan session and everything works great, but when i hosted a dedicated server on my second machine the script dosen't work, the loot is not spawning at all, debug is on but no markers on map, tried to put the intilization phrase into init.sqf still dosen't work. what should i do? there is no rpt errors, well only this one


waituntil{GF_AL_Distance_Check_Loaded};

GF_AL>
2019/04/01, 22:57:07   Error position: <GF_AL_Distance_Check_Loaded};

GF_AL>
2019/04/01, 22:57:07   Error Undefined variable in expression: gf_al_distance_check_loaded
2019/04/01, 22:57:07 File mpmissions\__cur_mp.taviana\GF_Auto_Loot\GF_Auto_Loot.sqf, line 43

but after this it's says that //________________ GF Auto Loot Script initialized ________________" but no loot spawning still...

  • Thanks 1

Share this post


Link to post
Share on other sites
4 minutes ago, zagr said:

waituntil{GF_AL_Distance_Check_Loaded};

 

Thank you Zagr , i 'll check it right now.

It's not tested on dedicated though.

  • Thanks 1

Share this post


Link to post
Share on other sites
Just now, GEORGE FLOROS GR said:

This is about the script version right ?

yep, the script one, i'm just making a ravage RP server and i needed to check your script out 🙂 but it's only working on listen server i think

  • Like 1

Share this post


Link to post
Share on other sites
8 minutes ago, zagr said:

the script one

 

 

Can you edit the GF_Auto_Loot.sqf and add this line :

 

GF_AL_Distance_Check_Loaded = false;

 

GF_AL_Distance_Check_Loaded = false;
//________________	GF_Distance_Check.sqf	________________
[] execVM "GF_Auto_Loot\GF_Distance_Check.sqf";

waituntil{GF_AL_Distance_Check_Loaded};

 

Share this post


Link to post
Share on other sites
8 minutes ago, GEORGE FLOROS GR said:

 

 

Can you edit the GF_Auto_Loot.sqf and add this line :

 

GF_AL_Distance_Check_Loaded = false;

 


GF_AL_Distance_Check_Loaded = false;
//________________	GF_Distance_Check.sqf	________________
[] execVM "GF_Auto_Loot\GF_Distance_Check.sqf";

waituntil{GF_AL_Distance_Check_Loaded};

 

okay, i'll try! just one sec

  • Thanks 1

Share this post


Link to post
Share on other sites
11 minutes ago, GEORGE FLOROS GR said:

 

 

Can you edit the GF_Auto_Loot.sqf and add this line :

 

GF_AL_Distance_Check_Loaded = false;

 


GF_AL_Distance_Check_Loaded = false;
//________________	GF_Distance_Check.sqf	________________
[] execVM "GF_Auto_Loot\GF_Distance_Check.sqf";

waituntil{GF_AL_Distance_Check_Loaded};

 

okay, i tested on my dedi, still dosen't work but now there is no errors, only this
2019/04/01, 23:46:12 "//________________ GF_AL_Distance_Check initializing ________________"
2019/04/01, 23:46:12 "//______________________ GF_AL_Distance_Check initialized    ___________________"
2019/04/01, 23:46:12 "//________________ GF Auto Loot Script initializing ________________"
2019/04/01, 23:46:12 "Custom items only"
2019/04/01, 23:46:12 "//________________ Cleaner and Spawn Enabled ________________"
2019/04/01, 23:46:12 "//________________ GF Auto Loot Script initialized ________________"

when i checked my listen server RPT after CF auto loot script initialized phrase there was this one

20:38:10 "//________________ GF Auto Loot Script initialized ________________"
20:38:10 "Items : 1"
20:38:10 "Items : 2"
20:38:10 "Items : 3"
20:38:10 "Items : 4"
20:38:10 "Items : 5"
20:38:10 "Items : 6"
20:38:10 "Items : 7"
20:38:10 "Items : 8"
20:38:10 "Items : 9"
20:38:10 "Items : 10"
20:38:10 "Items : 11"
20:38:10 "Items : 12"
20:38:10 "Items : 13"
20:38:10 "Items : 14"
20:38:10 "Items : 15"
20:38:10 "Items : 16"
20:38:10 "Items : 17"
20:38:10 "Items : 18"

but on dedi still not a single item was spawned 😞

  • Like 1

Share this post


Link to post
Share on other sites

Ok hold on because i think that i understand where the problem is .

I'll send you the next files in private.

  • Like 1

Share this post


Link to post
Share on other sites

# Ok so the problem is now solved !

 

The dedicated server was initializing , starting the mission with no players included and because with this update it's added a distance check and blacklist zones , there was no player to much the distance so the script was stopped - pause.

 

Therefore i will update this again and probably some scripts more , that include the distance check.

 

Thanks !

  • Like 1

Share this post


Link to post
Share on other sites

Hello -

 

  The spawned items from your mod are getting deleted by Ravage mod's clean up system (I'm pretty sure). I'm unable to find any weapons, other than in the buildings right next to where I spawn. How do I go about fixing this?

  • Like 1

Share this post


Link to post
Share on other sites

Hello there ArteyFlow !

 

You can turn off the Ravage cleaner and i have also a cleaner script that you can give your desired settings.

 

Just check about the loop of the script , because in the example i have set it to  every 1 sec.

 

do you know also about the Ravage Club ?

 

Share this post


Link to post
Share on other sites
10 minutes ago, GEORGE FLOROS GR said:

Hello there ArteyFlow !

 

You can turn off the Ravage cleaner and i have also a cleaner script that you can give your desired settings.

 

Just check about the loop of the script , because in the example i have set it to  every 1 sec.

 

do you know also about the Ravage Club ?

 

 

Thanks for responding my man, however if I turn off the Ravage cleaner, doesn't that mean that corpses and dropped items won't be deleted, therefore causing a cumulative performance drop? I'll take a look at your cleanup script, though. I might even replace Ravage's cleanup system with yours, LOL

 

  • Like 1

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

×