OutdatedTraderBot [K-Relay Plugin]

Posts 91–105 of 158 · Page 7 of 11
How do I set up multiple trades without having to change the settings after each one? For example if i have 8 spd, i set up the bot to sell them for 1 def each and i end up with 4 def how do i set it up so the bot automatically starts selling the 4 def for another item like a mana instead of the bot just cancelling and the user having to change the settings for the bot to sell the def for the mana? Also how does it work with the message changing?
Quote Originally Posted by colin1460 View Post
How do I set up multiple trades without having to change the settings after each one? For example if i have 8 spd, i set up the bot to sell them for 1 def each and i end up with 4 def how do i set it up so the bot automatically starts selling the 4 def for another item like a mana instead of the bot just cancelling and the user having to change the settings for the bot to sell the def for the mana? Also how does it work with the message changing?
You're going to have to update the source to obtain this functionality. I ended up adding 2 new listboxes for the second set of trades, this way the TraderBot will alternate between the sell/buy lists after each successful sale. This aspect was pretty easy to code, it's pretty much a rinse and repeat of what the OP did. I ran into a couple bugs that I could easily weed out with visual studio's remote debugger (I run K-Relay on my development server). So far I have made about 29 life, much thanks to the OP, since I downloaded the source. Here is my version for swapping items, granted I have renamed every variable in the solution for my readability (not saying it was wrong by any means):

Console.WriteLine("Swapping items");
if (SellingItemDict2.Any() && BuyingItemDict2.Any())
{ /*Switch Items - just deep copy the lists*/

List<ItemStruct> tempBuyingItemDict1 = BuyingItemDict1[client].Select(i => new ItemStruct(i)).ToList();
List<ItemStruct> tempSellingItemDict1 = SellingItemDict1[client].Select(i => new ItemStruct(i)).ToList();

BuyingItemDict1[client] = BuyingItemDict2[client].Select(i => new ItemStruct(i)).ToList();
SellingItemDict1[client] = SellingItemDict2[client].Select(i => new ItemStruct(i)).ToList();

BuyingItemDict2[client] = tempBuyingItemDict1.Select(i => new ItemStruct(i)).ToList();
SellingItemDict2[client] = tempSellingItemDict1.Select(i => new ItemStruct(i)).ToList();

string tempSpam1 = SpamMessage1[client];
SpamMessage1[client] = SpamMessage2[client];
SpamMessage2[client] = tempSpam1;
}
Quote Originally Posted by xav907 View Post
You're going to have to update the source to obtain this functionality. I ended up adding 2 new listboxes for the second set of trades, this way the TraderBot will alternate between the sell/buy lists after each successful sale. This aspect was pretty easy to code, it's pretty much a rinse and repeat of what the OP did. I ran into a couple bugs that I could easily weed out with visual studio's remote debugger (I run K-Relay on my development server). So far I have made about 29 life, much thanks to the OP, since I downloaded the source. Here is my version for swapping items, granted I have renamed every variable in the solution for my readability (not saying it was wrong by any means):

Console.WriteLine("Swapping items");
if (SellingItemDict2.Any() && BuyingItemDict2.Any())
{ /*Switch Items - just deep copy the lists*/

List<ItemStruct> tempBuyingItemDict1 = BuyingItemDict1[client].Select(i => new ItemStruct(i)).ToList();
List<ItemStruct> tempSellingItemDict1 = SellingItemDict1[client].Select(i => new ItemStruct(i)).ToList();

BuyingItemDict1[client] = BuyingItemDict2[client].Select(i => new ItemStruct(i)).ToList();
SellingItemDict1[client] = SellingItemDict2[client].Select(i => new ItemStruct(i)).ToList();

BuyingItemDict2[client] = tempBuyingItemDict1.Select(i => new ItemStruct(i)).ToList();
SellingItemDict2[client] = tempSellingItemDict1.Select(i => new ItemStruct(i)).ToList();

string tempSpam1 = SpamMessage1[client];
SpamMessage1[client] = SpamMessage2[client];
SpamMessage2[client] = tempSpam1;
}
Can you release this? I would love to use it.
Hey toddddd, I've been running like 7 of these trader bots all in 7 Adobe flash players LOL, this takes up all my CPU, Do you have a way like kronkboxer or something I can just put all my mules in and then run the trade bot from there maybe that will reduce CPU usage.
Quote Originally Posted by citydrifter View Post
Hey toddddd, I've been running like 7 of these trader bots all in 7 Adobe flash players LOL, this takes up all my CPU, Do you have a way like kronkboxer or something I can just put all my mules in and then run the trade bot from there maybe that will reduce CPU usage.
nope. what you see in the main post is the last i did with this project, thats why i included the source.
Quote Originally Posted by \HereforHacks/ View Post
Does this still work?
yes it should still be working.
I wanted to buy a Soulless robe with 4 life, after a hour i come back and see 2 slime wizard skins in my inventory. Wtf?? Bot exploit or what, the log says "item found, trade successful"
Quote Originally Posted by xLoLeRxx View Post
I wanted to buy a Soulless robe with 4 life, after a hour i come back and see 2 slime wizard skins in my inventory. Wtf?? Bot exploit or what, the log says "item found, trade successful"
Double check your settings. Always double check the settings. If you read over this thread (which i strongly recommend), you will see quite a few posts exactly like yours. If you came back and saw that had happened the first thing you should do is open the settings again and verify that you did infact have 4 life for 1 soulless robe. It happened quite a few times to me where i would put one thing in but if you press any key while focus is still on the drop-down box it will change the item. So when you are doing more expensive items, save your settings and then re-check them again after you save & close. There still hasnt been any proof that there is anything wrong in the code in situations like this, the times people do have proof of what happened its always that the settings were wrong and they didnt know it.
Thx for release
Yo, I have no clue how to start the trader bot. Can anyone help??!!
Could someone help me set this up, I have legit no clue on how to set it up! Would really appreciate.
Quote Originally Posted by yesusog View Post
Yo, I have no clue how to start the trader bot. Can anyone help??!!
Quote Originally Posted by Cedridge View Post
Could someone help me set this up, I have legit no clue on how to set it up! Would really appreciate.
Here is the answer
http://www.mpgh.net/forum/showthread...1#post12180422
Works well man. Nice release, can't wait to see it progress more.

Good luck
Posts 91–105 of 158 · Page 7 of 11
This thread is closed for replies.

Similar Threads

Talk with us