Jump to content

[Alpha Release] Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking).


Recommended Posts

Hey Zupa,

 

Inserted SC 3.0, all works great, however, when i buy a gun from a trader, the gun seems to be inactive, you have to drop it/pick it up or place it in your backpack and back in your inventory for the gun to work. Cant seem to figure out why. No errors on the client or server RPT's  :mellow:

Link to comment
Share on other sites

U had mags for it in your gear? maybe the mags where in your backpack, and when u get it back out of it then the mags came with it? ^^

 

Ok, i figured out the process, if i do not have any weapons on my player, then this weird issue happens. If i have a hand gun, buy a M240 or something, switch over to the M240, the it all works. 

Link to comment
Share on other sites

Not sure if this is related, but when i buy/sell something the trader menu does not automatically close and i get the following error in the client RPT

 

EDIT : I do not get the RPT errors when logged in as an Admin (Infistar) on the same test client. Everything seems to work fine when an admin.

Error in expression <WN'];
				};
				_item = TraderItemList select _index;
				_data = [_item select>
  Error position: <select _index;
				_data = [_item select>
  Error select: Type Number, expected Array,Config entry
Link to comment
Share on other sites

disappear problem for loot
in player_switchModel.sqf

if (player hasWeapon "ItemGPS") then {_GPS = true;};
if (player hasWeapon "NVGoggles") then {_NVG = true;};  
if (player hasWeapon "ItemCompass") then {_Compass = true;};
if (player hasWeapon "ItemWatch") then {_Watch = true;};
if (player hasWeapon "ItemMap") then {_Map = true;};                
if (player hasWeapon "ItemRadio") then {_Radio = true;};
Link to comment
Share on other sites

Hey Zupa,

 

I was hoping you might be able to assist, i use ckc to change codes on vaults and combo locks, i noticed if you change a code on a vault with coins disappear from the vault. I did try and fix it, looked like it worked, then stopped working again. Could you possibly look at my attempt? post :

 

Thanks in advance  

Link to comment
Share on other sites

Is there a fix for missing aircraft dealer?

I haven't changed the mission.sqm.

 

Original server_traders.sqf:

 

// DayZ Epoch TRADERS for 17
serverTraders = ["Tanny_PMC","Drake","BAF_Soldier_AAR_DDPM","US_Delta_Force_AR_EP1","US_Delta_Force_Medic_EP1","Soldier_MG_PKM_PMC","Soldier_MG_PMC","UN_CDF_Soldier_Crew_EP1","GUE_Soldier_1","Soldier_Sniper_PMC","UN_CDF_Soldier_Pilot_EP1","GUE_Soldier_3","BAF_Soldier_EN_MTP","UN_CDF_Soldier_Pilot_EP1","GUE_Worker2","Herrera_Light","Soldier_MG_PKM_PMC","Soldier_MG_PMC","GUE_Soldier_CO","RU_Damsel4","FR_Sykes","GUE_Villager4","TK_GUE_Warlord_EP1","GUE_Commander","GUE_Soldier_2","TK_GUE_Soldier_5_EP1","CIV_EuroWoman02_EP1","Dr_Annie_Baker_EP1","GUE_Soldier_Crew","Citizen3_EP1","ibr_lingorman6","ibr_lingorman6s","TK_CIV_Woman02_EP1","Damsel3"];
// Hero Vendor
menu_Tanny_PMC = [
	[["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]],
	[],
	"hero"
];
// Ammunition Friendly
menu_Drake = [
	[["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],["OP Pistol Ammo",916],["OP Gun Ammo",917]],
	[],
	"friendly"
];
// Weapons Friendly
menu_BAF_Soldier_AAR_DDPM = [
	[["Assault Rifle",485],["Light Machine Gun",486],["Pistols",489],["Shotguns and Single-shot",574],["Sniper Rifle",487],["Submachine Guns",488],["OP Pistols",900],["HK416 Variants",901],["HK417 Variants",902],["TAR Variants",903],["MAS Variants",904],["DMR Variants",905],["SCAR Variants",906],["ACR Variants",907],["ACR SD Variants",908],["Sniper Variants",909],["G3 Variants",910],["LMG Variants",911],["SMG Variants",912],["AK Variants",913],["G36 Variants",914],["Spare Guns",915]],
	[],
	"friendly"
];
// Friendly Vehicles
menu_US_Delta_Force_AR_EP1 = [
	[["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],["Sport Cars",919],["Super Cars",920]],
	[],
	"friendly"
];
// General Store
menu_US_Delta_Force_Medic_EP1 = [
	[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey 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],["OP Pistols",900],["HK416 Variants",901],["HK417 Variants",902],["TAR Variants",903],["MAS Variants",904],["DMR Variants",905],["SCAR Variants",906],["ACR Variants",907],["ACR SD Variants",908],["Sniper Variants",909],["G3 Variants",910],["LMG Variants",911],["SMG Variants",912],["AK Variants",913],["G36 Variants",914],["Spare Guns",915]],
	[],
	"neutral"
];
// Ammunition Neutral
menu_Soldier_MG_PMC = [
	[["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],["OP Pistol Ammo",916],["OP Gun Ammo",917]],
	[],
	"neutral"
];
// Neutral Building/Parts
menu_UN_CDF_Soldier_Crew_EP1 = [
	[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509]],
	[],
	"neutral"
];
// Bandit Trader
menu_GUE_Soldier_1 = [
	[["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],
	[],
	"hostile"
];
// Aircraft Dealer
menu_Soldier_Sniper_PMC = [
	[["Airplanes",517],["Helicopter Unarmed",519],["CYBP_Camel",918]],
	[],
	"neutral"
];
// Vehicles Neutral
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],["Sport Cars",919],["Super Cars",920]],
	[],
	"neutral"
];
// Black Market Vendor
menu_GUE_Soldier_3 = [
	[["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]],
	[],
	"neutral"
];
// Friendly Building/Parts
menu_BAF_Soldier_EN_MTP = [
	[["Building Supplies",530],["Toolbelt Items",532],["Vehicle Parts",531]],
	[],
	"friendly"
];
// Friendly Vehicles 2
menu_UN_CDF_Soldier_Pilot_EP1 = [
	[["Bikes and ATV",536],["Buses and Vans",592],["Cargo Trucks",570],["Fuel Trucks",595],["Military Unarmed",599],["Trucks Unarmed",535],["Used Cars",600],["Utility Vehicles",568],["Sport Cars",919],["Super Cars",920]],
	[],
	"friendly"
];
// General Store 2
menu_GUE_Worker2 = [
	[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
	"friendly"
];
// Medical Supplies
menu_Herrera_Light = [
	[["Chem-lites/Flares",542],["Medical Supplies",541],["Smoke Grenades",543]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"friendly"
];
// Weapons friendly 2
menu_Soldier_MG_PKM_PMC = [
	[["Assault Rifle",615],["Light Machine Gun",616],["Pistols",617],["Shotguns and Single-shot",620],["Sniper Rifle",619],["Submachine Guns",618],["OP Pistols",900],["HK416 Variants",901],["HK417 Variants",902],["TAR Variants",903],["MAS Variants",904],["DMR Variants",905],["SCAR Variants",906],["ACR Variants",907],["ACR SD Variants",908],["Sniper Variants",909],["G3 Variants",910],["LMG Variants",911],["SMG Variants",912],["AK Variants",913],["G36 Variants",914],["Spare Guns",915]],
	[],
	"friendly"
];
// Ammunition friendly 2
menu_Soldier_MG_PMC = [
	[["Assault Rifle Ammo",621],["Light Machine Gun Ammo",622],["Pistol Ammo",625],["Shotguns and Single-shot Ammo",623],["Sniper Rifle Ammo",624],["Submachine Gun Ammo",626],["OP Pistol Ammo",916],["OP Gun Ammo",917]],
	[],
	"friendly"
];
// East Wholesaler
menu_GUE_Soldier_CO = [
	[["Wholesale",555]],
	[],
	"neutral"
];
// General Store 3
menu_RU_Damsel4 = [
	[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
	[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
	"neutral"
];
// West Wholesaler
menu_FR_Sykes = [
	[["Wholesale",636]],
	[],
	"neutral"
];
// Boat Vendor
menu_GUE_Villager4 = [
	[["Boats Armed",558],["Boats Unarmed",557]],
	[],
	"neutral"
];
// Weapons neutral 2
menu_TK_GUE_Warlord_EP1 = [
	[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["OP Pistols",900],["HK416 Variants",901],["HK417 Variants",902],["TAR Variants",903],["MAS Variants",904],["DMR Variants",905],["SCAR Variants",906],["ACR Variants",907],["ACR SD Variants",908],["Sniper Variants",909],["G3 Variants",910],["LMG Variants",911],["SMG Variants",912],["AK Variants",913],["G36 Variants",914],["Spare Guns",915]],
	[],
	"neutral"
];
// Ammunition Neutral 2
menu_GUE_Commander = [
	[["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],["OP Pistol Ammo",916],["OP Gun Ammo",917]],
	[],
	"neutral"
];
// Vehicles Neutral 2
menu_GUE_Soldier_2 = [
	[["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],["Sport Cars",919],["Super Cars",920]],
	[],
	"neutral"
];
// Neutral Building/Parts
menu_TK_GUE_Soldier_5_EP1 = [
	[["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664]],
	[],
	"neutral"
];
// Medical Supplies 2
menu_CIV_EuroWoman02_EP1 = [
	[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
	[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
	"neutral"
];
// Medical Supplies 3
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"
];
// Boat Trader 2
menu_GUE_Soldier_Crew = [
	[["Boats Armed",673],["Boats Unarmed",672]],
	[],
	"neutral"
];
// Wholesale 3
menu_Citizen3_EP1 = [
	[["Wholesale",675]],
	[],
	"neutral"
];
// Friendly Building/parts 2
menu_ibr_lingorman6 = [
	[["Building Supplies",678],["Toolbelt Items",679],["Vehicle Parts",677]],
	[],
	"friendly"
];
// Friendly Building/Parts 3
menu_ibr_lingorman6s = [
	[["Building Supplies",680],["Toolbelt Items",681],["Vehicle Parts",682]],
	[],
	"friendly"
];
// General Store 4
menu_TK_CIV_Woman02_EP1 = [
	[["Backpacks",685],["Clothes",683],["Cooked Meats",686],["Drinks",684],["Packaged Food",687]],
	[],
	"neutral"
];
// General Store 5
menu_Damsel3 = [
	[["Backpacks",688],["Clothes",689],["Cooked Meats",690],["Drinks",691],["Packaged Food",692]],
	[],
	"friendly"
];

 

my new one is the cherno_17 provided with the script.

Link to comment
Share on other sites

Installed and working ok, 

Is there a way to increase the size of the amount of coins an item can hold as the maximum coins I can store is 200000 Ural only has 200 slots as does a safe. I see in ZSCconfig.sqf the ZSC_MaxMoneyInStorageMultiplier = 1000; if I increase this will it cause problems with coins saving and is this the way to increase the storage size?

 

 Great Script Thanks

MegaZ

Link to comment
Share on other sites

im getting in client RPT log , trading is not working

 

_removed = ([player,_name,1] call BIS_fnc_invRemove);
if (_removed > 0) th>
  Error position: <BIS_fnc_invRemove);
if (_removed > 0) th>
  Error Undefined variable in expression: bis_fnc_invremove
File mpmissions\__CUR_MP.namalsk\ZSC\actions\trade_items.sqf, line 384
Error in expression <en {
 
Using my own fn_self and switchmodel , from your overpoch clothing script (made the necessary changes)
Link to comment
Share on other sites

Installed and working ok, 

Is there a way to increase the size of the amount of coins an item can hold as the maximum coins I can store is 200000 Ural only has 200 slots as does a safe. I see in ZSCconfig.sqf the ZSC_MaxMoneyInStorageMultiplier = 1000; if I increase this will it cause problems with coins saving and is this the way to increase the storage size?

 

 Great Script Thanks

MegaZ

Yes. Increase the number.

Link to comment
Share on other sites

im getting in client RPT log , trading is not working

 

_removed = ([player,_name,1] call BIS_fnc_invRemove);

if (_removed > 0) th>

  Error position: <BIS_fnc_invRemove);

if (_removed > 0) th>

  Error Undefined variable in expression: bis_fnc_invremove

File mpmissions\__CUR_MP.namalsk\ZSC\actions\trade_items.sqf, line 384

Error in expression <en {

 

Using my own fn_self and switchmodel , from your overpoch clothing script (made the necessary changes)

Strange that function is default kn arma/dayz

Link to comment
Share on other sites

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