Jump to content

[Outdated] [Release] Single Currency & Banking 1.1


Recommended Posts

All are the same, the only thing will differ from another is the following 3 files:

 

  • addbankmarkers.sqf ( missions pbo)
  • banks.sqf ( in server pbo)
  • server_traders.sqf ( missions pbo)

Ofcourse u need the mission.sqm from That epoch map.

 

Those 3 files need to be changed if u use an other map ( it are the bank and atm marker locations, and the trader ID's)

 

THIS DOESNT GET INFLUENCED BY OVERPOCH OR OVERPOCHINs, Only the map!!

 

Use the following to have the newest version and fixes:

 

 

I'll try yo set up a detailed instruction soon for every individual change that has been done. 

Hi Zupa I don't suppose you have Chernarus 11 server traders.sqf somewhere?

Link to comment
Share on other sites

I have this issue where my admins can give coins to other players, but the players themselves are unable to give coins to one another. It shows up as "You can only give coins to player" when a normal player attempts to give coins. Any fix for this? I'm thinking it might be the antihack(infistar), but I have no idea what is the cause.

Link to comment
Share on other sites

forgot, how to block opening gear? i found in  zupa bank very hard duping!! and all who use BIS_fnc_invRemove...
 if server laggy or drop fps to 5-10, call BIS_fnc_invRemove - working SLOWLY! sell weapon, when added money, fast drop weapon. works
need block opening gear when BIS_fnc_invRemove working
Link to comment
Share on other sites

Hey guys, every Day an other mistake:

 

Today: Script Scripts\Switch_mode\payer's_switchModel.sqf not found

 

I have taken "PeterBeer2.0Ready_Hive_Version"

 

It's not ready for Hive!

 

Where is the mitake? How can I fix it?

Mistake might simply be your spelling... Not sure if your "Scripts\Switch_mode\payer's_switchModel.sqf" was just a spelling mistake... if not, it should be "player_switchModel.sqf". What are you trying to get working?

Link to comment
Share on other sites

 

I opened a new server 

https://github.com/EpochSC/SingleCurrencyBanking/tree/master/999_Hive_Version/Version%201.1

uploaded the files to the server 

The only change I made dayz_epoch_11.chernarus.pbo file name dayz_private_1.epoch.chernarus.pbo

I can not login to the server fails  :(

Thank you very much 

 

 

=====================================================================
== C:\SERVICES\ni423714_1\dayz\arma2oaserver.exe
== arma2oaserver.exe     -cpuCount=2 -exThreads=1 -maxmem=2047 -noCB -malloc=tbb4malloc_bi -noSound -ip=85.190.136.81 -port=2302 -config=dayz_1.epoch.chernarus\server_config.cfg -cfg=dayz_1.epoch.chernarus\basic.cfg -profiles=dayz_1.epoch.chernarus -name=Bliss -mod=@DayZ_Epoch;@DayZ_Epoch_Server; 
=====================================================================
Exe timestamp: 2014/07/15 17:45:14
Current time:  2014/10/11 08:44:54

Version 1.63.125548
Item STR_EQUIP_NAME_41 listed twice
Item STR_EQUIP_DESC_41 listed twice
Updating base class ->NonStrategic, by Ca\config.bin/CfgVehicles/HouseBase/
Updating base class ->HouseBase, by Ca\config.bin/CfgVehicles/Ruins/
Updating base class ->DestructionEffects, by Ca\config.bin/CfgVehicles/House/DestructionEffects/
Updating base class ->FlagCarrierCore, by ca\ca_pmc\config.bin/CfgVehicles/FlagCarrier/
Updating base class ->VehicleMagazine, by ca\weapons\config.bin/CfgMagazines/14Rnd_FFAR/
Updating base class ->PistolCore, by ca\weapons\config.bin/cfgWeapons/Pistol/
Updating base class ->LauncherCore, by ca\weapons\config.bin/cfgWeapons/RocketPods/
Updating base class ->RocketPods, by ca\weapons\config.bin/cfgWeapons/FFARLauncher/
Updating base class ->Default, by ca\weapons\config.bin/cfgWeapons/ItemCore/
Updating base class ->Citizen, by ca\characters2\config.bin/CfgVehicles/Citizen1/
Updating base class ->SkodaBase, by ca\wheeled\config.bin/CfgVehicles/car_sedan/
Updating base class ->UH60_Base, by ca\air\config.bin/CfgVehicles/MH60S/
Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_Fire/
Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_A_tent/
Updating base class ->Camp_base, by ca\misc3\config.bin/CfgVehicles/ACamp/
Updating base class ->Car, by ca\wheeled2\lada\config.bin/CfgVehicles/Lada_base/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_PowLines_Conc2L_EP1/
Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl/
Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_2/
Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_3/
Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind/
Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind_zebr/
Updating base class RscStandardDisplay->, by z\addons\dayz_code\config.bin/RscDisplayStart/
Updating base class RscShortcutButton->RscShortcutButtonMain, by z\addons\dayz_code\config.bin/RscDisplayMain/controls/CA_Exit/
Updating base class RscText->, by z\addons\dayz_code\config.bin/RscTitles/Default/
Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_villager1/
Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_worker1/
Updating base class Soldier_Crew_PMC->Soldier_Bodyguard_M4_PMC, by z\addons\dayz_code\config.bin/CfgVehicles/SurvivorW2_DZ/
Updating base class HighCommand->Logic, by z\addons\dayz_code\config.bin/CfgVehicles/HighCommandSubordinate/
Updating base class ->ViewOptics, by z\addons\dayz_code\config.bin/CfgVehicles/Mi17_base/Turrets/MainTurret/ViewOptics/
Updating base class HouseBase->, by z\addons\dayz_code\config.bin/CfgVehicles/House/
Updating base class NonStrategic->BuiltItems, by z\addons\dayz_code\config.bin/CfgVehicles/Fort_RazorWire/
Updating base class MeleeHatchet->MeleeWeapon, by z\addons\dayz_code\config.bin/CfgWeapons/MeleeCrowbar/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/29Rnd_30mm_AGS30/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/48Rnd_40mm_MK19/
Updating base class 4000Rnd_762x51_M134->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/2000Rnd_762x51_M134/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/100Rnd_127x99_M2/
Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/50Rnd_127x107_DSHKM/
Updating base class Hatchet_Swing->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/crowbar_swing/
Updating base class CA_Magazine->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/Hatchet_Swing/
Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_1L2/
Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_3I3/
Updating base class ->Plane, by ca\air2\mv22\config.bin/CfgVehicles/MV22/
Updating base class ViewOptics->, by ca\air2\uh1y\config.bin/CfgVehicles/UH1_Base/Turrets/MainTurret/ViewOptics/
Updating base class ->HouseBase, by ca\misc_e\config.bin/CfgVehicles/House/
Updating base class ->Land_CamoNet_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNet_EAST_EP1/
Updating base class ->Land_CamoNetB_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNetB_EAST_EP1/
Updating base class ->Sign_1L_Noentry, by ca\misc_e\config.bin/CfgVehicles/Sign_1L_Noentry_EP1/
Updating base class ->Sign_circle, by ca\misc_e\config.bin/CfgVehicles/Helper_Base_EP1/
Updating base class ->Rifle, by ca\weapons_baf\config.bin/cfgWeapons/BAF_AS50_scoped/
Updating base class ->Rifle, by ca\weapons_e\config.bin/cfgWeapons/M60A4_EP1/
Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_EP1/
Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_m145_EP1/
Updating base class ->m107, by ca\weapons_e\m107\config.bin/CfgWeapons/m107_TWS_EP1/
Updating base class ->M240, by ca\weapons_e\m240\config.bin/CfgWeapons/m240_scoped_EP1/
Updating base class ->V3S_Base, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Base_EP1/
Updating base class ->V3S_Base_EP1, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Refuel_TK_GUE_EP1/
Updating base class House->DZE_OpenHouse, by warehouse\config.bin/CfgVehicles/Land_Ind_Pec_03/
Updating base class ->C130J_base, by ca\air_e\config.bin/CfgVehicles/C130J_US_EP1/
Updating base class ->Helicopter, by ca\air_e\ah6j\config.bin/CfgVehicles/AH6_Base_EP1/
Updating base class ->Plane, by ca\air_e\an2\config.bin/CfgVehicles/An2_Base_EP1/
Updating base class ->CH47_base_EP1, by ca\air_e\ch47\config.bin/CfgVehicles/CH_47F_EP1/
Updating base class ViewOptics->, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/
Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/
Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_TL_PMC/
Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_M4_PMC/
Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_AA12_PMC/
Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/
Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/
Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/
Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/
Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_UN_EP1/
Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_UN_EP1/
Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_TK_EP1/
Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_TK_EP1/
Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/
Obsolete class Animations defined in bin\config.bin/RscCompass/
Obsolete class Animations defined in bin\config.bin/RscWatch/
ErrorMessage: Include file mpmissions\__cur_mp.chernarus\hw.hpp not found.

Please if you could use

your code here [/spoiler

 ]! thanks :)
Link to comment
Share on other sites

Hey guys, every Day an other mistake:

 

Today: Script Scripts\Switch_mode\payer's_switchModel.sqf not found

 

I have taken "PeterBeer2.0Ready_Hive_Version"

 

It's not ready for Hive!

 

Where is the mitake? How can I fix it?

 

Switch Mode? xD doesnt it have to be Switch MODEL XD

Link to comment
Share on other sites

i install the 1.1 and it works but the Hive.dll not works( i tested some different Dll. but no one works?)

its a new Epoch Namalsk Server without scripts

 

21:10:44 Error Zero divisor
21:10:44 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 58
21:10:52 "DEBUG: Too many at [6947.75,11396]"
21:11:03 Error in expression < _x getVariable['humanity',0];
                if ((_humanity > 1000000) || (_humanity < -10>
21:11:03 Error position: <_humanity > 1000000) || (_humanity < -10>
21:11:03 Error Undefined variable in expression: _humanity

 

With teh original .dll i can join to see the coins work

Link to comment
Share on other sites

I want to ask a question

After Install Zupa Single Curency

To Update to Hive 2.0 Soul i only need to update the HiveExt.dll right ?

Or i need to update HiveExt.dll and 3 Folder Cfgtrader , file in the mission folder & in the dayz_server

 

 

You need to update all of the files & folders that are included in the 2.0 update. Not just the dll.

Link to comment
Share on other sites

You need to update all of the files & folders that are included in the 2.0 update. Not just the dll.

Yup Thanks you the Mod work perfect

one littble problem is when i connect to my server

I know that i am missiong the ngp.paa file and this isn't cause any problem but i don't like to see my server showing an error

10735701_1554494868119657_185156414_n.jp

=========EDIT========

Since Coin Replace Gold  and Sliver

The players who still have Gold & any like that can change to coin ?

Link to comment
Share on other sites

I was just wondering why and how i can fix this, When i open a trader menu they price says "Any Any" instead of "xxxx Coins" Is this a problem or just something that i have forgotten to change?

Yeah i got that

you need to add into your compiles.sqf

BIS_fnc_numberDigits     = compile preprocessFileLineNumbers "custom\numberDigits.sqf";
BIS_fnc_numberText     = compile preprocessFileLineNumbers "custom\numberText.sqf";

It will look like this

BIS_fnc_numberDigits     = compile preprocessFileLineNumbers "custom\numberDigits.sqf";
BIS_fnc_numberText     = compile preprocessFileLineNumbers "custom\numberText.sqf";

if (!isDedicated) then {

    "filmic" setToneMappingParams [0.07, 0.31, 0.23, 0.37, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

    BIS_Effects_Burn =                 compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf";

Then copy the custom folder from the zupa mission folder

 

BTW any got the custom positions of Bank

I need the positions to add to my safezone

I Use Safezone from infistar

Link to comment
Share on other sites

Thank you so much for this! I got the numbers working but it still says any. I figured that is just something i need to change in a .sqf for my preference for the name of the currency. But i havn't figured out where. 
 

Yeah i got that

you need to add into your compiles.sqf

BIS_fnc_numberDigits     = compile preprocessFileLineNumbers "custom\numberDigits.sqf";
BIS_fnc_numberText     = compile preprocessFileLineNumbers "custom\numberText.sqf";

It will look like this

BIS_fnc_numberDigits     = compile preprocessFileLineNumbers "custom\numberDigits.sqf";
BIS_fnc_numberText     = compile preprocessFileLineNumbers "custom\numberText.sqf";

if (!isDedicated) then {

    "filmic" setToneMappingParams [0.07, 0.31, 0.23, 0.37, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

    BIS_Effects_Burn =                 compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf";
Link to comment
Share on other sites

Thank you so much for this! I got the numbers working but it still says any. I figured that is just something i need to change in a .sqf for my preference for the name of the currency. But i havn't figured out where. 

 

Go to your varibles.sqf you will here it's at the top of the file it will look like this

disableSerialization;

//-----------------------------------Currency & Banking Configs ---------------------------------//
CurrencyName = "Cat Coins"; // name of your currency
DZE_ATM = ["Laptop_EP1"]; // items,objects classnames where u can bank.
LimitOnBank = false; // false = no limits, true = banks are limited on the value below
MaxBankMoney = 500000; // limit on bank for normal players
DonatorListZupa = ["76561198012464696","111111111"]; // bigger bank PUID
MaxDonatorBankMoney = 1000000; // Bank size donators

//-----------------------------------Currency & Banking Configs END ---------------------------------//

For me i use Cat Coin for the name of currency

 

Zupa i need your help

Can you tell me how to get the position for safezone ?

I use safezone make by Infistar

If i use the postion from data it will look like this

[288,[12212.6,9725.73,9.842e-04]]

Anyone ?

 

[sorry if my English not very well it's not my primary language]

Link to comment
Share on other sites

Go to your varibles.sqf you will here it's at the top of the file it will look like this

disableSerialization;

//-----------------------------------Currency & Banking Configs ---------------------------------//
CurrencyName = "Cat Coins"; // name of your currency
DZE_ATM = ["Laptop_EP1"]; // items,objects classnames where u can bank.
LimitOnBank = false; // false = no limits, true = banks are limited on the value below
MaxBankMoney = 500000; // limit on bank for normal players
DonatorListZupa = ["76561198012464696","111111111"]; // bigger bank PUID
MaxDonatorBankMoney = 1000000; // Bank size donators

//-----------------------------------Currency & Banking Configs END ---------------------------------//

That i've already done but still manage to show up as any..

\DayZ_Overpoch_1.Chernarus\init\variable.sqf is the one im in editing

Link to comment
Share on other sites

Firstly, thanks for the wonderful scripts. I would donate however I live paycheck to paycheck..

 

I have a pbkac issue.. I did some searching but found nothing. I wasn't the original person to install the script on the server so I am not entirely sure if a separate file's issue is causing this one.

 

Currently all parts of the single currency works including selling.. However I am just a little alarmed about these errors spamming in my server.rpt

16:27:13 "EPOCH SERVERTRADE: Player: Augie (76561198118358503) bought a Unknown Vehicle in/at Unknown Trader City for 400000x Zupa Coins"
16:27:13 "EPOCH SERVERTRADE: Player: Patrick (76561198061936718) sold a  in/at Unknown Trader City for 1x Zupa Coins"
16:27:13 Error in expression < for %5",_name, (getPlayerUID _player), _classname, _traderCity, _price];
};

if>
16:27:13   Error position: <_classname, _traderCity, _price];
};

if>
16:27:13   Error Undefined variable in expression: _classname
16:27:13 File z\addons\dayz_server\compile\server_tradeObject.sqf, line 17
16:27:14 "EPOCH SERVERTRADE: Player: JoshWin7x64 (______) sold a  in/at Unknown Trader City for 1x Zupa Coins"
16:27:14 Error in expression < for %5",_name, (getPlayerUID _player), _classname, _traderCity, _price];
};

if>
16:27:14   Error position: <_classname, _traderCity, _price];
};

if>
16:27:14   Error Undefined variable in expression: _classname
16:27:14 File z\addons\dayz_server\compile\server_tradeObject.sqf, line 17

As you can see the error only occurs when selling, buying is fully functional. Selling also works on the server, but this error pops up.

 

the server_tradeobject.sqf in the dayz_server.pbo

private ["_player","_name","_traderid","_buyorsell","_data","_result","_key","_outcome","_clientID","_classname","_qty","_price"];

_player =		_this select 0;
_traderID = 	_this select 1;
_buyorsell = 	_this select 2;	//0 > Buy // 1 > Sell
_classname =	_this select 3;
_traderCity = 	_this select 4;
_currency =	_this select 5;
_qty =		_this select 6;
_clientID = 	owner _player;
_price = format ["%2x %1",_currency,_qty];
_name = if (alive _player) then { name _player; } else { "Dead Player"; };

if (_buyorsell == 0) then { //Buy
diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) bought a %3 in/at %4 for %5", _name, (getPlayerUID _player), _classname, _traderCity, _price];
} else { //SELL
diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) sold a %3 in/at %4 for %5",_name, (getPlayerUID _player), _classname, _traderCity, _price];
};

if (DZE_ConfigTrader) then {
	_outcome = "PASS";
} else {
	//Send request
	_key = format["CHILD:398:%1:%2:",_traderID,_buyorsell];

	_data = "HiveEXT" callExtension _key;
	_result = call compile format ["%1",_data];
	// diag_log ("TRADE: RES: "+ str(_result));
	_outcome = _result select 0;
};

dayzTradeResult = _outcome;
if(!isNull _player) then {
	_clientID publicVariableClient "dayzTradeResult";
};

EDIT: found this error aswell

22:50:28 "EPOCH SERVERTRADE: Player: Assistingcash (_______) sold a 7034b900# 1089236: backpack_tk_alice.p3d REMOTE in/at Unknown Trader City for <null>x <null>"
22:50:28 Error in expression <urrency =    _this select 5;
_qty =        _this select 6;
_clientID =     owner _player;
_p>
22:50:28   Error position: <select 6;
_clientID =     owner _player;
_p>
22:50:28   Error Zero divisor
22:50:28 File z\addons\dayz_server\compile\server_tradeObject.sqf, line 9\

EDIT#2: . . . .

error for a buy.. May be a specific trader issue?

22:57:02 "EPOCH SERVERTRADE: Player: JoshWin7x64 (___) bought a  in/at Unknown Trader City for 2000x Zupa Coins"
22:57:02 Error in expression <for %5", _name, (getPlayerUID _player), _classname, _traderCity, _price];
} else>
22:57:02   Error position: <_classname, _traderCity, _price];
} else>
22:57:02   Error Undefined variable in expression: _classname
22:57:02 File z\addons\dayz_server\compile\server_tradeObject.sqf, line 15
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...