EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Updating NPC surnames (https://www.eqemulator.org/forums/showthread.php?t=38724)

Drajor 09-05-2014 02:47 AM

Updating NPC surnames
 
It turns out this is possible (tested with UF). Thanks to Kayen for sitting through the exploration and giving advice!

Currently we use send OP_GMLastName with GMLastName_Struct payload to update clients when a Character/Client has changed their surname. It turns out that this can also be used for NPCs. It is as easy as setting the name parameter to the non-clean (and ideally unique) npc name.

Where npcs have non-unique names the client appears to either update the one with the highest spawn id or the one most recently added.

Does anyone know any history of this packet/payload? I am curious about it's name and the gmname attribute.


All times are GMT -4. The time now is 05:06 PM.

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