Jump to content

Question

Posted

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:

6 answers to this question

Recommended Posts

  • 0
Posted
  On 1/12/2017 at 12:01 PM, vampir said:

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.

  • 0
Posted (edited)

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
  • 0
Posted
  On 1/12/2017 at 6:51 PM, tazerman2 said:

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 :)

Guest
This topic is now closed to further replies.


  • Posts

    • I am selling my l2jeternity high five (all inclusive option $300) license+daily $50(mission) mod, autofarm, this is a very good and stable H5 assembly on market if you know how to run it properly, project developer LordWinter also a very passionate person and active in daily basis, because I am no longer using it, selling this out to put in good use for new h5 l2project. I am selling this for $180, pm me for details/offer. thanks *Sale and rebinding with the consent of the developer LordWinter payment option : paypal/crypto telegram: @arcadin77  
    • Hello friends, good morning, good afternoon or good evening, depending on the time you are seeing this! I have been trying to decompile and compile again with only the classes that I want LineageEffect.u for a few days now, but I have not been successful. Could someone help me by clearing up some doubts about how I can do this work and be successful?!
    • **INTERLUDE REMASTERED** Moonland is a server that's been running for about three years without wipe, and they don't plan on wiping it anytime soon. I'm selling my items or even the account due to not having much time to play anymore. I'm selling only for $$$. Not going to disclose my nickname in the server, but here are some of the items: Lvl 5 equipment for both mage and fighter +100 mage pvp set 2mastery jewels for fighter, 2 for mage, blessed antharas, blessed queen ant, ring of fallen angel, earring of fafurion. 1k + col, VIP cosmetics for armor, agathion and weapons(duals + mage wep)   I'm only selling for real money via paypal or cs2 skins so don't offer me anything else.
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • Create New...