Ps: Could you recommend me some tutorials on programing? Thanks in advance
H&H Groovy bot
Moderator: Phades
-
zann0
- Posts: 58
- Joined: Mon Feb 14, 2011 2:02 pm
Re: H&H Groovy bot
Can someone post hunger bot ? I have too much food and too little time to eat them Im always afking with leeches
Ps: Could you recommend me some tutorials on programing? Thanks in advance
Ps: Could you recommend me some tutorials on programing? Thanks in advance
-
Leny-m
- Posts: 109
- Joined: Sat Dec 17, 2011 8:04 pm
Re: H&H Groovy bot
Learn from the code that's been already posted. Unless you're talking about programming in general. Then it would be more of a .net, perl, java, c++ stuff for you and you would need few years of spare time to master thesezann0 wrote:Could you recommend me some tutorials on programing? Thanks in advance
I'd say find all the working scripts you can, study them and forge them into something useful like the hunger bot.zann0 wrote:... Can someone post hunger bot ?

Leny
-
Skoffer
- Posts: 3
- Joined: Fri Apr 02, 2010 5:32 pm
Re: H&H Groovy bot
Can you please repost link to 64-bit version of the bot?
For those of you who have the same problem:
You can run 32 bit version with wow64 emulator. It's integrated in windows 7.
drive://%windir%/syswow64/cmd.exe
then from cmd you can run 32 bit version
P.S. Still when typing ": bot lamber" nothing happens
For those of you who have the same problem:
You can run 32 bit version with wow64 emulator. It's integrated in windows 7.
drive://%windir%/syswow64/cmd.exe
then from cmd you can run 32 bit version
P.S. Still when typing ": bot lamber" nothing happens
-
Vario
- Posts: 6
- Joined: Fri Mar 23, 2012 9:22 pm
Re: H&H Groovy bot
Anyone have a groovy script for personal beliefs? (like a new alt, getting peaceful raised up?)
Also, one that will simply eat all available food of a specific type in a cupboard?
Still digging through examples in the meantime, but didn't want to re-invent the wheel.
Also, one that will simply eat all available food of a specific type in a cupboard?
Still digging through examples in the meantime, but didn't want to re-invent the wheel.
-
TheTylerLee
- Posts: 1604
- Joined: Thu Jul 21, 2011 6:00 am
Re: H&H Groovy bot
use Ghost mouse, Make it click to walk forward 1 step, then click on a slider,Vario wrote:Anyone have a groovy script for personal beliefs? (like a new alt, getting peaceful raised up?)
Also, one that will simply eat all available food of a specific type in a cupboard?
Still digging through examples in the meantime, but didn't want to re-invent the wheel.
or if you have trouble cause of DC's , record it logging in ;p
Discord: XiliX#2791
-
Vario
- Posts: 6
- Joined: Fri Mar 23, 2012 9:22 pm
Re: H&H Groovy bot
Looking for some help on a script to eat food out of a cupboard.
Been going through the various examples I can find and their seems to be 2 possible methods.
Then getting the item in a variable, using doClick and menu.select on it.
The for loop seems to only run one time, and it never calls the menu.
The findobjectbyname doesn't seem to ever do anything. (But I know a similiar script works to pick stuff off ground such as flax, fibers).
Will that only work on the world, and not in inventory?
Whole attempts included below. PS, is there a better way to do debug than say("blah"), I see print and println scattered all over various scripts, but I'm never seeing any output from them.
And
Appreciate any insight.
Been going through the various examples I can find and their seems to be 2 possible methods.
Code: Select all
for (item in getInventory("Cupboard").getItems()) {Code: Select all
while(findObjectByName("",50)) {
id=findObjectByName("carrot",50)The for loop seems to only run one time, and it never calls the menu.
The findobjectbyname doesn't seem to ever do anything. (But I know a similiar script works to pick stuff off ground such as flax, fibers).
Will that only work on the world, and not in inventory?
Whole attempts included below. PS, is there a better way to do debug than say("blah"), I see print and println scattered all over various scripts, but I'm never seeing any output from them.
Code: Select all
import static sys.*
def i=0;
say("Beginning item loop");
for (item in getInventory("Cupboard").getItems()) {
say("Inside For Loop("+i+")"+item.name);
if (item.isName("carrot") {
doClick(item,3, 0)
def menu = waitContextMenu()
menu.select("Eat")
waitHourglass()
Thread.sleep 200
}
}
And
Code: Select all
import static sys.*
def i=0;
say("Beginning item loop");
while(findObjectByName("",50)) {
id=findObjectByName("carrot",50)
say("Inside For Loop("+i+")"+id.name);
doClick(id, 3, 0)
def menu = waitContextMenu()
menu.select("Eat")
waitHourglass()
Thread.sleep 200
}
say("Ending item loop");-
mvgulik
- Posts: 4100
- Joined: Fri May 21, 2010 2:29 am
Re: H&H Groovy bot
To see the output of print or println you need to have the application console open. As thats where they show up, or should show up at least.Vario wrote:PS, is there a better way to do debug than say("blah"), I see print and println scattered all over various scripts, but I'm never seeing any output from them.
(Use "java.exe ..." instead of, "start javaw.exe ..." or "javaw.exe ...".)
-
Vario
- Posts: 6
- Joined: Fri Mar 23, 2012 9:22 pm
Re: H&H Groovy bot
Got a rudimentary version working now, needs more error checking though.
To use as is, you have to make sure everything in the cupboard is edible.
To use as is, you have to make sure everything in the cupboard is edible.
Code: Select all
import static sys.*
for (item in getInventory("Cupboard").getItems()) {
item.act()
waitContextMenu().select("Eat")
Thread.sleep(500);
}
-
Lords
- Posts: 23
- Joined: Sat Feb 26, 2011 11:17 pm
Re: H&H Groovy bot
Could someone post here the script, which throws ore from the inventory?
Thanks in advance
Thanks in advance

-
ttttt
- Posts: 187
- Joined: Wed Feb 09, 2011 10:48 pm
Re: H&H Groovy bot
em im running the groovy bot but every time i try to run a bot it immedaitly says Script finished
does nay one know what is wrong
does nay one know what is wrong