View Full Version : Floating point exceptions on my zone servers
kabalah
12-18-2002, 06:00 AM
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
yes, that did indeed take care of the zone server crashing.
thanks!
kabalah
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.