EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Mesmerize breaking: message to clients (https://www.eqemulator.org/forums/showthread.php?t=38740)

Domingodarkrage 09-08-2014 12:09 PM

Mesmerize breaking: message to clients
 
Does anyone have some code which informs nearby clients that a mesmerize spell has been broken due to damage, and states both the npc and the client who broke the mesmerize?

I've been working on adding some code to do this, similar to how the live server does it, but i'm not having much success. So far, all I have been successful with is tagging along an emote to nearby players when mesmerize breaks (either due to damage, or wearing off naturally). I might be using older source code in case it is in, but I'd rather not implement all new files as it would remove some other custom code.

demonstar55 09-08-2014 12:21 PM

We already do this. Update your source.

Domingodarkrage 09-08-2014 01:13 PM

While I didn't want to update to all new source code and potentially lose my own progress, thanks for letting me know that the mesmerize breaking code is in game. I was able to copy over only what I required and it is working well.

In case there are others that are interested when searching for this in the future, check out the changes at /zone/attack.cpp, and search for 'mez' to locate.

lerxst2112 09-08-2014 04:15 PM

Merging is fun, I highly recommend it. :)

demonstar55 09-08-2014 04:48 PM

Quote:

Originally Posted by lerxst2112 (Post 233725)
Merging is fun, I highly recommend it. :)

Me too, security fixes are always important


All times are GMT -4. The time now is 01:25 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.