Seleucids Posted June 9 Report Share Posted June 9 Under certain conditions, the market can be pumped exploited with OP trades that will generate infinite resources. Below is one example of the exploit: One needs to firstly invest 3000 metal to buy some other resources, e.g. food, to really depreciate the metal value and raise the food value. Then you take 500 food to trade back more than 3000 metal - you end with a net profit in metal. Furthermore, the food is still highly valued and you can buy huge quantities of other resources with food, resulting in resources being generated from nowhere. However, this is not consistently working. I tried to reproduce this but did not get these profitable values like Cube did. After many trades, I was eventually able to generate 10K metal after spending 2000 food and 2500 wood (profit?) Ideally we make changes to the bartering mechanism to prevent this from happening. 2 Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 9 Report Share Posted June 9 See: https://gitea.wildfiregames.com/0ad/0ad/issues/8051 2 Quote Link to comment Share on other sites More sharing options...
Atrik Posted June 9 Report Share Posted June 9 (edited) Since that happened this WE I looked into it, and got a grasp of the problem. The prices are currently driven by the number of transactions and not the volumes they generate. So one can drive the price of a resource then benefit from large transactions, therefor overall generating resources. Currently the formula multiply some constants to sold amount (which is equivalent to number of transactions, as sold amounts are fix), if you change it to bought amount, large transaction affect the price more, and generating resources from this 'Pump and Dump' no longer works => The only way to have barter efficiency over 100% will now be if ANOTHER player oversold a resource, and the amount you can generate is now proportional to the amount he lost. Which is very likely the behavior intended in the first place. Edited June 9 by Atrik 3 Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 9 Report Share Posted June 9 This is an OOS change so maybe could be tested in @borg-'s balancing mod or the Com mod by @real_tabasco_sauce 2 Quote Link to comment Share on other sites More sharing options...
ffm2 Posted Saturday at 20:57 Report Share Posted Saturday at 20:57 Today, almost 2 month after the public knowing of the market exploit, it happened again. It was a tg 4v4, the oddity detector called it out immediately. The player accused me of lying and insulted me. I wanted to resign the game right away. There was some doubt about a false positive and I carried on since the others wanted to play it out. I wouldn't post if he didn't deny it and insult me. If you are around him don't talk about any game weaknesses, exploits or modding or so. Here's screenshots from the replay. I am very disappointed that jagsusindia cheats and robs the trust and time of 7 other players. The oddity detector has some false positives on the other checks, e.g. for mouse clicker on lag. But I didn't see the market exploit check fail yet. It can be seen in the snippet that jagsus only traded food and wood with a barter efficiency over 100%. 2 1 Quote Link to comment Share on other sites More sharing options...
Deicide4u Posted Saturday at 21:27 Report Share Posted Saturday at 21:27 (edited) 32 minutes ago, ffm2 said: Today, almost 2 month after the public knowing of the market exploit, it happened again. That's sad. But that problem has a solution. The moment it happens, you just collectively let a 4v1 on the cheater. Until he's out of the game, everyone is on cease fire. Edited Saturday at 21:29 by Deicide4u 1 2 Quote Link to comment Share on other sites More sharing options...
TheCJ Posted Saturday at 23:03 Report Share Posted Saturday at 23:03 @Arup ? Even a child should know thats not okay. Or do you have anything to say for yourself? Quote Link to comment Share on other sites More sharing options...
Arup Posted yesterday at 03:56 Report Share Posted yesterday at 03:56 1.Consider this: It was a champ cav game, I needed food, not wood, but I traded for wood instead of for food; so I reversed my dealings. is that cheating? 2. this is a pretty much a net loss. 2800 food+2500 wood (5300 resource total) for 4500 food is a net loss, it's barely a profit for 5900 total resource. on what earth is that cheating? 3. you need atleast 3.5k metal to run the exploit I think, and I literally started mining metal. 4. I already knew there are specs watching, do you really think I'm that dumb to actually exploit? Quote Link to comment Share on other sites More sharing options...
Arup Posted yesterday at 04:02 Report Share Posted yesterday at 04:02 I was about to report it myself in that game that got a free turnover, but then ffm started spamming "gg cheats" "gg bye" "resigning" so I lost my cool. then they paused for 5 mins ruining my build. truly a great strategy, I must add. To everyone other than ffm, I apologise if you thought this was cheating, it isn't, I'm always a texter you'll see me text my intentions always before going for smth weird or new. Quote Link to comment Share on other sites More sharing options...
Deicide4u Posted yesterday at 09:21 Report Share Posted yesterday at 09:21 5 hours ago, Arup said: I was about to report it myself Sure you were. When you bartered 500 wood for 1352 food, did you stop to think how this might be suspicious? No, you kept bartering 500 wood for obviously large amounts of food. So, I call BS. Quote Link to comment Share on other sites More sharing options...
alre Posted yesterday at 10:06 Report Share Posted yesterday at 10:06 may I suggest that this problem is patched by using a proper market maker algorithm in the game instead of one that's improvised? constant product is one that immediately jumps to my mind, that is actually applied in solutions with real money involved. 1 Quote Link to comment Share on other sites More sharing options...
TheCJ Posted yesterday at 10:28 Report Share Posted yesterday at 10:28 6 hours ago, Arup said: you need atleast 3.5k metal to run the exploit I think, and I literally started mining metal. You dont need any metal if you arent exploiting for metal. I am also willing to believe that Jagsus actually bartered in the wrong direction on mistake, I made that error multiple times myself. @ffm2 I understand that such moments can be heated ingame, but if what Jagsus says about what you said ingame is true, please try to be a bit "nicer". Same goes for @Arup of course. Its "just" a game, so long as there is a possibility that Jagsus made a mistake, you are all still on the "same side", trying to have fun playing this great game together. Also @Arup , maybe just dont use the bartering system at all as long as it remains broken? The exploit makes it obvious, but even normal bartering is probably unfair is some cases. Quote Link to comment Share on other sites More sharing options...
ffm2 Posted yesterday at 11:26 Report Share Posted yesterday at 11:26 23 minutes ago, TheCJ said: @ffm2 I understand that such moments can be heated ingame, but if what Jagsus says about what you said ingame is true, please try to be a bit "nicer". No. The market exploit is a deal-breaker and grounds for ending the game. The only reason I stayed was out of respect for the rest of the other players. This behavior needs to be addressed immediately. The person responsible should see a direct link between their actions and the consequences. There's nothing funny about this exploit. It just generates resources. For it to happen randomly is extreme rare but additional to that he was straight booming aiming for a market directly after reaching phase 2. Directly when the market was finished this "accident" happened. There's only one mistake: jagsus started traded with 500 food for wood instead of 100 food but corrected it shortly after and ended up with profit. No player aiming for champ cav stores thousand of res at minute 10 so he can spend it on champs later. You can watch the replay. Don't play in to his delusions. I don't plan to play with him in the near future if this is not addressed properly by him. One problem is the cheating, the other is the behavior afterwards. 2025-07-26_0002_jagsusindia.zip Quote Link to comment Share on other sites More sharing options...
Atrik Posted yesterday at 11:49 Report Share Posted yesterday at 11:49 1 hour ago, alre said: may I suggest that this problem is patched by using a proper market maker algorithm in the game instead of one that's improvised? constant product is one that immediately jumps to my mind, that is actually applied in solutions with real money involved. Yes, it's just a small mistake of using a wrong variable for price calculations to make it alike a constant product market maker. Well... More or less since there is also the orders themselves that you get for the price of the first resource bought (if you buy 500 food, you get the whole 500 food for the price of the first food unit), however this will always be smaller then the base barter malus. So really we just need to fix what I'm linking to, in the above. 1 Quote Link to comment Share on other sites More sharing options...
Arup Posted yesterday at 13:34 Report Share Posted yesterday at 13:34 4 hours ago, Deicide4u said: Sure you were. When you bartered 500 wood for 1352 food, did you stop to think how this might be suspicious? No, you kept bartering 500 wood for obviously large amounts of food. So, I call BS. You just lost all your wood. will you wait for someone in enemy team to look at that and take all your 3k wood? or will you take back your wood first then speak? and in anyway i do remember stalling a few seconds before doing that first trade, realising my mistake Quote Link to comment Share on other sites More sharing options...
Arup Posted yesterday at 13:36 Report Share Posted yesterday at 13:36 2 hours ago, ffm2 said: No player aiming for champ cav stores thousand of res at minute 10 so he can spend it on champs later. I do! its not my fault you dont! I do lmao Quote Link to comment Share on other sites More sharing options...
Arup Posted yesterday at 13:38 Report Share Posted yesterday at 13:38 Here is me stacking res preparing for cav champs Quote Link to comment Share on other sites More sharing options...
Arup Posted yesterday at 13:39 Report Share Posted yesterday at 13:39 Here is the market for the same: Quote Link to comment Share on other sites More sharing options...
ffm2 Posted 22 hours ago Report Share Posted 22 hours ago I don't think this is a productive conversation. But apart from that your team percentages are the individual percentages summed up. I can't reproduce that bug in vanilla. 9 hours ago, Arup said: Quote Link to comment Share on other sites More sharing options...
Atrik Posted 11 hours ago Report Share Posted 11 hours ago (edited) 11 hours ago, ffm2 said: But apart from that your team percentages are the individual percentages summed up. I can't reproduce that bug in vanilla. Thanks @ffm2 for noticing this. So I dug into this bug and this is actually due to a typo in vanilla, while ModernGUI have the correct identifier "barterEfficiency" instead of the misspelled "barterEfficency" found in vanilla summary. Edit: Nobody will makes a PR for a typo I guess so I've just overwritten the faulty function so its fixed anyways for ModernGUI. Edited 11 hours ago by Atrik Quote Link to comment Share on other sites More sharing options...
Dakara Posted 6 hours ago Report Share Posted 6 hours ago (edited) On 27/07/2025 at 11:21 AM, Deicide4u said: Sure you were. When you bartered 500 wood for 1352 food, did you stop to think how this might be suspicious? No, you kept bartering 500 wood for obviously large amounts of food. So, I call BS. are we sure it normal ? its depend the game , if the wood have a big value compare food.. if one player really need food and have too much wood.. what he has to do finally? how he is supposed to know its cheat or no cheat Edited 6 hours ago by Dakara Quote Link to comment Share on other sites More sharing options...
guerringuerrin Posted 5 hours ago Report Share Posted 5 hours ago (edited) 1 hour ago, Dakara said: how he is supposed to know its cheat or no cheat I think it becomes very evident when someone sell one Resource to buy another, incurring clear and significant losses, only to later use the second Resource (which was purchased very inefficiently) to buy back the first one or other assets with exorbitant yield rates. As can be seen in the Cube screenshot from the first message in this thread. On 09/06/2025 at 5:57 AM, Seleucids said: Under certain conditions, the market can be pumped exploited with OP trades that will generate infinite resources. Below is one example of the exploit: And one could say the same kind of technique was used here: On 26/07/2025 at 5:57 PM, ffm2 said: It can be seen in the snippet that jagsus only traded food and wood with a barter efficiency over 100%. So the question is: why would someone make such inefficient trades, only to quickly reverse them with the exact same trade in the opposite direction? So if my math is correct, what Arup did was: First Trade 2800 Food for 1462 Wood Secondly Trade 2000 Wood for 3940 Food So u can do the maths 3940 - 2800 = 1140 FOOD 2000 - 1462 = 538 Wood And in the end is like he trade 538 Wood for 1140 Food. Which is like get 211 Food for every 100 Wood Edited 5 hours ago by guerringuerrin Quote Link to comment Share on other sites More sharing options...
Dakara Posted 5 hours ago Report Share Posted 5 hours ago Yes but if another player do the first part of trade, you are the second player and you need use the market... Quote Link to comment Share on other sites More sharing options...
guerringuerrin Posted 4 hours ago Report Share Posted 4 hours ago 12 minutes ago, Dakara said: Yes but if another player do the first part of trade, you are the second player and you need use the market... Sure I guess one thing is to use the market another to exploit a vulnerability. I guess the important thing is this has been noticed and could be a fix of its mechanic to avoid this kind of exploits in the future Quote Link to comment Share on other sites More sharing options...
ffm2 Posted 4 hours ago Report Share Posted 4 hours ago (edited) 24 minutes ago, Dakara said: Yes but if another player do the first part of trade, you are the second player and you need use the market... This is perfectly fine to do if its not a arranged pump of two players. Bad: 2 players decide to split the cheat one sells 100 batches of food for wood - sends the wood to the other player only for him to sell it for food in 500 batches. Normal: As a player notice good prices at the market and decide to convert resources for profit. Bad: Have a bot checking price fluctuations and automate converting resources at good prices Edited 4 hours ago by ffm2 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.