Jump to content

Recommended Posts

quick question, if I have zupa's system installed, would you recommend a full redo with clean files? Or are the dll files interhcangeble?

 

my github repo only contains the files i changed to make it work withthe custom hiveext.dll

so currently it is required to have zupa's v1.1 pre-installed

Share this post


Link to post
Share on other sites

I think its because i don't have anything telling the coins to be written to the db, I checked my bank zones file and there's no bank init. So presumably that's the problem. Also does this save the coins on a player on restart and the banked coins on death?

 

you'll need all the changes i made inthe files on my github repo.

i wont tell you to drag drop and replace but i'd rather use beyondcompare to see what

was changed.

 

Drag drop and repalce in general is doing your job as server admin/scripter bad.

We do not know what was customized in your files and currently for my update there are no installation instructions

just files with required edits to make it all work.

 

Zupa is working on v2 with installation instructions.

 

It always saves the players cashmoney whenever they sell/buy or when the server syncs their character to the server

it would even save when something changes in your inventory after placing stuff in a car or tent

 

a players bank money is always saved when they interact trough the banking dialog instantly

Share this post


Link to post
Share on other sites

Im going to start fresh. So i install zupa 1.1 dll's and everything. Then update zupa with your fixes? is that correct?

 

yes and try to use a diffmerge tool to see the chagnes made so you can exclude any possible modifications you made

for whatever other purpose.

 

I really cant stress it enough that using a diffmerge tool like beyondcompare is of high importance.

It really helped me when i started out making scripts and manually updating dayz before my host had

an update ready :p

Share this post


Link to post
Share on other sites

you'll need all the changes i made inthe files on my github repo.

i wont tell you to drag drop and replace but i'd rather use beyondcompare to see what

was changed.

 

Drag drop and repalce in general is doing your job as server admin/scripter bad.

We do not know what was customized in your files and currently for my update there are no installation instructions

just files with required edits to make it all work.

 

Zupa is working on v2 with installation instructions.

 

It always saves the players cashmoney whenever they sell/buy or when the server syncs their character to the server

it would even save when something changes in your inventory after placing stuff in a car or tent

 

a players bank money is always saved when they interact trough the banking dialog instantly

Also I have been working on the sql still having issues with the inner joins.

Share this post


Link to post
Share on other sites

no it does not.

if i put it in it'll be a seperate branch so you can chose between a safe hive or take the risk and have the 999 child aswell

but i'm open for request and depending of the size of the task and time i have i might put in requested stuff...

 

Thinking of checking out another system that would allow alot of custom querying but isnt as bad as 999 or useless as epoch's 500 childs

Cheers man.

Share this post


Link to post
Share on other sites

I'm trying to figure out why my players are getting kicked for public variable restriction #3 when they try and deposit at an ATM. and why I am getting the following error.

 

This is the code I use for my BE filters in publicvariable.txt

!="PVDZE_bank_Save"

This is the error my RPT throws at load.

3:06:19 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
 
_key call server_hiveWrite>
 3:06:19   Error position: <_cashMoney];
 
_key call server_hiveWrite>
 3:06:19   Error Undefined variable in expression: _cashmoney

I've updated all the files for the 2.0 release.

Share this post


Link to post
Share on other sites

 

I'm trying to figure out why my players are getting kicked for public variable restriction #3 when they try and deposit at an ATM. and why I am getting the following error.

 

This is the code I use for my BE filters in publicvariable.txt

!="PVDZE_bank_Save"

This is the error my RPT throws at load.

3:06:19 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
 
_key call server_hiveWrite>
 3:06:19   Error position: <_cashMoney];
 
_key call server_hiveWrite>
 3:06:19   Error Undefined variable in expression: _cashmoney

 

Post the full be filter line please.

Share this post


Link to post
Share on other sites

Post the full be filter line please.

//new
5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVDZE_bank_Save"
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"
5 "PVAHR_" !"PVAHR_0_"
5 "remExFP" !="\"remExFP\" = \[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" !"\[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]"
5="player"
5="server"
5 "fnc_plyrHit"
1="PVAH_AdminReq"
1="PVAH_WriteLogReq"
1 "PVAHR_0_"


That's the full file.

Share this post


Link to post
Share on other sites

For help on the Player Morality thingy, I did something sorta complex but it works. 

-I did a dump of my current DB

-Opened up the new SQL dump file and looked for the line that starts with INSERT INTO `player_data` and copied the WHOLE LINE.
(paste this line into a new document so it's easier to work with)
-do a Find for

,0) 

and do the replace for 

( yes I know it's just a closing parenthesis)

not where it says
 

INSERT INTO `player_data` 

 change it into

INSERT INTO `banking_data`

now your line of code should be in the format of 

INSERT INTO `banking_data` VALUES ('76561197961077317','NotTheBandit',2586),('76561197968096448','thurman619',54514),etc.etc.etc.

where it is now formatted as (`playerID`,`Playername`,morality/banksaldo)

Run that line of code as a query in your DB and it will insert them into your Banking Data so players don't loose what they had in their bank :D

Share this post


Link to post
Share on other sites
2014-08-10 21:05:38 HiveExt: [Error] Error executing |CHILD:201:3:[286,[6337.88,7785.21,0.00146484]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[33.6,-47.841]]:false:false:0:0:17959:0:["vil_uzi","amovpercmstpsraswrfldnon",42,[]]:0:0:Survivor2_DZ:0:any:|
 
 
2014-08-11 03:00:52 HiveExt: [Error] Error executing |CHILD:299:76561198132498318:3.6e+006:|
 
 
Im getting theese hive errors.
Ive merged all the changes and replaced the hivext.dll
 
It displays the amount of coins perfectly and all that..
It only seems like the stuff i do with the bank wont save and resets if i relog. 
Nothing in the RPT.
Any help would be appreciated.

Share this post


Link to post
Share on other sites

Nope. That's what I've been telling them but it happened to me and I can confirm relogging doesn't work.

 

So the question is then, what is going on? 

 

1.) Give yourself Coins

2.) Check your DB if the amount is corresponding to what you now hold. 

3.) Change Skin

4.) Check in your in-game debug and see if you have no coins. 

5.) Check in your DB and see if you still have the same amount as you did 30 sec ago. 

If you see that the DB displays different results, then you have a bug where it wipes the record for you. 

If the DB shows the same between the skin change, then the issue is likely with the script calling/checking cells in the wrong table? 

Share this post


Link to post
Share on other sites

All you did was change the names letter casing and it fixed it? 

Yeah so my sql looks like this: http://pastebin.com/q3tiy92v.

 

I also had to make sure i had these two files, numberDigits.sqf and numberText.sqf in my custom folder in mpmisssion. Then call them in your compiles under player only like this: http://pastebin.com/U0UZMiUG. That will fix the any any issue.

 

I also added this to the top of my variables: http://pastebin.com/nxLmNzjM. Seemed to help the process (not sure if its important)

Share this post


Link to post
Share on other sites

So after adding this in everything's been going great except EVERY time someone changes clothes they loose their coins  :(

I have this issue and i believe its to do with the player_wearClothes.sqf, im not sure exactly what it is but im going to have a play around with it. I will keep you posted if i find out what it is :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By piggd
      WARNING ** THIS REPLACES THE HUMANITY SYSTEM
       
      Mod Features:
      Allows the player to have access to their money all the time.
      Bank is tied to the player via the humanity system and survives character death.
      Auto Deposit bars/brief cases on every sale or purchase
      Player can access balance, deposit and withdraw via player tool menu.
      If a player goes to a negative balance displaying the balance, withdraw or deposit will restore them to zero balance.
      Known Issues:
      First time character creation start the player with 2500 humanity which equates to 25gb.
      Any event that modifies humanity will effect the bank balance (usally in a minor way silve bars in most cases)
       
       

      Thank you too iSaeko for making this video for me.
       
       
      1.   Download the addon from my github by clicking on this link.   (Contains a vanilla epoch chernarus mission.pbo example file).
      2.  On the lower left corner click on the button "Download Zip"
      3   Create a directory called dayz_code and mission_pbo
      4.  Take your mission.pbo file and extract it into the mission_pbo directory
      5.  Unzip the zip file you download from my github and move the custom directory into your mission_pbo directory.
      6.  Copy C:\Program Files (x86)\Steam\SteamApps\common\ARMA 2 Operation Arrowhead\@DayZ_Epoch\addons\dayz_code.pbo into this new direttory (path may vary based on steam installation).
      7.  Extract the dayz_code.pbo into the dayz_code directory you created.
      8.  if you do not already have a fixes directory create one.
      9.  If you do not already have a custom compile then follow these steps other wise you can skip this step.
          copy dayz_code/init/compiles.sqf  mission_pbo/fixes/compules.sqf
      10.  Copy dayz_code/compile/epoch_returnChange.sqf mission_pbo/fixes/epoch_returnChange.sqf
      11.  Edit your init.sqf file and make the following modifications:
       
      from:
      //Load in compiled functions to:
      // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ PDZE_PiggdBankSystem = true; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ //Load in compiled functions from:
      call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions to:
      // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions call compile preprocessFileLineNumbers "fixes\compiles.sqf";                //Compile regular functions // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From:
          //Lights     //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";    }; ** NOTE - If you are using
      this entry will already exist with a different comment.
      to:
          //Lights     //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // Activate Player Menu for Tools     [] execVM "custom\playertools\activate_player_menu.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------      }; 12.  Edit your fixes\compiles.sqf file and make the following modifications:
       
      From:
      epoch_totalCurrency = {         // total currency         _total_currency = 0;         {             _part =  (configFile >> "CfgMagazines" >> _x);             _worth =  (_part >> "worth");             if isNumber (_worth) then {                 _total_currency = _total_currency + getNumber(_worth);             };         } count (magazines player);         _total_currency     };     epoch_itemCost = {         _trade_total = 0;         {             _part_in_configClass =  configFile >> "CfgMagazines" >> (_x select 0);             if (isClass (_part_in_configClass)) then {                 _part_inWorth = (_part_in_configClass >> "worth");                 if isNumber (_part_inWorth) then {                     _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1));                 };             };         } count _this;         //diag_log format["DEBUG TRADER ITEMCOST: %1", _this];         _trade_total     };     epoch_returnChange =            compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf";     // usage [["partinclassname",4]] call epoch_returnChange; to:
      epoch_totalCurrency = {         // total currency         _total_currency = 0;         {             _part =  (configFile >> "CfgMagazines" >> _x);             _worth =  (_part >> "worth");             if isNumber (_worth) then {                 _total_currency = _total_currency + getNumber(_worth);             };         } count (magazines player); // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------         if(PDZE_PiggdBankSystem) then {             _humanity = player getVariable["humanity",0];             _total_currency = _total_currency + _humanity;         }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------         _total_currency     };     epoch_itemCost = {         _trade_total = 0;         {             _part_in_configClass =  configFile >> "CfgMagazines" >> (_x select 0);             if (isClass (_part_in_configClass)) then {                 _part_inWorth = (_part_in_configClass >> "worth");                 if isNumber (_part_inWorth) then {                     _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1));                 };             };         } count _this;         //diag_log format["DEBUG TRADER ITEMCOST: %1", _this];         _trade_total     }; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //    epoch_returnChange =            compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf";     epoch_returnChange =            compile preprocessFileLineNumbers "fixes\epoch_returnChange.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------     // usage [["partinclassname",4]] call epoch_returnChange; 13. Edit fixes/epoch_returnChange.sqf
       
      From:
          //diag_log format["DEBUG TRADER CHANGE: %1", _return_change];     if (_return_change >= 0) then {                  // total currency to:
      // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------     if (_return_change >= 0 and !PDZE_PiggdBankSystem) then { // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From:
          if (_silver_1oz > 0) then {             if (_silver_1oz == 1) then {                 player addMagazine "ItemSilverBar";                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             } else {                 player addMagazine format["ItemSilverBar%1oz",_silver_1oz];                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             };         };         _successful = true; }; }; _successful to:
            if (_silver_1oz > 0) then {             if (_silver_1oz == 1) then {                 player addMagazine "ItemSilverBar";                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             } else {                 player addMagazine format["ItemSilverBar%1oz",_silver_1oz];                 //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"];             };         };         _successful = true; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------     } else {         if (PDZE_PiggdBankSystem) then {             _total_currency_dry = player getVariable["humanity",0];             _total_currency_dry = _total_currency_dry + _return_change;             player setVariable["humanity",_total_currency_dry,true];             _successful = true;         }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ }; }; _successful 14. Edit server_traders.sqf
       
      From:
      menu_RU_Functionary1 = [     [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]],     [],     "hero" ]; to:
      menu_RU_Functionary1 = [     [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]],     [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //    "hero"     "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; from:
      menu_GUE_Soldier_MG = [     [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],     [],     "hostile" ]; to:
      menu_GUE_Soldier_MG = [     [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],     [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //    "hostile"     "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; 15.  Repack your mission pbo and upload to your sever.
       
      Optional Additional Configuration:
       
      **  Chameleon Skin Changer
      If you are using
      and have replaced custom/playertools/player_tools_main.sqf you will need to uncomment the following lines.
       
      from:
      playermenustart = [     ["",true], //    ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], //    ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"],     ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"],            //    ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"],                ["", [], "", -5, [["expression", ""]], "1", "0"],     ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"]        ]; to:
      playermenustart = [     ["",true],     ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"],     ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"],     ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"],            //    ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"],                ["", [], "", -5, [["expression", ""]], "1", "0"],     ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"]        ]; 15.  Repack your mission pbo and upload to your sever.
       
       
      Email: [email protected]
      Website: Piggd Dayz Gaming
      Donate to piggd
    • By Vladick
      BSBS Server IP: 216.244.93.103:7802
      Website: https://bsbsepoch.000webhostapp.com/
      Discord: https://discord.gg/PVn8PvG
      Server Features:
      PvPvE Database wiped 1/5/18 ESS V3 spawn selection Coins and Global Banking WAI missions and Roaming DZAI Bandits Customized map additions Skalisky Bridge Skalisky Island Bandit Camp with high loot (fun mission!) Garage Door Opener Virtual Garage Deploy bike Refuel, Repair, Rearm Take clothes Bury Body Butcher Body Locate vehicle with keys and GPS One plot poll per player Indestructible bases Trader Safe Zones Day/Night Schedule 4-hour restarts
    • By FG_Trap
      Made this in my free time awhile ago thought id make it public.
      Right Alt is the key to open the menu.
      Install instructions are inside the download.
      https://github.com/NWDZ-Trapxxgods/traps-menu
       
       
      here is a picture of the server menu
       
    • By Achef
      Greetings!
      So I recently started up in a new host and haven't gotten to make the server run, found that a ca/modules bis_fnc issue is recurring but doesn't affect players when running coop missions like the default arma 2 oa ones, but when trying with Epoch hive won't connect/start despite being configured.
      Hive error
      Meanwhile at line 23...
       
      I'm still bad with Pastebin, sorry.
       
      This error has been chasing me for 2 days now
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...