limit to npc spawns in nexus?
Hello all,
I chose the Nexus to be my starting zone and i have everyone popping in there. I have made some custom npcs but the problem is once I put more then 2 of the npcs in the Nexus and add their spawn to the database when ever some one goes into the nexus, the Zone.exe will crash and it will keep crashing even after restart until I manually remove the spawns from the database. Anyone else have this problem? |
Tell me, are you using #npcspawn create after you use #dbspawn or are you adding #npcspawn add. Create creates the npc in both the spawn tables and npc_types however, add simply adds an npc that already exists in npc_types into the various spawn tables. I've seen issues with using #npcspawn create on an npc that already exists. It SHOULD create a new entry in npc_types but I've seen it do otherwise that could cause instability.
Also, check your logs folder to perhaps see a reason why nexus zone is crashing. The most common reason why is that your database isn't up to date with the latest sql entries in the change log(s). |
I admit I have been using
1. #dbspawn npcid then I click on them and do #npcspawn add |
I tried the #npcspawn create and it added it but as soon as the zone starts up again it crashs, I tested this by making the zone static with the npcs in there and when there are more then 3 custom npcs in there (made them with Georges tools and they have a gender of 2 (Monster Using Rallos Zek, Tribinal models at the moment) would that be the problem?
I even set the zone static and it crashs every 2 seconds wont even boot up. I found out as soon as I removed them from the spawn2 table the zone stopped crashing, granted the npcs are gone but it seems that the spawn2 table is causing me the problems |
Do you have any zones with populated NPC already that work fine? Sounds like you cleared out your tables or something to start fresh and your DB isn't matching your source code as mentioned. So, when you try to load NPCs, it crashes the zone because the fields don't match. Or maybe the NPCs you are creating are set with the incorrect info/settings.
|
Yes, all the zones have npcs I just deleted all the npcs from the nexus to make it a custom start zone and the weird thing is I can spawn 3 of my custom made npcs fine, but as soon as I spawn the 4th one it will crash every time for me, for some reason. I used George's loot/npc editor to make them and I am currently using the latest core (I update and compile the new stuff from the SVN weekly).
I also note that i checked the logs but there is no mention of any errors or anything in the logs it all looks fine so this one has me stumped because it has something to do with the npcs or spawn because I set the zone as static just to test it with 1 npc then 2 then 3 it loaded fine but as soon as I added a 4th one it started going into what I will dub as a crash loop. |
I got the zone to stop crashing, apparently it is caused by a custom item I made and that my npc handed out and I narrowed it down to my Stone of Darkness. which is used for my pvp npc. For some reason it is just this item that causes it to crash once i remove item from database it loads fine with the npcs.
item stats and information http://i171.photobucket.com/albums/u...eta/stone1.jpg http://i171.photobucket.com/albums/u...eta/stone2.jpg and here is the code for the pvp npc (I know it is wrong place but it fits in with the problem) Code:
################## |
The problem is probably with your quest, not the item itself. You may want to move your saylinks and varlink inside of EVENT_SAY.
|
That seemed to be the problem hard to believe that one little thing could cause the whole zone to crash every time. I thank you for your patients and help through the whole ordeal also!
|
All times are GMT -4. The time now is 01:19 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.