BBot - The best bot of the world
Creature ID check - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: Creature ID check (/thread-11566.html)



Creature ID check - Rudek1212 - 08-29-2013

Does anyone know how to check Creature ID??
There is macro Creature.Follow(ID) but how can i check this id??
I need bot to follow my second char but it's impossible (i think) to check this char ID.


RE: Creature ID check - kamill - 08-29-2013

Try to press alt+F8 and Look at Him.


RE: Creature ID check - Rudek1212 - 08-29-2013

(08-29-2013, 11:38 AM)kamill Wrote: Try to press alt+F8 and Look at Him.

it shows 99 for everyone
idk why...

Mega added this macro bud didnt say how to use it Big Grin

EDIT

Found a way to check id of players and creatures.

paste this macro to macro editor and debug it while attacking monster / player

Code:
ID:=Creature.Attacking()
Creature.Follow(!ID!)

unfortunetly you have to attack :/


RE: Creature ID check - MegaNo0body - 08-30-2013

You can gather creature IDs using the following macros:

Creature.ByName(Name): returns a ID of the first creature with the given name;
Creature.Attacking() / Creature.Target(): returns a ID of the attacking creature (0 if not attacking);
Creature.Self(): returns ID of self creature.

You actually can attack a creature with the macro
Creature.Attack(ID), however I do not recommend to mimic Killer / Trainer features, because those features contains a lot more tests that the actual macros do.


RE: Creature ID check - Rudek1212 - 09-04-2013

But is there any way to follow PLAYER by name but not permanently ?
When i use macro which checks if is attacking and if not follow creature by id It follows it all the time even if I turn this macro (all macros) off. Can you add macro command which marks player green (follow), not follow like cavebot?


RE: Creature ID check - Coizado - 09-05-2013

Just press "Esc" in your keyboard or "Stop" button in Tibia. It will stop macro's follow.

Of course, if you have a macro in a loop, and you don't pause it, it will start to follow again.

Easiest way is to press CTRL + SHIFT, click on "Pause Advanced Tools" and then press ESC.