Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-11-2008, 12:18 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

It's kinda funny cause I was just thinking the same thing right before I pulled up the forums

I haven't had a chance to look, but I wonder if this has something to do with the differences in a WIN32 build vs everything else (all of the #ifdef WIN32 in the source). Here are some excerpts from the source with the Windows stuff in Blue and the Debian stuff in Red:
world/LoginServer.h
Code:
   29 #ifdef WIN32
   30 	void AutoInitLoginServer(void *tmp);
   31 #else
   32 	void *AutoInitLoginServer(void *tmp);
   33 #endif
world/LoginServer.cpp
Code:
   28 #ifdef WIN32
   29 	#include <process.h>
   30 	#include <windows.h>
   31 	#include <winsock.h>
   32 
   33 	#define snprintf	_snprintf
   34 	#define vsnprintf	_vsnprintf
   35 	#define strncasecmp	_strnicmp
   36 	#define strcasecmp	_stricmp
   37 #else // Pyro: fix for linux
   38 	#include <sys/socket.h>
   39 #ifdef FREEBSD //Timothy Whitman - January 7, 2003
   40 	#include <sys/types.h>
   41 #endif
   42 	#include <netinet/in.h>
   43 	#include <arpa/inet.h>
   44 	#include <pthread.h>
   45 	#include <unistd.h>
   46 	#include <errno.h>
   47 
   48 	#include "../common/unix.h"
   49 
   50 	#define SOCKET_ERROR -1
   51 	#define INVALID_SOCKET -1
   52 	extern int errno;
   53 #endif

  188 #ifdef WIN32
  189 	void AutoInitLoginServer(void *tmp) {
  190 #else
  191 	void *AutoInitLoginServer(void *tmp) {
  192 #endif

  197 #ifndef WIN32
  198 	return 0;
  199 #endif
I think it might have to do with AutoInitLoginServer, but I'm not really sure.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
 


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:00 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