View Full Version : Auto eat food
Hi there - I'm running BlackD on my 7.72 client - and the thing is it doesnt eat any food. I have the settings "Auto eat food for this character" in the runemake, it didnt work so i also put "setBot AutoEatFood=1" in the cavebot scripts but it doesnt eat neither.
Thats why I think the ID may be wrong? cuz i tried brown mushroom, fish and ham.
Does anyone know where I can change the ID? or how to solve this? Thank you.
provocate
03-28-2012, 14:14
I recorded actions in Proxy, this came out:
exiva > 82 FF FF 00 00 00 XX XX 00 00
XX XX = ID of the food you want to eat.
You can use this as a hotkey or you can make a simple conditional that will eat that food continuously.
For example (I'm testing this on OT):
Brown mushroom ID: 8D 0E
\/
exiva > 82 FF FF 00 00 00 8D 0E 00 00
Then I made a random conditional:
$mymana$
#number>#
10
0
$numericalexp:{$randomnumber:264>266$}*1000$
0
exiva > 82 FF FF 00 00 00 8D 0E 00 00
If my mana is above value 10, it will eat brown mushroom every '$numericalexp:{$randomnumber:263>267$}*1000$' seconds.
(1 brown mushroom regenerates mana for 264 seconds, so with this one it'll never be hungry. :) Of course, it depends on every OT for itself, so just check IDs and you're good to go.)
Hope, I helped. :)
Hi there!
Thanks for helping me but it doesnt seems to work..
This is the BM on OT;
16:13 You see tile ID E5 0A with info + pickupable=TRUE + stackeable=TRUE + haveExtraByte=TRUE
16:13 You see 38 brown mushrooms.
It weighs 7.6 oz.
So I test to write in tibia chat: exiva > 82 FF FF 00 00 00 E5 0A 00 00
but nothing is happening, the bot isnt using UH neither, guess thats the wrong ID too..
ideas?
provocate
03-28-2012, 20:11
Of course lol, my bad, if it's 7.72 then there's no hotkeys ... I recorded that having brown mushrooms on hotkey.
Hum, maybe you could just record packets being sent to server in proxy while you eat (ctrl + click on mushies) food in your backpack ... Of course, then you would have to have the exact food you were eating in the exact opened backpack and in the exact backpack slot.
The server uses a custom DAT so nothing will work unless you change it in BlackD config files.
The server uses a custom DAT so nothing will work unless you change it in BlackD config files.
lol ur still around? i remember you 5 years ago xDD
and could you name the blackD config files? cuz theres alot, and in there i think i could find it myself ;o or if theres a list of IDs or something?
well thanks
Nvm, solved it - close thread :)
Nvm, solved it - close thread :)
Share the solution for future people
Yea,can you please post the solution - im having the same problem!
Powered by vBulletin® Version 4.2.5 Copyright © 2021 vBulletin Solutions Inc. All rights reserved.