Jamrock
-
Posts
40 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Articles
Posts posted by Jamrock
-
-
For some reason there is no loot spawning in object a2 and the namalsk buildings even though ive added those into the loot table lol.
-
On 5.2.2017 at 11:57 AM, insertcoins said:
Well then somewhere along the line you made a mistake. Tell me your steps.
It worked now. I feel like it had to athenticate for a long time and now it is kinda working. Loot is a bit low on the server right now but ill try to higher it. dunno yet how to though.
-
On 28.12.2016 at 2:12 PM, insertcoins said:
Hi,
For a while now I've been trying to set up a vanilla Dayz Namalsk server. Would't be that hard you might think, and it's not except for one little detail: No Namalsk buildings spawns loot.
Before you say Insert you nitwit, you have to add custom loot tables and add all the namalsk buildings to their respective building.hpp, I have done this.
The custom loot building.hpp's work, because if I change for example the barracks from military.hpp to industrial.hpp I get barracks full of hatchets and timber.
I've used my own lootpositions that I made and right now, for testing, I'm using the A2:Epoch namalsk lootcords but all to no avail.Am I missing something here? Are buildings not native to Chern blocked in any way?
Any help would be greatly appreciated.
ps. Asking here because opendayz is dead.
Hey I am also looking forward to host a vanilla dayz Namalsk server. For me it seems like if i customize the loot table i cant log in it stucks at waiting for authentication.
-
Hello,
anyone know to increase the loot?
For example more mags for weapons
and more single loot piles then group loot piles?
thanks
jam
-
OK got it working guys.
-
Just now, Saije said:
looks like that is the fix I did.
@Saije See it is not that hard as expected :)
-
@Saije Alright man. That's awesome to hear!
-
Is there a way to add custom buildings in the latest epoch version?
In the 1.0.5.1 it worked with
_nil = [] execVM "\z\addons\dayz_server\buildings\addons.sqf";
in the ifServer section.
Now it doesnt. Any help
my code in the addons.sqf looks sth like this:
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_ControlTower", [6541.1475, 8493.415, -2.0742416e-005], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir 298.33878;
_this setPos [6541.1475, 8493.415, -2.0742416e-005];
}; -
On 28.1.2017 at 6:00 PM, Saije said:
You need to unpack ur dayz_server.pbo
Then you need to open up the server_cleanup.fsm, i recommend notepad++.
search for: Check for hackers
and the Code should look sth like this:
"//Check for hackers" \n " {" \n " if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n " diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n " (vehicle _x) setDamage 1;" \n " _x setDamage 1;" \n " };" \n " } forEach allUnits;" \n "" \n "/*" \n
If you cant find it search just for "hackers"
Should find this: spawn server_checkHackers;
If so, open up the server_funktions.sqf and search for: "server_checkHackers"
Should find something like this:
server_checkHackers = {
if (DZE_DYN_AntiStuck2nd > 3) then { DZE_DYN_HackerCheck = nil; DZE_DYN_AntiStuck2nd = 0; };
if(!isNil "DZE_DYN_HackerCheck") exitWith { DZE_DYN_AntiStuck2nd = DZE_DYN_AntiStuck2nd + 1;};
DZE_DYN_HackerCheck = true;
{
if (!((isNil "_x") || {(isNull _x)})) then {
if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {
diag_log ("CLEANUP: KILLING A HACKER " + (name _x) + " " + str(_x) + " IN " + (typeOf vehicle _x));
(vehicle _x) setDamage 1;
_x setDamage 1;
sleep 0.25;
};
};
sleep 0.001;
} count allUnits;
DZE_DYN_HackerCheck = nil;
};You can now try to comment the line in the server_cleanup.fsm or server_functions.sqf out.
Gl and let me know if it worked.
-
HELLO EVERYONE,
does anyone have an idea on how i could add warmlcothes into my epoch namalsk server?
I cant find the cfgsurvival.hpp, any help?
-
hello guys,
are there any scripts updated for 1.0.6?
Bloodsucker, Blowout, customLoottable?
Please link it down below.
Thanks
-
-
-
2 minutes ago, juandayz said:
ok, good luck :)
thx ill inform you. did u have the same issue?
-
1 minute ago, juandayz said:
this change fix your issue?
idk Server will restart in 9 minutes. after this we will see and saving the coins worked but not always
-
-
On 3.12.2013 at 11:13 AM, MGT said:On 3.12.2013 at 8:25 AM, Nasdero said:
If you believe or not, sometimes ppl go for vacation and then you reset their humanity? Take this and they will keep their humanity:
delete FROM `character_data` USING character_data, character_data AS tmpcharacter_data WHERE NOT character_data.CharacterID=tmpcharacter_data.CharacterID AND character_data.CharacterID<tmpcharacter_data.CharacterID AND (character_data.PlayerUID=tmpcharacter_data.PlayerUID)[/php]
Nice work
It doesnt work for me... It says: Error 1064: You have an error in ur SQL syntax; check the manual that corresponds to your MsQL server for the right SQL syntax to use near
'[/php] RETURN 0; END' at line 12
SQL PREVIEW:
CREATE DEFINER = CURRENT_USER FUNCTION `NewProc`()
RETURNS integer
BEGIN
DELETE FROM `Character_DATA`USING Character_DATA, Character_DATA AS tmpcharacter_data
WHERE NOT Character_DATA.CharacterID=tmpcharacter_data.CharacterID
AND Character_DATA.CharacterID<tmpcharacter_data.CharacterID
AND (Character_DATA.PlayerUID=tmpcharacter_data.PlayerUID)[/php]
RETURN 0;
END;;Defenition:
BEGIN
DELETE FROM `Character_DATA`USING Character_DATA, Character_DATA AS tmpcharacter_data
WHERE NOT Character_DATA.CharacterID=tmpcharacter_data.CharacterID
AND Character_DATA.CharacterID<tmpcharacter_data.CharacterID
AND (Character_DATA.PlayerUID=tmpcharacter_data.PlayerUID)[/php]
RETURN 0;
END;Any help (Using nitrado that is why i changed the name to "Charakter_DATA"
-
My Players loose their coins after relog. any help?
-
Any fixes 2016/10/04, 10:54:41 "CLEANUP: KILLING A HACKER Jam B 1-1-B:1 (Jam) REMOTE IN CSJ_GyroC"
fixed it. nvm
-
2 hours ago, juandayz said:
just make the change and try,, its for you, not for me :) and i dnt have my test server at this time so cannot test it for you.. sory jamrock :)
maybe @Donnovan can help you better than me, he is the designer of the mod.
maybe define sth with private ["_humanity"] on top ?
-
3 minutes ago, juandayz said:
@Jamrock i dont know if works or not since i cant test, sory :) any way scripting in some cases is about fail and try 1.000.000 times :D
that doesnt help me though.
-
2 hours ago, juandayz said:
this is not easy than i was think :D
donn_fugitiveChoose = {
_fugitive = objNull;
_maxSumDist = -1;
{
_p = _x;
_pP = position _x;
_pPX = _pP select 0;
_pPY = _pP select 1;
if (_pPx > 0 && _pPY < _mapSize) then {
if (damage _p < 0.2 && vehicle _p == _p) then {
if (count (_p nearObjects ["Plastic_Pole_EP1_DZ",(DZE_PlotPole select 0)*1.25]) == 0) then {
_pUID = getPlayerUID _p;
_Humanity = (_p getVariable"humanity");
if !(_pUID in _admins || _pUID in _lockedFugitives || (_Humanity > 800)) then {
_sumDist = 0;
{_sumDist = _sumDist + (_p distance _x);} forEach playableUnits;
if (_sumDist > _maxSumDist) then {_fugitive = _p;_maxSumDist = _sumDist;};
};
};
};
};
} forEach playableUnits;
_fugitive
};So if i do it like this it works?
-
So what about changing this:
if !(_pUID in _admins || _pUID in _lockedFugitives ) then {
if (PlayerHumanity < 800) then {
_sumDist = 0;
{_sumDist = _sumDist + (_p distance _x);} forEach playableUnits;
if (_sumDist > _maxSumDist) then {_fugitive = _p;_maxSumDist = _sumDist;};
};
};to
_humanity = (player getVariable "humanity");
if (!(_pUID in _admins || _pUID in _lockedFugitives ) || (_humanity < 800)) then {
_sumDist = 0;
{_sumDist = _sumDist + (_p distance _x);} forEach playableUnits;
if (_sumDist > _maxSumDist) then {_fugitive = _p;_maxSumDist = _sumDist;};
};AND IT KEEPS saying
2016/09/29, 12:30:48 "[MOSTWA] Cant find an elegible fugitive..."
-
So i get this error in arma2oa.rpt log:
2016/09/29, 11:46:00 Error in expression < _pUID in _lockedFugitives ) then {
if (PlayerHumanity < 800) then {
_sumDist = >
2016/09/29, 11:46:00 Error position: <PlayerHumanity < 800) then {
_sumDist = >
2016/09/29, 11:46:00 Error Undefined variable in expression: playerhumanity
2016/09/29, 11:46:00 File z\addons\dayz_server\andre_most_wanted.sqf, line 78
2016/09/29, 11:46:00 Error in expression < _pUID in _lockedFugitives ) then {
if (PlayerHumanity < 800) then {
_sumDist = >
2016/09/29, 11:46:00 Error position: <PlayerHumanity < 800) then {
_sumDist = >
2016/09/29, 11:46:00 Error Undefined variable in expression: playerhumanity
2016/09/29, 11:46:00 File z\addons\dayz_server\andre_most_wanted.sqf, line 78
2016/09/29, 11:46:00 "[MOSTWA] Cant find an elegible fugitive..."
ERROR In dayz_code CFGLoot File
in Scripting
Posted
Ive just found a error in the cfgloot folder in the dayz_code.pbo in the epoch mod folder 1.0.6.
You can find the line in cfgloot/buildings/military.hpp
->
They both can be found in the file. but they discribe the same building. There wont show any error though because one of the buildings is wrong written.
Pls fix.
Thanks
class Land_buova4_winter: MilitarySpecial // winter version of military barracks
{
zedPos[] = {{-1.95361,2.57813,-1.1084},{5.46289,2.5791,-1.1084},{1.29346,-2.16211,-1.09839},{-1.78369,-0.166992,-1.09839},{-5.39355,-2.11719,-1.09839},{-5.4707,2.58203,-1.09839},{-1.80664,-1.97559,-1.09827},{5.38965,-1.75781,-1.09827},{-9.1499,-2.55859,-1.09827},{1.4668,-0.129883,-1.09814},{-4.77881,0.0498047,-1.09814},{-8.32617,-0.144531,-1.09814}};
lootChance = 0.3;
lootPos[] = {{-0.39,-2.02,-1.1},{-5.67,1.68,-1.1},{-1.95,2.58,-1.11},{5.46,2.58,-1.11},{6.37,-1.22,-0.93},{-0.24,-1.04,0.1},{-3.53,-0.38,-1.1},{-5.39,-2.23,-1.1},{-6.78,-1.34,-0.7},{-9.07,-0.53,-1.1},{2.97,-0.92,-1.1},{1.11,-2.35,-1.1}};
};
class Land_budova4_winter: MilitarySpecial {
lootPos[] = {{-7.73389,0.300049,-1.09824},{-7.7666,1.97388,-1.09824},{-5.85645,1.92651,-1.09824},{-4.82373,0.194336,-1.09824},{-4.82715,-2.00244,-1.09824},{-8.09766,-2.28149,-1.09824},{-3.06787,2.24805,-1.09824},{-1.65283,-1.91821,-1.09824},{-1.41309,-0.034668,-1.09824},{0.266602,1.76807,-1.09824},{1.28369,0.289307,-1.09824},{1.81982,-2.28687,-1.09824},{4.37549,2.14941,-1.09824},{5.61865,1.71338,-1.09824},{5.06787,-1.74316,-1.09824},{2.54785,2.33716,-1.09824}};
};