Thug Posted December 27, 2014 Report Share Posted December 27, 2014 On 12/27/2014 at 2:14 PM, truongdatnhan said: My players say to me that they send money to safe & cars.... every holding money and after restart the money disappear I had that problem and this is how i fixed it. OK, after a good night sleep and a clear head and the help from calamity . I DID IT. I got it to work. The problem was in the server_updateObject.sqf, there was two places that had the following. FIRST ONE ON about LINE 66 AND SECOND ONE ON about LINE 193 _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; if you would look in Zupa's server side pbo and compare your server_updateObject.sqf to his, you will see where it goes Link to comment Share on other sites More sharing options...
N4mEL3sS Posted December 28, 2014 Report Share Posted December 28, 2014 Hey guys, i need help. in vaults there are 200 magazine places, so there can be 200000 coins but i want 2 MIO but if I change this i have the problem with the horrible number. something like that: 1.3E135314 How i can fix that? For example that there is the number 2000000 or the symbol for 2 MIO for example "2 Million". My other question, i have installed the WAI and the DZMS Missions Scripts and I want that they can hold Coins so you can loot them. How i can do that? Ps: sorry for my bad english. i'm german Link to comment Share on other sites More sharing options...
TNT Posted December 28, 2014 Report Share Posted December 28, 2014 (edited) On 12/27/2014 at 9:54 AM, Nemaconz said: Got this all working no problem except for the refuel/rearm scripts. I tried using this fix: http://pastebin.com/FnUu7X4Efrom Kat on this post: but it's a no go. The price is changed to coins in the scroll menu but when I go to use it I keep getting the old "Missing 2000 more of" or "Missing 10000 of". Is there something else you have to do to get this going since it is not the custom dll? i have not looked at the code for the script , but if he did this for sc 1.0 - 2.0 most likely its not going to work , since the way the coins are stored are not alike , some one might have to edit this script to work with the new coin system , i will try to edit the script if its possible =P dont hold ur breath lol EDIT: after testing i was able to see that it did work =P ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// On 12/27/2014 at 7:40 AM, ElDubya said: If I asked nicely, would you share your altered traders file? :) Reveal hidden contents //Ground Traders //Scratten Gun _unit_1722 = objNull; if (true) then { _this = createAgent ["Secretary4", [12429.3,5060.1,0.147507], [], 0, "CAN_COLLIDE"]; _unit_1722 = _this; _this setDir 250; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //Scratten ammo _unit_1723 = objNull; if (true) then { _this = createAgent ["ValentinaFit", [12426.8,5055.92,0.180984], [], 0, "CAN_COLLIDE"]; _unit_1723 = _this; _this setDir 300; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //Scratten Black market _unit_1724 = objNull; if (true) then { _this = createAgent ["Hooker2", [12405.2,5043.88,0.888031], [], 0, "CAN_COLLIDE"]; _unit_1724 = _this; _this setDir 35; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //lazzeern //Lazzern gun _unit_1725 = objNull; if (true) then { _this = createAgent ["secretary3", [8252.61,15494.5,0.2515], [], 0, "CAN_COLLIDE"]; _unit_1725 = _this; _this setDir 230; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //Lazzern ammo _unit_1726 = objNull; if (true) then { _this = createAgent ["Damsel2", [8258.55,15488.2,0.2515], [], 0, "CAN_COLLIDE"]; _unit_1726 = _this; _this setDir 230; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //emmen BlackMarket _unit_1727 = objNull; if (true) then { _this = createAgent ["Hooker2", [15522,13241.9,0.00137949], [], 0, "CAN_COLLIDE"]; _unit_1727 = _this; _this setDir 230; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; remove the black market traders if u want , i added them to every trader city , also all my traders on my server are girls =P so change that to what ever matches ur server add this to the bottem of missions sqf before "processInitCommands;" and check _unit numbers make sure there not matching to any in your file , as well as removing the old traders that are off ground , hope this helps a bit (yes trader citys are spell wrong who cares =P) Edited December 28, 2014 by TNT ElDubya 1 Link to comment Share on other sites More sharing options...
truongdatnhan Posted December 28, 2014 Report Share Posted December 28, 2014 Does i need to add convert.sql to my database Link to comment Share on other sites More sharing options...
Nemaconz Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 3:54 AM, TNT said: i have not looked at the code for the script , but if he did this for sc 1.0 - 2.0 most likely its not going to work , since the way the coins are stored are not alike , some one might have to edit this script to work with the new coin system , i will try to edit the script if its possible =P dont hold ur breath lol ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Reveal hidden contents //Ground Traders //Scratten Gun _unit_1722 = objNull; if (true) then { _this = createAgent ["Secretary4", [12429.3,5060.1,0.147507], [], 0, "CAN_COLLIDE"]; _unit_1722 = _this; _this setDir 250; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //Scratten ammo _unit_1723 = objNull; if (true) then { _this = createAgent ["ValentinaFit", [12426.8,5055.92,0.180984], [], 0, "CAN_COLLIDE"]; _unit_1723 = _this; _this setDir 300; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //Scratten Black market _unit_1724 = objNull; if (true) then { _this = createAgent ["Hooker2", [12405.2,5043.88,0.888031], [], 0, "CAN_COLLIDE"]; _unit_1724 = _this; _this setDir 35; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //lazzeern //Lazzern gun _unit_1725 = objNull; if (true) then { _this = createAgent ["secretary3", [8252.61,15494.5,0.2515], [], 0, "CAN_COLLIDE"]; _unit_1725 = _this; _this setDir 230; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //Lazzern ammo _unit_1726 = objNull; if (true) then { _this = createAgent ["Damsel2", [8258.55,15488.2,0.2515], [], 0, "CAN_COLLIDE"]; _unit_1726 = _this; _this setDir 230; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; //emmen BlackMarket _unit_1727 = objNull; if (true) then { _this = createAgent ["Hooker2", [15522,13241.9,0.00137949], [], 0, "CAN_COLLIDE"]; _unit_1727 = _this; _this setDir 230; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; remove the black market traders if u want , i added them to every trader city , also all my traders on my server are girls =P so change that to what ever matches ur server add this to the bottem of missions sqf before "processInitCommands;" and check _unit numbers make sure there not matching to any in your file , as well as removing the old traders that are off ground , hope this helps a bit (yes trader citys are spell wrong who cares =P) I'll take any help I can get brother, I figured due to the fact the fix I asked about was for the earlier versions that it would not work with this version. Basically I'm hoping someone figures it out lol because I have no experience editing the single currency mod and was hoping not to spend several days trying to figure it out. Link to comment Share on other sites More sharing options...
RedSwag Posted December 28, 2014 Report Share Posted December 28, 2014 Hey can someone help out? I installed this script and for some reason the value for the amount of coins on the right side of the screen say "any" and I get this error in my RPT: 18:06:30 Error Undefined variable in expression: money 18:06:30 File mpmissions\__cur_mp.chernarus\ZSC\compiles\playerHud.sqf, line 8 18:06:32 Error in expression <='right' image='ZSC\gui\Money.paa'/>", [Money] call BIS_fnc_numberText]; Thanks in advance! Link to comment Share on other sites More sharing options...
ewindawe81 Posted December 28, 2014 Report Share Posted December 28, 2014 Anyone got this working on DayZ Overpoch Origins yet ?? Link to comment Share on other sites More sharing options...
Thug Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 12:32 PM, ewindawe81 said: Anyone got this working on DayZ Overpoch Origins yet ?? I have it on three of them, the first one well what a bear that was. The other two were so easy. Like me many people over think this. For Origins is no different then any other mod. But what is your problem? Link to comment Share on other sites More sharing options...
calamity Posted December 28, 2014 Report Share Posted December 28, 2014 I finally added this to my public server. ran it on my test server when it was first released but never really tried any other script fixes like to get service points working etc.... will single currency script fixes work with this ? like some of these fixes Link to comment Share on other sites More sharing options...
Thug Posted December 28, 2014 Report Share Posted December 28, 2014 I do want to thank you Zupa for all the work you put into Epoch and also having to putting up with people like me that ask question after question. I will say with help for you and calamity, I just put this script on my Napf Overpoch Origins the other day in less them 5 minutes and the same on my Panthera map. Link to comment Share on other sites More sharing options...
calamity Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 2:18 PM, Thug said: I do want to thank you Zupa for all the work you put into Epoch and also having to putting up with people like me that ask question after question. I will say with help for you and calamity, I just put this script on my Napf Overpoch Origins the other day in less them 5 minutes and the same on my Panthera map. I'm glad I was of some help to you... so have you used any of the script fixes like for service points or evac do any or all of the fixes listed here for other scripts work with this version ??? I just want to know before I attempt to fix most of my added scripts to work with this version if SC 3.0 Link to comment Share on other sites More sharing options...
Thug Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 2:11 PM, calamity said: I finally added this to my public server. ran it on my test server when it was first released but never really tried any other script fixes like to get service points working etc.... will single currency script fixes work with this ? like some of these fixes I got my server points to work with coin and also the vending machines, you know the ones that sell the BEER. LOL btw thank you for the links. Link to comment Share on other sites More sharing options...
Thug Posted December 28, 2014 Report Share Posted December 28, 2014 Here is a copy of my NAPF server_traders_napf_24.sqf that I reworked if anyone wants to use it. Reveal hidden contents // DayZ Epoch TRADERS for 17 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"]; /* 101 477, 478, 479, 493, 496, 497, 498 508, 509, 510, 512, 517, 519, 520, 526, 527, 529, 534, 562, 569, 575, 577, 579, 580, 586, 587, 588, 589, 590, 591, 598 609, 610, 611, 612, 613, 614, 627, 636, 637, 638, 640, 641, 642, 672, 673, 674, 669, 670, 671, 674 700 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016 */ // Hero Vendor SOUTH WEST AIRFIELD menu_Tanny_PMC = [ [["Ammunition",478],["Clothes",575],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477],["Money",700]], [], "hero" ]; // Bandit Trader CENTER OF MAP menu_RUS_Soldier2 = [ [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627],["Money",700]], [], "hostile" ]; /*LENZBURG*/ // General Store Lenzburg 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 Lenzburg 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",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 Lenzburg 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" ]; // Building/Parts Lenzburg menu_GUE_Woodlander2 = [ [["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]], [], "neutral" ]; // Vehicles Lenzburg 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 SP-Car",1015],["Overwatch S-Car",1016]], [], "neutral" ]; // Medical Supplies Lenzburg 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" ]; // Black Market Trader Lenzburg menu_Soldier_GL_PMC = [ [["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]], [], "neutral" ]; /*SCHRATTEN*/ // General Store SCHRATTEN 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" ]; // Weapons SCHRATTEN menu_US_Delta_Force_AR_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 HK416",1008],["Overwatch DMR",1010],["Overwatch ACR",1005]], [], "neutral" ]; // Ammunition SCHRATTEN menu_Graves = [ [["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" ]; // Building/Parts SCHRATTEN menu_GUE_Villager3 = [ [["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]], [], "neutral" ]; // Vehicles SCHRATTEN menu_GUE_Commander = [ [["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" ]; // Medical Supplies SCHRATTEN 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" ]; /*EMMEN*/ // General Store EMMEN menu_Damsel5 = [ [["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 EMMEN 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",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 EMMEN 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" ]; // Building/Parts EMMEN menu_Ins_Woodlander3 = [ [["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509],["Money",700]], [], "neutral" ]; // Vehicles EMMEN 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 SP-Car",1015],["Overwatch S-Car",1016]], [], "neutral" ]; // Medical Supplies EMMEN 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" ]; // North Wholesaler menu_RUS_Commander = [ [["Wholesale",636]], [], "neutral" ]; // West Wholesaler menu_TK_Special_Forces_MG_EP1 = [ [["Wholesale",636]], [], "neutral" ]; // Aircraft Trader menu_Drake_Light = [ [["Airplanes",517],["Helicopter Unarmed",519],["Overwatch Camel",1014]], [], "neutral" ]; // Nordic Boats North Trader menu_TK_Special_Forces_EP1 = [ [["Boats Armed",673],["Boats Unarmed",672]], [], "neutral" ]; // Paul's Boats SE Trader menu_Ins_Woodlander2 = [ [["Boats Armed",673],["Boats Unarmed",672]], [], "neutral" ]; Link to comment Share on other sites More sharing options...
Thug Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 2:33 PM, calamity said: I'm glad I was of some help to you... so have you used any of the script fixes like for service points or evac do any or all of the fixes listed here for other scripts work with this version ??? I just want to know before I attempt to fix most of my added scripts to work with this version if SC 3.0 I used this link to get my refuel to work with coin: Where it says: You can find Service Points files on github here: Replace your old files with these. https://github.com/E.../ServicePointSC I just downloaded that and changed out the folder I did check to see it the coins were being taken and they are. ;) Link to comment Share on other sites More sharing options...
Thug Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 3:14 AM, N4mEL3sS said: Hey guys, i need help. in vaults there are 200 magazine places, so there can be 200000 coins but i want 2 MIO but if I change this i have the problem with the horrible number. something like that: 1.3E135314 How i can fix that? For example that there is the number 2000000 or the symbol for 2 MIO for example "2 Million". My other question, i have installed the WAI and the DZMS Missions Scripts and I want that they can hold Coins so you can loot them. How i can do that? Ps: sorry for my bad english. i'm german Expand This is talked about starting on 159 but here is the one i used, i will copy and paste. megaz, on 03 Dec 2014 - 11:36 AM, said: On 12/3/2014 at 4:36 PM, megaz said: The errors are when you open an item or vehicle it does not show the correct amount that said item can hold it shows 2e+006 ect ie Ural - Safes - Chopers any thing that with the 10000 added in the ZSC_MaxMoneyInStorageMultiplie that goes over the 6 digits seen to have this error. I hope this is what you are asking for. Expand In ZSC\gold\ZSCinit.sqf find this line: _sizeOfMoney = _vehicleMagazines * ZSC_MaxMoneyInStorageMultiplier; Replace with: _sizeOfMoneyN = _vehicleMagazines * ZSC_MaxMoneyInStorageMultiplier; _sizeOfMoney = [_sizeOfMoneyN] call BIS_fnc_numberText; ElDubya 1 Link to comment Share on other sites More sharing options...
TNT Posted December 28, 2014 Report Share Posted December 28, 2014 On 12/28/2014 at 5:33 AM, Nemaconz said: I'll take any help I can get brother, I figured due to the fact the fix I asked about was for the earlier versions that it would not work with this version. Basically I'm hoping someone figures it out lol because I have no experience editing the single currency mod and was hoping not to spend several days trying to figure it out. it does work =P my bad Link to comment Share on other sites More sharing options...
Nemaconz Posted December 28, 2014 Report Share Posted December 28, 2014 Ok this has also jacked up my plot for life (RimBlock's), players can die on the server and come back to their plot and do everything just fine, but after a restart the plotpole no longer recognizes them. Anyone else have this issue? No errors in the logs. May have to switch to Zupa's plot mod as I bet he probably made sure this was compatible with his own mods. Link to comment Share on other sites More sharing options...
TNT Posted December 29, 2014 Report Share Posted December 29, 2014 On 12/28/2014 at 11:48 PM, Nemaconz said: Ok this has also jacked up my plot for life (RimBlock's), players can die on the server and come back to their plot and do everything just fine, but after a restart the plotpole no longer recognizes them. Anyone else have this issue? No errors in the logs. May have to switch to Zupa's plot mod as I bet he probably made sure this was compatible with his own mods. i have SC 3.0, plot for life & zupas plot mod installed on my server with no issue. my guess is u over wrote some files while updating the files. i would check player build.sqf Link to comment Share on other sites More sharing options...
Nemaconz Posted December 29, 2014 Report Share Posted December 29, 2014 On 12/29/2014 at 12:21 AM, TNT said: i have SC 3.0, plot for life & zupas plot mod installed on my server with no issue. my guess is u over wrote some files while updating the files. i would check player build.sqf I bet you're right, I've been re-tracing the install, looking at the usual suspects first, the server monitor and selfactions. I'll look at player build now, thanks! EDIT: Wait, this mod does not touch the player_build.sqf, maybe it has something to do with playersync.sqf Link to comment Share on other sites More sharing options...
Nemaconz Posted December 29, 2014 Report Share Posted December 29, 2014 Nevermind I'm an idiot, I personally modified all of the files like it was explained but then failed to remove the ZSC version of the files out of the ZSC compiles. Link to comment Share on other sites More sharing options...
ElDubya Posted December 29, 2014 Report Share Posted December 29, 2014 I have a new issue (well, for me anyway.) Everything is working PERFECTLY for me. I have installed the large amount of money fix shared above, and it worked awesomely. I put 200,000 coins in both a safe and a ural for further testing. It all passed. Then I installed R3F Tow and Lift and this happened to my balance figures : It changed on the right hand side from saying 200,000 to 200. I went and checked on my Ural as well, and it came back with the same. Same deal here. So I went back and changed the value of the multiplier from 1000 to 10,000 thinking that might fix it, but instead got this : The only thing I changed between this running and behaving perfectly is R3F Tow. It uses a description.ext modifier as well, around the same place as Zupa's Coins one. class CA_Progress : RscProgress // progress bar, has to have idc 104 { idc = 104; type = 8; // CT_PROGRESS style = 0; // ST_SINGLE texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; }; class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse { idc = 103; }; class Name2: RscText // the text on the top-left { idc = 101; x = 0.05; y = 0.029412; w = 0.9; h = 0.04902; text = ""; sizeEx = 0.05; colorText[] = {0.543,0.5742,0.4102,1.0}; }; }; }; #include "dzgm\defines.hpp" class RscTitles { #include "ZSC\config\ZSChud.hpp" #include "dzgm\icons.hpp" #include "R3F_ARTY_AND_LOG\desc_rsct_include.h" }; #include "custom\snap_pro\snappoints.hpp" #include "custom\fixes\extra_rc.hpp" #include "dzgm\groupManagement.hpp" #include "ZSC\config\ZSCdefines.hpp" #include "ZSC\config\ZSCdialogs.hpp" #include "R3F_ARTY_AND_LOG\desc_include.h" // Towing Load In Would the order I have them in or the placement be affecting this? Link to comment Share on other sites More sharing options...
TNT Posted December 29, 2014 Report Share Posted December 29, 2014 Found a bug that gives coins with little work , it needs fixing and i have idea how, i will pm zupa about this and try to see what i can do , if your a server admin PM me for more info Link to comment Share on other sites More sharing options...
truongdatnhan Posted December 29, 2014 Report Share Posted December 29, 2014 Why news coin currency limit at 5 line stats :( Any know how to add more line on the limit ? Sorry if my english so bad Link to comment Share on other sites More sharing options...
ElDubya Posted December 29, 2014 Report Share Posted December 29, 2014 On 12/28/2014 at 3:23 PM, Thug said: This is talked about starting on 159 but here is the one i used, i will copy and paste. megaz, on 03 Dec 2014 - 11:36 AM, said: In ZSC\gold\ZSCinit.sqf find this line: _sizeOfMoney = _vehicleMagazines * ZSC_MaxMoneyInStorageMultiplier; Replace with: _sizeOfMoneyN = _vehicleMagazines * ZSC_MaxMoneyInStorageMultiplier; _sizeOfMoney = [_sizeOfMoneyN] call BIS_fnc_numberText; Expand Ok, this is what broke the script for me. See above pictures. Any other workarounds to display larger amounts of money? Link to comment Share on other sites More sharing options...
RedSwag Posted December 29, 2014 Report Share Posted December 29, 2014 Hey can someone help out? I installed this script and for some reason the value for the amount of coins on the right side of the screen say "any" and I get this error in my RPT: 18:06:30 Error Undefined variable in expression: money 18:06:30 File mpmissions\__cur_mp.chernarus\ZSC\compiles\playerHud.sqf, line 8 18:06:32 Error in expression <='right' image='ZSC\gui\Money.paa'/>", [Money] call BIS_fnc_numberText]; Link to comment Share on other sites More sharing options...
Recommended Posts