Reality DayZ Heli/Care loot manager [PHP]

Greetings!
Since this is my first post on this forum, and in the DayZ private hive community in general.
I feel like starting with giving something back.

Put together a small PHP script which loads all currently possible weapons and some items(missing a few i know)

it stores the available items, your selected loot for care packages and heli crashes in a mysql database for easy editing later on. (Tweaking) ((Having the entire server run around with as50's isnt cool))

Screenshots:

Selecting a weapon/item from the menu show's the corresponding image of the item.

View Larger
Here you can see the two arrays that you paste in your server_functions.sqf /fnc_carePkgs.sqf

View larger
Installation:

1. Create a database on your MySQL server using a MySQL management tool of your choosing or use an existing database.
2. Dump the 3 .sql files into the database.

3. Edit the loot.php files, set your password, and MySQL credentials.

4. ?????

5. Profit


If you look at the code and cry you eyes out at night because its so bad, feel free to commit any changes you deem appropriate for increased security,functionality or design.


Link to the git hub

https://github.com/meistrr/crash_care
 
I think all loot manipulation has gotten hosed. It's completely ignoring my fixes to spawn_loot.sqf from what I can see. F!
 
Very true. They altered the way a lot of the loot was called in. Truly a bad call (see what I did there?) on their part. Waiting on 1.7.5.2 now :D
 
Did they though? It certainly all looks the same to me. There are few minor changes but I still see lots of references to the spawn_loot.cfg which spawns everything.
 
It looks like our host may or may not have moved, added, or deleted some of the content in an effort to make the new code work with their structure. If that is the case, this tool will be amazing.
 
Mind pasting your compiles as well? I'd appreciate it. The reason yours is working is you have reverted the item spawning code to the code from 1.7.4.x
 
Are you _sure_ this is actually working and you have tested it thoroughly? Because we've got people running all over our server right now running the old spawn_loot.sqf and its still spawning loot it shouldn't.
 
Yes, I removed a lot of the weapons because they were spawning but were getting deleted when picked up. but it was for sure spawning LRR etcs.
 
Found the problem. Modifying spawn_loot.sqf works just fine. The issue was Reality overwrting my init.sqf changes with the killmsgs/init.sqf when trying to merge the two during build.
 
Found the problem. Modifying spawn_loot.sqf works just fine. The issue was Reality overwrting my init.sqf changes with the killmsgs/init.sqf when trying to merge the two during build.
ah yes, I did the mods on that package, so every time I build I don't have to add it manually :D
 
I just removed the init.sqf from killmsgs and messaging because they are identical to the standard init.sqf which makes them completely pointless anyway.
 
Top