Jump to content
  • 0

[SOLVED] Traders Selling "For Free" After 1.0.4 (custom currency)


Radec59437

Question

Ever since after the 1.0.4 I've had various issues with traders, one of them was players reporting that sometime they wouldn't remove currency from a player's inventory.

Completely out of the blue, after the last restart today, traders simply start the trading process regardless of what's in the player's inventory.

 

They do not give currency back for items purchased with "null" currency, but they do allow anyone to buy anything.

 

Just as a fyi: I use a custom fn_selfactions and a custom trade_metals since I have Ruby as a currency, the Ruby was the first currency to create this bug, despite working fine for the last two weeks before 1.0.4.

 

So... Is there anyone who can point out what I fucked up in the process? :wacko:

 

Thanks.

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

Thanks for the link.

Unfortunately it seems that my traders also present this bug with gold, silver etc. 

 

Pretty much anything can be bought or sold (yes, you don't even need the item to be sold, it will do the trading anyway) for nothing at all.

 

That thread doesn't really help me, all I can see is that it says "update to 1.0.4.1" which atm I cannot do because I'm not on my main machine :(

Link to comment
Share on other sites

  • 0

For any item in the database that accepts currency other than silver it gold you must change the trade_any_item or trade_any_vehicle to the old version by adding _old to it in the trader item table of the database.

Please excuse and file names I may have called a different name, I am in my mobile.

Link to comment
Share on other sites

  • 0

So you guys mean that I have to do the afile edit in the SQL even after 1.0.4?

Or is it only supported after 1.0.4.1? (which is what I understood from vbawol's post)

 

And yes Crystal, I'm using Ruby as high end currency, although the problem only presented itself after I added the other gems to trade_metals (not used as actual currency, they just give you some briefcase if you mine them).

Link to comment
Share on other sites

  • 0

As of 1.0.4.1 you can use the old barter system again, best for non silver/gold trades. Basically we re-added the old files, you can use them by changing the afile entry in the Traders_DATA database table from "trade_items" to "trade_items_old". This will also work for the other afile's just add _old to the name.

Link to comment
Share on other sites

  • 0

Fantastic - phew! Thanks :)

 

Edit:

 

Server not authenticating.

 

RPT log says this after making all the adjustments:

21:46:18 Error in expression < compile format ["%1",_data];
_status = _result select 0;

if (_status == "Objec>
21:46:18   Error position: <_result select 0;

if (_status == "Objec>
21:46:18   Error Undefined variable in expression: _result
21:46:18 File z\addons\dayz_server\system\server_monitor.sqf, line 275
21:46:18 Error in expression <status = _result select 0;

if (_status == "ObjectStreamStart") then {
_val = _r>
21:46:18   Error position: <== "ObjectStreamStart") then {
_val = _r>
21:46:18   Error Generic error in expression
21:46:18 File z\addons\dayz_server\system\server_monitor.sqf, line 277
21:47:49 "get: STRING (60843142), sent: STRING (60843142)"
21:47:49 "DISCONNECT: Crystal (60843142) Object: B 1-1-A:1 (Crystal) REMOTE, _characterID: 0 at loc [10153.7,-4593.89,90.7]"
21:47:49 "ERROR: Cannot Sync Character Crystal as no characterID"
21:47:49 Client: Remote object 2:14 not found
21:47:49 Client: Remote object 2:15 not found
21:47:49 Client: Remote object 2:16 not found
Link to comment
Share on other sites

  • 0

 

Fantastic - phew! Thanks :)

 

Edit:

 

Server not authenticating.

 

RPT log says this after making all the adjustments:

21:46:18 Error in expression < compile format ["%1",_data];
_status = _result select 0;

if (_status == "Objec>
21:46:18   Error position: <_result select 0;

if (_status == "Objec>
21:46:18   Error Undefined variable in expression: _result
21:46:18 File z\addons\dayz_server\system\server_monitor.sqf, line 275
21:46:18 Error in expression <status = _result select 0;

if (_status == "ObjectStreamStart") then {
_val = _r>
21:46:18   Error position: <== "ObjectStreamStart") then {
_val = _r>
21:46:18   Error Generic error in expression
21:46:18 File z\addons\dayz_server\system\server_monitor.sqf, line 277
21:47:49 "get: STRING (60843142), sent: STRING (60843142)"
21:47:49 "DISCONNECT: Crystal (60843142) Object: B 1-1-A:1 (Crystal) REMOTE, _characterID: 0 at loc [10153.7,-4593.89,90.7]"
21:47:49 "ERROR: Cannot Sync Character Crystal as no characterID"
21:47:49 Client: Remote object 2:14 not found
21:47:49 Client: Remote object 2:15 not found
21:47:49 Client: Remote object 2:16 not found

please make a new post about this as this has nothing to do with the topic your posting in.

Link to comment
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
  • Discord

×
×
  • Create New...