Jump to content

Search the Community

Showing results for tags 'gold'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 15 results

  1. my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
  2. Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking). AKA: ZSC RELEASE 1: INDEPENDENT RELEASE ( No converting script yet to convert old SC money to this version). REQUEST: If someone is good with MYSQL can he complete the qyuery on the bottom of this post? ^^ limited time here ^^. What is it? This script replaces gold,silver,tin,copper,briefcases by 1 virtual currency with a configurable name. You can buy,sell, give, receive, take (from dead bodies) and STORE this money like it was a normal inventory item. ( It will work with a different dialog then your gear dialog.) No more smelting gold into silver or anything related to that. Everything is in one currency ( For example "ZupasticiumCoins"). Features. Store Money in storage objects and vehicles ( max money in 1 storage depends on the size). No global access to your money. Anyone can take the money out ( for vault/lockbox it must be open of course). Trade with this currency for cars/items. Give money to other players. NO inventory issues with gold! Whats the difference with your other single currency scripts? You can use the default hive! No global bank! Back to normal epoch danger to lose cash! Cleaned up code Very low changes to default saving system. (DB friendly) NO database changes needed. NO ATMs, Safezones, atms in trader whatsoever... Store money in vehicles. Technical data: Storage money is saved in the gear section of the object in the Database Player Money is added to gear section of the player in the Database ( Again thanks to maca for pointing this out for me). Extra This build will have all of the fixes on errors out there ( Build on peterbeers all in on packages with the bugfixes). Reworked the transfering money between players to be sure trade goes to the right object/player. Store money in vehicles Credits Maca - Original private single currency. Peterbeer - for putting all fixes together in 1 pack. Soul - Hives modifications and code changes for it. ( not applied on this script, jsut credited for hard work). Rocu - Great help on forums and fixes. DraftKid - Testing and screenshots Please report bugs so I can solve them! The config located IN ZSC/gold/ZSCconfig.sqf /* Single Currency 3.0 uses storages to store money which can be accessed by anyone if open of course (safe,lockbox). Each storage has his own money, so no global access. */ // Name of your currency CurrencyName = "Coins"; // Objects that can hold money. Vehicles are added automaticly. Size of money capacity is depended on ammount of magazines the object can hold. ZSC_MoneyStorage = ["VaultStorage","LockboxStorage","StorageShed_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","GunRack_DZ","WoodCrate_DZ","TentStorage","TentStorageDomed","TentStorageDomed2"]; // Multiplier how much money an object can hold. This number X ammount of magazines it can hold. ( so URAL -> 500 items * 1000 = 5 MIL cash). ZSC_MaxMoneyInStorageMultiplier = 1000; // (True = No Animation / False = Animation) InstantTrading = false; // If TRUE: overwrite yours player_switchmodel with mine. | IF False: Change content yourself @ step D ZSC_Overwrite_SwitchModel = true; // if TRUE: Overwrites yours fn_selfactions with default 1 + edits. | IF False: Change content yourself @ step D ZSC_Overwrite_SelfActions = true; // if TRUE: Overwrites yours fn_selfactions with default 1 + edits. | IF False: Change content yourself @ step D ZSC_Overwrite_UnLockVault = true; // if TRUE: Overwrites yours fn_selfactions with default 1 + edits. | IF False: Change content yourself @ step D ZSC_Overwrite_LockVault = true; /* IF YOU USE different mods like P4L it's recommended to do changes yourself or it wont work */ There are pbo's provided for cherno 11. Or follow the installation instructions https://github.com/EpochSC/SingleCurrencyStorage Installation instructions. ( TRIED TO KEEP IT NOOB FRIENDLY ^^) If u are going to use the full pbo?! The missions.sqm is build for OVERPOCH. Delete the overwatch addons if you are just using it for Epoch. MISSION PBO A ) In your init.sqf: A 1) You must have /*ZSC*/ DZE_ConfigTrader = true; /*ZSC*/ in the top section ( for example right above "EpochEvents"); Place if you do not have it yet. ZSC requires Config traders, It will also help your server reduce lag! A 2) PLACE /*ZSC*/ call compile preprocessFileLineNumbers "ZSC\gold\ZSCinit.sqf"; /*ZSC*/ ABOVE progressLoadingScreen 0.5; A 3) PLACE execVM "ZSC\compiles\playerHud.sqf"; RIGHT UNDER _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; A 4 ) Change call compile preprocessFileLineNumbers "server_traders.sqf"; to call compile preprocessFileLineNumbers "server_traders_cherno_11.sqf"; ON THE BOTTOM OF THIS TOPIC THERE WILL BE AN EXPLANATION FOR OTHER MAPS / INSTANCES. A 5 ) MAKE SURE _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf"; this line is custom and doesnt have dayz_code in it. It should point at dayz_server or if u use another script to where ever that places it. B ) In your description.ext B 1) Place #include "ZSC\config\cfgServerTrader.hpp" on the complete top. B 2 ) Add if you do not have a RscTitles yet! class RscTitles { #include "ZSC\config\ZSChud.hpp" }; at the bottom. IF U ALREADY HAVE IT just add #include "ZSC\config\ZSChud.hpp" behind whatever is in there. B 3 ) JUST ADD AT THE COMPLETE BOTTOM #include "ZSC\config\ZSCdefines.hpp" #include "ZSC\config\ZSCdialogs.hpp" B 4 ) If you come from another currency, u can remove the shit that was extra added in that one :). C ) COPY FILES C 1 ) Place the ZSC folder in your mission pbo ( take it out of the github's missions pbo). C 2 ) Place server_traders_cherno_11.sqf in your missions pbo. ( If other map/instance check bottom of the topic.). D ) fn_selfactions ( IF you use my overwrite, u do not have to to this step. D 1 )PLACE if(_typeOfCursorTarget in ZSC_MoneyStorage && (player distance _cursorTarget < 5)) then { if (s_bank_dialog < 0) then { s_bank_dialog = player addAction ["Money Storage", "ZSC\actions\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_bank_dialog; s_bank_dialog = -1; }; // cars if( _isVehicle && !_isMan &&_isAlive && !_isMan && !locked _cursorTarget && !(_cursorTarget isKindOf "Bicycle") && (player distance _cursorTarget < 5)) then { if (s_bank_dialog2 < 0) then { s_bank_dialog2 = player addAction ["Money Storage", "ZSC\actions\bank_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_bank_dialog2; s_bank_dialog2 = -1; }; AFTER } else { {player removeAction _x} count s_player_combi;s_player_combi = []; s_player_unlockvault = -1; }; D 2 ) if (_isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then { if (s_givemoney_dialog < 0) then { s_givemoney_dialog = player addAction [format["Give Money to %1", (name _cursorTarget)], "ZSC\actions\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_givemoney_dialog; s_givemoney_dialog = -1; }; ABOVE if(_typeOfCursorTarget in dayz_fuelpumparray) then { D 3 ) CHANGE if (_player_studybody) then { if (s_player_studybody < 0) then { s_player_studybody = player addAction [localize "str_action_studybody", "\z\addons\dayz_code\actions\study_body.sqf",_cursorTarget, 0, false, true, "",""]; }; } else { player removeAction s_player_studybody; s_player_studybody = -1; }; INTO if (_player_studybody) then { if (s_player_studybody < 0) then { s_player_studybody = player addAction [("<t color=""#FF0000"">"+("Check Wallet") + "</t>"), "ZSC\actions\check_wallet.sqf",_cursorTarget, 0, false, true, "",""]; }; } else { player removeAction s_player_studybody; s_player_studybody = -1; }; D 4 ) ADD player removeAction s_givemoney_dialog; s_givemoney_dialog = -1; player removeAction s_bank_dialog; s_bank_dialog = -1; player removeAction s_bank_dialog2; s_bank_dialog2 = -1; BEHIND player removeAction s_player_towing; s_player_towing = -1; player removeAction s_player_fuelauto; s_player_fuelauto = -1; player removeAction s_player_fuelauto2; s_player_fuelauto2 = -1; D 5 ) TO remove the client side errors u getting add in your VARIABLES.SQF s_givemoney_dialog = -1; s_bank_dialog = -1; s_bank_dialog2 = -1; TO dayz_resetSelfActions = { E ) player_switchModel.sqf again, if u overwriten with mine in first step, u can skip. E 1 ) add _cashMoney = player getVariable["cashMoney",0]; behind _weapons = weapons player; _countMags = call player_countMagazines; _magazines = _countMags select 0; E 2 ) Add player setVariable ["cashMoney",_cashMoney,true]; on the BOTTOM E 3 ) CHANGE //Create New Character _group = createGroup west; _newUnit = _group createUnit [_class,dayz_spawnPos,[],0,"NONE"]; _newUnit setPosATL _position; _newUnit setDir _dir; into _group = createGroup west; _newUnit = _group createUnit [_class,dayz_spawnPos,[],0,"NONE"]; [_newUnit] joinSilent createGroup WEST; _newUnit setPosATL _position; _newUnit setDir _dir; _newUnit setVariable ["cashMoney",_cashMoney,true]; F) You can use my unclockVault in ZSCinit, If u got a custom one, do the following changes: F1) place _objMoney = _obj getVariable["bankMoney",0]; behind _dir = direction _obj; _pos = _obj getVariable["OEMPos",(getposATL _obj)]; _objectID = _obj getVariable["ObjectID","0"]; _objectUID = _obj getVariable["ObjectUID","0"]; F 2) place _holder setVariable ["bankMoney", _objMoney, true]; behind _holder setVariable["CharacterID",_ownerID,true]; _holder setVariable["ObjectID",_objectID,true]; _holder setVariable["ObjectUID",_objectUID,true]; _holder setVariable ["OEMPos", _pos, true]; E) in LockVault.sqf if u got a custom one, otherwise use mine and set true in config: E1 ) place) _objMoney = _obj getVariable["bankMoney",0]; behind _ownerID = _obj getVariable["CharacterID","0"]; _objectID = _obj getVariable["ObjectID","0"]; _objectUID = _obj getVariable["ObjectUID","0"]; E2 ) place _holder setVariable ["bankMoney", _objMoney, true]; behind _holder setVariable["CharacterID",_ownerID,true]; _holder setVariable["ObjectID",_objectID,true]; _holder setVariable["ObjectUID",_objectUID,true]; _holder setVariable ["OEMPos", _pos, true]; SERVER PBO A ) REPLACE your "compiles/server_tradeObject.sqf" With my one ( not other script uses that anyways). B ) IN compiles/server_updateObject.sqf Change _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object ]; into _inventory = [ getWeaponCargo _object, getMagazineCargo _object, getBackpackCargo _object /*ZSC*/ , _object getVariable["bankMoney",0] /*ZSC*/ ]; C ) In your server_monitor.sqf ( NOTE: the " _intentory' variable can be called "_inventory" at your files, so change my code to that, if it's the case). Add /*ZSC*/ if( count (_intentory) > 3)then{ _object setVariable ["bankMoney", _intentory select 3, true]; }else{ _object setVariable ["bankMoney", 0, true]; }; /*ZSC*/ ABOVE if (_type in DZE_LockedStorage) then { // Fill variables with loot _object setVariable ["WeaponCargo", (_intentory select 0),true]; _object setVariable ["MagazineCargo", (_intentory select 1),true]; _object setVariable ["BackpackCargo", (_intentory select 2),true]; } else { D) in compiles/server_playerSync.sqf Change _playerGear = [weapons _character,_magazines]; into _playerGear = [weapons _character,_magazines, _character getVariable["cashMoney",0]]; NOTE: in the gold init i use a custom gearSet.sqf If u would have a custom one, it's defined in the ZSCinit.sqf. Only differnecy will be the top where it checks for the money in your gear sections. FAQ! I use a different instance/map to play one! What do i do? The only things that difference between maps where u need to worrie about is the server_traders.sqf. I included them for 4 maps, if your map is NOT in there u will have to change your original one. FAIR SIMPLE: 1) Take your original server_traders 2) Open one of mine 3) Copy my categories with the correct numbes to your traders. You can choose also which traders sells what then ^^. 4) Share your file to me so i can put it in the list Does it work with Overpoch(ins). Simple: Yes, Everything with epoch as base. Overwatch items or included in traders, remove the categories if you do not use them. Can i convert from the older system? You will have to revert your database to the default structure and maybe transfer money. Banks added to the players cash is the best solution. How do i see my money and bank? 1 - Bank will not be visible cus their is none. You store money in storages like other items ( but in a different dialog). So the money can be accessed by anyone that has access to that storage. 2- Money is visisble with a money icon on the right side of the screen. Feel free to add it to other places aswell. This will return your money: player getVariable["cashMoney",0]; Can I use it with database traders? No, this build is made for config traders. No support (Yet). Screenshots I probably will code this inthe default epoch code and send a merge request to Epoch Devs with an option to do DZE_SingleCurrency = true/false; And if they accept it , it might be in 1.6 ^^
  3. SHORTCODE LEGEND: These shortcodes are used in the repo titles, this indicates what the specific repo is for. SC >>> SingleCurrency MC >>> MultiChar 999 >>> 998/999 custom query supported Custom HiveExt.dll and needed sqf files + sql query file available on: Variant 1:DayZ-Epoch_SCHiveExt Variant 2: Dayz-Epoch_SCMCHiveExt Variant 3: DayZ_epoch_SCMC999HiveExt Variant 4: DayZ_epoch_SC999HiveExt All 4 variants have the following in common. - New CHILD:298 >>> fetching player bank data, used while player joins server - New CHILD:299 >>> updates player bank data, used when banking. - New CHILD:104 >>> gets all adminuids + their adminlevel from the admin_data table. (can be used to restrict access to admin tools aswell as infiSTAR AH) - Updated CHILD: 101 >>> checks if player exists in banking_data table and adds ifnot or updates playername if change detected - Updated CHILD:102 >>> added selection of cashMoney field during retrieving survivor data on login. - Updated CHILD:201 >>> added element to handle players cashmoney during updates to database. What is in variant 1? Everything stated above. What is in variant 2? Added support for AxeCop's multi char mod. and everything that you have in variant 1. What is in variant 3? Added support for 999 database calls so you can do custom database queries and everything found in variant 1 & 2. Only use this variant is you really want to use 998/999 calls despite of the security risks attached to them. What is in variant 4? Added support for 999 database calls so you can do custom database queries and everything found in variant 1. Only use this variant is you really want to use 998/999 calls despite of the security risks attached to them. What else can i find on the github repo's? SCDBQuery.sql: Run this file on your database by dragging and dropping It will add the field "CashMoney" to the character_data table and it will create a new table called "banking_data" with fields "PlayerUID,"PlayerName","BankSaldo" SCDBQuery_TransferGoldCoins.sql: Only run this file if you had Zupa's first release installed and you have players that have goldcoins stored in the headshots field. It will grab the value from "HeadShots" and put it in "CashMoney" for each row in your "character_data" table. SCDBQuery_TransferGoldCoins2.sql: Only run this file if you had Zupa's first release installed and you have players that have goldcoins stored in the "morality" field? It will make db entries for all players in "player_data" in the "banking_data" table and add the corresponding values from the "morality" field into the "banksaldo" field. admin_data.sql: This file will add a table called "admin_data", this can be used in combination with infiSTAR AH or any other tool you need restricted access to. Intended for advanced users. Server folder: Contains all files that where modified from Zupa's v1.1 version Take care and use a diffmerge tool like BeyondCompare, better safe then sorry. Mission folder: Contains all files that where modified from Zupa's v1.1 version. Take care and use a diffmerge tool like BeyondCompare, better safe then sorry. BE filters: This needs to be added in the first line with !="" values inside the publicvarible.txt if using BE filters. Add it after the last !="" value. If using BE filters and you skip this step your players will get kicked for trying to send this PV to the server. !="PVDZE_bank_Save" Before installing: Always make backups of everything! Q&A: Q: Will support for AxeCops multi char mod be added in this hive? A: There is a 2nd version of the custom hiveext.dll that has support added for this mod. Q: Will there be 999 call support in this custom hiveext.dll A: There is a 3rd version of the custom hiveext.dll that has support for everything in version 1 & 2 and added support for 999 calls. Q: Does this hive have support vanilla epoch base maintenance? A: Yes it has the required funtionality as this hive was build of the last version released by VB[Awol] Q: Why are there 4 different variants of this custom hive? A: More flavours to choose from really. It enables you to either use or stay away from the unsafe 999 calls and still use this custom hive for single currency. Got any more question? Leave a post and i'll add them to the main post's Q&A section. Cheers Soul!
  4. We've been in the DayZ scene for a few years now, and would like to see YOU be a part of our community! IP: 81.19.211.146:3102 TS3: 85.236.100.85:14137
  5. Server Down - admin can delete this post
  6. "Adigo Ad Mortem Mine" I had a bit of time today so decided that I would make a mine for Chernarus. This is LARGE and has trees inside it. I know some of you wont like that but I find it can make it claustrophobic, so great for battles with AI of PVP. There are plenty of Gold, Silver and Iron Veins in the mine and also a crate with a few essentials. I have added a zombie trigger, but you could easily enough switch them out for AI if you wanted or use WAI missions to place them. If it is of use to you, enjoy! :) 1) Add the MIne.sqf and MineCrate.sqf as you would any other custom map addon.(Either server side or client - personally I use server.) 2) Edit your Mission.sqm file to add the sensor and marker. (Remember you will need to edit the classitems accordingly and also the address in the sensor script, directing it to where you have the MineZombieSpawn.sqf.) Images and Location Mine SQF Mine Crate If you guys would like Zombies to spawn then use this Sensor.(Remember to change your class item numbers) Sensor The sensor will trigger this; Mine Zombie Spawn SQF And if you would like to have a marker add this.(Remember again to edit the Class Items numbers.) Marker If you have any issues or would like a more detailed installation then let me know ~ iCEtIMed
  7. WARNING ** THIS REPLACES THE HUMANITY SYSTEM Mod Features: Allows the player to have access to their money all the time. Bank is tied to the player via the humanity system and survives character death. Auto Deposit bars/brief cases on every sale or purchase Player can access balance, deposit and withdraw via player tool menu. If a player goes to a negative balance displaying the balance, withdraw or deposit will restore them to zero balance. Known Issues: First time character creation start the player with 2500 humanity which equates to 25gb. Any event that modifies humanity will effect the bank balance (usally in a minor way silve bars in most cases) Thank you too iSaeko for making this video for me. 1. Download the addon from my github by clicking on this link. (Contains a vanilla epoch chernarus mission.pbo example file). 2. On the lower left corner click on the button "Download Zip" 3 Create a directory called dayz_code and mission_pbo 4. Take your mission.pbo file and extract it into the mission_pbo directory 5. Unzip the zip file you download from my github and move the custom directory into your mission_pbo directory. 6. Copy C:\Program Files (x86)\Steam\SteamApps\common\ARMA 2 Operation Arrowhead\@DayZ_Epoch\addons\dayz_code.pbo into this new direttory (path may vary based on steam installation). 7. Extract the dayz_code.pbo into the dayz_code directory you created. 8. if you do not already have a fixes directory create one. 9. If you do not already have a custom compile then follow these steps other wise you can skip this step. copy dayz_code/init/compiles.sqf mission_pbo/fixes/compules.sqf 10. Copy dayz_code/compile/epoch_returnChange.sqf mission_pbo/fixes/epoch_returnChange.sqf 11. Edit your init.sqf file and make the following modifications: from: //Load in compiled functions to: // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ PDZE_PiggdBankSystem = true; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ //Load in compiled functions from: call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions to: // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions call compile preprocessFileLineNumbers "fixes\compiles.sqf"; //Compile regular functions // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From: //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; ** NOTE - If you are using this entry will already exist with a different comment. to: //Lights //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // Activate Player Menu for Tools [] execVM "custom\playertools\activate_player_menu.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ }; 12. Edit your fixes\compiles.sqf file and make the following modifications: From: epoch_totalCurrency = { // total currency _total_currency = 0; { _part = (configFile >> "CfgMagazines" >> _x); _worth = (_part >> "worth"); if isNumber (_worth) then { _total_currency = _total_currency + getNumber(_worth); }; } count (magazines player); _total_currency }; epoch_itemCost = { _trade_total = 0; { _part_in_configClass = configFile >> "CfgMagazines" >> (_x select 0); if (isClass (_part_in_configClass)) then { _part_inWorth = (_part_in_configClass >> "worth"); if isNumber (_part_inWorth) then { _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1)); }; }; } count _this; //diag_log format["DEBUG TRADER ITEMCOST: %1", _this]; _trade_total }; epoch_returnChange = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf"; // usage [["partinclassname",4]] call epoch_returnChange; to: epoch_totalCurrency = { // total currency _total_currency = 0; { _part = (configFile >> "CfgMagazines" >> _x); _worth = (_part >> "worth"); if isNumber (_worth) then { _total_currency = _total_currency + getNumber(_worth); }; } count (magazines player); // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ if(PDZE_PiggdBankSystem) then { _humanity = player getVariable["humanity",0]; _total_currency = _total_currency + _humanity; }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ _total_currency }; epoch_itemCost = { _trade_total = 0; { _part_in_configClass = configFile >> "CfgMagazines" >> (_x select 0); if (isClass (_part_in_configClass)) then { _part_inWorth = (_part_in_configClass >> "worth"); if isNumber (_part_inWorth) then { _trade_total = _trade_total + (getNumber(_part_inWorth) * (_x select 1)); }; }; } count _this; //diag_log format["DEBUG TRADER ITEMCOST: %1", _this]; _trade_total }; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // epoch_returnChange = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\epoch_returnChange.sqf"; epoch_returnChange = compile preprocessFileLineNumbers "fixes\epoch_returnChange.sqf"; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ // usage [["partinclassname",4]] call epoch_returnChange; 13. Edit fixes/epoch_returnChange.sqf From: //diag_log format["DEBUG TRADER CHANGE: %1", _return_change]; if (_return_change >= 0) then { // total currency to: // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ if (_return_change >= 0 and !PDZE_PiggdBankSystem) then { // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ From: if (_silver_1oz > 0) then { if (_silver_1oz == 1) then { player addMagazine "ItemSilverBar"; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; } else { player addMagazine format["ItemSilverBar%1oz",_silver_1oz]; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; }; }; _successful = true; }; }; _successful to: if (_silver_1oz > 0) then { if (_silver_1oz == 1) then { player addMagazine "ItemSilverBar"; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; } else { player addMagazine format["ItemSilverBar%1oz",_silver_1oz]; //diag_log format["DEBUG TRADER CHANG MADE: %1 x %2", _silver_1oz, "ItemSilverBar"]; }; }; _successful = true; // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ } else { if (PDZE_PiggdBankSystem) then { _total_currency_dry = player getVariable["humanity",0]; _total_currency_dry = _total_currency_dry + _return_change; player setVariable["humanity",_total_currency_dry,true]; _successful = true; }; // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ }; }; _successful 14. Edit server_traders.sqf From: menu_RU_Functionary1 = [ [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]], [], "hero" ]; to: menu_RU_Functionary1 = [ [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]], [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // "hero" "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; from: menu_GUE_Soldier_MG = [ [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]], [], "hostile" ]; to: menu_GUE_Soldier_MG = [ [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]], [], // ------------------------------------------------------------------------DZE Piggd Banking System Start ------------------------------------------------------------------------ // "hostile" "neutral" // ------------------------------------------------------------------------DZE Piggd Banking System End ------------------------------------------------------------------------ ]; 15. Repack your mission pbo and upload to your sever. Optional Additional Configuration: ** Chameleon Skin Changer If you are using and have replaced custom/playertools/player_tools_main.sqf you will need to uncomment the following lines. from: playermenustart = [ ["",true], // ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], // ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"], ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"], // ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"] ]; to: playermenustart = [ ["",true], ["Chameleon Male Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "male_dialog.sqf"]]],"1","1"], ["Chameleon Female Skins Menu",[],"", -5,[["expression",format[_EXECscript1,_pathtochameleon + "female_dialog.sqf"]]],"1","1"], ["DZE Piggd Banking System >>", [], "#USER:bankmenu", -5, [["expression", ""]], "1", "1"], // ["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Main Menu", [20], "#USER:playermenustart", -5, [["expression", ""]], "1", "1"] ]; 15. Repack your mission pbo and upload to your sever. Email: [email protected] Website: Piggd Dayz Gaming Donate to piggd
  8. DayZ Epoch Panthera : Our server is hosted by GTX and we have modified it to play to our and your likings! We have a strong player base on this server and are hoping to build up our other servers! Server Mods: Clickable self blood bag Deploy Mozzie Jets/Tanks Custom Missions (Easy) Ai Missions (Little Harder) Change View Distance (Right click binocs or range finders) Infistar antihack No Plotpole required No Building Weight Slow Zeds Custom Loot Table Emerald Interior Designer Ai Fortress (Coming soon) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Dayz Epoch Napf : Dayz Epoch Napf Is Currently 100% Complete , All We Need Now Is Players! Server Mods: Self Blood Bag Deploy Moto No Plot Pole No weight Custom Loot Table AI Base Custom Missions (Easy) AI Missions (HARDENED) ------------------------------------------------------------------------------------------------------------------------------------------------ Dayz Overpoch : Overpoch is now open to the public!!!!! Server Mods: Clickable self blood bag Deploy Mozzie Jets/Tanks Custom Missions (Easy) Ai Missions (Little Harder) Change View Distance (Right click binocs or range finders) Infistar antihack No Plotpole required No Building Weight Slow Zeds Custom Loot Table Emerald Interior Designer Ai Fortress (Coming soon) ------------------------------------------------------------------------------------------------------------------------------------------------ SERVER INFO: Dayz Epoch Panthera : 208.115.200.131:2302 Dayz Epoch Napf : 69.162.87.123:2302 Dayz Overpoch : 69.162.122.162:2702 Moto Teamspeak : themotoclan.myts3server.com Moto Website : http://themotoclan.enjin.com/
  9. smallp0x

    Gem Currency?

    Hey all! I'm trying to replace the current metal currency with gems, but updating them in the database alone did not work. The gems are not being removed after buying an item. Anyone know what I have to do to make this work? :mellow: Thanks!
  10. Dear friends, I'm in a need of some help. Earlier today I've installed Zupa coin system. Everything works great except the GUI of the banking system. When I interact with "Bank ATM" option it pops up the Bank window and it doesn't show the amount of coins it just says "Any Zupa Coins". The player HUD gives the right information, while the bank system doesn't. Thanks for the help!
  11. Seraphiim

    Gold coins?

    I notice alot of people have this gold coin currency on their servers but yet there isn't any scripting help for it. I have searched far and wide for it. I would appreciate the help being I am slightly new to scripting in DayZ, but I wont ask too many questions as for I am fully capable of install and my own troubleshooting. The script I believe would help many of us.
  12. Hi All, I am having an odd problem on my server where people who remove 10oZ bars from a BC or when breaking a 10oZ gold into 1oZ gold have them disappear. I have had to spawn in a lot of 10oZ and 1oZ gold to a dedicated safe and offer banking services to my players so they don’t lose money :/ I don’t have this problem and I’m SuperAdmin on InfiSTAR so I’m thinking it’s got something to do with Infi for normal players?? Thanks Azz
  13. I was trying to fix an issue with a trader in my server anyways if anyone could tell me the class name that would be great! thanks!
  14. I want to know how to make gold on servers? What are the best options?
  15. me and my mates were wondering what the storage space of a armored SUV was because if its enough we will buy one , also im new to the forums and dont really know what section to put this in? also if the storage space isn't alot can you recommend another vehicle?
×
×
  • Create New...