From d24f4da378f99c22ab749691bd34b6e3d4002e5c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 11 Jun 2019 10:52:14 -0300 Subject: Report to all online players possible trade hack attempts, and cancel trade instead of banning (tweaked/fixed server-code wise). What is considered dupe? Read below. Please note that stacked item trade is NOT allowed, they must be on inv., you must have free space in inventory, ManaPlus should NOT provide an id of 0 (sometimes it does). And you must have GP. Arrows can be stacked. EQUIPPED ITEMS CANNOT BE TRADED. Report for @4144 - money is item id 0 according to src/map/trade.c, so it is a suspcious behavior that hack trade messages are about item id 0 (line 369). --- conf/groups.conf | 1 + conf/map/battle/gm.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/groups.conf b/conf/groups.conf index 4ef556db6..0913397c2 100644 --- a/conf/groups.conf +++ b/conf/groups.conf @@ -94,6 +94,7 @@ groups: ( permissions: { /* without this basic permissions regular players could not trade or party */ + hack_info: true can_trade: true can_party: true } diff --git a/conf/map/battle/gm.conf b/conf/map/battle/gm.conf index 43c083466..ce8092c46 100644 --- a/conf/map/battle/gm.conf +++ b/conf/map/battle/gm.conf @@ -48,7 +48,7 @@ atcommand_max_stat_bypass: false // Ban people that try trade dupe. // Duration of the ban, in minutes (default: 5). To disable the ban, set 0. -ban_hack_trade: 1 +ban_hack_trade: 0 // requires RENEWAL_DROP to be enabled (src/map/config/renewal.h) // modifies @mobinfo to display the users' real drop rate as per renewal_drop formula -- cgit v1.2.3-60-g2f50