View Single Post
  #1  
Old 04-10-2004, 07:04 AM
govtcheeze
Hill Giant
 
Join Date: Mar 2004
Location: South Florida
Posts: 247
Default zone.exe crashes when updating faction tables

I am trying to redo the faction lists, but keep running into a zone.exe crash with the following message:

Code:
C:\EQEMU>zone . 192.168.0.103 7995 192.168.0.103
[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.5-DR1
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading npcs
[Status] Loading NPCTypes from database...
[Status] Loading npc faction lists
[Status] Loading NPC Faction Lists from database...
Error: Database::DBLoadNPCFactionLists: !EMuShareMemDLL.NPCFactionList.cbSetFact
ion
Error: EMuShareMem: DLLLoadNPCFactionLists: !cbDBLoadNPCFactionLists
[Error] Loading npcs faction lists FAILED!

C:\EQEMU>
I thought at first it was an error on my part, but here is the weird thing.

I removed all the data from the faction_list, npc_faction, and npc_faction_entries tables. I have not changed any of the table definitions.

I sourced in my own faction_list, no crash.

I sourced in my npc_faction, no crash.

I sourced in my npc_faction_entries, message above.

I removed the data from npc_faction, no crash.

I then began cutting down the size of my sources...when sourcing in the first 200 entries, it crashes. When sourcing in 180 entries, it doesnt crash. So I figured the error was in the next 20 entries...

I source in JUST THOSE 20 entries, and it doesnt crash...

I then thought it was a bad entry in npc_types, so I updated npc_faction_id to all be 1. Results did not change.

I also removed all single quotes from my faction_list, but results did not change.

I ask here for 2 reasons:

1) Is there a memory limit, or is there some hard-coded faction stuff?
2) Can anyone post the code that throws this error. It may help me find a work around, or figure out where my code is wrong.

THanks.
Reply With Quote