H&H Groovy bot
Moderator: Phades
-
zevnab1
- Posts: 2
- Joined: Thu Dec 01, 2011 6:21 pm
Re: H&H Groovy bot
i need simple script for bot only to chop down trees around nothing more, can someone write it please?
-
smileyguy4you2
- Posts: 5
- Joined: Thu Oct 13, 2011 10:31 pm
Re: H&H Groovy bot
bruthol, your updated lumberjack bot is not filling wine anymore, any idea why it stopped workin?
-
dullah
- Posts: 199
- Joined: Sun Nov 15, 2009 7:09 am
Re: H&H Groovy bot
is there an elegant way to attach a debugger to the client.
i need to track values of some stuff, and its kinda overkill to launch the script to see results with each modification
Thanks
i need to track values of some stuff, and its kinda overkill to launch the script to see results with each modification
Thanks
-
Oddity
- Posts: 1983
- Joined: Sun Jun 20, 2010 12:04 am
- Location: BC, Canadia
Re: H&H Groovy bot
Gob vs. Glob: What does each mean?
jadamkaz wrote:ah i remember my run in with odditown they are good ppl im sure the only reason they killed ME is because they are troll hunters and i was a troll
-
boshaw
- Posts: 1612
- Joined: Tue Jun 01, 2010 10:22 pm
Re: H&H Groovy bot
Glob => global stuffOddity wrote:Gob vs. Glob: What does each mean?
Gob => Game object (people,buildings,cliffs,etc)
-
Leny-m
- Posts: 109
- Joined: Sat Dec 17, 2011 8:04 pm
Re: H&H Groovy bot
Someone already talked about the study inventory but I didnt understand.
Basicaly I want my script to pick up curios from cupboard and intelligently put them in my study inventory. Dont worry about the interaction with cupboard, thats easy. I just need that part when I put something in the study.
SetInventory("study") didnt work
Basicaly I want my script to pick up curios from cupboard and intelligently put them in my study inventory. Dont worry about the interaction with cupboard, thats easy. I just need that part when I put something in the study.
SetInventory("study") didnt work

Leny
-
ArvinJA
- Posts: 1255
- Joined: Sun Mar 20, 2011 1:02 pm
- Location: Sweden
Re: H&H Groovy bot
Are you solving the knapsack problem?Leny-m wrote:Someone already talked about the study inventory but I didnt understand.
Basicaly I want my script to pick up curios from cupboard and intelligently put them in my study inventory. Dont worry about the interaction with cupboard, thats easy. I just need that part when I put something in the study.
SetInventory("study") didnt work
The low life has lost its appeal
And I'm tired of walking these streets
To a room with its cupboards bare
And I'm tired of walking these streets
To a room with its cupboards bare
-
Leny-m
- Posts: 109
- Joined: Sat Dec 17, 2011 8:04 pm
Re: H&H Groovy bot
Among other things. Right now I am not even able to reach the study inventory a put something in there.ArvinJA wrote:Are you solving the knapsack problem?Leny-m wrote:Someone already talked about the study inventory but I didnt understand.
Basicaly I want my script to pick up curios from cupboard and intelligently put them in my study inventory. Dont worry about the interaction with cupboard, thats easy. I just need that part when I put something in the study.
SetInventory("study") didnt work

Leny
-
Oddity
- Posts: 1983
- Joined: Sun Jun 20, 2010 12:04 am
- Location: BC, Canadia
Re: H&H Groovy bot
I can't seem to figure out how to activate the "Press" button for the winepress. In fact, I don't think I can even find it. My Winepress's inventory's widgets consist of an IButton for dumping the contents of the inventory to the ground, and each grape in the invo (if any) is also a widget. No "press" button that I can find.
jadamkaz wrote:ah i remember my run in with odditown they are good ppl im sure the only reason they killed ME is because they are troll hunters and i was a troll
-
marvi
- Posts: 138
- Joined: Thu Feb 18, 2010 3:41 pm
Re: H&H Groovy bot
Winepress window has following structure:

So you need something like findWindow("Winepress")?.findButton("Press").click().
Edit. Speaking of which... I'll leave my client here for history, I'm not even sure if it works.
Sources: here
Compiled version: here
There is even doc written on my poor english: here
Example of the script that can be written with this client. It will eat everything from the table, pretty useless:
Other scripts can be found in repo. Scripts like harvest_area, plant_area and trough can be very useful I guess.

So you need something like findWindow("Winepress")?.findButton("Press").click().
Edit. Speaking of which... I'll leave my client here for history, I'm not even sure if it works.
Sources: here
Compiled version: here
There is even doc written on my poor english: here
Example of the script that can be written with this client. It will eat everything from the table, pretty useless:
Code: Select all
import static sys.*
// get table window
def tablewnd = findWindow("Table")
if (tablewnd == null) {
println "Where is mah table >:|"
return
}
// find food inventory by it's size
def foodinv = tablewnd.inventories.find { it.rowCount == 6 && it.columnCount == 6 }
if (foodinv == null) {
println "Wtf... empty table."
return
}
// Feast!
tablewnd.findButton("Feast!").click()
waitCursor("eat")
for (item in foodinv.items) {
item.take()
waitHourglass()
}
Last edited by marvi on Thu Jan 12, 2012 1:15 am, edited 1 time in total.