Page 1 of 1

Help with custom spawns

Posted: Mon Aug 09, 2010 4:31 pm
by babyjason
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4394
L2JDP Revision Number:7645

Hello, recently i wanted to move all my custom npc spawns to the custom tables, but there is a problem.

allthough i enabled these options

Code: Select all

CustomSpawnlistTable = True # Option to save GM spawn only in the custom table.# Default: FalseSaveGmSpawnOnCustom = True # Option to delete spawn in alternate table.# Default: FalseDeleteGmSpawnOnCustom = True # Default: FalseCustomNpcTable = True

from the custom spawn table , the spawn locations are not deleted, allthough in game the npc is deleted, and at next server restarts they dont appear, allthough in the custom table the line of the npc spawn is there...

it s weird, or it s like that that is supposed to work?

Re: Help with custom spawns

Posted: Mon Aug 09, 2010 5:40 pm
by Raikkon35
Look at the custom_nospawnpc table or something similar. Server don't spawn the NPC found in these table.

And remember to see the .txt of the sql/custom folder.

Re: Help with custom spawns

Posted: Mon Aug 09, 2010 6:06 pm
by jurchiks
custom_notspawned contains the NPCs that you have deleted, there's the "custom" column, if it's value is 1 then it's one of your custom npcs and you can delete both the npc and the entry in custom_notspawned (unless you have deleted them before moving to custom tables, then you must check by IDs).
it's what the "DeleteGmSpawnOnCustom = True" does, it doesn't just delete the actual entry in spawnlist/custom_spawnlist table, it simply marks it to not spawn. Safer sometimes.

Re: Help with custom spawns

Posted: Tue Aug 10, 2010 3:46 am
by babyjason
oh i see, it makes perfect sense now, ty very much.

you can delete the topic, ty again