View Single Post
  #2  
Old 09-24-2005, 01:29 PM
Dakaar
Sarnak
 
Join Date: Apr 2003
Posts: 53
Default

Update!
I put a debug message in my fileloadspdat() function.
During the run where I crash, it reaches the fgets(spell_line, sizeof(spell_line), sf);
twice, after the 2nd run, it crashes.

Is this because my SPDAT_RECORDS is > 0 and the spellspointer is equal to 0?

Okay I was looking at the trace again.

Only the second open has the following lines:
write(1, "[Status] FileLoadSPDat() Loading"..., 61) = 61
write(4, "17466 [09.24. - 19:10:40] FileLo"..., 7 = 78


Seems to me that its crashing in zone\net.cpp after the first line is read, and probably cant find the sp pointer or similar.

I wonder if i have a problem with the seperator object, as its not used in the dll load that may have something to do with it?

Is the first open the DLL open and the second the zone binary open? Are both supposed to load spells?

Last edited by Dakaar; 09-24-2005 at 10:56 PM..
Reply With Quote