01-09-2013, 05:13 AM
hello i want to use macro only in my cave
is that possible?
is that possible?
Dwarven Ring Macro
|
01-09-2013, 05:13 AM
hello i want to use macro only in my cave
is that possible?
01-09-2013, 05:23 AM
(This post was last modified: 01-09-2013, 05:45 PM by MegaNo0body.)
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"
01-09-2013, 05:13 PM
the enable and disable works but it doesnt unequip the ring :S can you fix it please?
01-09-2013, 05:46 PM
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.
01-16-2013, 03:49 AM
(01-09-2013, 05:23 AM)MegaNo0body Wrote: Add these Macros (Advanced Tools -> Macros) anything works
01-16-2013, 04:47 PM
01-17-2013, 10:54 AM
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?
01-17-2013, 03:33 PM
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}
01-17-2013, 08:25 PM
Try copy it and go to Macros -> Create Macro -> Paste-Edit -> Done
01-18-2013, 12:33 AM
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?? 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 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]
01-22-2013, 12:33 PM
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.
01-22-2013, 02:37 PM
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 |
« Next Oldest | Next Newest »
|