-
Re: DayZ Standalone v 0.60.133913 Server Files
Helicopter crash spawn ? Make it item for loot or not ?
Ty my talk
-
Re: DayZ Standalone v 0.60.133913 Server Files
-
Re: DayZ Standalone v 0.60.133913 Server Files
Anyone have fix for changing player items all to pristine?
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
mudy
Anyone have fix for changing player items all to pristine?
yes anyone hav fix for it plz share with us plz
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
kbnnlan
I think it in event.xml .i edit it and player report loot rate up.
Ok, i test this way and write here my answer about this.
Tested. Not worked for me.
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
faddy1994
cant not edit files .pbo ? Help me please
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
faddy1994
cant not edit files .pbo ? Help me please
Nobody can edit those pbos as long as the signature check is active.
You have to extract the scripts in your MPMissions folder and call them from there.
-
Re: DayZ Standalone v 0.60.133913 Server Files
How to save items quantity and damage (pristine etc.):
in fnc_dbSaveToProfile.sqf:
Code:
private ["_char","_key","_uid","_vars","_inventory","_inventoryStr","_type","_qty","_dmg"];
_inventory = itemsInInventory _agent;
_inventoryStr = [];
{
_type = typeOf _x;
_qty = quantity _x;
_dmg = damage _x;
_inventoryStr set [count _inventoryStr, [_type, _qty, _dmg]];
} forEach _inventory;
in fnc_dbLoadFromProfile.sqf:
Code:
private ["_char", "_agent", "_v"];
{
_v = _agent createInInventory (_x select 0);
_v setQuantity (_x select 1);
_v setDamage (_x select 2);
}
forEach (_char select 4);
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
RangeMachine
How to save items quantity and damage (pristine etc.):
in fnc_dbLoadFromProfile.sqf:
Code:
private ["_char", "_agent", "_v"];
{
_v = _agent createInInventory (_x select 0);
_v setQuantity (_x select 1);
_v setDamage (_x select 2);
}
forEach (_char select 4);
Code:
// [_x, _agent] call player_addInventory;
// _v setQuantity _x select 1;
// diag_log format ["dbLoadFromProfile: %1",_char];
_agent
delete this or add above/below it?
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
maitis
Code:
// [_x, _agent] call player_addInventory;
// _v setQuantity _x select 1;
// diag_log format ["dbLoadFromProfile: %1",_char];
_agent
delete this or add above/below it?
It's already add but look:
Quote:
private ["_char","_key","_uid","_vars","_type"];
_uid = _this select 0;
_agent = _this select 1;
_key = format ["UID_%1", _uid];
_char = profileNamespace getVariable _key;
_inventory = itemsInInventory _agent;
_inventoryStr = [];
{
_type = typeOf _x;
// _qty = quantity _type;
// _qty = 1;
_inventoryStr set [count _inventoryStr, _type];
} forEach _inventory;
You need to delete that "//"
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
RangeMachine
How to save items quantity and damage (pristine etc.):
in fnc_dbSaveToProfile.sqf:
Code:
private ["_char","_key","_uid","_vars","_inventory","_inventoryStr","_type","_qty","_dmg"];
_inventory = itemsInInventory _agent;
_inventoryStr = [];
{
_type = typeOf _x;
_qty = quantity _x;
_dmg = damage _x;
_inventoryStr set [count _inventoryStr, [_type, _qty, _dmg]];
} forEach _inventory;
in fnc_dbLoadFromProfile.sqf:
Code:
private ["_char", "_agent", "_v"];
{
_v = _agent createInInventory (_x select 0);
_v setQuantity (_x select 1);
_v setDamage (_x select 2);
}
forEach (_char select 4);
THX!
Download complete Mission: DayZSA-Testing-master.zip
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
RangeMachine
How to save items quantity and damage (pristine etc.):
...
in fnc_dbLoadFromProfile.sqf:
Code:
private ["_char", "_agent", "_v"];
{
_v = _agent createInInventory (_x select 0);
_v setQuantity (_x select 1);
_v setDamage (_x select 2);
}
forEach (_char select 4);
I coulddn't find the files. Found the meethods(?) inside init.sqf. dbSaveToProfile was easy to edit, but my dbLoadFromProfile doeas not contain the code as above. It looks like this:
Code:
dbLoadFromProfile = { private ["_savedChar"];
_savedChar = _this call dbFindProfile;
_agent = createAgent [(_savedChar select 4),(_savedChar select 2),[],0, "NONE"];
_agent setDir (_savedChar select 3);
{null = _agent setVariable[(_x select 0),(_x select 1)]} forEach (_savedChar select 6);
{
null = _agent createInInventory _x;
// [_x, _agent] call player_addInventory;
} forEach (_savedChar select 5);
// _v setQuantity _x select 1;
// diag_log format ["dbLoadFromProfile: %1",_savedChar];
_agent
};
Can you provide me with specifics? I'll try to edit it by myself, but I'm not familiar with C++ other than editing DayZ files.
-
Re: DayZ Standalone v 0.60.133913 Server Files
look at the privious post download..
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
benwood
look at the privious post download..
tnx Ben!
btw, whats up with the test folder and territories files? Is it working? Or just a WIP?
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
benwood
where i Must insert These Files?
And thx for it :-)
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
AthosBenther
tnx Ben!
btw, whats up with the test folder and territories files? Is it working? Or just a WIP?
only just a test, but i have currently no idea if that working.
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
benwood
Don't work save and load quanity things, and autoconvert worn to pristyne things
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
Alex565
Don't work save and load quanity things, and autoconvert worn to pristyne things
1. stop server
2. delete -> Server.vars.DayZProfile ( located in /SE/Users/SE/)
3. start server
-
Re: DayZ Standalone v 0.60.133913 Server Files
A Question...
what is the different between the dayzserver.exe and the dayzserverP.exe?
Thx for help :-)
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
benwood
1. stop server
2. delete -> Server.vars.DayZProfile ( located in /SE/Users/SE/)
3. start server
I try this, dont work. How:
1. delete this and start server
2. I has been spauned. I have 0 quanity bandage. I search milk food 100%
3. Reconnect. My loot is normal, quanity and milk too. Statuses things too.
4. I search anithing (1 thing)
5. Reconnect, I have 0 quanity bandage and milk, all statuses Prestine
6. Try reconekt and check my things, this problem is have been.
P.S. Sory for my bad english
-
Re: DayZ Standalone v 0.60.133913 Server Files
Hi! How can i spawn more loot?
-
Re: DayZ Standalone v 0.60.133913 Server Files
You can try to make a save system on EnScript. It's a more convenient way, with a lot of features.
-
Re: DayZ Standalone v 0.60.133913 Server Files
Why i get still session end if i try join to game with ehere posted mission files ? I have alredy server and client cracked . Before this working normall. Thanks for help-
-
Re: DayZ Standalone v 0.60.133913 Server Files
Quote:
Originally Posted by
mudy
Why i get still session end if i try join to game with ehere posted mission files ? I have alredy server and client cracked . Before this working normall. Thanks for help-
i thing u should //bdselecthost
-
Re: DayZ Standalone v 0.60.133913 Server Files
I fix it with replace server addons with client addons. But anyone have 100 % working save for quantity,quality and others ? I try something from here , latest download Test save but working only 3 times and 4 time i login have all pristine ,waterproof back emptied , rags zero ...