Jump to content
  • 0

Npc Save


everestbatka
 Share

Question

Hello guys!
Sry for the skilled dev maybe will be stupid question but im new so i want to ask you.When i spawn a new npc in my server how to save it permanently to dont be delleted after restart? 
Tnx  :okey:

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

It depends on your pack, in mine it is //spawn NPC_ID which adds spawn to database.

No no for me the spawn comand is the same and all custom npcs that i add are saved after i spawn them and  restart the server. But for example Roy the cat [class master] was in the pack and its also in the custom_npc data and it works perfect but when i sapwn hem in the game and then restart the server he disappear. Im useing l2jFrozen pack.

Link to comment
Share on other sites

  • 0

gameserver/config/head/altsettings.properties
# -----------------------
# Class Master -
# -----------------------
# Allow Change Class with ClassMaster
AllowClassMasters = False

# Allow Upgrade Strider with ClassMaster
AllowClassMastersStriderUpdate = False

 

to

 

# -----------------------
# Class Master -
# -----------------------
# Allow Change Class with ClassMaster
AllowClassMasters = true

# Allow Upgrade Strider with ClassMaster
AllowClassMastersStriderUpdate = False

 

gameserver/config/functions/l2jfrozen.properties

 

# --------------------------
# Custom Tables -
# --------------------------
# Enable / Disable custom tables.
# The rest of the custom tables are already activated.

# Custom Spawnlist Table
CustomSpawnlistTable = False

# Gm Spawn gets saved on custom_spawnlist Table?
SaveGmSpawnOnCustom = False

# Gm Spawn gets deleted on custom_spawnlist Table?
DeleteGmSpawnOnCustom = False

 

to

 

# --------------------------
# Custom Tables -
# --------------------------
# Enable / Disable custom tables.
# The rest of the custom tables are already activated.

# Custom Spawnlist Table
CustomSpawnlistTable = true

# Gm Spawn gets saved on custom_spawnlist Table?
SaveGmSpawnOnCustom = true

# Gm Spawn gets deleted on custom_spawnlist Table?
DeleteGmSpawnOnCustom = False

Edited by tazerman2
Link to comment
Share on other sites

  • 0

gameserver/config/head/altsettings.properties

# -----------------------

# Class Master -

# -----------------------

# Allow Change Class with ClassMaster

AllowClassMasters = False

# Allow Upgrade Strider with ClassMaster

AllowClassMastersStriderUpdate = False

 

to

 

# -----------------------

# Class Master -

# -----------------------

# Allow Change Class with ClassMaster

AllowClassMasters = true

# Allow Upgrade Strider with ClassMaster

AllowClassMastersStriderUpdate = False

 

gameserver/config/functions/l2jfrozen.properties

 

# --------------------------

# Custom Tables -

# --------------------------

# Enable / Disable custom tables.

# The rest of the custom tables are already activated.

 

# Custom Spawnlist Table

CustomSpawnlistTable = False

 

# Gm Spawn gets saved on custom_spawnlist Table?

SaveGmSpawnOnCustom = False

 

# Gm Spawn gets deleted on custom_spawnlist Table?

DeleteGmSpawnOnCustom = False

 

to

 

# --------------------------

# Custom Tables -

# --------------------------

# Enable / Disable custom tables.

# The rest of the custom tables are already activated.

 

# Custom Spawnlist Table

CustomSpawnlistTable = true

 

# Gm Spawn gets saved on custom_spawnlist Table?

SaveGmSpawnOnCustom = true

 

# Gm Spawn gets deleted on custom_spawnlist Table?

DeleteGmSpawnOnCustom

Tnx fixed by tazerman2 can lock the topic :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock