Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-09-2005, 08:34 PM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default

I have Fedora Core 4 and gcc 3.4.2. I tryed your source still needed to make some changes not as much, but still be the same error.
Reply With Quote
  #2  
Old 10-09-2005, 03:10 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

just a note, it dosent look like your using code from cvs...
http://www.eqemulator.net/wiki/wikka...akka=DevBranch

its not gunna fix it, but you might have better luck.
Reply With Quote
  #3  
Old 10-12-2005, 05:07 AM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default

I tried changing to a different linux box. It is Red Hat and has a gcc version 3.2.2. It complied everything with no error's what at all, but I still get the same errors when I boot of zone as stated above. I used the source from cvs this time. The problem seems to be with my spells_us.txt file. My windows server runs fine with it, so why wouldn't linux.
Reply With Quote
  #4  
Old 10-12-2005, 06:49 AM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

Are you use spell_us.txt from last patch from sony ? that work fine
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #5  
Old 10-12-2005, 07:20 AM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default

Yes is before 9/13 my window server works with that file, but not linux for some reason. I would like a linux server because I can do compiling on it.
Reply With Quote
  #6  
Old 10-16-2005, 05:44 PM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default

I founded out why zone failed to boot up I was starting the zone wrong. I was doing ./zone compID . 7790 compID when I needed to do ./zone . comID 7790 compID. With that said I still have problems with spells_us.txt. It does read the file and get the max spell id, but then something goes wrong. This program goes all the way to my cout << SPDAT_RECORDS; and then prints out the error message. This code is in net.cpp, function void LoadSPDat, and at line 746.
This is the zone output.
[Status] Loading npc faction lists
(This is the call to load)[Status] libEMuShareMem.so loaded
[Status] Loading loot tables
[Status] Loading doors
(This is the call to load)[Status] libEMuShareMem.so loaded
(This is the secound try to load)(Function getting max spellid)(File is opened)8402(Max found)(NEXT)(This is the call to load)[Status] libEMuShareMem.so loaded
8403(I am here trying a second time adding timer)Error: EMuShareMem: DLLLoadSPDat: !SpellsMMF.IsLoaded() (timeout)
[Error] Starting Log: logs/eqemu_error_zone.log
[Error] LoadSPDat() EMuShareMemDLL.Spells.DLLLoadSPDat() returned false
(Am I an this error)[Status] Loading guilds
[Status] Loading guild list
(This is the call to load)[Status] libEMuShareMem.so loaded
[Status] Loading factions

and this is the code.
sint32 MaxSpellID = GetMaxSpellID();
cout << MaxSpellID; //ME
if (MaxSpellID == -1)
{
LogFile->write(EQEMuLog:ebug, "LoadSPDat() MaxSpellID == -1, %s missing?", SPELLS_FILE);
return;
}
cout << "(Max found)"; //ME
#ifdef SHAREMEM
cout << "(NEXT)"; //ME
if (!EMuShareMemDLL.Load())
{
cout << "(In the if statmant)"; //ME
return;
}
SPDAT_RECORDS = MaxSpellID+1;
cout << SPDAT_RECORDS; //ME
if (EMuShareMemDLL.Spells.DLLLoadSPDat((const CALLBACK_FileLoadSPDat)&extFileLoadSPDat, (const void**) &spells, &SPDAT_RECORDS, sizeof(SPDat_Spell_Struct)))
{
spells_loaded = true;
}
else
{
SPDAT_RECORDS = -1;
LogFile->write(EQEMuLog::Error, "LoadSPDat() EMuShareMemDLL.Spells.DLLLoadSPDat() returned false");
cout << "(Am I an this error)"; //ME
return;
}
If anyone has any ideas please share. I realy don't understand why this error is happening.
Reply With Quote
  #7  
Old 10-16-2005, 11:14 PM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

yes, for spell don't use spell_us.txt before 09/13/2005 but LAST spell_us.txt (from fresh patch) that work better
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #8  
Old 10-17-2005, 07:40 AM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default It is working

I got it to work. It now loads. I added bool FileLoadSPDat(); after my cout << SPDAT_RECORDS; because the code would go to that point print out the return falas error. I am very happy I can now log in to my server and do something and with the ablity to compile.

SPDAT_RECORDS = MaxSpellID+1;
cout << SPDAT_RECORDS;
bool FileLoadSPDat(); //This fixed it
if (EMuShareMemDLL.Spells.DLLLoadSPDat((const CALLBACK_FileLoadSPDat)&extFileLoadSPDat, (const void**) &spells, &SPDAT_RECORDS, sizeof(SPDat_Spell_Struct)))
{
spells_loaded = true;
}
else
{
SPDAT_RECORDS = -1;
LogFile->write(EQEMuLog::Error, "LoadSPDat() EMuShareMemDLL.Spells.DLLLoadSPDat() returned false");
cout << "(Am I an this error)";
return;
}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:48 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3