Can't rename some NPCs
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 69
- Joined: Wed Apr 22, 2009 5:32 pm
Can't rename some NPCs
L2J Revision: 3149
L2JDP Revision: 6237
I tried to update my server from Part 2 to Final yesterday. It seemd to be successfull in general but there is a small problem I'm was not yet able to solve. Some of my custom NPC which had also custom names are now displayed with their serverside names. I compared the database entries with my old server where they are sdisplayed correctly and found no mistake - they are equal. This problem also does not apply to all custom NPCs.
Any hint how to make all the custom names visible?
L2JDP Revision: 6237
I tried to update my server from Part 2 to Final yesterday. It seemd to be successfull in general but there is a small problem I'm was not yet able to solve. Some of my custom NPC which had also custom names are now displayed with their serverside names. I compared the database entries with my old server where they are sdisplayed correctly and found no mistake - they are equal. This problem also does not apply to all custom NPCs.
Any hint how to make all the custom names visible?
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Can't rename some NPCs
set serverSideName to 1
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 69
- Joined: Wed Apr 22, 2009 5:32 pm
Re: Can't rename some NPCs
Thanks for your reply but if it was so simple I would not have asked here 
The exactly identical database row works with gracia part 2 server but not with final.

The exactly identical database row works with gracia part 2 server but not with final.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Can't rename some NPCs
if you dont write your configuration (have you custom tables?) and paste here your custom npc sql, than we can't help you without any detailed info.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 69
- Joined: Wed Apr 22, 2009 5:32 pm
Re: Can't rename some NPCs
I have not yet changed any configuration setting except for IPs and Database connection settings. I'm not using a custom table to store my NPC infos in it. An example NPC entry followes
Code: Select all
INSERT INTO npc (id, idTemplate, name, serverSideName, title, serverSideTitle, class, collision_radius, collision_height, level, sex, type, attackrange, hp, mp, hpreg, mpreg, str, con, dex, int, wit, men, exp, sp, patk, pdef, matk, mdef, atkspd, aggro, matkspd, rhand, lhand, armor, walkspd, runspd, faction_id, faction_range, isUndead, absorb_level, absorb_type, ss, bss, ss_rate, AI, drop_herbs) VALUES (900674, 30622, Kramkiste, 1, Idors, 1, NPC.coffer_b, 12.00, 9.00, 70, etc, L2Npc, 0, 3862, 1493, NULL, NULL, 40, 43, 30, 21, 20, 10, 0, 0, 1314, 470, 780, 382, 278, 1, 333, 0, 0, 0, 0, 0, NULL, 0, 1, 0, LAST_HIT, 0, 0, 0, fighter, false)
-
- Posts: 24
- Joined: Thu Mar 20, 2008 6:21 pm
Re: Can't rename some NPCs
i had the same problem in my server...i am not sure what it was but certain custom npcs werent allowing me to rename em or change their title ....i just created a diff id for them and it worked :S ....try that
-
- Posts: 3
- Joined: Mon Jan 19, 2009 4:11 pm
Re: Can't rename some NPCs
set walkspd to 1 and runspd to 1
With 0 spd the npc name won't change even if you set serversidename to 1... I don't know if it's normal

With 0 spd the npc name won't change even if you set serversidename to 1... I don't know if it's normal


- Gnacik
- L2j Veteran
- Posts: 925
- Joined: Tue Dec 16, 2008 3:49 pm
- Location: Wąchock ٩(̾●̮̮̃̾•̃̾)۶ Polska
- Contact:
Re: Can't rename some NPCs
Because with speed=0 they are static objects and server dont send normal npcinfo if i remember right. Similar problem was with fort guards - they have no weapon in hand because of speed=0DarknessL2 wrote:set walkspd to 1 and runspd to 1
With 0 spd the npc name won't change even if you set serversidename to 1... I don't know if it's normal![]()
-
- Posts: 69
- Joined: Wed Apr 22, 2009 5:32 pm
Re: Can't rename some NPCs
Yeah! Big thanks, this solved my problem 
But i think this is quite strange behaviour :/

But i think this is quite strange behaviour :/
-
- Posts: 3
- Joined: Mon Jan 19, 2009 4:11 pm
Re: Can't rename some NPCs

And yes I think it's quite strange... I think it can be fix (... maybe...)
