DeanReid Posted October 28, 2014 Report Share Posted October 28, 2014 *This is for Linux users only* *Development Status* - Single Currency - 100% - Single Currency/Multi-Char - 50% - Admin Restriction through Database - 30% - 999 Hive Support - 10% Issues: - No Known Issues at the moment. Download *Automatic* Github Instruction Manual Mission.pbo Nothing much changes in the mission.pbo so you could just follow Zupa and Soul's steps for that or use the provided mission, Only major changes are in the server.pbo Server.pbo The following files were changed in the server.pbo nothing else - server_playerSetup.sqf - server_playerSync.sqf - server_functions.sqf All changes in server_playerSetup and playerSync would be easy enough to just copy and paste the files but all changes are clearly marked in the file and I will eventually write up a full tutorial when I get a second in the server_functions.sqf Under /* PVS/PVC - Skaronator */ server_sendToClient = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_sendToClient.sqf"; place this line #include "\z\addons\dayz_server\bankzones\bankinit.sqf" and copy the bankzones folder into the main server file Battleye Filters Default Replace the line 2 with the following 5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="BIS_effects_gepv" !="PVDZ_Server_Simulation" !="PVDZE_bank_Save" !="PVDZE_account_Doublecheck" infiSTAR On Line 7 after !="PVDZE_obj_getlocalVars" add !="PVDZE_bank_Save" !="PVDZE_account_Doublecheck" SQL Query Copy the following into a SQL Query e.g phpmyadmin SET FOREIGN_KEY_CHECKS=0; DROP TABLE IF EXISTS `Banking_DATA`; CREATE TABLE `Banking_DATA` ( `PlayerUID` varchar(20) NOT NULL DEFAULT '0', `PlayerName` varchar(128) NOT NULL DEFAULT 'Null', `BankSaldo` bigint(24) NOT NULL DEFAULT '0', `LastUpdated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`PlayerUID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ALTER TABLE `Character_DATA` ADD CashMoney int(11) NOT NULL DEFAULT 0 AFTER PlayerUID; Writer.pl To be safe use the file provided as it could corrupt your database if not done correctly all you need to do is copy use constant { INSTANCE => 11, # Chernarus instance DB_NAME => 'dayz_epoch', # Set database name DB_LOGIN => 'USER', # Set database login DB_PASSWD => 'PASSWORD', # Set database password DB_HOST => 'localhost', # Set database host DB_PORT => 3306, # Set database port (default 3306) CACHE_DIR => $ENV{'PWD'}.'/cache/', # Start inventory of player INVENTORY => '[["8Rnd_9x18_Makarov","8Rnd_9x18_Makarov","ItemBandage","ItemPainkiller"],["ItemMap","ItemCompass","ItemRadio","Makarov","ItemSodaCoke","FoodbeefCooked"]]', BACKPACK => '["DZ_Patrol_Pack_EP1",[],[]]', MODEL => '"Survivor2_DZ"' }; from the old writer.pl and replace in the new one. Credits - Maca134 - Original Single Currency code for CCG Servers - Zupa *Original Public Release* - Soul *Modified Hive* - AsReMix *Sexy GUI* - A Pollo *Writing up writer.pl changes for Linux and alot of the changes in server.pbo If any of the credits are wrong on who did what then let me know :P If you are looking for the Windows version follow the link below [PROJECT] Gold Coin bases Single Currency & Banking System nesty 1 Link to comment Share on other sites More sharing options...
A Pollo Posted October 28, 2014 Report Share Posted October 28, 2014 No credit? =/ Dean you're hurting my feelings man. Link to comment Share on other sites More sharing options...
FPGElliot Posted October 28, 2014 Report Share Posted October 28, 2014 No credit? =/ Dean you're hurting my feelings man. Link to comment Share on other sites More sharing options...
Markokil321 Posted October 28, 2014 Report Share Posted October 28, 2014 G'day I'd like to finally present Zupa's Gold Coin based Single Currency & Banking System with Soul's Hive Edits Or have i missed something? Link to comment Share on other sites More sharing options...
A Pollo Posted October 28, 2014 Report Share Posted October 28, 2014 Or have i missed something? Ohh no I know it's Zupa's coin scrip. I was just asking for credit because I'm actually the one who modified the writer.pl and some files for Linux. Well Dean and I were working on it together. Markokil321 1 Link to comment Share on other sites More sharing options...
DeanReid Posted October 28, 2014 Author Report Share Posted October 28, 2014 No credit? =/ Dean you're hurting my feelings man. Ohh no I know it's Zupa's coin scrip. I was just asking for credit because I'm actually the one who modified the writer.pl and some files for Linux. Well Dean and I were working on it together. Sorry bud, I was tired I just wanted to go to bed :( Added ;) A Pollo 1 Link to comment Share on other sites More sharing options...
DeanReid Posted October 30, 2014 Author Report Share Posted October 30, 2014 Updated Post and put a copy on the Releases Thread :) Link to comment Share on other sites More sharing options...
JCG Posted December 1, 2014 Report Share Posted December 1, 2014 hi there i would like to use this on my deluxegaming server who use linux servers but i am not sure where to start or how to get this working all new to this any help would be great brain dead zombie instruction manual Link to comment Share on other sites More sharing options...
DeanReid Posted December 2, 2014 Author Report Share Posted December 2, 2014 Step 1. Replace Writer.pl with the one in the github download. and edit database details. Step 2. For ease. Replace the server.pbo with the one in the github. and just copy your AI/infiSTAR/Buildings over Step 3. If you don't have custom edits to your mission then just use the one on the github. --------------------- Step 3.5 If you do then Copy the Scripts folder to your mission. Step 4. *Description.ext* Add #include "Scripts\Trader_Items\cfgServerTrader.hpp" to Line 1 above respawn = "base"; ----------------------------------- Add #include "Scripts\Player_Hud\commonhud.hpp" #include "Scripts\Defines\hw.hpp" to line 33 Below diagHit = 1; and above class RscText { and add class RscTitles { #include "Scripts\Player_Hud\hud.hpp" }; #include "Scripts\Defines\defines.hpp" #include "Scripts\Defines\common.hpp" #include "Scripts\Gold_Coin_system\Bank_Dialog\bank_dialog.hpp" #include "Scripts\Gold_Coin_system\Give_Money\give_player_dialog.hpp" To the very bottom of the file. ---------------------------------------------------------------------- Step 5 *Init.sqf* Add DZE_AsReMix_PLAYER_HUD = true; Around other DZE_ Variables Cut and Replace The Following call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers progressLoadingScreen 0.2; call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical progressLoadingScreen 0.4; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions progressLoadingScreen 0.5; call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs progressLoadingScreen 1.0; With The following. call compile preprocessFileLineNumbers "Scripts\Variables\Variables.sqf"; progressLoadingScreen 0.1; call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; progressLoadingScreen 0.2; call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; progressLoadingScreen 0.4; call compile preprocessFileLineNumbers "Scripts\Server_Compile\compiles.sqf"; progressLoadingScreen 0.5; call compile preprocessFileLineNumbers "Scripts\Server_Traders\server_traders.sqf"; progressLoadingScreen 1.0; Finally. Add if (DZE_AsReMix_PLAYER_HUD) then { execVM "Scripts\Player_Hud\playerHud.sqf" in the if (!isDedicated) then { Section and // Single Currency execVM "Scripts\Gold_Coin_system\init.sqf"; execVM "Scripts\Gold_Coin_system\Bank_Markers\addbankmarkers.sqf"; above #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf" Link to comment Share on other sites More sharing options...
jahangir13 Posted December 2, 2014 Report Share Posted December 2, 2014 Hint: if using fixed "Gender Selection / Play as Zed" this here will overwrite the changes in writer.pl. Maybe I talk with devd if he wants to incorporate gender selection into the Github files (as this is vanilla epoch) and we incorporate the SingleCurrency changes into this afterwards, hm. Link to comment Share on other sites More sharing options...
DeanReid Posted December 4, 2014 Author Report Share Posted December 4, 2014 If you send me the changes I can add them to my one :) Link to comment Share on other sites More sharing options...
mill4590 Posted March 8, 2015 Report Share Posted March 8, 2015 I don't suppose you have any experience with gamingdeluxe server hosting as they use Linux and I have haven a little trouble Link to comment Share on other sites More sharing options...
DeanReid Posted March 9, 2015 Author Report Share Posted March 9, 2015 Never used a third party company :P Whats the problem? Link to comment Share on other sites More sharing options...
shotjas Posted July 30, 2015 Report Share Posted July 30, 2015 Has the work on this projected stopped or taken a break? I'd really love to see this come to completion. Did Soul ever release the source to his hive.dll? Link to comment Share on other sites More sharing options...
yurka6600 Posted August 24, 2015 Report Share Posted August 24, 2015 Hello.What is the max ammount of "BankSaldo" and "CashMoney"? Currently when I try to have/deposit more than 999999 in bank (BankSaldo) - it kicks me.. "** has been kicked by BattlEye: SetVariable Value Restriction #93"The question is: If it's BattlEye specific or some kind of limitation in mod script? Link to comment Share on other sites More sharing options...
Swordsworn Posted August 29, 2015 Report Share Posted August 29, 2015 I dont use the script myself but i saw it on another server, there the deposit limit is 999.999 too.Thats why i guess that there is indeed a limit at 999.999. Link to comment Share on other sites More sharing options...
DeanReid Posted September 9, 2015 Author Report Share Posted September 9, 2015 Has the work on this projected stopped or taken a break? I'd really love to see this come to completion. Did Soul ever release the source to his hive.dll? I kinda lost touch on ArmA 2 Epoch I'll continue it soon, and to my knowledge he didn't Link to comment Share on other sites More sharing options...
campers-dead Posted January 13, 2016 Report Share Posted January 13, 2016 i have installed this script and its works really nice but now i have a problem i want to change the price from some items at the trader but i dont know where i can do it nowhere i can find coins everwhere where i look i can only see gold bars or something where can i change the prices from the traders Edit i have found the file all okey Link to comment Share on other sites More sharing options...
yurka6600 Posted January 14, 2016 Report Share Posted January 14, 2016 6 hours ago, campers-dead said: i have installed this script and its works really nice but now i have a problem i want to change the price from some items at the trader but i dont know where i can do it nowhere i can find coins everwhere where i look i can only see gold bars or something where can i change the prices from the traders Edit i have found the file all okey Hello, Prices are in mission pbo "Scripts/Trader_Items/Category/*.hpp" There were some incorrect values for some items: ammo or smth... I changed them long ago in my config so can't remember... ) Also check high values... more then 999999 ) I had to modify some scripts to avoid crashes of server... Link to comment Share on other sites More sharing options...
switcher Posted November 4, 2016 Report Share Posted November 4, 2016 Hi Players spawns with next: "ItemSodaCoke","FoodbeefCooked" only but default: 8Rnd_9x18_Makarov","8Rnd_9x18_Makarov","ItemBandage","ItemPainkiller"],["ItemMap","ItemCompass","ItemRadio","Makarov","ItemSodaCoke","FoodbeefCooked" Can anybody help me? 23:30:10 "DZAI Monitor :: Server Uptime: 0:21:37. Active AI Groups: 1." 23:30:10 "DZAI Monitor :: Static Spawns: 0. Respawn Queue: 0 groups queued." 23:30:10 "DZAI Monitor :: Dynamic Spawns: 0. Random Spawns: 0. Air Patrols: 0. Land Patrols: 1." 23:34:00 "TIME SYNC: Local Time set to [2012,6,6,17,23]" 23:34:10 "CHILD:101:76561198015211482:11:switcher:" CHILD:101 Save player: /home/epoch/cache/players/3/76561198015211482.sqf 23:34:10 "LOAD PLAYER: \cache\players\3\76561198015211482.sqf" 23:34:10 "PLAYER CACHE: ["PASS",false,"200",[],[["8Rnd_9x18_Makarov","8Rnd_9x18_Makarov","ItemBandage","ItemPainkiller"],["ItemMap","ItemCompass","ItemRadio","Makarov","ItemSodaCoke","FoodbeefCooked"]],["DZ_Patrol_Pack_EP1",[],[]],[0,0,0],"Survivor2_DZ",0.96]" 23:34:10 "CHILD:11:4:" 23:34:11 Server: Object 3:75 not found (message 94) 23:34:11 "CHILD:102:200:" CHILD:102 Save character: /home/epoch/cache/players/4/76561198015211482-char.sqf 23:34:11 "LOAD CHARACTER: \cache\players\4\76561198015211482-char.sqf" 23:34:11 "CHARACTER CACHE: ["PASS",[],[0,0,0,0],[],[],2500,"200",0]" 23:34:11 "_characterID: 200" 23:34:11 "_cashMoney:0:" 23:34:11 "WORLDSPACE: []" 23:34:11 "LOGIN: Location: [] doRnd?: true" 23:34:11 "SETUP WORLDSPACE: [0,[4827.37,2029.38,0]]" 23:34:11 "CHILD:298:76561198015211482:" CHILD:298 Save bank: /home/epoch/cache/players/4/76561198015211482-bank.sqf with BankSaldo: 0 23:34:11 "LOAD BANK: \cache\players\4\76561198015211482-bank.sqf" 23:34:11 "BANK CACHE: ["PASS",0]" 23:34:15 "CHILD:103:76561198015211482:200:0:" 23:34:31 "CHILD:201:200:[43,[4834.44,2040.87,0.00131316]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]]:false:false:0:0:21262:0:["","aidlpknlmstpsnonwnondnon_player_idlesteady02",36,[]]:0:0:Survivor2_DZ:0:0:" 23:34:34 "CHILD:201:200:[45,[4834.4,2040.75,0.00131321]]:[[],["ItemSodaCoke","FoodbeefCooked"]]:["DZ_Patrol_Pack_EP1",[[],[]],[[],[]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]]:false:false:0:0:0:0:["","aidlpknlmstpsnonwnondnon_player_idlesteady02",36,[]]:0:0::0:0:" Sorry for my english Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now