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 01-03-2011, 02:59 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default eqemuloginserver - after a few days

I notice that after a few days the login server starts saying the username does not exist in the table, but after restarting it works fine. This has happened three times lately after running fine for a few days. It does not have a log file, but I can see it pop up on the screen that it runs the query and says the login name does not exist, but it does. I am using Debian and Wine to run it.
Reply With Quote
  #2  
Old 01-09-2011, 09:30 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Wow, no one know this one ? It can't just be my machine, or can it ?
Reply With Quote
  #3  
Old 01-09-2011, 10:51 PM
erik_llewellyn
Sarnak
 
Join Date: Dec 2006
Posts: 98
Default

While I cannot speak for the other linux servers out there, I will ask the question of why aren't you compiling the code to run natively instead of using wine?

If you use the linux server guides in the wiki, you should be able to successfully compile it. One thing I noticed though when preparing my server (runs CentOS 5.5) was that I had to use all of the linux guides and pick out parts from them to peice it all together. You might have it easier though since your distro was Debian and two of the guides are just for that distro.
Reply With Quote
  #4  
Old 01-11-2011, 10:53 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by erik_llewellyn View Post
While I cannot speak for the other linux servers out there, I will ask the question of why aren't you compiling the code to run natively instead of using wine?

If you use the linux server guides in the wiki, you should be able to successfully compile it. One thing I noticed though when preparing my server (runs CentOS 5.5) was that I had to use all of the linux guides and pick out parts from them to peice it all together. You might have it easier though since your distro was Debian and two of the guides are just for that distro.
Because I never got this resolved.

Code:
EqEmu:/home/eqemu/src/EQEmuServer/EQEmuLoginServer# make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated  -Wcomment -Wcast-align -O -g -march=i686 -pthread -pipe -DEQLAUNCH -DEQDEBUG=5 -I/usr/include/mysql  -DBIG_JOINS=1 -fPIC Client.cpp -o Client.o
In file included from LoginServer.h:27,
                 from Client.cpp:20:
Options.h: In constructor âOptions::Options()â:
Options.h:168: warning: âOptions::local_networkâ will be initialized after
Options.h:166: warning:   âbool Options::reject_duplicate_serversâ
Options.h:31: warning:   when initialized here
Client.cpp: In member function âvoid Client::Handle_SessionReady(const char*, unsigned int)â:
Client.cpp:130: error: expected primary-expression before âunsignedâ
Client.cpp:130: error: expected `)' before âunsignedâ
Client.cpp:137: error: expected `)' before âstatusâ
make: *** [Client.o] Error 1
Reply With Quote
  #5  
Old 01-11-2011, 11:16 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

GCC is picky. They don't like type casting with multiple-word types. Try changing line 129:

Code:
unsigned int mode = *((unsigned int*)data);
to

Code:
(unsigned int) mode = *((unsigned int*)data);
Reply With Quote
  #6  
Old 01-11-2011, 11:18 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yeah I had a prior thread and never got an email notification someone had replied, which they did. Going to try this again this morning.
Reply With Quote
  #7  
Old 01-11-2011, 11:54 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Actually that lined seemed to be okay, changing it made no difference. The one right below it was the problem.

changing this fixed it.
Code:
if(mode == (unsigned int)LoginMode::lm_from_world)
To ....

Code:
if(mode == (unsigned int) lm_from_world)
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 12:18 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3