[HELP] Custom Tables
Posted: Tue May 25, 2010 6:10 pm
L2J Revision Number: 4213
L2JDP Revision Number: 7429
Hi guys!
I want to understand a logic of spawning/deleting custom/standart mobs and npc's.
Today I was cleaned my DB and found many crap in my custom_notspawned and custom_spawnlist tables.
So i was opened config file and found this:
So if i delete any STANDART spawn from server it will not physically delete spawn from "spawnlist" table but it will add a new line in "custom_notspawned" table and it's great idea if you don't want to have a problems with restoring missing spawns in future.
But if i delete any CUSTOM spawn from server it will make same things and this is not good, i think. I personally don't want to collect thousands of old spawns that i have spawned and deleted in testing purposes.
Is there any way to make the server to delete CUSTOM spawns from "custom_spawnlist" table when i delete any CUSTOM spawned NPC or Mob? If not in configs maybe in the core?
L2JDP Revision Number: 7429
Hi guys!
I want to understand a logic of spawning/deleting custom/standart mobs and npc's.
Today I was cleaned my DB and found many crap in my custom_notspawned and custom_spawnlist tables.
So i was opened config file and found this:
Code: Select all
# ---------------------------------------------------------------------------# Database Custom Tables# ---------------------------------------------------------------------------# Default: FalseCustomSpawnlistTable = True # Option to save GM spawn only in the custom table.# Default: FalseSaveGmSpawnOnCustom = True # Option to delete spawn in alternate table.# Default: FalseDeleteGmSpawnOnCustom = True etc...
But if i delete any CUSTOM spawn from server it will make same things and this is not good, i think. I personally don't want to collect thousands of old spawns that i have spawned and deleted in testing purposes.
Is there any way to make the server to delete CUSTOM spawns from "custom_spawnlist" table when i delete any CUSTOM spawned NPC or Mob? If not in configs maybe in the core?