What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to make sell/stash/ID faster?

darlack

Member
Joined
Mar 3, 2015
Messages
252
Reaction score
0
I w8ting for solution. Where i can change it in code or..? how to make it stash/sell and id faster like it was in first versions of buddy?
I ask it before 2.0 and ask it again many times after 2.0
Bot really slow doing ID/sell and stash items
even slower than human

I know you dont add it because of security reasons, but how can i make it by myself?
i got 5*3 codes and i want buy more, but i really stuck with slow bots....
 
With code, you can change:

Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MinSleepDelay and Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MaxSleepDelay to speed up most actions. (no space, forum adds it)

The defaults are 1000ms / 1250ms, and the API should be able to handle them quite a bit lower without any side effects.

You can do it via the DevTab or a plugin, but keep in mind, you don't want to set it too low, as then it will go faster than typical humans can.
 
Would this do the trick?

Code:
using Loki.Bot.Logic.Bots.OldGrindBot;

public class MyClass
{
	

	public void Execute()
	{
		Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MinSleepDelay = 100;
		Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MaxSleepDelay = 100;
		
		
	}
}
 
You can add the logic to your routine or an existing plugin (in say Start), otherwise that code in itself is incomplete for a plugin.

Take a look at any of the included plugins source for an example of a working plugin the bot will load and execute.
 
Thanks a lot, works. Not so fast as i want, but more better.
 
toNyx this is what you wrote in my thread:I Really hope you're familiar with C#, else you'll be slow for ever;D

well i'm not familiar with any program language...Can't someone who is familiar with it make something for the ppl who are not?You guys spare shit tons of time in improving the plugins,can't you make this for us?Whats the big deal when it takes 10 mins for ppl who are familiar with program language?Pls help us with this!!!
 
Ok. Here's the "Guide" :P
1) Open this file in notepad or any else text editor. if you are using other Routine, use it's file instead
Code:
Bot Folder\OldRoutine\OldRoutine.cs

2) Search for:
Code:
Log.DebugFormat("[OldRoutine] Start");

3) Add this below below the line found in 2:
Code:
Loki.Bot.Coroutines.ReactionMinSleepDelay  = your minimum value;
Loki.Bot.Coroutines.ReactionMaxSleepDelay  = your maximum value;

4) Save the file
5) Restart the bot
6) ????
7) Profit
 
Last edited:
Ok. Here's the "Guide" :P
1) Open this file in notepad or any else text editor. if you are using other Routine, use it's file instead
Code:
Bot Folder\OldRoutine\OldRoutine.cs

2) Search for:
Code:
Log.DebugFormat("[OldRoutine] Start");

3) Add this below below the line found in 2:
Code:
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MinSleepDelay = your minimum value;
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MaxSleepDelay = your maximum value;

4) Save the file
5) Restart the bot
6) ????
7) Profit
Works like a charm tnx alot!!!!!!!!!!!
 
You should consider not lowering it too much, the client is clunky and sometimes might fail to do something
i set it at 200-300 ms,1st i did was 100-200 but i think i got kicked out for too many actions
 
Ok. Here's the "Guide" :P
1) Open this file in notepad or any else text editor. if you are using other Routine, use it's file instead
Code:
Bot Folder\OldRoutine\OldRoutine.cs

2) Search for:
Code:
Log.DebugFormat("[OldRoutine] Start");

3) Add this below below the line found in 2:
Code:
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MinSleepDelay = your minimum value;
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MaxSleepDelay = your maximum value;

4) Save the file
5) Restart the bot
6) ????
7) Profit

You da real MVP
 
Are there changes needed to make this work for the current version of the bot? I get a lot of errors when adding in this code.
 
Code:
Loki.Bot.Coroutines.ReactionMinSleepDelay  = your minimum value;
Loki.Bot.Coroutines.ReactionMaxSleepDelay  = your maximum value;
 
Seem to be doing something wrong. Not sure what below below the line found in 2 exactly means (still a newb to adding stuff that isnt in a easy display)
This is what my oldrout.cs looks like where you said to edit
Code:
                        Log.DebugFormat("[OldRoutine] Start");

			Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MinSleepDelay = 200;
			Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MaxSleepDelay = 300;


Cannot load [OldRoutine] because an exception occurred [C:\Users\Jake\Desktop\BE\3rdParty\_CONFIGS_\Shields\OldRoutine\Content-33537687\OldRoutine.cs(544,4) : error CS0234: The type or namespace name 'Bots' does not exist in the namespace 'Loki.Bot.Logic' (are you missing an assembly reference?)
C:\Users\Jake\Desktop\BE\3rdParty\_CONFIGS_\Shields\OldRoutine\Content-33537687\OldRoutine.cs(545,4) : error CS0234: The type or namespace name 'Bots' does not exist in the namespace 'Loki.Bot.Logic' (are you missing an assembly reference?)
].
System.Exception: C:\Users\Jake\Desktop\BE\3rdParty\_CONFIGS_\Shields\OldRoutine\Content-33537687\OldRoutine.cs(544,4) : error CS0234: The type or namespace name 'Bots' does not exist in the namespace 'Loki.Bot.Logic' (are you missing an assembly reference?)
C:\Users\Jake\Desktop\BE\3rdParty\_CONFIGS_\Shields\OldRoutine\Content-33537687\OldRoutine.cs(545,4) : error CS0234: The type or namespace name 'Bots' does not exist in the namespace 'Loki.Bot.Logic' (are you missing an assembly reference?)

at Loki.Bot.ThirdPartyLoader.‏*‬‫‎‪**‬‎​*‫*‪***‫‫‎‎‎***(Dictionary`2 , String )
 
Last edited:
This is the old outdated code that will not work anymore:

Code:
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MinSleepDelay = 200;
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MaxSleepDelay = 300;

The new code would be:

Code:
Loki.Bot.Coroutines.ReactionMinSleepDelay = 200;
Loki.Bot.Coroutines.ReactionMaxSleepDelay = 300;

Im not 100% sure what the default values are, but i believe the default is something like 200 to 300, (the old code delay was like 1000 to 1500) so your change wouldnt really do anything. The newer bot actually does the sorting and everything pretty fast by default. Of course play around with the numbers based on your own machine / connection.
 
Last edited:
This is the old outdated code that will not work anymore:

Code:
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MinSleepDelay = 200;
Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.MaxSleepDelay = 300;

The new code would be:

Code:
Loki.Bot.Coroutines.ReactionMinSleepDelay = 200;
Loki.Bot.Coroutines.ReactionMaxSleepDelay = 300;

Im not 100% sure what the default values are, but i believe the default is something like 200 to 300, (the old code delay was like 1000 to 1500) so your change wouldnt really do anything. The newer bot actually does the sorting and everything pretty fast by default. Of course play around with the numbers based on your own machine / connection.

Works like a charm, thank you very much!
I remember a routine you had edited for me and it handled it very well, but I do agree it is better then what it was.
Thank you again my friend
 
Works like a charm, thank you very much!
I remember a routine you had edited for me and it handled it very well, but I do agree it is better then what it was.
Thank you again my friend

can you tell where you add the code?
 
Back
Top