protoftw Posted March 20, 2020 Posted March 20, 2020 (edited) Does anyone know why this problem occurs? broadcastPacket(new NpcSay(getObjectId(), Say2.ALL, getNpcId(), "Goodbye Traveler!")); broadcastNpcSay("Goodbye Traveler!"); this.broadcastPacket(new NpcSay(this.getObjectId(), 0, this.getNpcId(),"Hello World!")); I've checked client side too. Edit npcname-e.dat but still nothing. I thought it might be that. <npc id="50024" name="Mystery Prize" title="Explore Me!"> <set name="usingServerSideName" val="true"/> <set name="usingServerSideTitle" val="true"/> Edited March 20, 2020 by protoftw
0 DnR Posted March 20, 2020 Posted March 20, 2020 (edited) This issue occurs due to missing client support for your custom ID. It's usually not recommended for NPCs but you can have a try with CreatureSay packet. You'll also avoid modifying client this way, since it accepts character name directly, instead of ID. If you still prefer doing it with NpcSay, try adding a new record for it in npcgrp.dat too (npmname would definitely not be enough). Edited March 20, 2020 by DnR 1
0 protoftw Posted March 20, 2020 Author Posted March 20, 2020 16 minutes ago, DnR said: This issue occurs due to missing client support for your custom ID. It's usually not recommended for NPCs but you can have a try with CreatureSay packet. You'll also avoid modifying client this way, since it accepts character name directly, instead of ID. If you still prefer doing it with NpcSay, try adding a new record for it in npcgrp.dat too (npmname would definitely not be enough). ah because i had many custom npc's added manually i thought i had this ID too and i didn't even bother to check npcgrp.. Although i really appreciate you for taking the time to help me. You made me see the only thing that i couldnt see :D
Question
protoftw
Does anyone know why this problem occurs?
I've checked client side too. Edit npcname-e.dat but still nothing. I thought it might be that.
Edited by protoftw2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now