Jump to content

Recommended Posts

 Hello,

 

So i have just installed the coin system and it is running great however, i have just installed Global Banking & the bankers, however the bankers do not have a scroll wheel option for "Bank" Or "Banker". I have followed all the step on; https://github.com/oiad/ZSC#mission-folder-install; but nothing seems to be different apart from there is now a banker here. Anyhelp?

 

Thanks,

Wizz

Share this post


Link to post
Share on other sites
14 minutes ago, Wizz said:

 Hello,

 

So i have just installed the coin system and it is running great however, i have just installed Global Banking & the bankers, however the bankers do not have a scroll wheel option for "Bank" Or "Banker". I have followed all the step on; https://github.com/oiad/ZSC#mission-folder-install; but nothing seems to be different apart from there is now a banker here. Anyhelp?

 

Thanks,

Wizz

Hi,

Please follow all the steps here: https://github.com/oiad/ZSC#changing-to-global-banking

Global banking definitely works, there are many people using it with no issues so I would think it's an install issue.

Please make sure this variable matches the trader name you have, it is CASE SENSITIVE: https://github.com/oiad/ZSC/blob/master/global_banking/dayz_code/init/variables.sqf#L19

Also need you to post your client RPT log:

if you report issues can you please attach (on pastebin or similar) your CLIENT rpt log file as this helps find out the errors very quickly. To find this logfile:

C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT

Share this post


Link to post
Share on other sites

Lots of errors there, looks like some copy paste fails 

Warning Message: Resource title ZSC_Money_Display not found

There seems to be a few copy paste fails there too, notibly in your init.sqf

I just got to work so I can't help much for another 9 hours or so

 

Share this post


Link to post
Share on other sites

Lots of init errors early in the file   And also a config variable  

DZE_MoneyStorageClasses = DZE_LockableStorage; 
ZSC_defaultStorage>
  Error position: <DZE_LockableStorage; 
ZSC_defaultStorage>
  Error Undefined variable in expression: dze_lockablestorage
File mpmissions\__CUR_MP.Chernarus\dayz_code\configVariables.sqf, line 73

And

Error in expression <eTags = 2; 
DZE_ForceNameTagsInTrader = Traders; 
DZE_crashLootConfig>
 Error position: <Traders; 
DZE_crashLootConfig>
  Error Undefined variable in expression: traders
File mpmissions\__CUR_MP.Chernarus\init.sqf, line 105

 

and

Error in expression <ers.sqf";

Eg:
if (!isDedicated) then {
...code...
...code...
...code...
execVM >
  Error position: <...code...
...code...
...code...
execVM >
  Error Invalid number in expression
File mpmissions\__CUR_MP.Chernarus\init.sqf, line 177
Error in expression <ers.sqf";

Eg:
if (!isDedicated) then {
...code...
...code...
...code...
execVM >
  Error position: <...code...
...code...
...code...
execVM >
  Error Invalid number in expression
File mpmissions\__CUR_MP.Chernarus\init.sqf, line 177

And

Error in expression <
[] execVM "player_tradermarkers.sqf";

Eg:
if (!isDedicated) then {
...code...
>
  Error position: <Eg:
if (!isDedicated) then {
...code...
>
  Error :: Undefined variable in expression: eg
File mpmissions\__CUR_MP.Chernarus\init.sqf, line 175
"Admin Tools: Activate.sqf loaded"
"Admin Tools: safeZones.sqf loaded"
"Admin Tools: FunctionKeys.sqf Loaded"
"Admin Tools: NumberKeys.sqf Loaded"
"keyboard_keys reset"
"Res3tting B!S effects..."
"PRELOAD_ Functions\init [[L 1-1-A:1 REMOTE],any]"
"MPframework inited"
Error in expression <ers.sqf";

Eg:
if (!isDedicated) then {
...code...
...code...
...code...
execVM >
  Error position: <...code...
...code...
...code...
execVM >
  Error Invalid number in expression
File mpmissions\__CUR_MP.Chernarus\init.sqf, line 177
Error in expression <ers.sqf";

Eg:
if (!isDedicated) then {
...code...
...code...
...code...
execVM >
  Error position: <...code...
...code...
...code...
execVM >
  Error Invalid number in expression
File mpmissions\__CUR_MP.Chernarus\init.sqf, line 177

 

Share this post


Link to post
Share on other sites

Go through your init and edit all the stuff that's wrong. 

Looks like you've copied lots of things into it that shouldn't be there from instructions and other stuff. 

Check the 

 "player_tradermarkers.sqf"

file too, looks like that has errors. 

Share this post


Link to post
Share on other sites
6 minutes ago, lwbuk said:

File mpmissions\__CUR_MP.Chernarus\dayz_code\configVariables.sqf, line 73

File mpmissions\__CUR_MP.Chernarus\init.sqf, line 105

File mpmissions\__CUR_MP.Chernarus\init.sqf, line 177 [] execVM "player_tradermarkers.sqf";

File mpmissions\__CUR_MP.Chernarus\init.sqf, line 175

 

This shows you exactly where the errors.

Share this post


Link to post
Share on other sites

Update: There is now a bank icon near on right side of my screen with the Coin.paa logo, however that bank guy still doesn't let me get the option of "Bank" on it?

Share this post


Link to post
Share on other sites

Well, i reinstalled my server and tried it again...... the banking icon appears but there is still no scroll wheel option on the bankers..... i get no error message either any help?

Share this post


Link to post
Share on other sites
14 minutes ago, Wizz said:

Well, i reinstalled my server and tried it again...... the banking icon appears but there is still no scroll wheel option on the bankers..... i get no error message either any help?

The trading option is available trough your fn_selfActions.sqf. Make sure that the path to your fn_selfActions.sqf is custom in your compiles.sqf and also if you added a custom compiles.sqf file to your init.sqf.

I prefer adding another compiles.sqf like @salival did in his ZSC script instead of copying the whole file from dayz_code.pbo. But that's all given in his install instructions. Here is the part, if you didn't find it:

Spoiler
In mission\init.sqf find:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
and add directly below:

call compile preprocessFileLineNumbers "dayz_code\init\compiles.sqf";
And then also drop the files from the download in your mission ofcourse.

 

 

Share this post


Link to post
Share on other sites
2 hours ago, DAmNRelentless said:

The trading option is available trough your fn_selfActions.sqf. Make sure that the path to your fn_selfActions.sqf is custom in your compiles.sqf and also if you added a custom compiles.sqf file to your init.sqf.

I prefer adding another compiles.sqf like @salival did in his ZSC script instead of copying the whole file from dayz_code.pbo. But that's all given in his install instructions. Here is the part, if you didn't find it:

  Reveal hidden contents

In mission\init.sqf find:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
and add directly below:

call compile preprocessFileLineNumbers "dayz_code\init\compiles.sqf";

And then also drop the files from the download in your mission ofcourse.

 

 

This seems to have fixed my issue, however, how do i make it so new players spawn with 200k coins? This method below isn't working;

 

In dayz_server\compile\server_playerLogin.sqf find:

PVCDZ_plr_Login = [_charID,_inventory,_backpack,_survival,_isNew,dayz_versionNo,_model,_isHiveOk,_newPlayer,_isInfected,_group,_CharacterCoins,_playerCoins,_BankCoins];

If you want to give the player (so coins are on the body) 5k coins, add this line before it:

if (_newPlayer) then {_characterCoins = 200000};

If you want to give the player 5k coins into their bank, add this line instead:

if (_newPlayer) then {_bankCoins = 200000};

Share this post


Link to post
Share on other sites
Just now, DAmNRelentless said:

@Wizz

It does work but only at the very first join, not everytime they respawn. To test it, delete your character data and your login data from your database and join the server, then you should have the amount that you set in this file.

i reset my database, and deleted my data, nothing has worked so far.

Share this post


Link to post
Share on other sites
2 minutes ago, DAmNRelentless said:

Any errors in your RPT's?
Upload the server_playerLogin.sqf to pastebin or dropbox so we can take a look at it.

i Think my server might be scared of you, it works now wtf xD

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Advertisement
  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Latest Donations

  • Advertisement
  • Discord

×