but for Glast Heim Marker#1-2_uz1 i have this error when I reload the scripts:
npc_parsename: Name 'Glast Heim Marker#1-2_uz1 is too long (len=25) in file 'npc/custom/aggiuntivi/mark_warper_markwarper.txt', line 111. Truncating to 24 characters.
So I have tried to increase the max npc name characters in src/common/mmo.h in
//For character names, title names, guilds, maps, etc.
//Includes null-terminator as it is the length of the array.
#define NAME_LENGTH (23 + 1)
but any value I set insted 23+1 (for example 24+1) when I recompile and launch the server gave me this error:
Question
HyperSonic2097
Hi.
I have a little problem with a script I wrote. For some reason i need to name npc like
einbroch,238,224,4 duplicate(GG_Record_Mark_Main) Einbroch Marker#1-2_uz1 1002
geffen,163,188,3 duplicate(GG_Record_Mark_Main) Geffen Marker#1-2_uz1 1002
glast_01,200,280,0 duplicate(GG_Record_Mark_Main) Glast Heim Marker#1-2_uz1 1002
but for Glast Heim Marker#1-2_uz1 i have this error when I reload the scripts:
npc_parsename: Name 'Glast Heim Marker#1-2_uz1 is too long (len=25) in file 'npc/custom/aggiuntivi/mark_warper_markwarper.txt', line 111. Truncating to 24 characters.
So I have tried to increase the max npc name characters in src/common/mmo.h in
//For character names, title names, guilds, maps, etc.
//Includes null-terminator as it is the length of the array.
#define NAME_LENGTH (23 + 1)
but any value I set insted 23+1 (for example 24+1) when I recompile and launch the server gave me this error:
[warning] chrif_parse: session #6, intif ->parse failed (unrecognized command 0x0000).
Is there any way for increase npc name characters?
Edited by HyperSonic20973 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.