Jump to content
PeterBeer

[Release] Single currency (Souls 2.0) With Fixes All In One And More (v0.5)

Recommended Posts

Having a problem with the Banking.  When I deposit money in the bank the money goes there . When I log out and come back in the money is still in the bank and the money on me is back to the original amount.

 

Examples

 

Before deposit.

 

persons : 4,000

bank : 0

 

deposit

 

persons: 2000

bank 2000

 

log out and come back in

 

persons : 4000

bank: 2000

 

Also I'm having a this problem the other way also ....

 

Examples

 

persons: 4000

bank ; 4000

 

withdraw

 

persons 6000

bank 2000

 

Log out and come back in looks like this

 

persons: 4000

bank : 2000

 

Any Help would be appreciated. 

Thank You in advance

Share this post


Link to post
Share on other sites

Hi, 

My players are experiencing an issue where the following two things occur:

1. Some users can give other coins, but other users cannot

2. When you get the option to give player A coins, but look at player B afterwards - you still only have the option to give player A (if you understand). It doesn't matter who my players look at - the still only have the option to give to player A.

Any ideas why this would be happening - and how would I go about fixing it? 

Also, as part of your updates to this all-in-one package - could you please include the changes you made so we can make those changes without having to replace the entire Pbo files - some of us have multiple scripts added to our server - would be easier to make one or two changes to the files instead of having to re-add all our scripts. 

 

Thanks

Any body else experiencing this? 

Share this post


Link to post
Share on other sites

Setup a fresh server with your files. No antihack installed until I get the server running properly. Just ran into an issue trying to log in and only error is 

"Resource RscDisplayLoadCustom not found",

Spawns as bird then disconnects me back to lobby. Searched hi and low and unable to find anything. Any help would be appreciated.

 

Edit: Nevermind, fixed.

Share this post


Link to post
Share on other sites

New Epoch Cherno server i use all the Files and get this Error and cant join

 

Error position: <select 2;
_state = _primary select 3;
_w>
14:27:06 Error Zero divisor
14:27:06 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 55
14:27:10 Error in expression < _x getVariable['humanity',0];
                if ((_humanity > 1000000) || (_humanity < -10>
14:27:10 Error position: <_humanity > 1000000) || (_humanity < -10>
14:27:10 Error Undefined variable in expression: _humanity

 

with one of zupa´s hive.dll i can join but i get this error by trading <_<

 

 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:43:32   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:43:32   Error Undefined variable in expression: _vnew
17:43:32 File z\addons\dayz_server\init\server_functions.sqf, line 548
17:43:35 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoney];
_key call server_hiveWrite;>
17:43:35   Error position: <_cashMoney];
_key call server_hiveWrite;>
17:43:35   Error Undefined variable in expression: _cashmoney
17:43:35 File z\addons\dayz_server\compile\server_playerSync.sqf, line 172
17:43:49 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
>
 
 
Edit: Fix it, was my fault :-)

Share this post


Link to post
Share on other sites
Hello! I put the script on my server. The amount of money taken from the bank more than 1000000 is not stored in the players in the database. 
Writes an error in the console: 
17:00:59 HiveExt(o): [Error] Error executing |CHILD:201:3986:[13,[8252.78,15487.3,0.2515]]:[["ItemMap","ItemFlashlight","ItemToolbox","UZI_SD_EP1","Binocular_Vector","ItemKeyYellow1175","ItemCrowbar","m107","ItemKnife","ItemEtool","ItemKeyBlack1562"],["ItemPainkiller","ItemBloodbag","ItemEpinephrine","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","ItemBandage","ItemBandage","30Rnd_9x19_UZI_SD","30Rnd_9x19_UZI_SD","30Rnd_9x19_UZI_SD","ItemBandage","ItemBandage"]]:["DZ_Backpack_EP1",[[],[]],[["5Rnd_127x99_as50"],[20]]]:[false,false,false,false,false,false,true,12000,[],[0,0],0,[82.4949,36.5163]]:false:false:0:0:0:4:["m107","amovpknlmstpsraswrfldnon",37,[]]:0:0::0:-3e+006:|
But if you take 999,999, then there is no such problem.

Share this post


Link to post
Share on other sites

Thanks for the compilation, however instead of using it as is I merged into my plot4life compilation which was easier than the other way around.  All the stuff is working mostly right and the money is saving to the database...however upon relog characters come back with 0 coins both in bank and on person but the database still shows the amount. There are no errors in my RPT so I was hoping you could shed some light on where in the scripts the bankmoney and cashmoney is called from the database to the player upon log in?

 

Thanks

Share this post


Link to post
Share on other sites

Thanks for the compilation, however instead of using it as is I merged into my plot4life compilation which was easier than the other way around.  All the stuff is working mostly right and the money is saving to the database...however upon relog characters come back with 0 coins both in bank and on person but the database still shows the amount. There are no errors in my RPT so I was hoping you could shed some light on where in the scripts the bankmoney and cashmoney is called from the database to the player upon log in?

 

Thanks

Check your .dll files and make sure they are not blocked. Right click-->Properties.

Share this post


Link to post
Share on other sites

Error

HiveExt.log

 

2014-10-26 12:56:28 HiveExt: [Information] Method: 201 Params: 2:[280,[4147.73,4846.86,0.002]]:[[ItemFlashlight,ItemGPS,ItemKeyBlack1729,ItemFishingPole,ItemEtool,ItemToolbox,ItemKeyKit],[ItemPainkiller,ItemBandage]]:[DZ_Backpack_EP1,[[],[]],[[],[]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[46.655,35.297]]:false:false:0:0:0:0:[,aidlpknlmstpsnonwnondnon_player_idlesteady02,37,[]]:0:0::0:
2014-10-26 12:56:28 HiveExt: [Warning] Update of character 2 only had 16 parameters out of 17

HiveExt.dll

http://rghost.ru/download/58721721/1290ff4e486e53fc7960989853d6617b6141e165/1290ff4e486e53fc7960989853d6617b6141e165/HiveExt.dll

 

Share this post


Link to post
Share on other sites

Hi Guys

 

this is a brilliant Mod, i have it running now with all my other mods, but for two issues.

1. No zeds, like any where?

2. Money i put in the bank, is not there after server restart?

 

any clues, once i solve thisi will add it to my production server

Share this post


Link to post
Share on other sites

I am not sure if I have done something wrong here but here it goes.

 

I downloaded your version of singlecurrency using your pbo's and all and im having issues with currency saving, some times it gets wiped and sometimes it will go to a negative number

I have tried every fix available on these forums, that were not already implemented and still no luck, created trigger in DB, changed BankSaldo to allow null and default 0.....

 

any other ideas? need to see a log? if so what log?

Share this post


Link to post
Share on other sites

Error
HiveExt.log
 
 

2014-10-26 12:56:28 HiveExt: [Information] Method: 201 Params: 2:[280,[4147.73,4846.86,0.002]]:[[ItemFlashlight,ItemGPS,ItemKeyBlack1729,ItemFishingPole,ItemEtool,ItemToolbox,ItemKeyKit],[ItemPainkiller,ItemBandage]]:[DZ_Backpack_EP1,[[],[]],[[],[]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[46.655,35.297]]:false:false:0:0:0:0:[,aidlpknlmstpsnonwnondnon_player_idlesteady02,37,[]]:0:0::0:
2014-10-26 12:56:28 HiveExt: [Warning] Update of character 2 only had 16 parameters out of 17

HiveExt.dll
http://rghost.ru/download/58721721/1290ff4e486e53fc7960989853d6617b6141e165/1290ff4e486e53fc7960989853d6617b6141e165/HiveExt.dll

Share this post


Link to post
Share on other sites

Hey guys. how can i adjust player hud? i only want it to show coin/bank but a bit down the middle instead of top corner? i tried adjusting by deleting off other stuff and leave only "Money" and "bank" but than it wont show the menu at all.

Share this post


Link to post
Share on other sites

Having a problem with the Banking.  When I deposit money in the bank the money goes there . When I log out and come back in the money is still in the bank and the money on me is back to the original amount.

 

Examples

 

Before deposit.

 

persons : 4,000

bank : 0

 

deposit

 

persons: 2000

bank 2000

 

log out and come back in

 

persons : 4000

bank: 2000

 

Also I'm having a this problem the other way also ....

 

Examples

 

persons: 4000

bank ; 4000

 

withdraw

 

persons 6000

bank 2000

 

Log out and come back in looks like this

 

persons: 4000

bank : 2000

 

Any Help would be appreciated. 

Thank You in advance

 

I'm having this same problem. Is there any fix for this? I'm almost finished with my server and I cannot proceed until this is fixed... Thanks

Share this post


Link to post
Share on other sites

Hey guys. how can i adjust player hud? i only want it to show coin/bank but a bit down the middle instead of top corner? i tried adjusting by deleting off other stuff and leave only "Money" and "bank" but than it wont show the menu at all.

 

Try this: 

Share this post


Link to post
Share on other sites

I'm having this same problem. Is there any fix for this? I'm almost finished with my server and I cannot proceed until this is fixed... Thanks

 

Anything in the RPT logs? What happens in the database during all this? For example, deposit your money in the bank but before logging out check your cashMoney column in the database. Is it 2000 or 4000?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...