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

LazyGrinder - An opensource grinder

Nice cant wait to test this tonight, already made my own Combat Routine for this as noone supports my class :)
 
me again, can you define a Folder for all Combat Rountines, then just read them out and add them to a dropdown Menu ? That way ppl with custom combat routines dont have to edit the path stuff every update, would be awsome.
 
me again, can you define a Folder for all Combat Rountines, then just read them out and add them to a dropdown Menu ? That way ppl with custom combat routines dont have to edit the path stuff every update, would be awsome.

I added this feature in 0.4.0. Thanks for the idea. Hope the way its implemented is understandable, but this was the only way I knew how at the moment.
I also added resting in 0.3.0 so, give it a try!
 
Hey nick1988, i just woke up to try out the new and improved LazyGrinder. Few issues that i should point out while using it:

if (hpp(me) <= 50 && Vfood != "Food" && itemCooldown(Vfood) == 0)
{
UseItem(Vfood);
}
if (hpp(me) <= 35 && Vhealthp != "Health Potion" && itemCooldown(Vhealthp) == 0)
{
UseItem(Vhealthp);
}
if (mpp(me) <= 35 && Vmanap != "Mana Potion" && itemCooldown(Vmanap) == 0)
{
UseItem(Vmanap);
}
if (mpp(me) <= 50 && Vdrink != "Drink" && itemCooldown(Vdrink) == 0)
{
UseItem(Vdrink);

I reduced the "<=" parameters from 90 to 50 when to use food/drink because it would constantly just eat and drink during combat if it's HP went under 90% wasting all my food/drink. Even though i have reduced the parameters it does help relieve the issue somewhat but it still occurs at 50%.

IMO maybe make it so it only eats/drinks when out of combat but only using HP/MP pots as last resort during combat to survive, otherwise it will just continuously eat/drink during combat every time the NPC gets your HP below the threshold you set.
 
Hey nick1988, i just woke up to try out the new and improved LazyGrinder. Few issues that i should point out while using it:



I reduced the "<=" parameters from 90 to 50 when to use food/drink because it would constantly just eat and drink during combat if it's HP went under 90% wasting all my food/drink. Even though i have reduced the parameters it does help relieve the issue somewhat but it still occurs at 50%.

IMO maybe make it so it only eats/drinks when out of combat but only using HP/MP pots as last resort during combat to survive, otherwise it will just continuously eat/drink during combat every time the NPC gets your HP below the threshold you set.

I switched the behaviour to eat and drink only if there is no current target, and if at or below 25% health. Infight he will use Potions at 30% or below. Please let me know if its better or worse now ;)


So this will work with deomonlogist class then as well now?
If you are using version 0.2.0 or higher (which I highly recommend) then YES.
 
Ok cool thanks man, deaf looks solid im having a issue Im trying to set up the demonologist one..

so i followed the steps and have that prompt comming up asking my for what class base i picked demonologist and other fields i left blanked do i need to fill out the custom routing field even though i selected demologist im just a little confused


i made the deomonlogist folder with the .dll cs and the ptb file

Is your folder structure looking like this:

View attachment 144121

If yes, check the spelling, its crucial, that the spelling is exactly like in my screenshot (there is 1 space between the Lazyraider and the (CLASSNAME))

Edit:

Just in case, here is a list of the exact name for folder and plugin. this way you can copy&paste.

Lazyraider (Darkrunner) || LazyRaider (Darkrunner).dll
Lazyraider (StoneArrow) || Lazyraider (StoneArrow).dll
Lazyraider (Daggerspell) || LazyRaider (Daggerspell).dll
Lazyraider (Demonologist) || Lazyraider (Demonologist).dll
Lazyraider (Blighter) || Lazyraider (Blighter).dll"
 
Last edited:
didnt realize i had to c heck off the demonologist folder as well in plugin manager thought only lazy grinder one haha!
 
didnt realize i had to c heck off the demonologist folder as well in plugin manager thought only lazy grinder one haha!

If configured correct, it will automaticly activate the required combat routine plugin you have chosen once you hit "Start LazyGrinder".

e.g: You start the "LazyGrinder Plugin" from the manager, then select "Lazyraider (Daggerspell) from the list. Now you click "Start LazyGrinder". You should now notice, that the "Lazyraider (Daggerspell) is automaticly started within your Plugin Manager. Once you klick
"Stop LazyGrinder" it should automaticly stop within the Plugin Manager.
 
If configured correct, it will automaticly activate the required combat routine plugin you have chosen once you hit "Start LazyGrinder".

e.g: You start the "LazyGrinder Plugin" from the manager, then select "Lazyraider (Daggerspell) from the list. Now you click "Start LazyGrinder". You should now notice, that the "Lazyraider (Daggerspell) is automaticly started within your Plugin Manager. Once you klick
"Stop LazyGrinder" it should automaticly stop within the Plugin Manager.


really.. hmm ima have to take a double look at it.. not sure if something pertaining that issue is causing a error im seein now....

Right now its farming decently.. one thing i would say ill be max health after pulling any number mob in sequence and there will be a delay some times between pulls even when hp is good
as well some times it spins like several times "when i say several i mean like 25 plus looks really bottish"
 
The Spinning Happens when a mob is realy Close, right? Atleast Thats where i noticed this. Not sure why.... Must be a line of sight issue.
 
The Spinning Happens when a mob is realy Close, right? Atleast Thats where i noticed this. Not sure why.... Must be a line of sight issue.


yea looks like it for sure, the delay is just the other thing is it waiting on something specific .. maybe my mana... not sure some times it pulls mobs back to back loving it then all of sudden it stops
 
yea looks like it for sure, the delay is just the other thing is it waiting on something specific .. maybe my mana... not sure some times it pulls mobs back to back loving it then all of sudden it stops

well, if your mana is for example at 10% and the plugin cycles through the skills and finds a condition that is true it will try to execute it. but if this condition needs more then your 10% mana, this can cause the delay i guess. But I am not 100% sure though.
 
ok so running your new updates man love it. Got some more notes for you. It uses all your mana pots first. i would raise the eat food/water to 35/40 % cause it wont fill your bar anyway and drop pots to 25-30%. Second thing would be make it so that it saves your food data so you dont have to retype every time. Another GREAT thing would be a SVN feed so everyone could just one click update. Let me know if you need a hand with anything. I suck at codeing but ill keep testing for you ;)
 
90% of the time this works great!

I am having a spinning issue on all my characters, low mana or not they will sometimes just jump around a target until it either dies from auto attacks or the bot dies. Sometimes im not at the pc so it will stay at the res point for ages before i can get it back to farming.

Any idea why this happens?
 
Oh i know what that is. Its when u target and hit a mob that some other player just tagged. If you pull aggro it will just attack you till you die and the bot wont kill it. The bot thinks the other player is or has killed it. So its a part of the anti KS
 
With the code below, i have found a few problems while botting:
1. BOT doesn't always eat food when below threshold and when it does, it will immediately jump back into combat.
Fix: Maybe make the bot eat/drink once it's hp/mp is out of combat and wait longer for the HP/MP to regen before going into combat again.

Yeah after watching it more and more i noticed it rarely ever eats/drinks while out of combat when it's HP is below the 50% threshold i set it to. It will just keep jumping back into combat and using pots. Im not sure how to fix it.. you could possibly make it so, everytime it exit's combat it will eat and drink while/if it's HP is below threshold and only enter combat again after it regens to a certain higher threshold.

EDIT: In the span of about 5minutes of combat the bot used 2x food and 8x hp pots, inevitably dying in combat.

Creature bestNearestMob = null;
bestNearestMob = this.GetBestNearestMob(this.zone);
if ((bestNearestMob != null) && (bestNearestMob.name != "Eagle"))
{
try
{
while ((((bestNearestMob != null) && isAlive(bestNearestMob)) && (isExists(bestNearestMob) && GetGroupStatus("LazyGrinder"))) && isAlive())
{
if (hpp(me) <= 25 && Vfood != "Food" && itemCooldown(Vfood) == 0 && me.target == null)
{
UseItem(Vfood);
Thread.Sleep(5000);
}
if (mpp(me) <= 25 && Vdrink != "Drink" && itemCooldown(Vdrink) == 0 && me.target == null)
{
UseItem(Vdrink);
}
if (((bestNearestMob.aggroTarget != me) && (bestNearestMob.firstHitter != null)) && (bestNearestMob.firstHitter != me))
{
bestNearestMob = null;
break;
}
if (((bestNearestMob.firstHitter == null) && (getAggroMobs().Count > 0)) && (bestNearestMob != this.GetBestNearestMob(this.zone)))
{
bestNearestMob = this.GetBestNearestMob(this.zone);
}
if (me.target != bestNearestMob)
{
SetTarget(bestNearestMob);
}
//if (hpp(me) <= 30 && Vfood != "Food" && itemCooldown(Vfood) == 0)
//{
// UseItem(Vfood);
//}
if (hpp(me) <= 30 && Vhealthp != "Health Potion" && itemCooldown(Vhealthp) == 0)
{
UseItem(Vhealthp);
}
if (mpp(me) <= 30 && Vmanap != "Mana Potion" && itemCooldown(Vmanap) == 0)
{
UseItem(Vmanap);
}
//if (mpp(me) <= 25 && Vdrink != "Drink" && itemCooldown(Vdrink) == 0)
//{
// UseItem(Vdrink);
//}
if ((angle(bestNearestMob, me) > 0x2d) && (angle(bestNearestMob, me) < 0x13b))
{
TurnDirectly(bestNearestMob);
}
Thread.Sleep(10);
}
 
Last edited:
is there any way to make the bot not use some spells, its getting me killed a lot because its trying to spam some skills I dont have yet like magic circle and play dead
 
Back
Top