summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-21 18:44:49 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-21 18:44:49 -0300
commite7845989e7e27eae554254009b9040ac73d47c3e (patch)
treeec82e54abadbc6e02e7dd027d471d25a667e933a
parent3e1c5193a4321b7ab24a666def77e89a63f6b764 (diff)
downloadserverdata-e7845989e7e27eae554254009b9040ac73d47c3e.tar.gz
serverdata-e7845989e7e27eae554254009b9040ac73d47c3e.tar.bz2
serverdata-e7845989e7e27eae554254009b9040ac73d47c3e.tar.xz
serverdata-e7845989e7e27eae554254009b9040ac73d47c3e.zip
Lets do this the old fashioned way: With a banhammer
-rw-r--r--npc/020-5/bracco.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt
index 659505db8..cc34d405c 100644
--- a/npc/020-5/bracco.txt
+++ b/npc/020-5/bracco.txt
@@ -136,6 +136,7 @@
delinventorylist();
getinventorylist();
+ debugmes "Requested to melt down %d %s (%s)", .@total, getitemname(.@id), strcharinfo(0);
freeloop(true);
for (.@index=0; .@index < @inventorylist_count; .@index++) {
@@ -153,7 +154,9 @@
freeloop(false);
// TODO: Put this in a timer so it can't be exploited
+ // For now, we'll produce logs so I can go after cheaters with a banhammer
delitem .@id, .@total; // Delete first, no refunds
+ debugmes "Success melting down %d %s (%s)", .@total, getitemname(.@id), strcharinfo(0);
@indexisbroken=true;
return;