BBot - The best bot of the world

Full Version: Dwarven Ring Macro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hello i want to use macro only in my cave
is that possible?
Add these Macros (Advanced Tools -> Macros)
[macro]0 {Enable Dwarven Ring} UseDwarvenRing:=1[/macro]
[macro]0 {Disable Dwarven Ring} UseDwarvenRing:=0[/macro]
[macro]2000 {Use Dwarven Ring} DwarvenRingID:=XXXX UseDwarvenRing==1 [DoNotUseDwarvenRing] Self.Inventory.Ring()==0 Self.Equip.Ring(!DwarvenRingID!) Exit() {DoNotUseDwarvenRing} Self.Inventory.Ring()!=0 Self.UnEquip.Ring(0) [/macro]
Note: change XXXX to the DwarvenRingID

When you enter on cave (on waypoint)
Macro "Enable Dwarven Ring"

When you leave on cave (on waypoint)
Macro "Disable Dwarven Ring"
thaaaank you Smile
the enable and disable works but it doesnt unequip the ring :S can you fix it please?
Sorry, I've forgotten that the ID changes when it is "Using", so I edited the macro (on my first post). It should work now, just replace the macro that equip/unequip.
thaaaanks Smile
(01-09-2013, 05:23 AM)MegaNo0body Wrote: [ -> ]Add these Macros (Advanced Tools -> Macros)
[macro]0 {Enable Dwarven Ring} UseDwarvenRing:=1[/macro]
[macro]0 {Disable Dwarven Ring} UseDwarvenRing:=0[/macro]
[macro]2000 {Use Dwarven Ring} DwarvenRingID:=XXXX UseDwarvenRing==1 [DoNotUseDwarvenRing] Self.Inventory.Ring()==0 Self.Equip.Ring(!DwarvenRingID!) Exit() {DoNotUseDwarvenRing} Self.Inventory.Ring()!=0 Self.UnEquip.Ring(0) [/macro]
Note: change XXXX to the DwarvenRingID

When you enter on cave (on waypoint)
Macro "Enable Dwarven Ring"

When you leave on cave (on waypoint)
Macro "Disable Dwarven Ring"

anything works Sad
You have changed the ID?
(01-16-2013, 02:47 PM)Kimoszin Wrote: [ -> ]You have changed the ID?
yes Sad
Try this:

[macro]0 {Enable Dwarven Ring} UseDwarvenRing:=1[/macro]
[macro]0 {Disable Dwarven Ring} UseDwarvenRing:=0[/macro]
[macro]2000 {Use Dwarven Ring} DwarvenRingID:=XXXX UseDwarvenRing==1 [DoNotUseDwarvenRing] Self.Inventory.Ring()==0 Self.Equip.Ring(!DwarvenRingID!) Exit() {DoNotUseDwarvenRing} Self.Inventory.Ring()<>0 Self.UnEquip.Ring(0) [/macro]

You put the macros (Enable Dwarven Ring and Disable Dwarven Ring) at the beginning and end of the cave?
0 {Enable Dwarven Ring} UseDwarvenRing:=1
please can you copy and paste this script on your macro editor?
press done
and open it again
the code will transform to just
0 {Enable Dwarven Ring}
Try copy it and go to Macros -> Create Macro -> Paste-Edit -> Done
can YOU try to do that?
come on nizlov at least read the post that is above yours
Try adding something useless in there, for example:

[macro]0 {Enable Dwarven Ring} UseDwarvenRing:=1 Exit() [/macro]
[macro]0 {Disable Dwarven Ring} UseDwarvenRing:=0 Exit() [/macro]

Now you can copy it properly and it should work just fine, but I'm not sure though. Test & reply.
I love you <3

can you fix this script now?? Big Grin
Use Dwarven Ring (auto: 2000ms)
2000 {Use Dwarven Ring} DwarvenRingID:=XXXX UseDwarvenRing==1 [DoNotUseDwarvenRing] Self.Inventory.Ring()==0 Self.Equip.Ring(!DwarvenRingID!) Exit() {DoNotUseDwarvenRing} Self.Inventory.Ring()!=0 Self.UnEquip.Ring(0)

i tried this but the bot doesn't unequip the ring
Use Dwarven Ring (auto: 2000ms)
2000 {Use Dwarven Ring} DwarvenRingID:=3097 UseDwarvenRing==1 [DoNotUseDwarvenRing] Self.Inventory.Ring()==0 Self.Equip.Ring(!DwarvenRingID!) Exit() {DoNotUseDwarvenRing} UseDwarvenRing==0 Self.Inventory.Ring()==0 Self.UnEquip.Ring(0)
[macro]2000 {Use Dwarven Ring} DwarvenRingID:=3097 UseDwarvenRing==1 [DoNotUseDwarvenRing] Self.Inventory.Ring()<>3099 Self.Equip.Ring(!DwarvenRingID!) Exit() {DoNotUseDwarvenRing} UseDwarvenRing==0 Self.Inventory.Ring()==3099 Self.UnEquip.Ring(0) Exit()[/macro]
It may work, it may not. Test & post results.
i'll test now thanks!

it doesn't work
but i think that the macro is ok
and bbot is not
bbot was unequiping and equiping que ring each 2 seconds
I had deleted the macro and the bbot was still unequiping and equiping que ring

and meganoobody please answer me i want to report a bug on the forum
Thanks to everybody who helped me
but this is better Tongue
When you enter on cave (on waypoint)
Macro "Enable Ring"

When you leave on cave (on waypoint)
Macro "Disable Ring"

[macro]0 {Enable Ring} Self.Equip.Ring(Ring ID) [/macro]
[macro]0 {Disable Ring} Self.UnEquip.Ring(ToContainer) [/macro]
What if dwarven ring dissapears while being in cave?
If you add automatic macro to equip dwarven ring it will equip it even if not being in the cave.
i don't know why but the macro re equip the ring and when I reach the Disable Ring it unequip
it is all fine
Pages: 1 2