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 05-27-2010, 12:22 PM
Mirakus
Fire Beetle
 
Join Date: May 2010
Posts: 12
Default

If you're still having problems, I would recommend reading this thread: http://eqemulator.org/forums/showthread.php?t=30773 and using the script described there.

I started out with trying to use the Debian guide, and had a lot of problems along the way. Snag the later version of the script from that other thread, and then add into the section where it adds links a link for commands.pl and login.ini. I'm not sure of the exact directory locations at this time. You might be able to get that setup script working with your existing installation, but you may need to rename some directories or move things around. I know that the script creates a lot of soft links into the server directory that you do not create (and need) when using the Debian guide.

If you're planning on running your own login server and running locally only in your LAN, I would recommend setting the address and local address values in eqemu_config.xml. A couple of guides out there say it is unnecessary, but I had to do that in order to get up and running.
__________________
Mirakus of Tyr

Last edited by Mirakus; 05-27-2010 at 12:23 PM.. Reason: had html tags in there that did nothing!
Reply With Quote
  #2  
Old 05-28-2010, 07:31 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Hello trevius and Mirakus,

Thanks for the replies. I will look into both of your suggestions. Hopefully I can get this working. I'm sure I'll be replying back with more questions.

trevius, I have logged into your server before. You have done a very good job with it.
Reply With Quote
  #3  
Old 05-28-2010, 10:01 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Mirakus,

I don't know the exact commands for adding the links for commands.pl and login.ini. I did find those files in eqemulator/projecteqemu/utils/defaults/commands.pl and eqemulator/projecteqemu/EQEmuLoginServer/login_util/login.ini. Would this mean the link commands would look like this
Code:
user@server:/home/eqemulator/server$ ln -s ../projecteqemu/utils/defaults/commands.pl \
done
user@server:/home/eqemulator/server$ ln -s ../projecteqemu/EQEmuLoginServer/login_util/login.ini \
done
That doesn't seem right to me. Any ideas on this?

My end goal is to set up a private server for a few of my friends and myself. They live in different cities so I will need to setup a login server.

Thank you for taking time to help me.
Reply With Quote
  #4  
Old 05-29-2010, 04:38 AM
Kobaz
Hill Giant
 
Join Date: Nov 2008
Location: Gold Coast, Oz
Posts: 119
Default

Assuming you're in your server directory, the command you want will look like:

Code:
 ln -s ../projecteqemu/utils/defaults/commands.pl .
The keywork "done" terminates a loop block, such as a for or while loop.
Reply With Quote
  #5  
Old 06-01-2010, 07:46 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Thanks for the clarification Kobaz.

After running the script that Mirakus suggested, it said to cd into projecteqemu and make it. It errored out, so I tried it again and it errored out again. I'm not sure how to resolve this. Below is the error message from my second attempt.
Quote:
make -C EMuShareMem
make[1]: Entering directory `/home/eqemulator/projecteqemu/EMuShareMem'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eqemulator/projecteqemu/EMuShareMem'
make -C world
make[1]: Entering directory `/home/eqemulator/projecteqemu/world'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -I../common/SocketLib -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE Adventure.cpp -o Adventure.o
Adventure.cpp: In member function ‘void Adventure::MoveCorpsesToGraveyard()’:
Adventure.cpp:381: error: ‘atoi’ was not declared in this scope
make[1]: *** [Adventure.o] Error 1
make[1]: Leaving directory `/home/eqemulator/projecteqemu/world'
make: *** [all] Error 2
Reply With Quote
  #6  
Old 06-02-2010, 09:41 AM
Mirakus
Fire Beetle
 
Join Date: May 2010
Posts: 12
Default

Jster22, the errors you listed are caused by the latest version of GCC. With some of the older versions, you would not have gotten that error. At the very top of both <yoursourcedir>/world/Adventure.cpp and <yoursourcedir>/world/AdventureManager.cpp, put #include <stdlib.h>

That should resolve your error.
__________________
Mirakus of Tyr
Reply With Quote
  #7  
Old 06-02-2010, 08:19 PM
Jster22
Fire Beetle
 
Join Date: Jun 2008
Location: Earth
Posts: 26
Default

Thanks Mirakus. I didn't get any build errors after making those changes.

The next step is to "Build the login server". I assume that this means to cd into projecteqemu/EQEmuLoginServer and make. However, I get another error.
Quote:
gcc -o EQEmuLoginServer Client.o ClientManager.o Config.o DatabaseMySQL.o ErrorLog.o Main.o ServerManager.o WorldServer.o .obj/BasePacket.o .obj/Condition.o .obj/CRC16.o .obj/crc32.o .obj/debug.o .obj/emu_opcodes.o .obj/EmuTCPConnection.o .obj/EmuTCPServer.o .obj/EQPacket.o .obj/EQStream.o .obj/EQStreamFactory.o .obj/logsys.o .obj/logsys_eqemu.o .obj/misc.o .obj/MiscFunctions.o .obj/Mutex.o .obj/opcodemgr.o .obj/packet_dump.o .obj/packet_functions.o .obj/rdtsc.o .obj/TCPConnection.o .obj/TCPServer.o .obj/timeoutmgr.o .obj/timer.o .obj/unix.o -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 -rdynamic -L. -lstdc++ -ldl -L/usr/lib/mysql -lmysqlclient -lEQEmuAuthCrypto -lcryptopp
/usr/bin/ld: cannot find -lEQEmuAuthCrypto
collect2: ld returned 1 exit status
make: *** [EQEmuLoginServer] Error 1
I assume that this is a similar issue but I'm not sure which file(s) need to be edited.

Also looking ahead at the next steps, what is the file eqemu_config.xml used for? It says that I need to create/edit it. What needs to be in there? As well as the next step which is "Create/Edit your login server configuration"

Thanks again for your help!
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 12:27 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