Dwarven Ring Macro - 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: Dwarven Ring Macro (/thread-6486.html) Pages:
1
2
|
Dwarven Ring Macro - Greinex - 01-09-2013 hello i want to use macro only in my cave is that possible? RE: Dwarven Ring Macro - MegaNo0body - 01-09-2013 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" RE: Dwarven Ring Macro - Greinex - 01-09-2013 thaaaank you RE: Dwarven Ring Macro - Greinex - 01-09-2013 the enable and disable works but it doesnt unequip the ring :S can you fix it please? RE: Dwarven Ring Macro - MegaNo0body - 01-09-2013 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. RE: Dwarven Ring Macro - Greinex - 01-09-2013 thaaaanks RE: Dwarven Ring Macro - Greinex - 01-16-2013 (01-09-2013, 05:23 AM)MegaNo0body Wrote: Add these Macros (Advanced Tools -> Macros) anything works RE: Dwarven Ring Macro - Kimoszin - 01-16-2013 You have changed the ID? RE: Dwarven Ring Macro - Greinex - 01-16-2013 (01-16-2013, 02:47 PM)Kimoszin Wrote: You have changed the ID?yes RE: Dwarven Ring Macro - Dexter - 01-17-2013 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? RE: Dwarven Ring Macro - Greinex - 01-17-2013 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} RE: Dwarven Ring Macro - nizlov - 01-17-2013 Try copy it and go to Macros -> Create Macro -> Paste-Edit -> Done RE: Dwarven Ring Macro - Greinex - 01-18-2013 can YOU try to do that? come on nizlov at least read the post that is above yours RE: Dwarven Ring Macro - nizlov - 01-18-2013 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. RE: Dwarven Ring Macro - Greinex - 01-18-2013 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) RE: Dwarven Ring Macro - nizlov - 01-18-2013 [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. RE: Dwarven Ring Macro - Greinex - 01-20-2013 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 RE: Dwarven Ring Macro - Greinex - 01-21-2013 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] RE: Dwarven Ring Macro - nizlov - 01-22-2013 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. RE: Dwarven Ring Macro - Greinex - 01-22-2013 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 |