summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-11 10:52:14 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-11 10:52:14 -0300
commitd24f4da378f99c22ab749691bd34b6e3d4002e5c (patch)
treeb8df5585197a92a2284ab8384e3157858fe3eaeb
parent36e1cef51daaeeb9023a34c4679534fe16eb1e1b (diff)
downloadserverdata-d24f4da378f99c22ab749691bd34b6e3d4002e5c.tar.gz
serverdata-d24f4da378f99c22ab749691bd34b6e3d4002e5c.tar.bz2
serverdata-d24f4da378f99c22ab749691bd34b6e3d4002e5c.tar.xz
serverdata-d24f4da378f99c22ab749691bd34b6e3d4002e5c.zip
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).
-rw-r--r--conf/groups.conf1
-rw-r--r--conf/map/battle/gm.conf2
2 files changed, 2 insertions, 1 deletions
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