Help with custom spawns

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Help with custom spawns

Post 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?
User avatar
Raikkon35
Posts: 178
Joined: Sat Mar 08, 2008 2:54 pm

Re: Help with custom spawns

Post 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.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Help with custom spawns

Post 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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: Help with custom spawns

Post by babyjason »

oh i see, it makes perfect sense now, ty very much.

you can delete the topic, ty again
Post Reply