H&H Groovy bot

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: H&H Groovy bot

Postby zann0 » Mon Mar 26, 2012 7:58 pm

Can someone post hunger bot ? I have too much food and too little time to eat them Im always afking with leeches :roll:
Ps: Could you recommend me some tutorials on programing? Thanks in advance
zann0
 
Posts: 58
Joined: Mon Feb 14, 2011 2:02 pm

Re: H&H Groovy bot

Postby Leny-m » Wed Mar 28, 2012 5:26 pm

zann0 wrote:Could you recommend me some tutorials on programing? Thanks in advance


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 these ;)

zann0 wrote:... Can someone post hunger bot ?


I'd say find all the working scripts you can, study them and forge them into something useful like the hunger bot.
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Re: H&H Groovy bot

Postby Skoffer » Sun Apr 08, 2012 7:22 am

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
Skoffer
 
Posts: 3
Joined: Fri Apr 02, 2010 5:32 pm

Re: H&H Groovy bot

Postby Vario » Sun Apr 08, 2012 5:46 pm

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.
Vario
 
Posts: 6
Joined: Fri Mar 23, 2012 9:22 pm

Re: H&H Groovy bot

Postby TheTylerLee » Sun Apr 08, 2012 6:01 pm

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.


use Ghost mouse, Make it click to walk forward 1 step, then click on a slider,
or if you have trouble cause of DC's , record it logging in ;p
Discord: XiliX#2791
User avatar
TheTylerLee
 
Posts: 1604
Joined: Thu Jul 21, 2011 6:00 am

Re: H&H Groovy bot

Postby Vario » Tue Apr 10, 2012 8:44 pm

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.

Code: Select all
for (item in getInventory("Cupboard").getItems()) {


Code: Select all
while(findObjectByName("",50)) {

      id=findObjectByName("carrot",50)


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.

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");


Appreciate any insight.
Vario
 
Posts: 6
Joined: Fri Mar 23, 2012 9:22 pm

Re: H&H Groovy bot

Postby mvgulik » Tue Apr 10, 2012 10:48 pm

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.

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.
(Use "java.exe ..." instead of, "start javaw.exe ..." or "javaw.exe ...".)
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: H&H Groovy bot

Postby Vario » Tue Apr 10, 2012 11:25 pm

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.

Code: Select all
import static sys.*
for (item in getInventory("Cupboard").getItems()) {
   item.act()
   waitContextMenu().select("Eat")
   Thread.sleep(500);
}

Vario
 
Posts: 6
Joined: Fri Mar 23, 2012 9:22 pm

Re: H&H Groovy bot

Postby Lords » Thu Apr 12, 2012 6:59 pm

Could someone post here the script, which throws ore from the inventory?

Thanks in advance
Image
Lords
 
Posts: 23
Joined: Sat Feb 26, 2011 11:17 pm

Re: H&H Groovy bot

Postby ttttt » Sat Apr 14, 2012 6:11 pm

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
ttttt
 
Posts: 187
Joined: Wed Feb 09, 2011 10:48 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 1 guest