• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Clone Money 7.72 OTX Server/TFS/Softcores 1.0.X.S

ffranks

New Member
Joined
Jul 19, 2025
Messages
14
Reaction score
1
New low-level players started duplicating money in the server. I've turned everything upside down and still can't figure out the cause.
I’ve looked through all the known item duplication reports here on the forum and found nothing relevant.


I’m using a TFS/OTX server (OldServBR 7.72 adapted to 7.4). I’ve already:


  • Checked Eremo’s NPC for the classic AOL duplication bug.
  • Reviewed all bank-related scripts.
  • Verified that no NPC is selling items for incorrect (cheap) prices.

I couldn’t find anything suspicious.
I don't know if anyone else experienced a similar issue.


My project is based on this repo:
👉 GitHub - mattyx14/otxserver: OTX Server from: (https://github.com/mattyx14/otxserver/)


Still no solution so far. I'm completely stuck.
Post automatically merged:

also i checked about the sample chars with money coming from rookguard and its not happens...
 
Check into you AAC if you have already applied this fix:


Players can transfer money to sample and new chars are created with balance.
 
thank you, but the problem not coming from the sample ;/ i saw the IP its aways the same person that are doing that. its really strange,
i use only sample rook and its not possible to send money to him.
 
thank you, but the problem not coming from the sample ;/ i saw the IP its aways the same person that are doing that. its really strange,
i use only sample rook and its not possible to send money to him.
If there are no crashes, it must be some kind of item clone (IDK any on OTX) or wrong config of NPC/Lua scripts.
My friend had similar problem on 500+ online OTS - few weeks ago - and it took him 3 days to finally start tracking prices of items bought from/sold to NPC to find out that one NPC sold some item for less than other NPC bought it.

EDIT:
With 'item clone', you should also notice high number of rare items in database, not just money.
 
Last edited:
I confirm. We also had an NPC who was selling, for example, Ring of the Sky for 200gp, and another one was buying it for several thousand gp. We caught him during server tests.
 
I checked all the NPC buy and sell prices and didn’t find any anomaly that would allow buying cheaper and selling for more.


It’s not the bug of moving items to the equipment slot and then back to the backpack either, nor the action that converts platinum coins into gold or crystal coins and vice versa.


Maybe the only possible issue could be a bug in the integrated bank system used by all NPCs, but I can’t identify it.
Post automatically merged:

I confirm. We also had an NPC who was selling, for example, Ring of the Sky for 200gp, and another one was buying it for several thousand gp. We caught him during server tests.
Do you remember what npc?
 

Attachments

Maybe the only possible issue could be a bug in the integrated bank system used by all NPCs, but I can’t identify it.
I CAN BE. I've seen at least 3 different 'bank balance for all NPCs' implementations on 10+ OTSes in last 5 years, that had some weird math errors (made by someone who does not understand math/logic or did it on purpose) which cloned money in some way:
  • by delivering items to players without enough money (BP + bank combined)
  • by delivering items to players with enough money (BP + bank combined), but not removing all required money (ex. left money on bank account/in BP)
  • by delivering items to players, removing all required money, but then adding 'change for payment' (gp) into players BP/bank - which they should not receive

There were also 2-3 errors in math/logic in otservbr/canary in "Market system" that cloned money in last few years, also probably 1 in early TFS 1.x market implementation.
Do you have "Market system" added on 7.72?
 
I CAN BE. I've seen at least 3 different 'bank balance for all NPCs' implementations on 10+ OTSes in last 5 years, that had some weird math errors (made by someone who does not understand math/logic or did it on purpose) which cloned money in some way:
  • by delivering items to players without enough money (BP + bank combined)
  • by delivering items to players with enough money (BP + bank combined), but not removing all required money (ex. left money on bank account/in BP)
  • by delivering items to players, removing all required money, but then adding 'change for payment' (gp) into players BP/bank - which they should not receive

There were also 2-3 errors in math/logic in otservbr/canary in "Market system" that cloned money in last few years, also probably 1 in early TFS 1.x market implementation.
Do you have "Market system" added on 7.72?
Thank you, I’m trying to test to see if I can identify it. I don’t have the market implemented on this server.
 
Thank you, I’m trying to test to see if I can identify it. I don’t have the market implemented on this server.

If you cannot discover the bug triying looking scripts etc, then:

Scan database for excesive money balance / rare items.
Make a backup of your database and open a test server then scan it without lag your main server, scan house tiles, depots.
You will find some player names suspicious.
Try to use social engineering to discover the existing bug.

Some players tries to help others not, but there are a high chance to extract information from the abusers, just be friendly and compensate.
 
There is a bug where players clone money just by using any two-handed sword, like the image of the backpack in the first slot one gold and the others occupied and the hand where the shield or bow goes the money when raising the sword verifies that it is not possible and clones the money

hLqSX2g.jpg.d1c7b2aa34e9d20ca72415cb7872a293.webp

CWuXbjp.jpg.025ac860154b1c4787a839334c242e9c.webp
 
Last edited:
I checked all the NPC buy and sell prices and didn’t find any anomaly that would allow buying cheaper and selling for more.


It’s not the bug of moving items to the equipment slot and then back to the backpack either, nor the action that converts platinum coins into gold or crystal coins and vice versa.


Maybe the only possible issue could be a bug in the integrated bank system used by all NPCs, but I can’t identify it.
Post automatically merged:


Do you remember what npc?
I recommend looking for things like magic long swords, etc. (We had an NPC somewhere far from town who was selling it for 200gp :d)
 
There is a bug where players clone money just by using any two-handed sword, like the image of the backpack in the first slot one gold and the others occupied and the hand where the shield or bow goes the money when raising the sword verifies that it is not possible and clones the money

View attachment 94159

View attachment 94160
I did this test and it didn’t work... thanks for the help!! The player who was duplicating has disappeared, so now I have no evidence ;/ the others are playing normally, so it doesn’t seem like it’s something common that he discovered. Besides that, I use ZACC, I ran tests on the item history from the online store, and didn’t find anything. I’m still searching.

thank you!
Post automatically merged:

I recommend looking for things like magic long swords, etc. (We had an NPC somewhere far from town who was selling it for 200gp :d)
I checked each NPC one by one, made a spreadsheet by ID with buy and sell prices, and didn’t find any possibility to buy cheap and sell;/
 
I’m thinking of launching a separate test server to make testing possible. I’d like to know if anyone would be available to participate in these tests. I can offer a reward as much as possible!

If anyone is interested, please send me a private message and we can arrange it. Thank you!
 
I’m thinking of launching a separate test server to make testing possible. I’d like to know if anyone would be available to participate in these tests. I can offer a reward as much as possible!

If anyone is interested, please send me a private message and we can arrange it. Thank you!
I worked with this version for 3 years and never discovered this problem...
My big piece of advice is to install the CAM system. I believe it's the only way to really find out what's going on.

The person who cloned on my server always logged out of Darashia, where he sells runes.
 
Maybe offer the bug abuser some amount of premium points? May be also a solution. ;)
I made two saves of his character while he was walking through the city and heading to the NPC who sells mana fluids, to check for any differences. The only evidence I have is that gold coins start appearing in his hand. When I reviewed the moment he was walking through the city up until he reached the NPC, he had nothing—just his equipment. But once he got to the NPC and started buying mana fluids nonstop to level up magic level, he suddenly had 800k in his hand in crystal coins.

I tried to approach the player, but he refused to help and said he wouldn’t explain how he did it, and never logged in again. I offered premium points and other rewards, but it was in vain. It’s been a few days now since he last logged in.



One thing I did was also change slotClassic = false so that gold is no longer held in hand, but I can’t verify anything else now since he never logged back in.
 
Guys, I finally discovered the bug. There was an NPC in Rook with a buy-and-sell script pattern completely different from the others. After many purchase attempts, as you walked to the limit of the SQM distance for the NPC to still handle you, sometimes it bugged and stopped charging you for the items. The person exploiting the bug, once they reached this stage, would set up a macro to keep buying and selling items infinitely, like 20gps items, etc. After a whole day, they could transfer 1kk to the main.


It was fixed by deleting this script and creating a new buy-and-sell one. I didn’t even waste my time trying to fix it, I just replaced it. I discovered it by monitoring a player who had suspicious behavior.
 
Back
Top