BBot - The best bot of the world
Stealth Ring for Smith n Drone, help - 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: Stealth Ring for Smith n Drone, help (/thread-19028.html)



Stealth Ring for Smith n Drone, help - burla - 12-27-2015

Hello guys need it for my lil RP =>

Sorry for my bad english.

1500 {Stealth Ring} idRingOFF:=3052 idRingON:=3089 Creatures.ByName(Cyclops)>=!monstersCount! [else] Self.Inventory.Ring()<>!idRingON! Self.Equip.Ring(!idRingOFF!) Exit() {else} Self.Inventory.Ring()==!idRingON! Self.UnEquip.Ring(0)

I got it from samples, how I make for use it for 2 creatures names, like Cyclops Smith n Cyclops Drone on screen.

or just make 2 macros?

thx for the help


RE: Stealth Ring for Smith n Drone, help - kaiquegabriel - 12-27-2015

On this macro you unequip one ring to equip stealth ring?

If you want, I can make 2 macros, one for Smith and other to Drone.


RE: Stealth Ring for Smith n Drone, help - burla - 12-27-2015

(12-27-2015, 04:05 AM)kaiquegabriel Wrote: On this macro you unequip one ring to equip stealth ring?

If you want, I can make 2 macros, one for Smith and other to Drone.

I would love it man =3


RE: Stealth Ring for Smith n Drone, help - kaiquegabriel - 12-27-2015

Try:
Code:
1000 {CycDrone Ring} Creatures.ByNameBeside(Cyclops Drone)=>1 Self.Equip.Ring(3049)
Code:
1000 {CycSmith Ring} Creatures.ByNameBeside(Cyclops Smith)=>1 Self.Equip.Ring(3049)
Code:
1000 {Unequip Ring Cycs} Creatures.ByNameBeside(Cyclops Smith)=0 Creatures.ByNameBeside(Cyclops Drone)=0 Self.UnEquip.Ring(0)



RE: Stealth Ring for Smith n Drone, help - burla - 12-27-2015

(12-27-2015, 04:26 AM)kaiquegabriel Wrote: Try:
Code:
1000 {CycDrone Ring} Creatures.ByNameBeside(Cyclops Drone)=>1 Self.Equip.Ring(3049)
Code:
1000 {CycSmith Ring} Creatures.ByNameBeside(Cyclops Smith)=>1 Self.Equip.Ring(3049)
Code:
1000 {Unequip Ring Cycs} Creatures.ByNameBeside(Cyclops Smith)=0 Creatures.ByNameBeside(Cyclops Drone)=0 Self.UnEquip.Ring(0)

it will auto equip n unequip?


RE: Stealth Ring for Smith n Drone, help - kaiquegabriel - 12-27-2015

active 3 macros and work auto equip/unequip


RE: Stealth Ring for Smith n Drone, help - burla - 12-27-2015

(12-27-2015, 04:32 AM)kaiquegabriel Wrote: active 3 macros and work auto equip/unequip

thx


RE: Stealth Ring for Smith n Drone, help - Srox - 12-27-2015

hello i have problem with macro i need
3 monster other monster like Rat, bat, wolf >3 equip Stealth Ring if 2< unequip
so if i have 2x rat and wolf use ring
why i ask for it becouse if i have 3 npc's on screan bbot use ring and waste it only


RE: Stealth Ring for Smith n Drone, help - Catar - 12-27-2015

I'll do all in one macro if I remember when i come back from work.

Having couple macros using same item may badly affect how they work. For example if u have both Smith and drone on screen at the same time, 2 macros would continuously change one stealth ring for another.


RE: Stealth Ring for Smith n Drone, help - Catar - 12-27-2015

Ok this is better macro for burla

Code:
ringna:=3086        
ringbp:=3049
range:=4

ringON:=Self.Inventory.Ring()
procs:=0

p1:=Creatures.ByRangeName(!range!, cyclops smith)
p2:=Creatures.ByRangeName(!range!, cyclops drone)

VarAdd(procs, !p1!)
VarAdd(procs, !p2!)

!procs!>=1 [zak]
!ringON!<>!ringna!
Self.Equip.Ring(!ringbp!)
exit()
{zak}
!ringON!==!ringna!
Self.UnEquip.Ring(0)
exit()

and here is macro for Srox

Code:
ringna:=3086        
ringbp:=3049
range:=4
ringON:=Self.Inventory.Ring()
procs:=0

p1:=Creatures.ByRangeName(!range!, Rat)
p2:=Creatures.ByRangeName(!range!, Bat)
p3:=Creatures.ByRangeName(!range!, Wolf)

VarAdd(procs, !p1!)
VarAdd(procs, !p2!)
VarAdd(procs, !p3!)

!procs!>=3 [zak]
!ringON!<>!ringna!
Self.Equip.Ring(!ringbp!)
exit()
{zak}
!ringON!==!ringna!
Self.UnEquip.Ring(0)
exit()


So these macros are yet UNTESTED,
I made them in simple NOTEPAD, but im 100% sure they will work as intended

and change the range:=... to whatever range u want your bot to check monsters for

Just put them in macros, name them whatever u want, and set auto 1000 whatever


RE: Stealth Ring for Smith n Drone, help - damiansnk - 12-27-2015

Solved ? Answear here if still needed ill write it for u in homw


RE: Stealth Ring for Smith n Drone, help - tomasromano - 05-20-2016

Man the ring dont unequip.. the ring equips good but never unequip