EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Okay, I'm stumpped... (https://www.eqemulator.org/forums/showthread.php?t=37369)

HnathBST 10-09-2013 05:15 PM

Okay, I'm stumpped...
 
One of my players mentioned that Lord Nagafen wasn't spawning (he checked 100 times blah blah) So I went and took a look myself. Sure enough he's not there.

I pull up the database, He's in the database. He has an hour (modified) respawn time with no variance. I use #repop, nothing. I restart the server, he's still not there. I even hung around and waited for an hour or so and He's still not there...

In the database I have:
npc_types (id = 32040, name = Lord_Nagafen)
spawnentry (spawngroupid = 6712, npcid = 32040, chance = 100)
spawngroup (spawngroupid = 6712, name = soldungb_86, despawn_timer = 100, everything else is 0)
spawn2 (zone = soldungb, spawngroupid = 6712, version = 0, enabled = 1, his coords are set. And there doesn't appear to be any conditions)

I just can't seem to figure out why Lord Nagafen won't spawn. I've looked at all the quests in Soldungb (there are only 3) nothing. I know that an error in the script for Nagafen won't cause him not to spawn (because I've had errors in scripts and the npc still spawned fine)

If anyone can shed some light on this I'd greatly appreciate it...

Also:
I've compared Nagafen to Magus_Rokyl (who does spawn) and everything but the spawn group, npc id and location are the same.

Kingly_Krab 10-09-2013 06:16 PM

You may want to check the script, as errors CAN cause the NPC not to spawn, and sometimes scripts just make the NPC not spawn for a certain length of time, no matter the NPC's respawn time. Also, for future reference, you may forcefully repop and reset all respawn times in the zone with "#repop force".

joligario 10-09-2013 06:30 PM

Quote:

Originally Posted by HnathBST (Post 224739)
...his coords are set...

Set to what? Is it possible you have him spawning under the world? Are you doing an npc list or something to make sure? And Krab has a great point regarding the perl quest file.

HnathBST 10-09-2013 06:35 PM

Thanks Kingly, I checked the script (perl -c and perl -w jsut a few warnings about vars only being used once)

However, it appears as though the #repop force (which I did not know about) fixed the spawn. I guess it was on a respawn timer somewhere for the last time it was killed (before I changed the respawn timer)

Thanks!

Kingly_Krab 10-09-2013 06:52 PM

No problem, you know you can do "perl -cw scriptname.pl" in one run, yes?

HnathBST 10-09-2013 08:00 PM

Quote:

Originally Posted by joligario (Post 224745)
Set to what? Is it possible you have him spawning under the world? Are you doing an npc list or something to make sure? And Krab has a great point regarding the perl quest file.

It was set to the standard peq coords, I was able to #goto the loc without being stuck in the zone (not sure if #goto will check if you're underworld or not...) The problem was with respawn timers.

Quote:

Originally Posted by Kingly_Krab (Post 224748)
No problem, you know you can do "perl -cw scriptname.pl" in one run, yes?

I figured you could. Just in a stupid habit of doing -c then -w

Also:
The problem was solved with a #repop force. Little to my knowing, there a a respawn_times table that holds the duration/start of a respawn. So when I modified my respawn times there was still an entry in that table that prevented the spawn from respawning. I deleted any entry in that table that was above my current max respawn time (1hr) so hopefully that fixes ALOT of the named spawns not showing up


All times are GMT -4. The time now is 01:19 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.