Lua Message for spell effect

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Lua Message for spell effect

Post by Gangrenous » Thu May 23, 2019 6:31 am

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.
Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Lua Message for spell effect

Post by Gangrenous » Thu May 23, 2019 8:44 am

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.
Resident Dirty Hippy

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Lua Message for spell effect

Post by Ememjr » Thu May 23, 2019 9:27 am

can you screen shoot the message on the client, i think i know where it comes from the screen shot will confirm that

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Lua Message for spell effect

Post by Gangrenous » Thu May 23, 2019 9:38 am

Capture.PNG
You do not have the required permissions to view the files attached to this post.
Resident Dirty Hippy

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Lua Message for spell effect

Post by Ememjr » Thu May 23, 2019 10:58 am

is that scren shot on live or emu
the blue messages usually come from the spell effect in the spells table

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Lua Message for spell effect

Post by Gangrenous » Thu May 23, 2019 11:10 am

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.
Resident Dirty Hippy

User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Re: Lua Message for spell effect

Post by Gangrenous » Thu May 23, 2019 12:35 pm

Also, one stun seems to generate two messages.
Resident Dirty Hippy

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Lua Message for spell effect

Post by Ememjr » Fri May 24, 2019 5:34 am

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,

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest