PDA

View Full Version : Mesmerize


Warkral
10-22-2016, 09:16 PM
At level 9, which means my bots are level 9 as well, when I instruct my chanty to ^mesmerize I get:
No bot are capable of performing this action

Ok, mez is a level 2 spell so what am I missing?

Uleat
10-22-2016, 09:54 PM
Lemme take a look at the spell data.

I have the bot command spells load dynamically from the in-memory server reference now..so, it could just be an oversight of the parsing criteria.


(I got some feedback right after the new system's implementation..but, it has been fairly quiet of late. Don't hesitate to ask stuff like this :) )


EDIT:

It definitely shows up in the available spells:
" Mesmerize" tt:07/cc:14/cl:002 /mn:00020/RD:000000/zt:-1/d#:000292/td#:00126/ed#:00035/SAI:012 /e01:0031/b01:000002/m01:000055 /e02:0063/b02:000001/m02:000000 /e03:0254/b03:000000/m03:000000

bot commands spells targettype = 7 (not the same as a spell's normal targettype)
caster class = 14 (enchanter)
caster level = 2


It is registered...

How are you casting it? (Possibly on a mob that is not attackable?)


EDIT2:

I just tested using a lvl 9 bot on a yellow mob and had no issues.

I used the ^mez command.

DanCanDo
10-23-2016, 12:00 AM
(I got some feedback right after the new system's implementation..but, it has been fairly quiet of late. Don't hesitate to ask stuff like this :) )

I've had various players taking advantage of the bot system, with no real issues
except the infamous bot pets attacking players, but the players don't get too
concerned with it, so I'm not (chuckle)

Warkral
10-23-2016, 11:46 AM
Lemme take a look at the spell data.

I have the bot command spells load dynamically from the in-memory server reference now..so, it could just be an oversight of the parsing criteria.


(I got some feedback right after the new system's implementation..but, it has been fairly quiet of late. Don't hesitate to ask stuff like this :) )


EDIT:

It definitely shows up in the available spells:
" Mesmerize" tt:07/cc:14/cl:002 /mn:00020/RD:000000/zt:-1/d#:000292/td#:00126/ed#:00035/SAI:012 /e01:0031/b01:000002/m01:000055 /e02:0063/b02:000001/m02:000000 /e03:0254/b03:000000/m03:000000

bot commands spells targettype = 7 (not the same as a spell's normal targettype)
caster class = 14 (enchanter)
caster level = 2


It is registered...

How are you casting it? (Possibly on a mob that is not attackable?)


EDIT2:

I just tested using a lvl 9 bot on a yellow mob and had no issues.

I used the ^mez command.

Its probably my misunderstanding of how the spell is used, and I started over using Akka's server when I build my new computer so I'm much lower level now. I seem to remember when you gave the chanty the mez command she would automatically mez the mobs but maybe that was the AOE version?

Uleat
10-23-2016, 12:50 PM
I doubled-checked the old code and it is using the same spell.

The only difference is the newer code is more 'restrictive' about who/what can be cast on.

All bot command-based spells use this newer restrictive code as well and exhibits closer behavior to the actual spell system. [edit]


Usage is essentially:

- target the mob that you want to mez

- use the command ^mez with an enchanter spawned and active (grouped)


https://github.com/EQEmu/Server/blob/master/zone/bot_command.cpp#L3366

The new command uses an actionable bots criteria of spawned..

..meaning that the bot can be in your group, another's group or a botgroup.

The old system required that the enchanter bot be in your personal group.


Try it out on different mobs and see if your results are the same.