The duplicate npc report will now print the related file name

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8582 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
toms 2006-09-01 22:27:38 +00:00
parent d7156f2f21
commit 5c9beff857
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/09/01 2006/09/01
* The duplicate npc report will now print the related file name [Toms]
* Added config setting "partial_name_scan", which specifies whether @ given * Added config setting "partial_name_scan", which specifies whether @ given
names should use a partial string lookup or absolute name lookup. Defaults names should use a partial string lookup or absolute name lookup. Defaults
to no (gm.conf) [Skotlex] to no (gm.conf) [Skotlex]

View File

@ -1964,7 +1964,7 @@ static int npc_parse_script(char *w1,char *w2,char *w3,char *w4,char *first_line
if((dnd = npc_name2id(nd->exname))){ if((dnd = npc_name2id(nd->exname))){
if(battle_config.etc_log) if(battle_config.etc_log)
ShowInfo("npc_parse_script: Overriding NPC '%s::%s' to '%s::%d'.. (Duplicated System Name - Lazy scripters >_>) \n",nd->name,nd->exname,nd->name,npc_script); ShowInfo("npc_parse_script: Overriding NPC '%s::%s' to '%s::%d'.. in file '%s' (Duplicated System Name - Lazy scripters >_>) \n",nd->name,nd->exname,nd->name,npc_script,file);
sprintf(nd->exname, "%d", npc_script); sprintf(nd->exname, "%d", npc_script);
} }