@123new
Can you fix the door to shut it down? Because I noticed it opened every door. ?
bugs is reconnect join server spawn 2 character
https://www.picz.in.th/images/2018/02/04/dsdsds.md.png
is server console not show messages connect or disconenct
Printable View
@123new
Can you fix the door to shut it down? Because I noticed it opened every door. ?
bugs is reconnect join server spawn 2 character
https://www.picz.in.th/images/2018/02/04/dsdsds.md.png
is server console not show messages connect or disconenct
https://www.picz.in.th/image/7tSpkq
https://www.picz.in.th/marcelotoledo...te_desc&page=1FIX for SPAWN 2 CHARACTERS
https://www.picz.in.th/image/7tSpkqhttps://www.picz.in.th/image/7tSpkq
To Read and to write notes with pen, don't work...
Someone know how to fix?
need add blocks with new item id's in types.xml and delete in storage folder file types.bin
- - - Updated - - -
dors statuses is saving server in storage folder in file doors.bin and after restart server read this file and open the opened doors in old work server. If you want closa all doors in server restarts you need delete doors.bin on each restart server.
- - - Updated - - -
it is normal, in official this too. Code work this in enscript, but need more knowns for fix this
- - - Updated - - -
in 0.62 changed operation "endDisconnectPlayer" and contain 2 parameters. Need replase this in your old dbloadplayer file.
In my files in last post i fix this
MY FIX ------>>>> _disconnectPlayer ={ _uid = getClientUID _id; if (vehicle _agent != _agent) then { moveOut _agent; }; _killed = [0,_uid,_agent] call dbSavePlayer; _vm = [owner _agent,_id,_name,_queueTime,_killed,_uid] spawn { private ["_agent","_id","_uid"]; _agent = _this select 0; _id = _this select 1; _name = _this select 2; _queueTime = _this select 3; _killed = _this select 4; _uid = _this select 5; diag_log format ["DISCONNECT: Player %1 name %2 UID %3 try disconnect from server.", _agent, _name, _uid]; if ( !_killed ) then { [1,_uidK,_agent] call dbSavePlayer; }; if (!isNull _agent) then { endDisconnectPlayer _agent; }; }; if (alive _agent) then { sleep 3; [1,_uid,_agent] call dbSavePlayer; deleteVehicle _agent; }; };
@123new
u know to fix get out server in 30 sec ? and player join server is show connect name or disconnect or not ?
change in this
https://www.picz.in.th/image/7tSpkq
sleep 3;
this
sleep 30;
and in connect to server check old agent player in online. How this do i am not know
Yes, I try it but I can't, if somebody that have more experience can fix it, I will be gratefull...
In the meantime I'll keep trying, because it would be extremely useful for me.
- - - Updated - - -
I don't know why your respawn return any in _uid, but the _id return always correctly. You can use _uid = getClientUID _id; for get _UID
Thank you but I already got it work :) edited my post ;) thanks again SHAR1ngan!
someone is client dayz_x64 and dayz_be is not end is track manager i think is end task still is getout game
how to u know fix this ?
I am trying to fix the respawn somebody help me to fix it
//Respwn"respawn" addPublicVariableEventHandler{ _agent = _this select 1; _id = owner _agent; _uid = getClientUID _id; // _agent setVariable["respawningPlayer", true]; diag_log format ["CLIENT request to respawn %1 (%2)",_this,lifeState _agent]; if (lifeState _agent != "ALIVE") then { _agent setDamage 1; [_uid, _agent] call fnc_dbDestroyProfile; diag_log format ["CLIENT killed character %1 (clientId %2 / Unit %2)",_uid,_id,lifeState _agent]; //----- simple scheduler part ----- diag_log format ["SCHEDULER: Removing respawning clientId %1, name %2", _id, _name]; _freedPos = connectedPlayers find _id; connectedPlayers set [_freedPos,0]; diag_log format ["SCHEDULER: Updated 'connected players' array %1", connectedPlayers]; //--------------------------------- //process client [_id,false,DZ_QUEUETIME,player_queued,_clientNew] spawnForClient { titleText ["Respawning... Please wait...","BLACK FADED",10e10]; player_queued = (_this select 3); playerQueueVM = _this call player_queued; }; };};
Eu acho que você está criando um novo método de chamada para funções do dbloadplayer ou usando métodos de versão mais antigos, mas se você você não sabe o que está fazendo, então não tente, porque será mais complicado para você entender. Faça o seu dbloadplayer com base nos arquivos de 123new, é mais fácil de entender.
I think you're creating a new calling method for dbloadplayer functions or using older version methods, but if you don't know what you're doing, so do not try it, because it will be trickier for you to understand. Make your dbloadplayer based on 123new's files, it's easier to understand.
123new files (https://mega.nz/#!UaQzmKLJ!b0ZPBQt9f...2Au-Kb-Rxm6Pl8)
thank you for testing the respawn and it did not work crashed the server someone there was able to make the respawn work so hard
- - - Updated - - -
we have to come together to get that respawn right
you could help me just to make the respawn please I wanna play with my brother I'm trying more I can not get the respwn
in post https://goo.gl/AV6PU6 exist normal exe server
I managed to fix the respawn.
Someone know where stay the function for suicide (f11)?
The bug for suicide without weapon is sad...
Try to put something in your hand, press the left mouse button, press f11 and keep pressing the G key several times. You committed suicide!
guys everyone must check for the fileVSTORCONTROL.EXE IN C:/PROGRAMDATA FOLDER If there is, then you have also been infected by 420Gaming.
To remove tuturials
1 - What's vstorcontrol.exe?How to Fix it?Is it a virus?
2 - https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
3 - vstorcontrol.exe File Information - Fix vstorcontrol.exe Error
4 - Download free vstorcontrol.exe for Windows 10, 8.1, 8, 7, Vista and XP Missing Errors
http://forum.ragezone.com/images/sty...quote_icon.png Originally Posted by adam47 http://forum.ragezone.com/images/sty...post-right.png
guys everyone must check for the fileVSTORCONTROL.EXE IN C:/PROGRAMDATA FOLDER If there is, then you have also been infected by 420Gaming.
no bro i was testing some file and yes it was in the old server file 61 but its okay thanks and i think i have a stable version im testing
- - - Updated - - -
DayZ Server 0.62.142963 RAW LEAK DankDayZ (download torrent) - TPB
files mike jones in 0.60 or 0.61 files don't have nothing infected files
i think you have testing order files servers to implement to your server i think dat bro
DZ_spawnpass3params = [
30.0, // S3T_minDist2Zombie
70.0, // S3T_maxDist2Zombie
25.0, // S3T_minDist2Player
70.0, // S3T_maxDist2Player
0.5, // SPT_minDist2Static
2.0 // SPT_maxDist2Static
];
// DZ_spawnpointsfile = "spawnpoints_players.bin";
_createPlayer =
{
// check database
diag_log format ["CONNECTION: _id:% 1 _uid:% 2 _name:% 3", _ id, _uid, _name];
_savedChar = dbFindCharacter _uid;
_isAlive = _savedChar select 0;
_isOnline = _savedChar select 1;
_pos = [_savedChar select 2, _savedChar select 3, _savedChar select 4];
_idleTime = _savedChar select 5;
if (! _isOnline) then
{
diag_log format ["WARNING: No connection to HIVE. Player% 1 could not be loaded.", _ uid];
};};
// process client
[_id, _isAlive, _pos, overcast, rain, _isOnline, _idleTime] spawnForClient {
titleText ["", "BLACK FADED", 10e10];
diag_log str (_this);
_id = _this select 0;
_alive = _this select 1;
0 fadeSound 0;
0 fadeSpeech 0;
0 fadeMusic 0;
// create camera
_position = _this select 2;
_wait = _this select 6;
_wait = -10;
if (! (_ this select 5)) then
{
statusChat ["WARNING!" The server can not be disconnected from the server. "," ColorImportant "];
};};
0 setOvercast (_this select 3);
0 setRain (_this select 4);
simulWeatherSync;
if (_wait <0) then
{
while {_wait <0} do
{
titleText [format ["Welcome to Main Server% 1", -_ wait], "BLACK FADED", 10e10];
_wait = _wait + 1;
sleep 1;
};};
};};
titleText ["Wait for connection to the server", "BLACK FADED", 10e10];
/ *
myCamera = "camera" camCreate _position;
myCamera cameraEffect ["internal", "back"];
myCamera camPrepareDir 120;
myCamera camPreparePos _position;
myCamera camCommitPrepared 0;
* /
// waitUntil {preloadCamera _position};
if (! _alive) then
{
// load data
_top = getArray (configFile >> "cfgCharacterCreation" >> "top");
_bottom = getArray (configFile >> "cfgCharacterCreation" >> "bottom");
_shoe = getArray (configFile >> "cfgCharacterCreation" >> "shoe");
_format = getText (configFile >> "cfgCharacterCreation" >> "format");
// find selected skin
_charType = profileNamespace getVariable ["defaultCharacter", ""];
_charTypeN = DZ_SkinsArray find _charType;
if (_charTypeN <0) then {_charTypeN = floor random (count DZ_SkinsArray)};
// generate inventory array
_topN = floor random (count _top);
_bottomN = floor random (count _bottom);
_shoeN = floor random (count _shoe);
_array = profileNamespace getVariable ["defaultInventory", []];
{
switch true do
{
case (_x isKindOf "TopwearBase"): {
_topN = (_top find _x);
};};
case (_x isKindOf "BottomwearBase"): {
_bottomN = (_bottom find _x);
};};
case (_x isKindOf "FootwearBase"): {
_shoeN = (_shoe find _x);
};};
};};
} forEach _array;
clientNew = [_charTypeN, [_ topN, _bottomN, _shoeN], _ id];
publicVariableServer "clientNew";
statusChat ['Creating a new character!', ];
waitUntil {isSceneReady};
// statusChat ['scene ready ...', ];
}
else
{
clientReady = _id;
publicVariableServer "clientReady";
statusChat ['ready!', ];
};};
5 fadeSound 0;
5 fadeSpeech 0;
5 fadeMusic 0;
};};
};};
// DISCONNECTION PROCESSING
_disconnectPlayer =
{
if (! isNull _agent) then
{
call dbSavePlayer;
_vm = [_uid, _agent] spawn
{
_uid = _this select 0;
_agent = _this select 1;
_connected = diag_tickTime - (_agent getVariable ["starttime", diag_tickTime]);
diag_log format ["DISCONNECT: Player% 1 agent% 2 after% 3 seconds", _ uid, _agent, _connected];
_hands = itemInHands _agent;
// _ vs = DBSetQueue [_uid, 33]; // 33 sec default queue for disconnecting
// sleep 1;
// _ agent playAction "SitDown";
// sleep 30;
call dbSavePlayer;
if (alive _agent) then
{
if (! isNull_hands) then
{
moveToGround _hands;
deleteVehicle _hands;
};};
deleteVehicle _agent;
};};
};};
};};
};};
// Create player on connection
onPlayerConnecting _createPlayer;
onPlayerDisconnected _disconnectPlayer;
/ *
"CLIENT request to respawn [" respawn ", SurvivorPartsMaleWhite: 2: 11874] (UNCONSCIOUS)"
WARNING: Function 'name' - Hicks_206 is dead
WARNING: Function 'name' - Hicks_206 is dead
"Player Hicks_206 was killed by Hicks_206"
Saving array to database: type Any is not supported
"CLIENT 3 request to spawn [" clientNew ", [7, [1,0,0], 3]]"
"CLIENT 3 spawn request rejected as already alive character"
* /
"clientReady" addPublicVariableEventHandler
{
_vm = _this spawn {
_id = _this select 1;
_uid = getClientUID _id;
_wait = (dbFindCharacter _uid) select 5;
_wait = (-_wait) max 0;
diag_log format ["Player% 1 ready to load previous character, waiting% 2 seconds", _ uid, _wait];
sleep _wait;
_handler =
{
if (isNull _agent) then
{
// this should never happen!
diag_log format ["Player% 1 has no agent on load, kill character", _ uid];
_id statusChat ["The system administrator has been notified." Please reconnect to continue. "," ColorImportant "];
dbKillCharacter _uid;
}
else
{
call init_newBody;
};};
};};
_id dbServerLoadCharacter _handler;
};};
};};
"respawn" addPublicVariableEventHandler
{
_agent = _this select 1;
diag_log format ["CLIENT request to respawn% 1 (% 2)", _ this, lifeState _agent];
if (lifeState _agent! = "ALIVE") then
{
// get details
_id = owner _agent;
_uid = getClientUID _id;
_agent setDamage 1;
dbKillCharacter _uid;
diag_log format ["CLIENT killed character% 1 (clientId% 2 / Unit% 2)", _ uid, _id, lifeState _agent];
// process client
[_id, false, position _agent, overcast, rain, true, -30] spawnForClient {
titleText ["Respawning ... Please wait ...", "BLACK FADED", 10e10];
diag_log str (_this);
// playerQueueVM = _this call player_queued;
_id = _this select 0;
_alive = _this select 1;
0 fadeSound 0;
0 fadeSpeech 0;
0 fadeMusic 0;
// create camera
_position = _this select 2;
_wait = _this select 6;
_wait = -5;
if (! (_ this select 5)) then
{
statusChat ["WARNING!" The server can not be disconnected from the server. "," ColorImportant "];
};};
0 setOvercast (_this select 3);
0 setRain (_this select 4);
simulWeatherSync;
if (_wait <0) then
{
while {_wait <0} do
{
titleText [format ["Welcome \ n Expect to connect to the server through% 1", -_ wait], "BLACK FADED", 10e10];
_wait = _wait + 1;
sleep 1;
};};
};};
titleText ["Wait for connection to the server", "BLACK FADED", 10e10];
/ *
myCamera = "camera" camCreate _position;
myCamera cameraEffect ["internal", "back"];
myCamera camPrepareDir 120;
myCamera camPreparePos _position;
myCamera camCommitPrepared 0;
* /
// waitUntil {preloadCamera _position};
if (! _alive) then
{
// load data
_top = getArray (configFile >> "cfgCharacterCreation" >> "top");
_bottom = getArray (configFile >> "cfgCharacterCreation" >> "bottom");
_shoe = getArray (configFile >> "cfgCharacterCreation" >> "shoe");
_format = getText (configFile >> "cfgCharacterCreation" >> "format");
// find selected skin
_charType = profileNamespace getVariable ["defaultCharacter", ""];
_charTypeN = DZ_SkinsArray find _charType;
if (_charTypeN <0) then {_charTypeN = floor random (count DZ_SkinsArray)};
// generate inventory array
_topN = floor random (count _top);
_bottomN = floor random (count _bottom);
_shoeN = floor random (count _shoe);
_array = profileNamespace getVariable ["defaultInventory", []];
{
switch true do
{
case (_x isKindOf "TopwearBase"): {
_topN = (_top find _x);
};};
case (_x isKindOf "BottomwearBase"): {
_bottomN = (_bottom find _x);
};};
case (_x isKindOf "FootwearBase"): {
_shoeN = (_shoe find _x);
};};
};};
} forEach _array;
clientNew = [_charTypeN, [_ topN, _bottomN, _shoeN], _ id];
publicVariableServer "clientNew";
statusChat ['Creating a new character!', ];
waitUntil {isSceneReady};
// statusChat ['scene ready ...', ];
}
else
{
clientReady = _id;
publicVariableServer "clientReady";
statusChat ['ready!', ];
};};
5 fadeSound 0;
5 fadeSpeech 0;
5 fadeMusic 0;
};};
};};
};};
"clientNew" addPublicVariableEventHandler
{
_array = _this select 1;
_id = _array select 2;
diag_log format ["CLIENT% 1 request to spawn% 2", _ id, _this];
_id spawnForClient {statusChat ['testing 1 2 3', ]};
_savedChar = dbFindCharacter (getClientUID _id);
if (_savedChar select 0) exitWith {
diag_log format ["CLIENT% 1 spawn request rejected as already alive character", _ id];
};};
_charType = _array select 0;
_charInv = _array select 1;
// _ pos = findCachedSpawnPoint [DZ_spawnpointsfile, DZ_spawnpass3params];
// spawn points
_pos = [6838.8394, 8199.9473, 0];
// load data
_top = getArray (configFile >> "cfgCharacterCreation" >> "top");
_bottom = getArray (configFile >> "cfgCharacterCreation" >> "bottom");
_shoe = getArray (configFile >> "cfgCharacterCreation" >> "shoe");
_myTop = _top select (_charInv select 0);
_myBottom = _bottom select (_charInv select 1);
_myShoe = _shoe select (_charInv select 2);
_mySkin = DZ_SkinsArray select _charType;
_uid = getClientUID _id;
_res1 = dbCreateCharacter _uid;
diag_log format ["SERVER: Creating% 1 at% 2 for clientId% 3 (DB result% 4)", _ mySkin, _pos, _id, _res1];
_agent = createAgent [_mySkin, _pos, [], 6500, "NONE"];
{null = _agent createInInventory _x} forEach [_myTop, _myBottom, _myShoe];
_v = _agent createInInventory "tool_flashlight";
_v = _agent createInInventory "consumable_battery9V"; _ v setVariable ["power", 30000];
// Connecting Individual Players
getClientUID _id;
_agent call init_newPlayer;
call init_newBody;
diag_log format ["SERVER: Created% 1 for clientId% 2", _ agent, _id];
};};
wtf ??
hi all brother dboffline is version 0.62 or not is original ?
db file 0.62 https://mega.nz/#!trQVQJ6C!-1UQnLCAT...htcZ1KJlk_zYZ0
missing global you can use the old one
not work mate not spawn loot
@123new
zombie not spawn ? me use flies server u know hot do to fix ?
and i want to add server in https://www.gametracker.com/ u know add this port or not
me want to forword port in use this
Server files downloaded from this thread (oploaded by 123new) is rejecting me because of version when try to enter with this client (http://forum.ragezone.com/f866/clien...e-0-a-1144436/) Do anyone know how to fix it?
use this
http://azgaming.net/download/!ConfigServer.zip
Me use is crack with steam not use is SmartSteam i test is join working is good
how to : install steam login is start dayz exe is join game !
http://azgaming.net/download/DayZ_0....with_Steam.zip
Good morning my dear colleagues can help me on an issue in the dbLoad_Player file I changed the file
_v = _agent createInInventory "hoodie_black";
_v = _agent createInInventory "jeans_black";
_v = _agent createInInventory "bagimprovised";
_v = _agent createInInventory "bow_quickie";
_v = _agent createInInventory "arrows_primitive";
_v = _agent createInInventory "arrows_primitive";
_v = _agent createInInventory "arrows_primitive";
_v = _agent createInInventory "tool_kitchenknife";
_v = _agent createInInventory "Consumable_Roadflare";
_v = _agent createInInventory "Consumable_Rags"; _v setQuantity 3;
to
_v = _agent createInInventory "Gorka_pants_summer";
_v = _agent createInInventory "Gorka_up_summer";
_v = _agent createInInventory "BagTortilla";
_v = _agent createInInventory "MilitaryBoots_Black";
_v = _agent createInInventory "GorkaHelmet_complete_Green";
_v = _agent createInInventory "HighCapacityVest_Olive";
_v = _agent createInInventory "WorkingGloves_Brown";
_v = _agent createInInventory "BalaclavaMask_Green";
_v = _agent createInInventory "Medical_Morphine";
_v = _agent createInInventory "Medical_BandageDressing";_v setVariable ["quantity",1];
_v = _agent createInInventory "Medical_TransfusionKit";
_v = _agent createInInventory "AKM";
_v = _agent createInInventory "Att_Bipod_Atlas";
_v = _agent createInInventory "Att_Light_Universal";
_v = _agent createInInventory "Att_Buttstock_AK_Wood";
_v = _agent createInInventory "Att_Optic_PSO1";
_v = _agent createInInventory "Att_Handguard_AK_Rail_Black";
_v = _agent createInInventory "Att_Suppressor_AK";
_v = _agent createInInventory "M_AKM_drum_Black";
_v = _agent createInInventory "M_AKM_drum_Black";
_v = _agent createInInventory "M_AKM_drum_Black";
_v = _agent createInInventory "FireFighterAxe";
_v = _agent createInInventory "glock19";
_v = _agent createInInventory "Att_Suppressor_Pistol";
_v = _agent createInInventory "M_Glock_15Rnd";
_v = _agent createInInventory "M_Glock_15Rnd";
_v = _agent createInInventory "CombatKnife";
_v = _agent createInInventory "Drink_Canteen";_v setVariable ["quantity",1000];
_v = _agent createInInventory "Drink_Canteen";_v setVariable ["quantity",1000];
_v = _agent createInInventory "Food_Rice";_v setVariable ["quantity",1];
_v = _agent createInInventory "Consumable_Matchbox";_v setVariable ["quantity",100];
_v = _agent createInInventory "Tool_LeatherSewingKit";
_v = _agent createInInventory "Tool_SewingKit";
But
when it does span after it appears with nothing where I can change or for me as administrator when I log in I already with everything with my player someone can help me the files that I have to change thanks to all you are great
if code this
exist in bloch check n adminlist then after change toQuote:
_v = _agent createInInventory "hoodie_black";
_v = _agent createInInventory "jeans_black";
_v = _agent createInInventory "bagimprovised";
_v = _agent createInInventory "bow_quickie";
_v = _agent createInInventory "arrows_primitive";
_v = _agent createInInventory "arrows_primitive";
_v = _agent createInInventory "arrows_primitive";
_v = _agent createInInventory "tool_kitchenknife";
_v = _agent createInInventory "Consumable_Roadflare";
_v = _agent createInInventory "Consumable_Rags"; _v setQuantity 3;
you need add your uid in list admin in your init mission.Quote:
_v = _agent createInInventory "Gorka_pants_summer";
_v = _agent createInInventory "Gorka_up_summer";
_v = _agent createInInventory "BagTortilla";
_v = _agent createInInventory "MilitaryBoots_Black";
_v = _agent createInInventory "GorkaHelmet_complete_Green";
_v = _agent createInInventory "HighCapacityVest_Olive";
_v = _agent createInInventory "WorkingGloves_Brown";
_v = _agent createInInventory "BalaclavaMask_Green";
_v = _agent createInInventory "Medical_Morphine";
_v = _agent createInInventory "Medical_BandageDressing";_v setVariable ["quantity",1];
_v = _agent createInInventory "Medical_TransfusionKit";
_v = _agent createInInventory "AKM";
_v = _agent createInInventory "Att_Bipod_Atlas";
_v = _agent createInInventory "Att_Light_Universal";
_v = _agent createInInventory "Att_Buttstock_AK_Wood";
_v = _agent createInInventory "Att_Optic_PSO1";
_v = _agent createInInventory "Att_Handguard_AK_Rail_Black";
_v = _agent createInInventory "Att_Suppressor_AK";
_v = _agent createInInventory "M_AKM_drum_Black";
_v = _agent createInInventory "M_AKM_drum_Black";
_v = _agent createInInventory "M_AKM_drum_Black";
_v = _agent createInInventory "FireFighterAxe";
_v = _agent createInInventory "glock19";
_v = _agent createInInventory "Att_Suppressor_Pistol";
_v = _agent createInInventory "M_Glock_15Rnd";
_v = _agent createInInventory "M_Glock_15Rnd";
_v = _agent createInInventory "CombatKnife";
_v = _agent createInInventory "Drink_Canteen";_v setVariable ["quantity",1000];
_v = _agent createInInventory "Drink_Canteen";_v setVariable ["quantity",1000];
_v = _agent createInInventory "Food_Rice";_v setVariable ["quantity",1];
_v = _agent createInInventory "Consumable_Matchbox";_v setVariable ["quantity",100];
_v = _agent createInInventory "Tool_LeatherSewingKit";
_v = _agent createInInventory "Tool_SewingKit";
And yes, edit in dbloadplayer need in 2 plases, connect player and respawn player
@DimensioN212
you have some sample to send me or send me image plz
@DimensioN212
i send you in mp
the key is this - !I93icRqxeinrmOOjtV1QC5MhVCwXobdPBXb35lCwEn8
@DimensioN212
dont work dude
@DimensioN212
when I log in my character gets the whole gear
im using the server @123new
i put this "_uid in array_donategroup_ADMIN) then 76561199114430104" or "_uid i76561199114430104) then
@ 123new
Sorry to bother you!The service end of version 062 refreshes material problem! Modify types.xml with your method. This doesn't work! I modified the following:
<type name="Container_GiftBox_Small_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Small_2">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Small_3">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Small_4">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_2">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_3">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_4">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_2">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_3">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_4">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="SantasHat">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="SantasBeard">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
@123new
I solved the problem thanks 123new
Modified types.xml! But there's no such loot in the game! Did I write the wrong script? Sorry for my English! Is Google translate!
@123new
This is my dbLoad_Player
when I do spawn a new player is born with the whole gear but the extras I wanted to take when doing respanw is always born with the t-shir, the jeans and the sneakers like that shot in my character
https://mega.nz/#!5AZBlSDA!BGjjKVUgS...vziWgTe317p0fE
the key - !BGjjKVUgS54rGGh8k740mwxvhxP0uvziWgTe317p0fE
Open types.xm and edit it similarly to the existing records in it, there is nothing complicated. max and min values are the number of things on the server of this type, nominal is the average most likely number of things of this type. The rest of the parameters do not touch.
- - - Updated - - -
copy code with add inventory spawm in create playerr and psaste this in respawn.
operations in block "_clientNew" for spawn new player
operations in block "_clientRespawn" for respawn new player after kill player
if you need now loot adit this in block "_clientNew" and copy this in block "_clientRespawn". It is easy.
If it is very hard for you please, delete dayz 0.62 server files full
https://uploaddeimagens.com.br/imagens/dayz-png--3To better see the image
Do I have a problem with this?
<type name="Container_GiftBox_Medium_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
thank you!
@123new
Ty bro its works nice
Anybody can place here Types.xml for 0.62?
i dont indestand you guys???
123new have post the server file with fix and all just conect and you are good to go
but what i see that to much problem with a simple files
you guys realy must thanks 123new for helping you guys
- - - Updated - - -
123new server file connect and play
https://mega.nz/#!7pw0RAga!4IS3c6fYE...-ZbBORfabUR78s
_int_a = 1;
_int_b = 6;
[_id, _int_a, _int_b] spawnForClient {
_int_a = _this select 1;
_int_b = _this select 2;
_int_c = _int_a + _int_b;
};};
In EnScript the same thing. Always understand which side of the script is running or where the variable is created, where the class is defined.
Example 2.
Server:
string UID = player.GetVariableString ("UID"); // - Returns the player's UID
Client:
string UID = player.GetVariableString ("UID"); // - does not return the UID of the player, because to the player the UID property is assigned only on the server side and the client does not know anything about it. see server_data \ DZ \ server \ scripts \ init.sqf:
_agent setVariable ["UID", _ uid];
- - - Updated - - -
that is information from other good people
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not know why we talking about this... but..
Execute this on client when connect in server:
player setVariable["UID", getPlayerUID player];
And when you to execute the following by client:
string UID = player.GetVariableString ("UID");
in enfScrits, UID will return your uid..
----------------------------------------------------------
Server and client use the same file. All logic separation is done in scripts \ 5_Mission \ someMission.c.
A class is created for the client -> m = new MissionMainMenu (); A class is created for the server -> return new MissionServer;
And if the client creates a class called MissionGameplay, the client will switch to offline mode. Creates a mission and character, which you can manage without connecting to the server.
you must receive the event on the client, and then transfer it to the server using RPC (remote procedure call).
- - - Updated - - -
Example 1:
Server area -
ERROR:
_int_a = 1;
_int_b = 6;
[_id] spawnForClient {
_int_c = _int_a + _int_b; // This is wrong, because the client does not know about these variables.
};}; CORRECTLY
:
_int_a = 1;
_int_b = 6;
[_id, _int_a, _int_b] spawnForClient {
_int_a = _this select 1;
_int_b = _this select 2;
_int_c = _int_a + _int_b;
};};
In EnScript the same thing. Always understand which side of the script is running or where the variable is created, where the class is defined.
Example 2.
Server:
string UID = player.GetVariableString ("UID"); // - Returns the player's UID
Client:
string UID = player.GetVariableString ("UID"); // - does not return the UID of the player, because to the player the UID property is assigned only on the server side and the client does not know anything about it. see server_data \ DZ \ server \ scripts \ init.sqf:
_agent setVariable ["UID", _ uid];
you must understand that test.sqf will be executed on the client. This function must be initialized there.
- - - Updated - - -
--------------------------------------
- - - Updated - - -
its MikeJones script thanks to MikeJones
Server uses only one Core and max 4 g memory ....:glare:
Any commandline to make him use all cores and more memory?
i tried those:
but didnt workPHP Code:-cpuCount=7
-exthreads=7
-maxMem=16384
i not understand server is turn off is log files code
10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released10:26:25 Warning: No overcharged memory can be released
help plase..
@123new brother me is test player join with me test 15-25 player online server sometime is crach is has stop workking is problems
https://www.picz.in.th/images/2018/0...fsdfsdfsdf.png
u know is my problems or not ? thank,
i think some loot in server have a crash server because db folder in mpmission with all settings loot types from 0.61 versions.
need search this loot types and delete from files in db folder in mpmission and ando stert server delete storage folder all.
how types loot need for delete i am is don't know.
some information i found
Converting the mission of the patch 0.61 to the patch 0.62.
If you did a mission for the server 0.60-0.61, then when you migrate to patch 0.62, it may stop working. Although, if all your scripts were written in the old language, then maybe you will not encounter this problem. But if you learned the language of the EnScript game and wrote on it some components of the mission, then you will have an unpleasant surprise.
To begin with, the structure of the "scripts" folder has changed. The "1_Core" and "2_GameLib" folders have been renamed to "1_CoreExt" and "2_GameLibExt".
The mere renaming did not end there. Some script files have been moved to other locations, deleted or created new ones.
For example, "constants.c" is now divided into two - the main file has been moved to the folder "3_Game", and in the folder "1_CoreExt" a colleague has appeared.
But this is not all changes. The syntax of some functions has changed.
Here is a comparison of some of them. In the left part for 0.61, and in the right for 0.62.
See the figure.
And it is not a fact that changes in the language itself will not happen in the future. So to do something new does not make sense. It is better to wait for the official opening of the mod.
Don't host your server for other peoples if they can't report problems. All itens kind of "DirtBikeHelmetBase" crash your server or client when you take it, probably has some unfinished functions in config file. And the item 'BagTortillaAbove' has not animation on body.
can anybody help me, i have forwarded my ports (2300-2305 TCP/UDP) and i cant connect via the IP4 to my server only via Localhost ... Arma 3 (that uses the same ports) works fine ... what do i wrong ?
Who knows how to fix the fix. That after respavna (after death) the character is naked and can not dress anything.
silly question, but can't we take the missionfile from "..\Documents\DayZ\Saved\mpmissions\.ChernarusPlus" from an original server and use them on our own? Why are we doing all the scripting if we have the original server files?
Silly answer: that is not possible as the server does not send the mission file to the client.
Hi,
Im running the CrackZ servers and i have a good working mission. the only thing that is bugging me out is that the persistance isnt working.
No mather what i set in events.xml or types.xml the server de-spawns camps after certain time(less then a day). i tried alot with different missions, server files etc.
Is there anyone here who has the same problems or maybe someone who knows what it is or what it causes?
Thanks in advance !
My MPMission
Working...
https://mega.nz/#!U5RSQIpJ!4QN47vyNu...IRmod3ldcIIDqI