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, 01:51 PM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default Zone startup FAILED!

I got zone to compile but when I start it up I get these error's.

[Status] Starting Log: logs/eqemu_zone.log
[Status] Using database 'eq' at localhost
[Status] CURRENT_ZONE_VERSION: EQEMu 0.6.2-DR1
[Status] Loading opcodes..
[Status] Mapping Opcodes
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] libEMuShareMem.so loaded
[Status] Loading npcs
[Status] Loading npc faction lists
[Status] libEMuShareMem.so loaded
[Status] Loading loot tables
[Status] Loading doors
[Status] libEMuShareMem.so loaded
[Status] libEMuShareMem.so loaded
Error: EMuShareMem: DLLLoadSPDat: !SpellsMMF.IsLoaded() (timeout)
[Error] Starting Log: logs/eqemu_error_zone.log
[Error] LoadSPDat() EMuShareMemDLL.Spells.DLLLoadSPDat() returned false
[Status] Loading guilds
[Status] Loading guild list
[Status] libEMuShareMem.so loaded
[Status] Loading factions
[Status] Loading titles
[Status] Loading AA effects
[Status] Loading swarm spells
[Status] Loading tributes
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Debug] Starting Log: logs/eqemu_debug_zone.log
[Debug] command_init(): - Command 'appearance' set to access level 150.
(Debugs all commands in the addon.int file)
[Status] 183 commands loaded
[Status] Loading embedded perl XS
[Debug] Warning: Perl dosub called for my_eval when perl is allready in use.

[Quest] Starting Log: logs/eqemu_quest_zone.log
[Quest] Loading perlemb plugins.
[Quest] Loading perl commands...
[Debug] Warning: Perl dosub called for my_eval when perl is allready in use.

[Quest] Loading perlemb plugins.
[Quest] Loading perl commands...
[Status] Starting EQ Network server.
[Error] Zone bootup FAILED!
Connected to worldserver: archangel:9000

I guess the reason the zone bootup failed it because the SpellsMMF.IsLoaded() didn't load. What would cause this I got the spells_us.txt file in the sever folder. There were not errors when I compiled the ShareMem just got a few warrings not related.

MMF.cpp: In member function `bool MMF::Open(const char*, int32)':
MMF.cpp:213: warning: comparison between signed and unsigned integer expressions
Loot.cpp: In function `bool pDLLLoadLoot(bool (*)(), int32, int32, int32, int32, int32, int32, int32, int32, int32, int32)':
Loot.cpp:193: warning: cast from `const uint8*' to `int32*' discards qualifiers from pointer target type
Loot.cpp:194: warning: cast from `const uint8*' to `int32*' discards qualifiers from pointer target type
Loot.cpp: In function `const LootTable_Struct* pGetLootTable(uint32)':
Loot.cpp:203: warning: cast from `const uint8*' to `LootTable_Struct*' discards qualifiers from pointer target type
Loot.cpp: In function `const LootDrop_Struct* pGetLootDrop(uint32)':
Loot.cpp:211: warning: cast from `const uint8*' to `LootDrop_Struct*' discards qualifiers from pointer target type

If you got any ideas please post.
Reply With Quote
  #2  
Old 10-09-2005, 05:32 PM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

What is your distrib linux ?

I have a Debian sarge core 2.6
With GCC 3.3.5 (perl and mysql up to date)
and compilation is easy, no changes, i have just "Make clean; make" and that work !
here my source : http://eqfroggy.ath.cx/download/EQEmuCVS_09.28.2005.rar
for spell error use the latest Spell_us.txt (that work!).
__________________
__________________________________________________ _____________________________________
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.

Last edited by Belfedia; 10-10-2005 at 01:36 AM..
Reply With Quote
  #3  
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
  #4  
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
  #5  
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
  #6  
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
  #7  
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
  #8  
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
Reply

Thread Tools
Display Modes

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 07:00 PM.


 

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