

the current lowest price and our threshold using undercut Calculate undercuts as a percentage of the difference between
#Tsm 4 wow code#
In place of the code you just cut insert the following code. Leave the "end" statement that was on line 437 before the cut alone.Ĥ. 17 lines in total (counting empty lines) up to and including line 436. Cut that line and everything else after it in to the end of that section of the code *except* the final "end" statement. It should be on line 420 in the latest version posted on Curse. In the function Post:QueueItemToPost(queue) find "- Check if we're posting something too high". Make a backup copy of a (named or something) just in case you mess things up.ģ. (Note: If you can't find the file you really shouldn't be attempting this!)Ģ. Open a in a text editor and make the following changes. A mistake could break things so badly you'll wind up having to reinstall and reconfigure TSM from scratch.ġ. If you don't know what you're doing or feel uncomfortable editing code, don't try this. WARNING - This requires editing the code of TSM a. If you don't like this bit there's a comment in the " - Check if we're posting something too high" section of the replacement code with a small change you can make to revert to original behavior. This is the only bit that kicks in for all posters not just blacklisted posters. The original code would just post at Fallback instead. If the lowest price is higher than your Fallback * Maximum Price, it will post at Fallback * Maximum Price. In addition maximum price is used just a little differently. When the lowest priced item was posted by a player not blacklisted everything works as per normal. Not even for blacklisted players.Īll of the above only kicks in for blacklisted players. The undercut will be 1-50% of the difference between the current lowest price (the camper's price) and your threshold price.įinally, I changed it to not ever post under your threshold. This modification changes the way the blacklist works by changing how the undercut is calculated when (and only when) undercutting a player on the blacklist.įor all other posters (posters not blacklisted) undercut calculations are the same as usual.įor blacklisted users, "undercut by" settings of 50c or less are considered to be percentages 1-50%. Most of it still works the same as before except it only kicks in for blacklisted players.īy default all TSM's blacklist does is ignore your threshold and continue undercutting blacklisted players posting below threshold no matter how low the price goes. A more targeted approach is needed so I tweaked my modification to use the blacklist and only target specific campers. I found the old approach too extreme for current conditions but there are still a few obsessive campers in certain markets. On top of which demand is high and supply lower than in the past. There's far more cooperation between big auction players, fewer obsessive campers and the worst of the campers (the bot) transferred. There were so many campers at that time the best approach was an indiscriminate blanket approach that simply lowered prices quickly until the camping stopped.Ĭonditions are a little different now. At the time my server was literally infested with campers and auction bots. In a prior post Dealing with obsessive campers - Part II advanced I detailed how I modifed TSM's a to calculate price cuts differently to bring prices down fast and discourage camping.
