-
Posts
80 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by KoTaS
-
-
-
Have dirty fix for all this :)
fn_selfActions.sqf - Find following:
if (_isMan && !_isZombie && !_isAnimal) then { _player_studybody = true; }
Replace to this:
if (_isMan && !_isZombie && !_isAnimal && _ownerID != "0") then { _player_studybody = true; }
And this is my check_wallet.sqf
private ["_body", "_hisMoney", "_myMoney", "_killsH", "_test2", "_headShots", "_test","_playeridke","_humanity"]; _body = _this select 3; _walletCheck = _body getVariable ["cashMoney",0]; _PlayerNear = _body call dze_isnearest_player; if (_walletCheck == 0) exitWith {cutText [format["Wallet is empty."], "PLAIN DOWN"]}; if (_PlayerNear) exitWith {cutText [localize "str_pickup_limit_4", "PLAIN DOWN"]}; _name = _body getVariable ["bodyName","unknown"]; _hisMoney = _body getVariable ["cashMoney",0]; _myMoney = player getVariable ["cashMoney",0]; _myMoney = _myMoney + _hisMoney; _body setVariable ["cashMoney", 0 , true]; player setVariable ["cashMoney", _myMoney , true]; systemChat format ['You took %1 Credits, From: %2 !',_hisMoney,_name]; sleep 2; _cid = player getVariable ["CharacterID","0"]; _cashMoney = player getVariable ["cashMoney",0]; if(_cashMoney > 0) then{ } else { _cashMoney = 0; };
-
Love to see this update to show Coins/Bank on each player and in total who is most richest on server.
-
will do, probably missing some file :(
-
Everyone get this error once enter heli, and no HUD showing and landing heli leads to crash on ground
Warning Message: No entry 'bin\config.bin/RscInGameUI.RscUnitInfoAirRTDFullDigital'. Warning Message: No entry '.idd'. Warning Message: '/' is not a value
Anyone have an idea what is this, or how to fix it?
-
Yes, I certainly did.
You need to add those filters to line 5. This one:
5 "PVDZE_" !"PVDZE_player" !="PVDZE_send" !="PVDZE_log_lockUnlock" !="PVDZE_Server_Simulation" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_obj_setlocalVars" !="PVDZE_obj_getlocalVars" !="PVDZE_bank_Save"
Bummer, and why i did read PVDZE_ in front of storeVehicle
Working like a charm
-
Any idea why I get this and it doesn't save to db.
"extDB: Error: [0,"Error Invalid Message"]"
You must setup extDB addon for your server, read guide provided to you
-
Maybe there must be some other filter file needed for editing?
-
Iam try to add them filters at the end, and tell you the results
Edit: Still kicks from server
#3 "PVDZE_queryGarageVehicle" = [<NULL-object>]
Here is my entire file
//new 5 "" !="currentInvites" !"cad_pvar_s" !="axeLampObjects" !="dayzHeliEvac" !="HCrequest_spawnRCV" !="HCsignalRCV" !="HCsignal" !="HClist" !="HCdo_spawn" !="HCrequest_spawn" !="clothesTaken" !="PVOZ_EPOCH_SAFEZONE" !="customRemoteMessage" !="DZAI_SMS" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVDZE_queryGarageVehicle" !="PVDZE_storeVehicle" !="PVDZE_spawnVehicle" 5 "norrn" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRLact" !="norrnRALW" !="norrnRDead" 5 "usec" !="usecMorphine" !="usecBandage" !="usecBleed" 5 "PVDZE_" !"PVDZE_player" !="PVDZE_send" !="PVDZE_log_lockUnlock" !="PVDZE_Server_Simulation" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_obj_setlocalVars" !="PVDZE_obj_getlocalVars" !="PVDZE_bank_Save" 5 "PVAHR_" !"PVAHR_0_" 1 "PVAH" 5 "remExFP" !="\"remExFP\" = \[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" !"\[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" 5="player" 5="server" 5 "fnc_plyrHit" 5 "AntiHack"
-
instead of making a new line, add it to the end of the firs filter like this
5 "" !="owner_B1" !="owner_B2" !="owner_B3" !="owner_H1" !="owner_H2" !="owner_H3" !="owner_SG" !="owner_LG" !="owner_KING" !="owner_SH" !="OriginsLockUnlock" !"admin_Log" "!"axeLampObjects" !"currentInvites" !"DZE_WMOD_INVENTORY" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !"cad_pvar_s" !="drn_AskServerDynamicWeatherEventArgs" !="BIS_effects_gepv" !="PVDZ_Server_Simulation" !="PVDZE_spawnEvent" !="PVDZE_spawnEvent" !="toClient" !="usageLogger" !="useBroadcaster" !="baseExporter" !="getPlayerName" !="diagLogr" !="PVDZE_queryGarageVehicle" !="PVDZE_storeVehicle" !="PVDZE_spawnVehicle"
This is how its looks the first line of mine
//new 5 "" !="PVDZE_queryGarageVehicle" !="PVDZE_storeVehicle" !="PVDZE_spawnVehicle" !="currentInvites" !"cad_pvar_s" !="axeLampObjects" !="dayzHeliEvac" !="HCrequest_spawnRCV" !="HCsignalRCV" !="HCsignal" !="HClist" !="HCdo_spawn" !="HCrequest_spawn" !="clothesTaken" !="PVOZ_EPOCH_SAFEZONE" !="customRemoteMessage" !="DZAI_SMS" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq"
-
Encounter another issues, when selling any vehicle key do not delete from toolbelt, also vehicle deletes, but where the vehicle was parked before sale you get options for it on scroll menu.
Also, there is some major delays for buying vehicles and for any items, red arrow stays for some seconds, and then vehicle spawns, or other times don't spawn at all, but appears after server restart.
Iam very noob on this coin system, before had regular epoch currency and never had such issues, now then there is no MySQL Traders only .hpp problems appears such stated above.
Thanks for your time and reading my post, hope understand the problem ill be very happy if some one comes up with some solutions.
-
Is anyone getting kick from server for trying to access virtual garage?
Did added these in to publicvariable.txt
//new 5 "" !="PVDZE_queryGarageVehicle" !="PVDZE_storeVehicle" !="PVDZE_spawnVehicle"
But still kicks from server#3 "PVDZE_queryGarageVehicle" = [<NULL-object>]
Anyone, got solution for this?
-
That is because the old lady (i think you mean that one) is above the water and it doesn't work.
Only solution is to move the trader to the front of the pier
thanks for an excellent answer
-
Is anyone getting kick from server for trying to access virtual garage?
Did added these in to publicvariable.txt
//new 5 "" !="PVDZE_queryGarageVehicle" !="PVDZE_storeVehicle" !="PVDZE_spawnVehicle"
But still kicks from server#3 "PVDZE_queryGarageVehicle" = [<NULL-object>]
-
Why is there Trade Canceled for trying to buy at boat dealer? Anyone have an solution?
-
Has this code in player_storeVehicle.sqf
_added = false;if (!_wogear) then { _added = [player, Pricegear] call SC_fnc_removeCoins; } else {_added = true;}; Pricegear = nil; if(!_added) exitWith {cutText ["You don't have enough money.", "PLAIN DOWN"];};
But this is used for Coins System, and iam not using coins, so some how must rewrite this to use golds from epoch
-
I still dont get it, how do you build a garage? What file from mission side activate the build? Please anyone :unsure:
Or you have to use these class name to spawn a garage?
"Land_MBG_Garage_Single_D","Land_MBG_Garage_Single_A","Land_MBG_Garage_Single_B","Land_MBG_Garage_Single_C"
If yes, then how to make it so when player build one of them then save on to database? Just add them in to trader so they can buy it?
Sorry for such noob questions, but this might help some one else too
-
Add these for all spawned vehicles from mission, if using Infistar on your server...
This makes sure that any vehicle have an ID so Infistar wont kick/ban/delete for that matter :)
In compile folder look for heli_para.sqf, heli_patrol.sqf, vehicle_patrol.sqf, custom_publish_vehicle.sqf, spawn_static.sqf
This bellow peace of code for vehicle_patrol.sqf
private ["......","......","......","_vehicleID"] - Only ,"_vehicleID" at end of private. _vehicle = createVehicle [_veh_class, [(_startingpos select 0),(_startingpos select 1), 0], [], 0, "CAN_COLLIDE"]; - Under this add following _vehicleID = str(round(random 999999)); _vehicle setVariable ["ObjectID", _vehicleID, true]; _vehicle setVariable ["ObjectUID", _vehicleID, true];
Cheers
-
Iam just saying what was the cause for doubling, that all, who ever run that script
-
Sourced down humanity doubling for change skins and relog.
This is only happens on 2nd & 3rd character for this addon
and after all, this was nothing to do with AH.sqf from Infistar, so stop flooding his email with complains :)
-
My findings are.... After you change skin and abort from game and login back the game gives you double of humanity.
Example: 2500 skin changes
5000 after join server
5000 skin changes
10000 join server again.... and keeps doubling every time you do this skin change and relog server
This only happens for 2nd and 3rd char selector, nothing like this for 1st char
-
maybe the issue is with multi char selector? this is what i have on server :unsure:
-
Most likely problems are with these actual files, but iam no guru guy so cannot fix, or know how does this works.
player_humanityMorph.sqf
player_switchModel.sqf
player_wearClothes.sqf
And this keeps happening with and without that FIX posted above
Also merged 1.0.4.2 and 1.0.5.1 epoch version, only differences are forEach and count. Also some other changes, but i cant see anything related to humanity
-
My new findings are, all this humanity doubling not related at all with AH Infistar, just disabled and tried todo same relog and skin change. Humanity doubled :)
Now must pin point what is causing this bastard bug
Check wallet dupe
in Gold Coin based Single Currency & Banking System
Posted
Iam glad you found even more solutions for fellow server owners :)
This one is my check_wallet.sqf and its modded for my server, but what it does is check in dead player body / Dead AI's for coins and if it has 0 coins it will give "Wallet is empty" message and exits the further script code so he wont bug coins with 0 again as mentioned in this topic with AI's
private ["_body", "_hisMoney", "_myMoney"]; _body = _this select 3; _walletCheck = _body getVariable ["cashMoney",0]; _PlayerNear = _body call dze_isnearest_player; if (_walletCheck == 0) exitWith {cutText ["Wallet is empty.", "PLAIN DOWN"];}; if (_PlayerNear) exitWith {cutText [localize "str_pickup_limit_4", "PLAIN DOWN"]}; _name = _body getVariable ["bodyName","unknown"]; _hisMoney = _body getVariable ["cashMoney",0]; _myMoney = player getVariable ["cashMoney",0]; _myMoney = _myMoney + _hisMoney; _body setVariable ["cashMoney", 0 , true]; player setVariable ["cashMoney", _myMoney , true]; systemChat format ['You took %1 Credits, From: %2 !',_hisMoney,_name]; sleep 2; _cid = player getVariable ["CharacterID","0"]; _cashMoney = player getVariable ["cashMoney",0]; if(_cashMoney > 0) then{ } else { _cashMoney = 0; };