Jump to content

Search the Community

Showing results for tags 'Banks'.



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

  1. 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];
  2. 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.
  3. Hey guys, does any of you have the banks configuration for Napf instead of Chernarus? If anyone has those I would be really grateful! Thanks!
  4. [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).
×
×
  • Create New...