Jump to content

[PROJECT] Gold Coin based Single Currency & Banking System


Recommended Posts

 

I have went through it a few times, can't see anything I am doing wrong. Everything is fine apart from I can't trade with traders :/

 

Switch your server_traders.sqf with mine

// DayZ Epoch TRADERS for 11
serverTraders = ["US_Soldier_Pilot_EP1", "RU_Functionary1","RU_Citizen3","Rocker4","Profiteer4","Rita_Ensler_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","TK_GUE_Soldier_5_EP1","GUE_Soldier_MG","Worker2","Worker3","Soldier_GL_M16A2_PMC","Woodlander1","UN_CDF_Soldier_Pilot_EP1","RU_WorkWoman1","Dr_Annie_Baker_EP1","RU_Citizen4","RU_WorkWoman5","RU_Citizen1","RU_Villager3","TK_CIV_Takistani04_EP1","Pilot_EP1","RU_Profiteer4","Woodlander3","Dr_Hladik_EP1","Doctor","HouseWife1","GUE_Woodlander2"];
// Hero Vendor
menu_RU_Functionary1 = [
	[["Ammunition",478],["Clothes",575],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477],["Money",700]],
	[],
	"hero"
];
// Ammunition neutral
menu_RU_Citizen3 = [
	[["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"
];
// Weapons neutral
menu_Rocker4 = [
	[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL",1002],["Overwatch TAR",1003],["Overwatch Sniper",1011],["Overwatch SCAR",1004],["Overwatch sidearm",1001],["Overwatch MAS",1007],["Overwatch HK417",1009],["Overwatch HK416",1008],["Overwatch HK416",1008],["Overwatch DMR",1010],["Overwatch ACR",1005]],
	[],
	"neutral"
];
// neutral Vehicles
menu_Profiteer4 = [
	[["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 SP-Car",1015],["Overwatch S-Car",1016]],
	[],
	"neutral"
];
// General Store
menu_Rita_Ensler_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"
];
// Weapons neutral
menu_CIV_EuroMan01_EP1 = [
	[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL",1002],["Overwatch TAR",1003],["Overwatch Sniper",1011],["Overwatch SCAR",1004],["Overwatch sidearm",1001],["Overwatch MAS",1007],["Overwatch HK417",1009],["Overwatch HK416",1008],["Overwatch G3",1006],["Overwatch DMR",1010],["Overwatch ACR",1005]],
	[],
	"neutral"
];
// Ammunition Neutral
menu_CIV_EuroMan02_EP1 = [
	[["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_TK_GUE_Soldier_5_EP1 = [
	[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]],
	[],
	"neutral"
];
// Bandit Trader
menu_GUE_Soldier_MG = [
	[["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627],["Money",700]],
	[],
	"hostile"
];
// Aircraft Dealer
menu_Worker2 = [
	[["Airplanes",517],["Helicopter Unarmed",519],["Overwatch Camel",1014]],
	[],
	"neutral"
];
// Vehicles Neutral
menu_Worker3 = [
	[["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 SP-Car",1015],["Overwatch S-Car",1016]],
	[],
	"neutral"
];
// Black Market Vendor
menu_GUE_Woodlander2 = [
	[["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]],
	[],
	"neutral"
];
// neutral Building/Parts
menu_Woodlander1 = [
	[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]],
	[],
	"neutral"
];
// neutral Vehicles 2
menu_UN_CDF_Soldier_Pilot_EP1 = [
	[["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 SP-Car",1015],["Overwatch S-Car",1016]],
	[],
	"neutral"
];
// General Store 2
menu_RU_WorkWoman1 = [
	[["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"
];
// Weapons neutral 2
menu_TK_CIV_Takistani04_EP1 = [
	[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL",1002],["Overwatch TAR",1003],["Overwatch Sniper",1011],["Overwatch SCAR",1004],["Overwatch sidearm",1001],["Overwatch MAS",1007],["Overwatch HK417",1009],["Overwatch HK416",1008],["Overwatch G3",1006],["Overwatch DMR",1010],["Overwatch ACR",1005]],
	[],
	"neutral"
];
// Ammunition neutral 2
menu_Pilot_EP1 = [
	[["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"
];
// East Wholesaler
menu_RU_Citizen4 = [
	[["Wholesale",636]],
	[],
	"neutral"
];
// General Store 3
menu_RU_WorkWoman5 = [
	[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
	[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Copper Bar",101]],
	"neutral"
];
// West Wholesaler
menu_RU_Citizen1 = [
	[["Wholesale",636]],
	[],
	"neutral"
];
// Boat Vendor
menu_RU_Villager3 = [
	[["Boats Armed",673],["Boats Unarmed",672]],
	[],
	"neutral"
];
// Weapons neutral 2
menu_TK_CIV_Takistani04_EP1 = [
	[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL",1002],["Overwatch TAR",1003],["Overwatch Sniper",1011],["Overwatch SCAR",1004],["Overwatch sidearm",1001],["Overwatch MAS",1007],["Overwatch HK417",1009],["Overwatch HK416",1008],["Overwatch G3",1006],["Overwatch DMR",1010],["Overwatch ACR",1005]],
	[],
	"neutral"
];
// Ammunition Neutral 2
menu_Pilot_EP1 = [
	[["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_RU_Profiteer4 = [
	[["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 SP-Car",1015],["Overwatch S-Car",1016]],
	[],
	"neutral"
];
// Neutral Building/Parts
menu_Woodlander3 = [
	[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]],
	[],
	"neutral"
];
// Medical Supplies 2
menu_Dr_Hladik_EP1 = [
	[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"neutral"
];
// Medical Supplies 3
menu_Doctor = [
	[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"neutral"
];
// Boat Trader 2
menu_HouseWife1 = [
	[["Boats Armed",673],["Boats Unarmed",672]],
	[],
	"neutral"
];
Link to comment
Share on other sites

Ok BIG Major glitch with the system. I think it may have to do with the dll's. Players have been logging into the server and having outrageously higher stats than they did before. Latest instance:
Players logged out with like -2k humanity, 5 bandit kills and 2 zed kills. Log back in later with +19k Humanity and 30+ bandit kills and 20+ zed kills

Link to comment
Share on other sites

Ok BIG Major glitch with the system. I think it may have to do with the dll's. Players have been logging into the server and having outrageously higher stats than they did before. Latest instance:

Players logged out with like -2k humanity, 5 bandit kills and 2 zed kills. Log back in later with +19k Humanity and 30+ bandit kills and 20+ zed kills

I believe that might have to do with my bug as well not sure.

I haven't any issues like this other then players disconnecting after banking and their money being doubled soon as rejoining.

Link to comment
Share on other sites

I can assure you guys the system works. You just need to follow the directions correctly :D

I followed the directions to the tee. I have a working server on a local machine running fine. When I pushed it to my dedicated machine that had the same file structure as my local testing machine. I still receive the Wait For Host.And the Player without identity. At first I thought maybe the dll's needed unblocking. So I checked and they are all unblocked just as my local test server. So I am at a loss for what could be the issue. Its working great otherwise on my local dedi.

Link to comment
Share on other sites

You probably didn't install the player hud

Im pretty sure i did, but im test something with it right now, and i dont think the banking is working? it does not show how much gold coins i have put in the bank or how much is in it or any numbers just says bank you and other text that is un needed. Also i have vilayer ftp and im trying to add the Dll files and i add the root ones but not as dll it wont let me add them is ok if i put them as .ini files, and were do i place the hive.ini file bc im confused do i just place it in the @dayz_epoch folder or somewhere inside that folder

Link to comment
Share on other sites

Im pretty sure i did, but im test something with it right now, and i dont think the banking is working? it does not show how much gold coins i have put in the bank or how much is in it or any numbers just says bank you and other text that is un needed. Also i have vilayer ftp and im trying to add the Dll files and i add the root ones but not as dll it wont let me add them is ok if i put them as .ini files, and were do i place the hive.ini file bc im confused do i just place it in the @dayz_epoch folder or somewhere inside that folder

 

The DLL's are mandatory.

 

They need to overwrite the old ones. ( Always backup those old ones if u want to switch to arma2net soon). 

 

In @epoch_server : HiveExt.dll

 

in arma2ao folder: the rest of the dll's.

 

There currently is not a release that support non dedicated servers. ( Maybe with luck arma2net if u have root acces to your files and if the machine has the correct restributables installed.)

Link to comment
Share on other sites

Best way to fix up the traders in my opinion, instead of using Zupa's cfg traders, to go through and copy all entries in each class over to your current trader. (obviously keeping the same class numbers) 
This way takes a lot longer but should leave your traders themselves unchanged while converting all gold bars to coins when buying and selling.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...