Commit Graph

15 Commits

Author SHA1 Message Date
oiad
801145d664 Advanced trading fixes/modifications (#1698)
* Advanced trading fixes/modifcations

This adds combine currency option to the Advanced trading screen since
@Airwaves man noticed it didn't have a way of doing it.

Updated stringtables with correct "paid" spelling and differing text for
buying/selling.

This also addds proper currency checking/reporting for the log system
that has been introduced, it's untidy but it works, instead of getting
"user bought x for 1000 currency" in a non coins server, it will convert
it to the proper 1 brief 5 10oz gold etc system (uses a new function
z_calcDefaultCurrencyNoImg)

This also adds a check to see if the buy list is empty (as per the
selling list) and returns text to the user informing them.

Re-arranged buy and sell so buy is on top of sell, it's a bit easier to
read then.

* Advanced trading logging change

This was missing from my previous commit, this changes the
server_tradeobject to check if it's being passed a number (single
currency) or text (my logging currency changes)

* Advanced trading rework

Fixes all problems @ebaydayz
2016-06-21 20:18:41 -04:00
ebaydayz
6ef59a0237 Add server RPT logging to Advanced Trading 2016-05-11 12:41:59 -04:00
icomrade
33e9c7669b GetPlayerUID compile, update skin change 2014-07-17 14:29:17 -04:00
icomrade
3491e4462d Add variable 2014-06-30 12:46:06 -04:00
icomrade
6f8efd8428 Legacy UID 2014-06-30 11:53:14 -04:00
Skaronator
8262431ba3 Fix #1192 2014-04-05 13:27:28 +02:00
icomrade
935ed7931d fix for name function error (untested)
17:00:15 WARNING: Function 'name' - PLAYER is dead
2014-03-25 22:01:07 -04:00
[VB]AWOL
5db68b7d13 fake trade just for logging when DZE_ConfigTrader = true
_key = format["CHILD:398:%1:%2:",_traderID,_buyorsell];

_data = "HiveEXT"
_result =
// diag_log ("TRADE: RES: "+ str(_result));
_outcome = _result select 0;
2014-02-04 12:48:57 -06:00
ctc.Sebi
481369154a Update server_tradeObject.sqf 2014-01-07 16:39:53 +01:00
ctc.Sebi
4e1960f46c Update server_tradeObject.sqf
Extended trade-logging (incl. price)
2014-01-07 16:38:19 +01:00
Skaronator
9c1330a0fd Little Fix 2013-11-16 18:10:32 +01:00
Skaronator
8f663367e8 Cleanup Script 2013-11-16 15:47:03 +01:00
Skaronator
1f85c30122 Missionside Example for Chernarus11 2013-11-16 15:46:45 +01:00
Skaronator
253d5ccc39 New Logsystem Script Side 2013-11-16 15:42:52 +01:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00