Jump to content

Search the Community

Showing results for tags 'currency'.



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 30 results

  1. 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 ^^
  2. Version 2.1 Released. Alternative selling/buying system. ( Run default & this one next to each other ). Supported: Config tradersSingle Currency & Default CurrencySelling/Buying everything from and to Gear/Vehicle/BackpackNot supported No database traders (database traders make your server slow) No ability to buy or sell vehicles.What was added to 2.0 Default Currency SupportedItem FilterInfo display of selected ItemBuying to gear and backpackWhat was added to 2.1Fixed content display of vehicles and backpacks.Description Sell directly from backpack, gear or the vehicle ( close) where you were driver from. Decide which items you sell. Traders will only make it possible to trade the items they accept ( goes fully automatic, so only items they accept will be listed on the left). You push items to the right to sell, only the items on the right willl get sold. Safety measurements Double checks what was deleted from backpacks/vehicles so that people can not cheat.Can only sell from your backpack and the vehicle were u was the last driver from ( in 30m radius) Update 1.0 - 2.0 instructions Delete your old 'zupa' folder Paste the new 'zupa' folder Edit the config.sqf to match your server Donehttps://github.com/DevZupa/AdvancedTrading/releases/tag/v2.1 Items only show for admins when using infiSTAR AH & Admintools ?!Update infiSTAR to latest version.edit config.sqf to reflect your server correctly. Installation instructions Code: https://github.com/DevZupa/AdvancedTrading/releases/tag/v2.1 Install Instructions 0. Drop the zupa folder in your mission file 1. In your fn_selfactions.sqf Place: _buyV = player addAction ["<t color='#0059FF'>Advanced Trading</t>", "zupa\advancedTrading\init.sqf",(_traderMenu select 0), 999, true, false, "",""]; s_player_parts set [count s_player_parts,_buyV]; above // Database menu _buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 999, true, false, "",""]; s_player_parts set [count s_player_parts,_buy]; 2. in description.ext, add the following on the bottom #include "zupa\advancedTrading\ZSCdefines.hpp" // if u don't have it from ZSC #include "zupa\advancedTrading\advancedTrading.hpp"3. Add the following exceptions to your antihack if needed AdvancedTrading 711197 4. Edit the config.sqf to match your server. Screenshots:
  3. Hello Community i need help . Sorry for my bad english. Im from germany and i need help. I Have Advanced trading and Single currency 3.0 (without global banking) from zupa, and when i sell or buy in the normal trading menu , the trader dont use coins from me. With advanced trading menu the trader use coins for the item. Pls help me. Thx
  4. This is a major glitch in giving players money. When both players have equal amount of money, and they give money to each other at the same time. The money duplicates. Then Use the duplicated money to dupe again, then it double duplicates. Keep going to be a millionaire in seconds Lets say i got 500, you got 500. We both give our 500 coins to each other at the same time. It duplicates There is an easy fix: In your Gold/init.sqf Find: GivePlayerAmount = { .. .. .. .. }; Replace the whole block with this: GivePlayerAmount = { private ["_amount","_target","_wealth"]; _amount = parseNumber (_this select 0); _target = cursorTarget; _wealth = player getVariable["cashMoney",0]; _twealth = _target getVariable["cashMoney",0]; _InTrd = _target getVariable ["TrBsy",false]; _isMan = _target isKindOf "Man"; if (_amount < 1 or _amount > _wealth) exitWith { cutText ["You can not give more than you currently have.", "PLAIN DOWN"]; }; if (!_isMan) exitWith { cutText ["You are not facing anyone.", "PLAIN DOWN"]; }; if (_InTrd) exitWith { cutText ["Other Player is busy, please wait.", "PLAIN DOWN"]; }; PVDZE_account_Doublecheck = [player]; publicVariableServer "PVDZE_account_Doublecheck"; player setVariable["cashMoney",_wealth - _amount, true]; _target setVariable["cashMoney",_twealth + _amount, true]; PVDZE_plr_Save = [player,(magazines player),true,true] ; publicVariableServer "PVDZE_plr_Save"; PVDZE_plr_Save = [_target,(magazines _target),true,true] ; publicVariableServer "PVDZE_plr_Save"; cutText [format["You gave %1 %2.", _amount, CurrencyName], "PLAIN DOWN"]; }; Now Replace your bank_dialog.sqf and give_player_dialog.sqf with these: bank_dialog.sqf private ["_dialog"]; player setVariable["TrBsy",true,0]; _dialog = createdialog "BankDialog"; call BankDialogUpdateAmounts; waitUntil { !dialog }; uiSleep 3; player setVariable ["TrBsy",false,0]; give_player_dialog.sqf private ["_dialog"];player setVariable["TrBsy",true,0]; _dialog = createdialog "GivePlayerDialog"; call GivePlayerDialogAmounts; waitUntil { !dialog }; uiSleep 3; player setVariable ["TrBsy",false,0];
  5. 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!
  6. The following topic contains addons or rewritten scripts for single currency. Core Scripts Single Currency 3.0 Storage - Zupa New independet release, RECOMMENDED Single Currency 1.1 - Zupa The Scripts that makes this all happen. Currently always start installing the currency with this topic. It will set up your first version for you to choose to update to souls 2.0 updates (recommendend.) In the close future i will make an officia SC 2.0 release. Single Currency 2.0 ( Extension) - Soul The soon to be official release but currently only an update to 1.1. Install 1.1 and update to this version to enjoy the best performace and support on your server. Single Currency Development functions - Zupa These functions provide easy implementation of adding and removing money in your script to support single currency. They should be in the 1.1 and 2.0 release but better check to be sure. Single Currency Traders - Zupa This folder contains compatible traders with the cfgtraders provided. I'll try to extend it as soon as possible, if someone has working traders and is willing to share them to the list, please do contact me. SC Traders Script Extensions Maintain Single Currency (2.0 only) - Mcgough This script allows you maintain at a plotpole with cash. Smelting Items-Coins - Storm This script allows you to smelt your coins into bars and the otherway arround next to a burning object. Admins Tools & Infistar AH Single Currency actions on players - Rocu, Chunk This script allows an admin to remove/give coins from a player. Infistar AH Spectate players bank and cash - PeterBeer This script allows an admin to see cash and bank while spectating a person. Transfer Money from ATM - Rocu Allows you to transfer money form one account to antother one. Scripts made compatible with SC JAEM Chopper Evac SC - Zupa Changes to the original script to work with single currency. Axe Cop Service Points SC - Zupa Changes to the original script to work with single currency. http://epochmod.com/forum/index.php?/topic/15464-release-single-currency-axe-cop-service-points-for-sc/ Advanced Alchemical Crafting SC - Zupa Changes to the original script to work with single currency. http://epochmod.com/forum/index.php?/topic/16203-advanced-alchemical-crafting-v33/?p=126080 Axe Cop Multy Character Select SC - Soul Changes to the original script to work with single currency. Map Addons/Changes Central Chernarus Bank - Chunk, No Captain Chunk A big bank in stary http://epochmod.com/forum/index.php?/topic/16004-addon-central-chernarus-bank/ Napf Banks - Pwn3dNexus Banks for Napf Napf Banks Banker NPC's - MGM NPC's as bankers http://epochmod.com/forum/index.php?/topic/16597-release-banker-npcs-to-replace-atm-objects/ Sahrani Banks & Changes - KingRaymond795 Banks for Sahrani http://epochmod.com/forum/index.php?/topic/28432-sahrani-map-addons/ Usefull Guides Money on AI - Zupa Allows you to put money on AI. http://epochmod.com/forum/index.php?/topic/15737-put-coins-on-ai/?p=117979 Freeze Objects & Banks into place - Soul, Storm Allows you to make an item static, so it will never move. This stops players from knocking over banks. http://epochmod.com/forum/index.php?/topic/15485-how-to-stop-users-from-knocking-down-the-atm/?p=121203 Custom Debug Monitor - PeterBeer Guide + files for a more detailed debug monitor. http://epochmod.com/forum/index.php?/topic/15437-tutorial-custom-debug-stats/ Custom Default Ammount in Fields - Zupa Allows you to change the default 1 in your bank and give player dialogs. http://epochmod.com/forum/index.php?/topic/16591-resolved-in-banking-menu-default-amount-is-prepopulated-with-1/ Remove trade animations - Peterbeer, Zupa Allows you remove the trading animation http://epochmod.com/forum/index.php?/topic/15911-tutorial-remove-animation-for-trading/ Add Traders and TradersItems with Single Currency - Chunk Guide how to make new traders and add items to traders. http://epochmod.com/forum/index.php?/topic/16386-tutorial-adding-custom-traders-with-single-currency-extras/ Common Issues -> Fixed Bank Not Saving - Rocu, Soul, Zupa Common Solution to fix bank value not saving to DB. http://epochmod.com/forum/index.php?/topic/15924-issue-banking-data-not-saving-for-new-players-fixed/ Fix Money And Bank after skin change - Soul Fixes the reset of money and bank when you change clothes http://epochmod.com/forum/index.php?/topic/15449-fix-cashmoney-bankmoney-loss-after-skinchangehumanity-morph/ Fix - Better trade files - Rocu Fixes the issue of the rpt logs when trading. Does bettter logging of trade activties http://epochmod.com/forum/index.php?/topic/16750-fix-better-trade-files-proper-logging-etc/ More added later Do you think your scripts/addon/guide should get added? Give me a message and i will evaluate the possibility.
  7. Hey guys, i really need your help. I've got the Zupas Single Currency 3.0 Mod installed. The Mod itself works. If I go to a trader and sell something the coins get to my player but my problem is they are not shown at the HUD. The HUD allways show 0 Coins. I get no RTP errors! I hope you can help. Cheers
  8. A certain unnamed server company is trying to pass this off as their own. A lot of work went in the these files by not only myself but to all the creators of the different scripts that are included. After I asked them to not do so they ignored my wishes so now like I said in another post is release time for all. There are a few things that need added like a hud edit which will be added as soon as I can or if some one else feels free to add to it, Mods included but not limited to (if i forgot anyone I do apologize) Single Currency 2.0 ( Extension) - Soul Single Currency 3.0 ( Extension) - Zupa Single Currency Development functions - Zupa Single Currency Traders - Zupa Transfer Money from ATM - Rocu JAEM Chopper Evac SC - Zupa Axe Cop Service Points SC - Zupa Banker NPC's - MGM http://github.com/XerxesIV/Single-Currency-4.0
  9. Hey Guys, I'm glad to show you our DayZ Epoch Server Today. We are a German Clan who fulfilled their dream of an own DayZ-Server. We've added a few features to improve your experience when you start playing on our server. ---------------------------------------------------------------------------------- Server-IP: 46.163.104.244:2302 Mod / Map: DayZ Epoch Chernarus Features: Advanced Trading with SafezonesCoin-System without Globale BankingMission System (WAI)Animated HelicrashesAuto-RefuelDeploy BikeSelfbloodbag ---------------------------------------------------------------------------------- Server-IP: 94.250.209.246:2302Mod / Map: DayZ Overpoch Namalsk Features: Costum Trader CitySafeZonesWarm ClothingTemple Of GodsAuto-RefuelMissionsSelfblodbagCold Weather System---------------------------------------------------------------------------------- If you want to have a talk with us or with your friends, you can also join our TeamSpeak3-Server: Server-IP: 46.163.104.244:3202 Password: SL ---------------------------------------------------------------------------------- If you have any questions, just ask! Best Regards from Germany, Firerfan <Survival-Legends>
  10. PROJECT SUMMARY This project was originally born as a call for help thread by Goatlol and in time became a community project to achieve the common goal of: Gold Coin based Single Currency & Banking System, publicly available for all Epoch server admins for free, without sacrificing humanity system. CURRENT STATE OF THE PROJECT Version 1.0 has been released on 29th July 2014. (with download link) Questions / Comments should be posted as replies to this thread. Donations should be sent to the sole developer of the project. PayPal donate button can be found on his personal website here. PROJECT DEVELOPER: Zupa Click to see Project Backers Click to display old version of this post which includes known similar projects and other relevant information.
  11. You are welcome to join our new dayz overpoch chernarus server filled with vehicles, custom scripts, and FUN! Join us at 216.245.195.26:2340 or join our teamspeak at Vs26.tserverhq.com:7226
  12. Hey there everyone. I was putting all the gems in my servers' traders but I would really like to know if anyone knew the rarity of each gem so I could change the price accordingly. It seems that Rubies seem to be the most rare, but I cannot find any documentation on it. Does anyone know the gem rarity?
  13. Hi Trying to ad the Sapphire as currency but cant get it to work When i buy a thing in the trader for Sapphire it dont take the Sapphire from inventory and dont give Sapphire if i sell in my database a have made this ["M1A1_US_DES_EP1",2] 10 [3,"ItemSapphire",1] [1,"ItemSapphire",1] 0 700 trade_any_vehicle also tried "M1A1_US_DES_EP1",2] 10 [3,"ItemSapphire",1] [1,"ItemSapphire",1] 0 700 trade_any_vehicle_old but it dont work
  14. Hi So I've been trying to install Zupas single coin currency with global banking into my server all day today and yesterday and I haven't been able to get it working what so ever. Firstly I had conflicting scripts with DZGM but I think I might of possible resolved that issue by moving the definitions in description.ext higher than the HUD I have installed. Now, I can load into my server lobby, I receive the mission file but get stuck at "Waiting for character data from server". With a never ending timer. My .RPT file has now shown no errors from what I can see so I have no idea where to look that may be causing problems. I need this script installed so I can further progress on to installing other scripts that are needed. I just haven't been able to get anywhere. If anyone could lend a helping hand, I'd sure appreciate it a lot! Whether that's identifying my problem somewhere or if I just install my backups and install a fresh. Skype: Polly900 Regards :) :D
  15. 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
  16. [Release] Single Currency (3.0) & Storage - DEFAULT HIVE Since the majority of people wanted this i want to bring it to attention in this section to. 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"). 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 ^^ Topic can be found here in the subforums: ( all Detailes explained there).
  17. Hello I own a Dayz Epoch Taviana Server and i cant seem to find out how to install coin currency on it. So i am here to offer someone 20$ Or less to do install it (Will Pay after we see it works) If interested contact Gadget Or Rekpoint In this teamspeak for more info dal-voice1.fragnet.net:10062 Poke us! Thanks
  18. hello iam kinda new tho scripting and i cant really get the zupa singel currency, P4L, and plot management working on my servevr can any kind oerson help me installing them on my server i whould be really glad if that was possible cause as i said i really cant get it working anyway... here is a upload of the server.pbo and misson file: https://www.dropbox.com/s/yuw0w2m8c60u98i/overpochins%20tavi%20dth.rar?dl=0 thx so far // ZowZ DTH
  19. hello ive tryed to get the Zupa coin script and P4L to woring on my server but i cant get it working i whould love to get an premade script pack with atleast the coin script and P4L whould be relly awesome cause i cant get it working... so if some one could share their server script pack with atleast those to scripts in whould be the best. sorry for bad engish :3 and if some one got an big server script pack with those in please share it. oh and btw if some one reading this and might can hellp me with one more thing you know the menu thingy you get from pressing esc ingame were can i change the text at the very top at? running on OverPoch Panthera and iam hosting at GTXgaming dayz all-in-one Best reguards ZowZ DTH
  20. Hi guys, I'm having trouble with one part of the Zupa Single Currency install. One of the steps requires me to add this: class RscTitles { #include "addons\playerhud\hud.hpp" }; #include "defines.hpp" #include "gold\common.hpp" #include "gold\bank_dialog.hpp" #include "gold\give_player_dialog.hpp" to the bottom of my description.ext In my description.ext I already have an RscTitles which looks like this: class RscTitles { class wm_disp { idd = -1; onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]"; fadein = 0; fadeout = 0; duration = 10e10; controlsBackground[] = {}; objects[] = {}; class controls { class wm_text2 { idc = 1; x = safeZoneX+0.027;//safeZoneW*0.01; y = safeZoneY+safeZoneH-0.16; w = 1.151*safeZoneH; h = 0.057*safeZoneH; shadow = 2; class Attributes { font = "EtelkaNarrowMediumPro"; color = "00d5ff"; align = "left"; // put "center" here if you want some background valign = "middle"; shadow = 2; }; colorBackground[] = { 1, 0.3, 0, 0 }; // uncomment and increase 4th number to have a background font = "EtelkaNarrowMediumPro"; size = 0.06*safeZoneH; type = 13; style = 0; text=""; }; }; }; }; I've been messing around guessing where I can put the extra #include lines in but I honestly have no idea what I'm doing :P Any help would be appreciated, thanks!
  21. Hi there! I am setting up just an Epoch Lingor Island server. Its for classic Epoch play not Overpoch. I have the server ready and operating but I would like to migrate over to single currency coin. Has anyone had any experience converting a server and traders over to single currency? Would they be able to help? I would prefer if the single currency modification saved data in the hive in tables or columns for coins as opposed to items in gear, but I'm not opposed to a better solution. Thank you for your time!!! Cheesekun Note: Torrent for Lingor v1.5 https://mega.co.nz/#!H1JSmKLA!u2jXmv-pNNMeIlJrJr83vPx3gQQ5UZhunDqicUlvfWw
  22. 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!
  23. Hello all! I have successfully installed Zupa's single currency. There are only a few issues I could desperately get help with. 1) I do not like the bank locations. Actually, I would like to remove ALL the bank spots. What I want to do is to either make it so players can access the banks from traders (perfered) or just put the laptop (atm) in all traders. How can I do this? 2) I dunno if any of you are familiar with Zupa's single currency script, but the installing instructions were pretty simple. Literally just a drag and drop. However when you join the server, there is multiple character selections (3 to be exact). Its sort of like letting players able to pick 3 different character saves. HOWW can I remove this xD As always I always appreciate your guy's help. It means a lot!
  24. Hello all! I have successfully installed Zupa's single currency. There are only a few issues I could desperately get help with. 1) I do not like the bank locations. Actually, I would like to remove ALL the bank spots. What I want to do is to either make it so players can access the banks from traders (perfered) or just put the laptop (atm) in all traders. How can I do this? 2) I dunno if any of you are familiar with Zupa's single currency script, but the installing instructions were pretty simple. Literally just a drag and drop. However when you join the server, there is multiple character selections (3 to be exact). Its sort of like letting players able to pick 3 different character saves. HOWW can I remove this xD As always I always appreciate your guy's help. It means a lot!
  25. Hello everyone. I am fairly new in scripting arma 2. I know the basics, and can manage to fallow instructions for simple scripts such as a deploy bike, self bb, ect. I am trying to install Zupas single currency (which I'm assuming this website is the main site to get it from: http://devzupa.be/#/dayz/sc999). Now my question is, I'm trying to install this for my Overpoch Taviana Origins server and just wanting to know if it will be any different in installing on this map versus Chernarus? I see in the instructions and the download it has a file for chernarus but that's not that map I'm wanting to work on. All help is always appreciated!
×
×
  • Create New...