Pwnoz0r/DayZA3 — pull request #122 by rotcehdnih (2013-09-12 11:27:42+00:00)
Title: // New Inventory system "aeroson's GET/SET Loadout"

// Implemented new loadout system for server/client interaction
- server sync now pulls loadout via GET "fnc_get_loadout.sqf" then passes the new array to hive
- server_playerLogin acts as normal passing publicVariable to client "with new array"
- player_monitor & player_gearSet now loads the loadout via SET "fnc_set_loadout.sqf"

/////////////////////////////////////////////////////////////
// [Bugs] //
////////////////////////////////////////////////////////////

- server_playerLogin.sqf will always run if (!_isNew) then { //RETURNING CHARACTER regardless.
so else if configFile >> "CfgSurvival" >> "Inventory" >> "Default never gets set
this means if there isn't a loadout set in the database table "instance -> inventory" then the player will receive a hive error on loading and will not be able to enter the server - Note I use akind of blisshive and not Pwns so not sure if setting default loadout via database is posable

its a count _primary issue but i cant think straight atm so im just setting the defualt loadout via database as quick fix for now but will need fixing before public release !!