EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   NPCs and mobs not loading (https://www.eqemulator.org/forums/showthread.php?t=25167)

Katlike 05-04-2008 04:42 PM

NPCs and mobs not loading
 
I have installed an old Scars of Nalgora database. When I start up the server and log in there are no NPCs or mobs in any zone. I checked the database and it is full of NPCs and mobs. I have been trying to compare the setting to that of the PEQ database but I haven't been able to find anywhere that would be causing this. I have looked through tons of messages and can't seem to find the answer either. When I try to use #dbspawn with the npctypeid I get "NPC Type not found", and if I cast any summon pet spell I get "Unable to load NPC data for pet" error message. So I am guessing that somehow it is not loading my NPC data from the database. Any help on where to start looking to fix this problem would be greatly appreciated.

Thanks,
Katlike

trevius 05-04-2008 04:49 PM

Make sure you have the section in your eqemu config file configured properly to use your database. If you leave it at the default database name, it won't work.

Code:

        <database>
            <host>localhost</host>
            <port>3306</port>
            <username>username</username>
            <password>password</password>
            <db>databasename</db>
        </database>


Katlike 05-04-2008 08:04 PM

I have the config file set to the right database and it seems to have all of my items and all the old logon information with everyones toons are showing up, so it is pulling some of the information from the database. It is even pulling the changed zone points, the only thing that doesn't seem to be working is the spawning of NPCs or mobs.

trevius 05-04-2008 09:38 PM

When you start the server, check for any errors in the log while it is starting. You should see [Error] and a description of what failed. Post your logs if you can.

Irreverent 05-04-2008 10:47 PM

I just loaded fresh DB copies today and I'm having the same issues. No error logs are being created. Can even #spawn something and kill it. But the spawns aren't loading.

Aramid 05-05-2008 05:05 AM

Quote:

Originally Posted by Irreverent (Post 148284)
I just loaded fresh DB copies today and I'm having the same issues. No error logs are being created. Can even #spawn something and kill it. But the spawns aren't loading.

Fresh DB copies as in you just download them and installed and you are running 1108 version of the emu or you freshly installed a DB you already had and you are running ?? version of the emu?

Check the change logs and make sure the DB you have has all of those changes installed up to the version you are running.

LordKahel 05-05-2008 09:38 AM

Build 1106 and higher added 2 new fields to npc_types ATK and accuracy ... If you didnt add those fields to your database then all the zones will come up empty.

trevius 05-05-2008 02:23 PM

Also, don't forget the new canlevitate and castoutdoor fields added to the zone table. If you don't add those, you and your mobs will kinda float above ground oddly and eventually get stuck and not be able to move. That is only applicable to the 1108 build. You don't want to run 1106 because there is a bug with spells that causes zone crashes.

Katlike 05-05-2008 05:14 PM

Thanks for help
 
You guys are great, I added the fields to the database and that solved my problems with NPCs and mobs not spawning. It's nice to know there are knowledgable people out there that are willing to help.

Thanks,
Katlike


All times are GMT -4. The time now is 11:13 PM.

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