Jump to content

[Alpha Release] Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking).


Recommended Posts

Client .rpt errors i found ,i checked your files for 1.1 coins and u made a change to the file right around there , am i the only one with the isse?

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <o { sleep 1; };

_item = TraderItemList select _index;

_qty = {_x == (_item sele>

Error position: <select _index;

_qty = {_x == (_item sele>

Error Zero divisor

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 186

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>

Error position: <_item select 3)} count magazines player;>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187

Error in expression <[TraderDialogBuyPrice, format["%1 %2", [_item select 2] call BIS_fnc_numberText,>

Error position: <_item select 2] call BIS_fnc_numberText,>

Error Undefined variable in expression: _item

File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 189

Link to comment
Share on other sites

Start -> Player_sync correct ? 

 

Yes -> look in DB if the money is in the inventory array on the end? 

 

Yes -> gearSet.sqf true in config and present in code ?

 

Thats all to check on player money :)

 

me Database looks like so 

So I think sometimes it's up to second step 

can you tell me what I should do now?

oefamfg4c548.png

Link to comment
Share on other sites

I need some help with this 

I can't find 

F) You can use my unclockVault in ZSCinit, If u got a custom one, do the following changes:

E) in LockVault.sqf if u got a custom one, otherwise use mine and set true in config:

 

I can't even see what you mean by use mine, I can't find yours. Instructions are not very clear.. Can someone help me though this install that has already done it. 

 

Edit. I don't mean for the above to sound rude. but I'm way out of my depth here.

Managed to find them. Well install complete time to test bet this goes horribly wrong.

 

 

Yay it works so happy with my self right now :)

Link to comment
Share on other sites

i have problems.

performed all the steps but as I possessed another package of mods I had to edit the duplicate files .
I have the following error:

5:36:50 Error in expression <i\Money.paa'/>", [Money call numberText];
_vitals ctrlCommit 0;
sleep 1.5;
};>
5:36:50 Error position: <;
_vitals ctrlCommit 0;
sleep 1.5;
};>

5:36:50 Error Missing ]
5:36:50 File mpmissions\__cur_mp.chernarus\ZSC\compiles\playerHud.sqf, line 8
5:36:50 Error in expression <i\Money.paa'/>", [Money call numberText];
_vitals ctrlCommit 0;
sleep 1.5;
};>
5:36:50 Error position: <;
_vitals ctrlCommit 0;
sleep 1.5;
};>
5:36:50 Error Missing ]
5:36:50 File mpmissions\__cur_mp.chernarus\ZSC\compiles\playerHud.sqf, line 8

could help me ?

Link to comment
Share on other sites

i have problems.

performed all the steps but as I possessed another package of mods I had to edit the duplicate files .

I have the following error:

5:36:50 Error in expression <i\Money.paa'/>", [Money call numberText];

_vitals ctrlCommit 0;

sleep 1.5;

};>

5:36:50 Error position: <;

_vitals ctrlCommit 0;

sleep 1.5;

};>

5:36:50 Error Missing ]

5:36:50 File mpmissions\__cur_mp.chernarus\ZSC\compiles\playerHud.sqf, line 8

5:36:50 Error in expression <i\Money.paa'/>", [Money call numberText];

_vitals ctrlCommit 0;

sleep 1.5;

};>

5:36:50 Error position: <;

_vitals ctrlCommit 0;

sleep 1.5;

};>

5:36:50 Error Missing ]

5:36:50 File mpmissions\__cur_mp.chernarus\ZSC\compiles\playerHud.sqf, line 8

could help me ?

 

U have

 

what should be

 [Money] call numberText]
Link to comment
Share on other sites

Hey zupa i had this installed and fully working, good job 

 

im getting this error in client RPT 

 

if (_index < 0) exitWith {};
 
while {count TraderItemList < 1} do { sleep 1; >
  Error position: <count TraderItemList < 1} do { sleep 1; >
  Error count: Type Number, expected Array,Config entry
File mpmissions\__CUR_MP.Chernarus\ZSC\gold\player_traderMenu.sqf, line 184
Error in expression <;
 
if (_index < 0) exitWith {};
 
while {count TraderItemList < 1} do { sleep 1; >
  Error position: <count TraderItemList < 1} do { sleep 1; >
  Error count: Type Number, expected Array,Config entry
File mpmissions\__CUR_MP.Chernarus\ZSC\gold\player_traderMenu.sqf, line 184
Error in expression <;
 
if (_index < 0) exitWith {};
 
while {count TraderItemList < 1} do { sleep 1; >
  Error position: <count TraderItemList < 1} do { sleep 1; >
  Error count: Type Number, expected Array,Config entry
File mpmissions\__CUR_MP.Chernarus\ZSC\gold\player_traderMenu.sqf, line 184
 
Again 
Again
again
Again
ect.
--------------------------------------------------------------------------------------------------------------------------------------
 
};
 
TraderDialogShowPrices = {
private ["_index", "_item"];
 
_index = _this select 0;
 
if (_index < 0) exitWith {};
 
while {count TraderItemList < 1} do { sleep 1; };                   <<<<<<<<<<<<<<<<< line 184
 
_item = TraderItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;
 
ctrlSetText [TraderDialogBuyPrice, format["%1 %2", [_item select 2] call BIS_fnc_numberText, CurrencyName]];
ctrlEnable [TraderDialogBuyBtn, true];
ctrlSetText [TraderDialogSellPrice, format["%1 %2", [_item select 5] call BIS_fnc_numberText, CurrencyName]];
};
 
 
The file is exactly the same IE the one from your download and its been untouched. just to make sure i used diff merge to compare just in case i opened it and typed something there by mistake. 

I don't see any Errors in the Server RPT
 
Any chance you no what this could be so i can stop this :D 
Link to comment
Share on other sites

hey zupa just wanted to let you know that if a trader is off the ground it will not work, spent some time trying to find out y some of my napf traders weren't working, i put the same trader on the ground (not in building 2nd level) and it worked right away , and this is for both scripts 1.1 coin and this one, 

 

just wanted to let every one know hope it saves some people some time.(i almost overlooked it)

 

looking for code to edit for my server , if you could please point out where the code is , i will post back if found

Link to comment
Share on other sites

Hey there.  Great script.  I had it running perfect for a few hours.  Starting a new server, ran a few for about a year, then took time off due to family stuff.  Since I installed a few scripts, the currency wont show. Just says ZERO.  I can still buy things and sell, but always says ZERO. I thought maybe the money was still there, just had a display issue.  I tried to transfer to vehicles, no go.  I've restarted the server, checked back the scripts I did do, nothing.  I've iinstalled Infistar, Advanced Trader (Currency still worked after this one), Macas Right Click menu, Locate Vehicle on map and self bb. Everything else works now, except the currency.  Any help would be greatly appreciated.

 

RPT File 

Link to comment
Share on other sites

@Zupa, hi. I wrote

Hey there.  Great script.  I had it running perfect for a few hours.  Starting a new server, ran a few for about a year, then took time off due to family stuff.  Since I installed a few scripts, the currency wont show. Just says ZERO.  I can still buy things and sell, but always says ZERO. I thought maybe the money was still there, just had a display issue.  I tried to transfer to vehicles, no go.  I've restarted the server, checked back the scripts I did do, nothing.  I've iinstalled Infistar, Advanced Trader (Currency still worked after this one), Macas Right Click menu, Locate Vehicle on map and self bb. Everything else works now, except the currency.  Any help would be greatly appreciated.

 

RPT File 

I sure that problem was in installing Advanced Trading. Cant access .rpt, cuz from mobile right now. Ll come in 1 hour and check it
Link to comment
Share on other sites

Thank you.  The single currency script worked great even after the advanced trader was installed... It was after that that things went bad. I usually back everything up after each script, but got carried away.  Ive been away from running server for a while and was trying to refresh my memory as well as set up a new server.

Link to comment
Share on other sites

So, i am coming up with this error.

ErrorMessage: File mpmissions\DayZ_Epoch_24.Napf\CfgServerTrader\cfgServerTrader.hpp, line 95: .CfgTraderCategory: Member already defined.

 

i have tried to comment out the command line for the original Cfg traders and it says im missing an addon. I try to get rid of both the command line and the folder itself and says the same thing. How do i make it only call up the cfg traders that you made for the script?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...