Jump to content
  • 0

Npc gone after restarting


Question

Posted (edited)

As mentioned in the title, I lose Npcs after restarting the server from the admins panel. The problem is, I never had this issue before. Also it's not for certain Npc, it's for all Npc. What i mean is, all the Npc I spawned before I started getting this issue are still in place. Whatever I spawn now is gone after restarting. It's like I exceeded the limit of spawns. Tried searching here but nothing was applicable for me (even though others had this issue). Is there anyone who had this issue or anyone who knows how to solve this? Thanks in advance.

(aCis 382)

Edited by Hann1bal

9 answers to this question

Recommended Posts

  • 0
Posted

//spawn_once doesn't save the Spawn into db, other than that there is no reason it bugs (from memory).

 

Verify first if there are correctly on db, if not, it's normal it can't load - magic can't happen.

 

If they are on db, there are only few cases where it won't generate a Spawn, and most of them got an error message associated to it (wrong NpcTemplate, wrong type of Npc - Guards, Bosses, etc).

  • 0
Posted (edited)
36 minutes ago, HowardStern said:

which pack?

 

8 hours ago, Hann1bal said:

(aCis 382)

 

 

Edited by Hann1bal
  • 0
Posted
1 hour ago, Tryskell said:

//spawn_once doesn't save the Spawn into db, other than that there is no reason it bugs (from memory).

 

Verify first if there are correctly on db, if not, it's normal it can't load - magic can't happen.

 

If they are on db, there are only few cases where it won't generate a Spawn, and most of them got an error message associated to it (wrong NpcTemplate, wrong type of Npc - Guards, Bosses, etc).

I use //spawn command. I already have custom npcs spawned into the game which are saved after restarting. For some reason, no npc is saved from now on, even if I spawn existing in-game Npcs like Clarissa(30080).

  • 0
Posted
2 hours ago, MoNsT3ReN4RgY said:

propably you messed up something last time you edit something..

That's what I'm thinking but last stuff I edited was itemhandler for hero coin etc, I didn't edit any spawn related class.

  • 0
Posted
On 10/18/2020 at 1:07 PM, Tryskell said:

If they are on db, there are only few cases where it won't generate a Spawn, and most of them got an error message associated to it (wrong NpcTemplate, wrong type of Npc - Guards, Bosses, etc).

Solved the issue. Apprarenlty I forgot a NPC I was trying to make. Deleted Class from eclipse but not the NPC in the XML, so it had "wrong" type so long. Thanks everyone. Newbie mistake I guess.

Guest
This topic is now closed to further replies.


  • Posts

    • I'll give you my wallet if you want, haha
    • To make up for some of the waiting time we’re hosting a 3v3 Tournament on open Beta, and this time we’re raising the stakes with a $1,300 prize pool 💰   🏆 PRIZE POOL BREAKDOWN (Over 2000$ Worth of prices total)   🥇 1st Place — $700 🥈 2nd Place —$300 🥉 3rd Place — $200 🏅 4th Place — $100  5th -6th Place - $100 in Gold Coins each    All Participating Teams: $50 in Gold!   All Prices will be Paid out instantly after the tour, no waiting time and conditions. This is not simply a marketing move, we want to give back to the community.   📅 Date: Wednesday 06.05.2026 ⏰ Time: 20:00 Central European Timezone (Berlin) 📍Format: 3v3   ⚔️Why join? Cash Prices for top 4 and rewards for all participants Payments to winners sent out straight after the tournament - No waiting time or rules that you have to play live server to obtain the reward. Clean format, smooth matches, and solid prize pool and a chance to experience our brand new files   📝How to join: Form your 3-player team Group Leader Sign up here: ⁠📍・3v3-tour-registration (Include Name of Group, Name of Group Leader)   Be ready on match day!     A separate post with rules for the tournament and class setups will follow shortly.   Tag your teammates, lock in your roster, and get ready to compete. We'll be happy to see you on the OBT!   💬 Questions? Ask in ⁠🎫・ticket or send us a message   See you on L2Dark! 😏   Discord: https://discord.gg/FAJwnFpb8M
    • You should check if that condition is supported by your current sources. You can find this in  DocumentBase#parsePlayerCondition If it isnt there and you want to follow the same pattern of the other item conditions, create a custom condition to parse the classId (or multiple class ids) (there are examples to copy the code). Alternatively, you can create your own condition handler. Your condition should look like this: <cond msgId="1518"> <player classId="ADVENTURER,PALADIN" /> </cond> or <cond msgId="1518"> <player classId="93,5" /> </cond>  
    • it's Interlude client forgot to mention
    • idk if acis have this option, but you can put inside item smth like that atleast on H5         <cond msgId="1518">             <player class_id_restriction="93, 101, 108, 117" /> <!-- Dagger Masters -->         </cond>
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..