Jump to content

[PROJECT] Gold Coin based Single Currency & Banking System


Recommended Posts

If i want it to show properly on the HUD can i put the formatting in like so:

        <t size='0.9'> %3 call BIS_fnc_numberText </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/>   <br/>
        <t size='0.9'> %14 call BIS_fnc_numberText </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/>   <br/>
 

Link to comment
Share on other sites

Zupa you got an error on the latest commit on github 

 

This line :

cutText [format["You can only have a max of %1 %3, donators %2", MaxBankMoney,MaxDonatorBankMoney,CurrencyName], "PLAIN DOWN"];

Should be : 

cutText [format["You can only have a max of %1 %3, donators %2", [MaxBankMoney] call BIS_fnc_numberText,[MaxDonatorBankMoney] call BIS_fnc_numberText,CurrencyName], "PLAIN DOWN"];
Link to comment
Share on other sites

Senith

 

Do it like this :

	_vitals ctrlSetStructuredText parseText format ["
	<t size='0.8' align='right'>~~~~~ Stats ~~~~~</t><br/>
	<t size='0.9'> %1 </t><img size='0.9' align='right' image='addons\playerhud\icons\Health.paa'/>  <br/> 
	<t size='0.9'> %2 %5 </t><img size='0.9' align='right' image='addons\playerhud\icons\As_humanity.paa'/>  <br/> 
	<t size='0.9'> %3 </t><img size='0.9' align='right' image='addons\playerhud\icons\dollars.paa'/>   <br/>
	<t size='0.9'> %14 </t><img size='0.9' align='right' image='addons\playerhud\icons\Bank.paa'/>   <br/>
	<t size='0.9'> %10 </t><img size='0.9' align='right' image='addons\playerhud\icons\As_killh.paa'/>  <br/> 
	<t size='0.9'> %9 </t><img size='0.9' align='right' image='addons\playerhud\icons\As_killb.paa'/>  <br/>
	<t size='0.9'> %4 </t><img size='0.9' align='right' image='addons\playerhud\icons\As_zkill.paa'/>  <br/>
	<t size='0.9'> %11h %12min </t><img size='0.9' align='right' image='addons\playerhud\icons\Uptime.paa'/>  <br/>
	<t size='0.9'> %13 </t><img size='0.9' align='right' image='addons\playerhud\icons\Fps.paa'/>  <br/>
	<t size='0.8' align='right'>~~~~~~~~~~~~~~~~~</t><br/>",
	AsReMixhud_blood,
	[AsReMixhud_humanity] call BIS_fnc_numberText,  //----------- Like this 
	[AsReMixhud_headshots] call BIS_fnc_numberText, //----------- Like this 
	AsReMixhud_zombiekills,
	AsReMixhud_hmnicon,
	name player,
	AsReMixhud_zombiesAlive,
	AsReMixhud_zombies,
	AsReMixhud_killsB,
	AsReMixhud_killsH,
	_hours,
	_minutes2,
	AsReMixhud_fps,
	[Zupa_bank] call BIS_fnc_numberText,  //----------- Like this 
	AsReMixhud_svrname
Link to comment
Share on other sites

Any idea when the Napf files will be ready? 

 

Also I can confirm Vilayer will switch the DLLS for you. 

They swapped mine today. took them 3 days but they did it. and they are working correctly. banks where not saving before they put them in and they are now. (yes i also have Vilayer as host)

Link to comment
Share on other sites

 

Senith

 

Do it like this :

	AsReMixhud_blood,
	[AsReMixhud_humanity] call BIS_fnc_numberText,  //----------- Like this 
	[AsReMixhud_headshots] call BIS_fnc_numberText, //----------- Like this 
	AsReMixhud_zombiekills,
	AsReMixhud_hmnicon,
	name player,
	AsReMixhud_zombiesAlive,
	AsReMixhud_zombies,
	AsReMixhud_killsB,
	AsReMixhud_killsH,
	_hours,
	_minutes2,
	AsReMixhud_fps,
	[Zupa_bank] call BIS_fnc_numberText,  //----------- Like this 
	AsReMixhud_svrname

 

Now the entire hud has stopped showing up haha

Link to comment
Share on other sites

Any idea when the Napf files will be ready? 

 

Also I can confirm Vilayer will switch the DLLS for you. 

// DayZ Epoch TRADERS for 24
serverTraders = ["Tanny_PMC","Graves","US_Delta_Force_AR_EP1","GUE_Commander","Damsel3","Soldier_MG_PKM_PMC","GUE_Worker2","GUE_Woodlander2","RUS_Soldier2","Drake_Light","GUE_Woodlander3","Soldier_GL_PMC","GUE_Villager3","CIV_EuroWoman01_EP1","Dr_Annie_Baker_EP1","RUS_Commander","Damsel5","TK_Special_Forces_MG_EP1","TK_Special_Forces_EP1","Ins_Soldier_AR","Ins_Lopotev","Ins_Worker2","Ins_Woodlander3","Dr_Hladik_EP1","pook_Doc_Bell47","Ins_Woodlander2"];
// Hero Vendor
menu_Tanny_PMC = [
[["Ammunition",478],["Clothes",575],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477],["Money",700]],
[],
"hero"
];
// Ammunition Friendly
menu_Graves = [
[["Assault Rifle Ammo",480],["Light Machine Gun Ammo",481],["Pistol Ammo",484],["Shotguns and Single-shot Ammo",573],["Sniper Rifle Ammo",482],["Submachine Gun Ammo",483],["Overwatch Pistol Ammo",1012],["Overwatch Gun Ammo",1013]],
"friendly"
];
// Weapons Friendly
menu_US_Delta_Force_AR_EP1 = [
[["Assault Rifle",485],["Light Machine Gun",486],["Pistols",489],["Shotguns and Single-shot",574],["Sniper Rifle",487],["Submachine Guns",488],["Overwatch VIL Variant",1002],["Overwatch TAR Variant",1003],["Overwatch Sniper Variant",1011],["Overwatch SCAR Variant",1004],["Overwatch Sidearms",1001],["Overwatch MAS Variant",1007],["Overwatch HK417 Variant",1009],["Overwatch HK416 Variant",1008],["Overwatch DMR Variant",1010],["Overwatch ACR Variant",1005]],
[],
"friendly"
];
// Friendly Vehicles
menu_GUE_Commander = [
[["Bikes and ATV",608],["Buses and Vans",563],["Cargo Trucks",564],["Fuel Trucks",492],["Military Unarmed",491],["Trucks",495],["Used Cars",585],["Utility Vehicles",565],["Overwatch Holden Cars",1015],["Overwatch Nissan Cars",1016]],
[],
"friendly"
];
// General Store
menu_Damsel3 = [
[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Copper Bar",101]],
"neutral"
];
// Weapons neutral
menu_Soldier_MG_PKM_PMC = [
[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL Variant",1002],["Overwatch TAR Variant",1003],["Overwatch Sniper Variant",1011],["Overwatch SCAR Variant",1004],["Overwatch Sidearms",1001],["Overwatch MAS Variant",1007],["Overwatch HK417 Variant",1009],["Overwatch HK416 Variant",1008],["Overwatch DMR Variant",1010],["Overwatch ACR Variant",1005]],
[],
"neutral"
];
// Ammunition Neutral
menu_GUE_Worker2 = [
[["Assault Rifle Ammo",609],["Light Machine Gun Ammo",610],["Pistol Ammo",611],["Shotguns and Single-shot Ammo",613],["Sniper Rifle Ammo",614],["Submachine Ammo",612],["Overwatch Pistol Ammo",1012],["Overwatch Gun Ammo",1013]],
[],
"neutral"
];
// Neutral Building/Parts
menu_GUE_Woodlander2 = [
[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]],
[],
"neutral"
];
// Bandit Trader
menu_RUS_Soldier2 = [
[["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627],["Money",700]],
[],
"hostile"
];
// Aircraft Dealer
menu_Drake_Light = [
[["Airplanes",517],["Helicopter Unarmed",519],["Overwatch Camel",1014]],
[],
"neutral"
];
// Vehicles Neutral
menu_GUE_Woodlander3 = [
[["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591],["Overwatch Holden Cars",1015],["Overwatch Nissan Cars",1016]],
[],
"neutral"
];
// Black Market Vendor
menu_Soldier_GL_PMC = [
[["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]],
[],
"neutral"
];
// Friendly Building/Parts
menu_GUE_Villager3 = [
[["Building Supplies",530],["Toolbelt Items",532],["Vehicle Parts",531],["Money",700]],
[],
"friendly"
];
// General Store 2
menu_CIV_EuroWoman01_EP1 = [
[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Copper Bar",101]],
"neutral"
];
// Medical Supplies
menu_Dr_Annie_Baker_EP1 = [
[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral"
];
// North Wholesaler
menu_RUS_Commander = [
[["Wholesale",636]],
[],
"neutral"
];
// General Store 3 
menu_Damsel5 = [
[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// West Wholesaler
menu_TK_Special_Forces_MG_EP1 = [
[["Wholesale",636]],
[],
"neutral"
];
// North Boat Vendor
menu_TK_Special_Forces_EP1 = [
[["Boats Armed",673],["Boats Unarmed",672]],
[],
"neutral"
];
// Weapons neutral 2
menu_Ins_Soldier_AR = [
[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL Variant",1002],["Overwatch TAR Variant",1003],["Overwatch Sniper",1011],["Overwatch SCAR Variant",1004],["Overwatch sidearm",1001],["Overwatch MAS Variant",1007],["Overwatch HK417 Variant",1009],["Overwatch HK416 Variant",1008],["Overwatch G3 Variant",1006],["Overwatch DMR Variant",1010],["Overwatch ACR Variant",1005]],
[],
"neutral"
];
// Ammunition Neutral 2
menu_Ins_Lopotev = [
[["Assault Rifle Ammo",609],["Light Machine Gun Ammo",610],["Pistol Ammo",611],["Shotguns and Single-shot Ammo",613],["Sniper Rifle Ammo",614],["Submachine Gun Ammo",612],["Overwatch Pistol Ammo",1012],["Overwatch Gun Ammo",1013]],
[],
"neutral"
];
// Vehicles Neutral 2
menu_Ins_Worker2 = [
[["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591],["Overwatch Holden Cars",1015],["Overwatch Nissan Cars",1016]],
[],
"neutral"
];
// Neutral Building/Parts
menu_Ins_Woodlander3 = [
[["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664],["Money",700]],
[],
"neutral"
];
// Medical Supplies 2
menu_Dr_Hladik_EP1 = [
[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral"
];
// Boat Trader 2
menu_Ins_Woodlander2 = [
[["Boats Armed",673],["Boats Unarmed",672]],
[],
"neutral"
];
// Medical Supplies 3
menu_pook_Doc_Bell47 = [
[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral"
]; 

Try those, I am still working on them... Napf isn't completed... yet.

Link to comment
Share on other sites

This:

cutText [format["You have withdrawn %1 %2.", [_amount] call BIS_fnc_numberText, "Coins"], "PLAIN DOWN"];

 

also still gives me the random letters and +signs in the digits when withdrawing money from bank.

 

Or should i state the format of _ammount here already, something like:

 

BankDialogWithdrawAmount = {
    private ["_amount","_bank","_wealth"];
    _amount = [parseNumber] call BIS_fnc_numberText (_this select 0);    
    _bank = player getVariable ["bank", 0];
    _wealth = player getVariable["headShots",0];

 

this is what i now currently have on the HUD (not showing anything)

    _vitals ctrlSetStructuredText parseText format ["
        <t size='0.8' align='right'>Unforce Gaming</t><br/>
        <t size='0.9'> %1 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/>  <br/>
        <t size='0.9'> %2 %5 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_humanity.paa'/>  <br/>
        <t size='0.9'> %3 </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/>   <br/>
        <t size='0.9'> %14 </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/>   <br/>
        <t size='0.9'> %10 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killh.paa'/>  <br/>
        <t size='0.9'> %9 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killb.paa'/>  <br/>
        <t size='0.9'> %4 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_zkill.paa'/>  <br/>
        <t size='0.9'> %11h %12min </t><img size='0.9' align='right' image='addons\playerhud\icons\Uptime.paa'/>  <br/>
        <t size='0.9'> %13 </t><img size='0.9' align='right' image='addons\playerhud\icons\Fps.paa'/>  <br/>
        <t size='0.8' align='right'>Unforce.enjin.com</t><br/>",
    AsReMixhud_blood,   //1
    AsReMixhud_humanity, //2
    [AsReMixhud_headshots] call BIS_fnc_numberText, //3
    AsReMixhud_zombiekills,//4
    AsReMixhud_hmnicon,//5
    name player,//6
    AsReMixhud_zombiesAlive,//7
    AsReMixhud_zombies,//8
    AsReMixhud_killsB,//9
    AsReMixhud_killsH,//10
    _hours,//11
    _minutes2,//12
    AsReMixhud_fps,//13
    [Zupa_bank] call BIS_fnc_numberText, //14
    AsReMixhud_svrname//15
    ];

Link to comment
Share on other sites

// DayZ Epoch TRADERS for 24
serverTraders = ["Tanny_PMC","Graves","US_Delta_Force_AR_EP1","GUE_Commander","Damsel3","Soldier_MG_PKM_PMC","GUE_Worker2","GUE_Woodlander2","RUS_Soldier2","Drake_Light","GUE_Woodlander3","Soldier_GL_PMC","GUE_Villager3","CIV_EuroWoman01_EP1","Dr_Annie_Baker_EP1","RUS_Commander","Damsel5","TK_Special_Forces_MG_EP1","TK_Special_Forces_EP1","Ins_Soldier_AR","Ins_Lopotev","Ins_Worker2","Ins_Woodlander3","Dr_Hladik_EP1","pook_Doc_Bell47","Ins_Woodlander2"];
// Hero Vendor
menu_Tanny_PMC = [
	[["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477],["Money",700]],
	[],
	"hero"
];
// Ammunition Friendly
menu_Graves = [
	[["Assault Rifle Ammo",480],["Light Machine Gun Ammo",481],["Pistol Ammo",484],["Shotguns and Single-shot Ammo",573],["Sniper Rifle Ammo",482],["Submachine Gun Ammo",483],["Overwatch Pistol Ammo",1012],["Overwatch Gun Ammo",1013]],
	"friendly"
];
// Weapons Friendly
menu_US_Delta_Force_AR_EP1 = [
	[["Assault Rifle",485],["Light Machine Gun",486],["Pistols",489],["Shotguns and Single-shot",574],["Sniper Rifle",487],["Submachine Guns",488],["Overwatch VIL Variant",1002],["Overwatch TAR Variant",1003],["Overwatch Sniper Variant",1011],["Overwatch SCAR Variant",1004],["Overwatch Sidearms",1001],["Overwatch MAS Variant",1007],["Overwatch HK417 Variant",1009],["Overwatch HK416 Variant",1008],["Overwatch DMR Variant",1010],["Overwatch ACR Variant",1005]],
	[],
	"friendly"
];
// Friendly Vehicles
menu_GUE_Commander = [
	[["Bikes and ATV",608],["Buses and Vans",563],["Cargo Trucks",564],["Fuel Trucks",492],["Military Unarmed",491],["Trucks",495],["Used Cars",585],["Utility Vehicles",565],["Overwatch Holden Cars",1015],["Overwatch Nissan Cars",1016]],
	[],
	"friendly"
];
// General Store
menu_Damsel3 = [
	[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
	"neutral"
];
// Weapons neutral
menu_Soldier_MG_PKM_PMC = [
	[["Assault Rifle",602],["Light Machine Gun",603],["Pistols",606],["Shotguns and Single-shot",607],["Sniper Rifle",605],["Submachine Guns",604],["Overwatch VIL Variant",1002],["Overwatch TAR Variant",1003],["Overwatch Snipers",1011],["Overwatch SCAR Variant",1004],["Overwatch Sidearm",1001],["Overwatch MAS Variant",1007],["Overwatch HK417 Variant",1009],["Overwatch HK416 Variant",1008],["Overwatch G3 Variant",1006],["Overwatch DMR Variant",1010],["Overwatch ACR Variant",1005]],
	[],
	"neutral"
];
// Ammunition Neutral
menu_GUE_Worker2 = [
	[["Assault Rifle Ammo",609],["Light Machine Gun Ammo",610],["Pistol Ammo",611],["Shotguns and Single-shot Ammo",613],["Sniper Rifle Ammo",614],["Submachine Gun Ammo",612],["Overwatch Pistol Ammo",1012],["Overwatch Gun Ammo",1013]],
	[],
	"neutral"
];
// Neutral Building/Parts
menu_GUE_Woodlander2 = [
	[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]],
	[],
	"neutral"
];
// Bandit Trader
menu_RUS_Soldier2 = [
	[["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627],["Money",700]],
	[],
	"hostile"
];
// Aircraft Dealer
menu_Drake_Light = [
	[["Airplanes",517],["Helicopter Unarmed",519]],
	[],
	"neutral"
];
// Vehicles Neutral
menu_GUE_Woodlander3 = [
	[["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591]],
	[],
	"neutral"
];
// Black Market Vendor
menu_Soldier_GL_PMC = [
	[["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]],
	[],
	"neutral"
];
// Friendly Building/Parts
menu_GUE_Villager3 = [
	[["Building Supplies",530],["Toolbelt Items",532],["Vehicle Parts",531],["Money",700]],
	[],
	"friendly"
];
// General Store 2
menu_CIV_EuroWoman01_EP1 = [
	[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
	"friendly"
];
// Medical Supplies
menu_Dr_Annie_Baker_EP1 = [
	[["Chem-lites/Flares",542],["Medical Supplies",541],["Smoke Grenades",543]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"friendly"
];
// North Wholesaler
menu_RUS_Commander = [
	[["Wholesale",555]],
	[],
	"neutral"
];
// General Store 3 
menu_Damsel5 = [
	[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
	"neutral"
];
// West Wholesaler
menu_TK_Special_Forces_MG_EP1 = [
	[["Wholesale",636]],
	[],
	"neutral"
];
// North Boat Vendor
menu_TK_Special_Forces_EP1 = [
	[["Boats Armed",558],["Boats Unarmed",557]],
	[],
	"neutral"
];
// Weapons neutral 2
menu_Ins_Soldier_AR = [
	[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL Variant",1002],["Overwatch TAR Variant",1003],["Overwatch Snipers",1011],["Overwatch SCAR Variant",1004],["Overwatch Sidearm",1001],["Overwatch MAS Variant",1007],["Overwatch HK417 Variant",1009],["Overwatch HK416 Variant",1008],["Overwatch G3 Variant",1006],["Overwatch DMR Variant",1010],["Overwatch ACR Variant",1005]],
	[],
	"neutral"
];
// Ammunition Neutral 2
menu_Ins_Lopotev = [
	[["Assault Rifle Ammo",643],["Light Machine Gun Ammo",644],["Pistol Ammo",646],["Shotguns and Single-shot Ammo",649],["Sniper Rifle Ammo",647],["Submachine Gun Ammo",648],["Overwatch Pistol Ammo",1012],["Overwatch Gun Ammo",1013]],
	[],
	"neutral"
];
// Vehicles Neutral 2
menu_Ins_Worker2 = [
	[["Bikes and ATV",650],["Buses and Vans",651],["Cargo Trucks",653],["Fuel Trucks",655],["Military Unarmed",658],["Trucks",659],["Used Cars",660],["Utility Vehicles",661]],
	[],
	"neutral"
];
// Neutral Building/Parts
menu_Ins_Woodlander3 = [
	[["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664],["Money",700]],
	[],
	"neutral"
];
// Medical Supplies 2
menu_Dr_Hladik_EP1 = [
	[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"neutral"
];
// Boat Trader 2
menu_Ins_Woodlander2 = [
	[["Boats Armed",673],["Boats Unarmed",672]],
	[],
	"neutral"
];
// Medical Supplies 3
menu_pook_Doc_Bell47 = [
	[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"neutral"
]; 

Try those, I am still working on them... Napf isn't completed because of my novice developer did this one by himself and didn't do it right.

Let me know if that works or not, if not I'll probably end up redoing it.

I told Zupa I would make the server_traders for most of the big maps and have him upload them to his website for others to use.

These work great so far, except the toolbelt items and vehicle parts at Trader City Emmen. Trader City Schratten is completely broken except overwatch vehicles and money. Also at Lenzberg you can't buy Overwatch vehicles. I'll be willing to work with you and test it if you need.  

 

They swapped mine today. took them 3 days but they did it. and they are working correctly. banks where not saving before they put them in and they are now. (yes i also have Vilayer as host)

I'm just happy they did it. 

Link to comment
Share on other sites

This:

cutText [format["You have withdrawn %1 %2.", [_amount] call BIS_fnc_numberText, "Coins"], "PLAIN DOWN"];

 

also still gives me the random letters and +signs in the digits when withdrawing money from bank.

 

Or should i state the format of _ammount here already, something like:

 

BankDialogWithdrawAmount = {

    private ["_amount","_bank","_wealth"];

    _amount = [parseNumber] call BIS_fnc_numberText (_this select 0);    

    _bank = player getVariable ["bank", 0];

    _wealth = player getVariable["headShots",0];

 

this is what i now currently have on the HUD (not showing anything)

    _vitals ctrlSetStructuredText parseText format ["

        <t size='0.8' align='right'>Unforce Gaming</t><br/>

        <t size='0.9'> %1 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/>  <br/>

        <t size='0.9'> %2 %5 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_humanity.paa'/>  <br/>

        <t size='0.9'> %3 </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/>   <br/>

        <t size='0.9'> %14 </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/>   <br/>

        <t size='0.9'> %10 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killh.paa'/>  <br/>

        <t size='0.9'> %9 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killb.paa'/>  <br/>

        <t size='0.9'> %4 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_zkill.paa'/>  <br/>

        <t size='0.9'> %11h %12min </t><img size='0.9' align='right' image='addons\playerhud\icons\Uptime.paa'/>  <br/>

        <t size='0.9'> %13 </t><img size='0.9' align='right' image='addons\playerhud\icons\Fps.paa'/>  <br/>

        <t size='0.8' align='right'>Unforce.enjin.com</t><br/>",

    AsReMixhud_blood,   //1

    AsReMixhud_humanity, //2

    [AsReMixhud_headshots] call BIS_fnc_numberText, //3

    AsReMixhud_zombiekills,//4

    AsReMixhud_hmnicon,//5

    name player,//6

    AsReMixhud_zombiesAlive,//7

    AsReMixhud_zombies,//8

    AsReMixhud_killsB,//9

    AsReMixhud_killsH,//10

    _hours,//11

    _minutes2,//12

    AsReMixhud_fps,//13

    [Zupa_bank] call BIS_fnc_numberText, //14

    AsReMixhud_svrname//15

    ];

 

Do these changes and it will work : https://github.com/EpochSC/SingleCurrencyBanking999/commit/5690968ed8360069312e1150fd82120c813d3dc2

Link to comment
Share on other sites

These work great so far, except the toolbelt items and vehicle parts at Trader City Emmen. Trader City Schratten is completely broken except overwatch vehicles and money. Also at Lenzberg you can't buy Overwatch vehicles. I'll be willing to work with you and test it if you need.  

 

I'm just happy they did it. 

Take a look at it again, I redid it.

Link to comment
Share on other sites

What got added to the AH.sqf and AHconfig.sqf becuase i already have those (using infistar already and my AH.sqf is allot bigger then the one shown in the fixes)

Nothing. We had enabled infistar to check the duping again to check to make sure it was fixed.

 

 

Schratten is still badly messed up. And so are the tool belt and vehicle parts at Emmen

Alright, ill take a look at it and see what I can do.
Link to comment
Share on other sites

Just found thread on google search (don't run epoch server anymore)

 

If whoever is coding this needs a hand to figure out extDB.. give me a shout...

Documentation isn't the best in places...

 

As far security goes

From low -> better

 

1) You can either randomize the DB_RAW interface name used @ initalize (its not perfect).

    Just prevents scripts from calling extDB directly if they don't know the randomize variable

 

2) You can use procedure protocol only & lock/disable rest of the extension...

    That way extDB can only call procedures (i.e no raw sql commands) more info on github wiki

https://github.com/Torndeco/extdb/wiki/Calls:-DB_PROCEDURE

 

3) Or write your own protocol for extDB, its abstracted a nice bit... so its really not much work if u know c++.

Link to comment
Share on other sites

 

Nothing. We had enabled infistar to check the duping again to check to make sure it was fixed.

 

Alright, this works for the most part =] if i use my bank i see the digits perfectly. i assume the first thing you told me (for the HUD) still apply's? because there it is not showing up properly

Link to comment
Share on other sites

Just found thread on google search (don't run epoch server anymore)

 

If whoever is coding this needs a hand to figure out extDB.. give me a shout...

Documentation isn't the best in places...

 

As far security goes

From low -> better

 

1) You can either randomize the DB_RAW interface name used @ initalize (its not perfect).

    Just prevents scripts from calling extDB if they don't know the randomize variable

 

2) You can use procedure protocol only & lock/disable rest of extension...

    That way extDB can only call procedures (i.e no raw sql commands) more info on github wiki

https://github.com/Torndeco/extdb/wiki/Calls:-DB_PROCEDURE

 

3) Or write your own protocol for extDB, its abstracted a nice bit... so its really not much work if u know c++

I'll let zupa know as soon as he gets on.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...