EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=618)
-   -   Floating point exceptions on my zone servers (https://www.eqemulator.org/forums/showthread.php?t=4377)

kabalah 12-18-2002 06:00 AM

Floating point exceptions on my zone servers
 
im running mandrake 9.0 and im getting the floating point exceptions and my zone servers all die with the send_socket failure. does anyone have any suggestions? the error is as follows:

Zoneserver send() failed, assumed disconnect: #1 qeynos 127.0.0.1:32776 (localhost:7995)
Removing zoneserver from ip:127.0.0.1 port 32776 (localhost:7995)

i am using EQEmu-0.4.0 source.

kabalah

Vendar 12-19-2002 07:52 PM

Well I tracked the error down to one function call.


database.AddLootTableToNPC();

which is called in

void NPC::AddLootTable();

When I looked in the database.cpp file I could not find AddLootTableToNPC() function. But the follow change to the file in npc.cpp will solve the crash problem, but no loots on corpses. I will look farther into where that call is trying to go and correct the real problem.

Pretty much just comment out the function for now like so:

void NPC::AddLootTable() {
if (npctype_id != 0) { // check if it's a GM spawn
// database.AddLootTableToNPC(loottable_id, itemlist, &c$
}
}

kabalah 12-20-2002 09:43 AM

thanks
 
yes, that did indeed take care of the zone server crashing.

thanks!

kabalah


All times are GMT -4. The time now is 04:28 AM.

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