Page 1 of 1
Lua Message for spell effect
Posted: Thu May 23, 2019 6:31 am
by Gangrenous
Do we have any way yet to make a spell effect message? Not so much a spell effect but a control effect. If you are have an NPC cast a spell and you are adding something like a stun effect, I want everyone in the area to know the mob is stunned. I see we can do a say, shout, ooc but nothing about general battle text.
Re: Lua Message for spell effect
Posted: Thu May 23, 2019 8:44 am
by Gangrenous
Okay, I finally figured out my spell effects were not going to a window by default. Next issue, it says I am stunned instead of the enemy. We must have something wrong on the effect output. I did a quick test with a 30 second stun and the enemy remained stunned, although the message said I was the one that was stunned. Looking through the source though, I cannot seem to find where this is output to the client.
Re: Lua Message for spell effect
Posted: Thu May 23, 2019 9:27 am
by Ememjr
can you screen shoot the message on the client, i think i know where it comes from the screen shot will confirm that
Re: Lua Message for spell effect
Posted: Thu May 23, 2019 9:38 am
by Gangrenous
Re: Lua Message for spell effect
Posted: Thu May 23, 2019 10:58 am
by Ememjr
is that scren shot on live or emu
the blue messages usually come from the spell effect in the spells table
Re: Lua Message for spell effect
Posted: Thu May 23, 2019 11:10 am
by Gangrenous
Emu, not live.
Well yeah it probably would normally come from the spells table but since this is a an effect, like stun, there is no text in the database.
Re: Lua Message for spell effect
Posted: Thu May 23, 2019 12:35 pm
by Gangrenous
Also, one stun seems to generate two messages.
Re: Lua Message for spell effect
Posted: Fri May 24, 2019 5:34 am
by Ememjr
there is a bug i think i fixed and havent committed yet that was duplicating some of the message, the packet that sends the blue line update was getting sent twice,