Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2005, 04:14 AM
deazone
Sarnak
 
Join Date: Jun 2005
Posts: 37
Default

/me smacks self

Thanks CaveDude
Reply With Quote
  #2  
Old 09-14-2005, 05:15 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

I wish I could smack myself, but the exact error message from world.exe I am talking about, for me anyway, is:

[Error] Function Attach Error: Error #127

[Error] LoadEMuShareMemDLL::Load() failed to attach to a function.
Unable to load EMuShareMem for opcodes.

Obviously, it's a slightly different error message in that it doesn't specify which of the main function handlers it couldn't establish a pointer for.

EDIT: I will try that GuildList.cpp and .h addition to see if it is missing anyway, just in case it really is the same message, but the error message text has changed or something.

Last edited by WildcardX; 09-14-2005 at 01:17 PM..
Reply With Quote
  #3  
Old 09-14-2005, 05:30 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

While my EMuShareMem project was missing both GuildList.cpp and GuildList.h, I still get the exact error message I posted above about not being able to "attach to a function". The problem is I don't know which function (in the code looks like there is a possibility of atleast 25 to 30 function handlers...) and my debugger won't stop at any breakpoints I set, which I am guessing is because the source code files are in a non-DOS format? Anyway, would be really cool if someone knows what I need to add. Meanwhile, I'm going to focus on trying to figure out why breakpoints won't work in the project.
Reply With Quote
  #4  
Old 09-14-2005, 08:06 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

After looking through GuildList.cpp, I found I had to "extern" the function GetMaxGuildID() for WIN32 compiles. It was defined for a non-WIN32, but not for Windows Servers. I also had to remove a stray semi-colon at then end of DLLLoadGuildList(). Apparently this misplaced semi-colon was causing the AddGuild function to not load from the EmuShareMem.dll during runtime.

Now, if I could just figure out why I can't use the debugger to step into the project to make finding bugs like a BILLION times easier or to get it to stop at breakpoints. Trying to debug the source without DEBUGGING is a severe challenge. If anyone has come across this problem, I'd love to know the solution! I'm in the middle of resaving all the source code files to make sure the files use the Windows format LF & CR. Its been my experience that when I can't debug source code its because the source code was last saved in unix which uses a different file format than Windows and that gums up the debugger.

I am using Visual Studio .NET 2003 on Windows XP and Windows 2000 Workstation.

Anyway, now to try and figure out why Zoneperl.exe is tossing out run time errors... (debugging would speed this up A LOT)
Reply With Quote
  #5  
Old 09-14-2005, 08:54 AM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

Quote:
Originally Posted by WildcardX
Anyway, now to try and figure out why Zoneperl.exe is tossing out run time errors... (debugging would speed this up A LOT)
I'm really glad we have you here working on this. Seems like everyone else must be tied up in other bugs or something because I have just not seen much of a response on this for something as large as zoneperl.exe not functioning. Good luck and I'm sure a lot of people are hoping you can nail this!

J
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 03:47 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