assistance setting up an EQEmu Server
I was wondering if I might be able to get a little assistance setting up an EQEmu Server. I have successfully set up a private one before but at the time didn't have time to start learning how to edit it or play with it.
(meaning I could log on and everything worked) But because of the lack of time I had to spend at that time to learn and edit.. I deleted it. Because things have settled down here.. I now have time to do more then just play around on other server and was thinking about setting up another server and see what I could do. I understand how it works as far as MySQL and have a general idea of how it is suppose to work and would probably be able able to do much more once it is up and running.. but this is the problem.... I have installed... MySQL 5.0.82 ActivePerl 5.10.1.1008 Navicat Visual Studio C++ 2008 Zlib.dll all seems to be correct and followed the guide(s) and that is all the same as when I did this before. I update VS 2008 Directories .. np there I get 5 suc 0 - 0 - 0 (I think) after the build so seems correct It is up to the point when I'm suppose to combine the directories into my EQEmu server Dir and editing the some of the files I start having problems. There are subtle differences in the guides and some of the files I'm suppose to have. Also there are references to some files that have either changed names or just aren't there. (needless to say I think I may just be confusing myself) I tried a few times now to start a server after playing with the configurations a few times and still get a lot of errors and a not so working server. Even though the database and everything looks good. Another thing I would like to try to do but don't grasp how it's done is to create the server were it shows up through the EQEmu server list.. this is to be able to play around on and let a few friends and people that might want to play come and join us. I have a Router with the DMZ set up .. port forwarding and Networking isn't a problem on my end.. I know how to do that. I also have 2 options I can consider for the server. Option 1 My system AMD 6xCore 3.0 16 gig DDR3 1TB HDD Win 7 Pro 64 (no compatibility issues with anything .. not even the clients.. everything runs great on it) Option 2 VMware 2xCore proc gave it 4gig mem (for the moment) 200 gig HDD running Win Server (32 bit) 2008 My ISP isn't to shabby at all either. I don't have a T1 but I do have 10Mbs download and 1 Mbs upload I would love the opertunity to chat with someone who has set up a server if they don't mind sparing just a little of their time with me to go over some of this so I might be able to find my mistakes . I would even go as far as opening up instant message lines with them to make it go much faster (also makes it much easier) If someone could help me out thanks.... |
Figured out a couple of mistakes
Ok well....
I did figure out.. by starting from scratch again and going over everything in detail, oh and by reading a few more posts and guides... 1) I had mistaken the placement of a couple of files when assembling my eqemu server directory (At least I think) not tested yet 2) still have a few more things, options, according to some other posts on how to set it up that might work better. I am confused still about the login server... almost every guide refers to the eqemulogin.ini file. The problem is were this file is to be located, according to most of the guides, the only file that is even close and has the same content in it is... login.ini Now can I use this file with that name or do I need to change it? I have use the repositories to get the most updated files so I'm assuming this file is correct as is... but not 100% sure. Also there is a file that most of the guides refer to when assembling the server directory that I can not find and that is the patch_live.conf when it states that is one of the files you place in UTILS folder. Is that file obsolete now? anyway.. that is were I am ATM.. will try this stuff out and see if I'm any closer to actually getting the server to work. Any suggestions would be nice or maybe some contact with someone that has fist hand experience with setting up a server. Thank you |
Files to copy to server folder:
In /trunk/EQEmuServer/Build folder - Chatserver.exe, eqlaunch.exe, World.exe, Zone.exe and EMuShareMem.dll In /trunk/EQEmuServer/utils folder - mail_opcodes.conf, opcodes.conf, patch_6.2.conf, patch_Anniversary.conf, patch_HoT.conf, patch_SoD.conf, patch_SoF.conf, patch_Titanium.conf, and patch_Underfoot.conf In /trunk/EQEmuServer/utils/defaults folder - Copy ALL the folders and files inside this folder. You will also need all the .map files downloaded in the Maps folder. You will need all the quests downloaded in to your quests folder and then inside the quests folder (after downloading) there will be a sub folder called plugins. Copy that whole folder in to your root server folder. (Should have a folder there called plugins. Go to this link and download the EQEmuLoginServer.rar http://code.google.com/p/projecteqemu/downloads/list Unrar all those files in to your server folder, then edit eqemu_config.conf and the login.ini files. Also, you will have to source in all the sql updates into your database, from 1667 to 1823, found in /trunk/EQEmuServer/utils/sql/svn folder You'll also have to create a login database (I call mine peqlogindb) and source in an sql file called EQEmuLoginServerDBInstall.sql that you would of got with the login.rar file you downloaded. You also have to make TWO files, (I use notepad++) Call them accounts.sql and worldreg.sql Add the following line to accounts.sql - (edit AFTER the VALUES word, username, password and ip address of your client) Quote:
Quote:
|
Perfect walkthrough Huppy. Have you ever considered editing the most recent full Windows Installation walkthrough and bring it up to date? Ya seem to have the great knack for writing up explicit, easy-to-follow instructions.
|
following your lead
ok I see what I can do as far as what I haven't done... just a couple of things though.
in the EQEmuLoginServer folder after I unrar it there isn't a eqemu_conf.conf file. The only (conf) files that are in that folder after unraring is: login_opcodes.conf login_opcodes_sod.conf There is the eqemu_config.xml and eqemu_config.xml.full (which are also not in the EqEmuLoginServer folder) but they are in the server SVN files in the "Defaults" folder. I did a search in all the files I have gotten from the SVN(s) and can't find a eqemu_conf.conf Also the sql files I'm suppose to source in from 1667 to 1823..... I don't have a 1667. Around the 1600s it goes from 1625 then jumps to 1672. The Login Database I got.. the compiling I got.. didn't know I had to source in all those sql files though or the 2 lines into worldreg.sql or accounts.sql Anyway, will try what I can from what you have listed.. have provided some more insight on some things I can try. Let me know what you can tell about what I mentioned. I assume there aren't files missing from the SVNs or the rar downloads... prob just changes that has been made since the last time they have been messed with. |
Updating
I'm compiling again and starting from scratch with the EQEmu server files.
Not deleting what I have.. I have backed up all the SVN files and EQEmuLoginServer files and the PEQ SVN files so if I make a mistake.. instead of mixing everything up I can just delete what I have and copy from the backups to save time (with the backups being untouched) so I know I'm good to go. Also I know I'm good on the data base up to sourcing in the additional files I didn't know I had to source in so not touching the database... will just source in those sql files. I also noticed even though I'm getting the: Code:
========== Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Code:
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array So basicly going to ... Re-compile ..rebuild the EQEmu Server Directory.. source in the files I need to and add the lines I need into the database. Still can't find the eqemu_conf.conf file though. When I get a working eqemu (with a little assistance) I will try to post an updated guide for everyone. Also still not sure how to link the server to the eqemu world server listings.. I'll worry about that later once I have this figured out.. one step at a time. thanks (EDIT) Ok down to editing the eqemu_config.xml My file looks like this: Code:
<?xml version="1.0"> Do I need to uncomment this... Code:
<!-- Only specify these two if you really think you need to. (read: You don't) --> Second question: Is this what links the server to the EQEmu world server list? Code:
<!-- Loginserver information. Defaults shown --> And does it go by the "World Server" account login information? or is there a lot more involved with that process? Last Question (for the moment) Code:
<!-- Launcher Configuration --> |
Sorry chrismed0, I was a little tired when I wrote my reply.
The eqemu_config.xml is what I meant to type, ( instead of .conf) The two you found are correct, but the eqemu_config.xml.full is what you use if your running your own private login, but REMOVE the .full and edit it with your own. If your simply going to link your server in to eqemulator.net then you DON'T NEED ANY LOGIN FILES. There is plenty of info on this forum for configuring your server. The "5 succeeded" you got during compile is normal and you DON"T need to re-compile again. You just need all the rest of the files and the database/sql's sourced in. Here is an eqemu_config.xml file that only needs the shortname, longname and database info edited; After that, IT WILL connect to the eqemulator.net (providing everything else is done. DO NOT uncomment anything. Just edit the above mentioned fields. NOTHING ELSE needs editing. Quote:
|
The update on the server so far
Hey.. think I'm making progress.
All intent and purposes, it looks like the server started up and is running. I log into host=eqemulator.net and my server shows up on the server menu with all the other servers. ( that is fricken awsome ) I did get this error when the server started up though which I'm not sure about unless it is normal: Code:
[Debug] Starting Log: logs/eqemu_debug_3136.log Code:
[Debug] [WORLD__CLIENT] New connection from 192.168.0.180:61273 Which brings me to my first question at this point... What allows people to go through the eqemulator.net login server and log on to what ever server without an entry in that servers DB? is there something in one of the files (.ini , .conf , .xml ) that allows people to do so or that allow the server to see them enter and then automatically add them to the database? I obviously don't have this part salved yet.... Thanks for the assistance up to this point, it has helped a lot. It also helps to post because it allows me to think things through.. let those that might assist know were I'm at up to that point .. and keeps me from blankly looking at the screen scratching my head hehehe...:rolleyes: (EDIT UPDATE) Nope.. updated the IP in the loginDB under the accounts for my login and still get the exact same error message so it's something else. Could it be I have use the loginDB entry in the .ini or .xml file in my main server directory instead of the entry for the main DB? Going to take a break from this for about an hour... so not to get to tired then will see if there is any new news on what I maybe doing wrong, check the forums for possible solutions and try a couple of other things. |
Instead of localhost, try using 127.0.0.1
The "unable to identify" error might be due to missing opcode files. What client are you using? |
The Server
I tried to replace the "localhost" in the eqemu_config.xml and the login.ini (only places I have the "localhost" used.
Also tried changing my local network IP to my actual internet IP in the accounts in the loginDB and when I login in to eqemulator.net and try loggin onto my server I still get the same error: Code:
[Debug] [WORLD__CLIENT] New connection from 192.168.0.180:50861 login_opcodes.conf login_opcodes_sod.conf Also I'm getting this in my "EQEmu Login Server" window: Code:
[Debug] [01.29.11 - 16:49:26] Logging System Init. ALSO.. almost forgot... The server is actually running on Windows Server 2008 (32bit) on a VMWare Workstation Vertual Machine on my system .. I went ahead and went with that for now. I'm bridging the connection to connect directly to the physical network like it's own independent computer. It shows up in my router as if it was just another computer which I have the server options setup for it in the router. I also gave it 2x proc with plenty of HD space and plenty of memory for the moment. When I have everything up and running well and I have a chance to play with editing it or tweaking it or what ever I decide to do once this stage of the server is done, then I may move it to an actual server system or share it with other systems.. time will tell ... and lots to do..hehe so it has it's own local IP address....no problems there |
Do you have files named patch*.conf in your server directory? You need to copy them from the trunk\EQEmuServer\utils directory where you downloaded the source code from SVN to where you put the server executables.
Once you have them in the right place you should see several lines like this in your world debug log: [01.29. - 15:16:20] [NET__IDENTIFY] Registered patch 6.2 [01.29. - 15:16:20] [NET__IDENTIFY] Registered patch Titanium [01.29. - 15:16:21] [NET__IDENTIFY] Registered patch SoF [01.29. - 15:16:21] [NET__IDENTIFY] Registered patch SoD [01.29. - 15:16:21] [NET__IDENTIFY] Registered patch Underfoot [01.29. - 15:16:21] [NET__IDENTIFY] Registered patch HoT |
Patch files
thought all the "patch" files went into the EQEmu / utils folder (server directory)
do they go in the main server directory? I'll try that see what it does.... (EDIT UPDATE) ok looks more promissing now I copied the "patch" files into my main server directory...BUT getting this error now in the EQEmu\World.exe window... Code:
Account Attempting to be created:(MyLoginUsername) 20 Also still have this error in the "0:sleeping" window and still not sure if that is something else or normal: Code:
[Debug] Starting Log: logs/eqemu_debug_3788.log Ok after seeing this post: http://www.eqemulator.org/forums/sho...+account+Login I decided to try what was one of the lasts replies on that page. Got me logged on but I run into more errors once it starts loading.. Code:
[Debug] [WORLD__CLIENT_ERR] 2032: 0a 37 5e 32 31 5e 33 37 - 0a 31 31 5e 32 30 0d 1711 1719 1720 1723_required 1736_optional 1802_required Listed above isn't the entire file name .. just enough to let you know what files I'm getting errors from when I try to source them in |
Server update
Ok logged in with my first toon...
No your right didn't need the login.ini file and didn't need to uncomment most of the eqemu_config.xml file.. all that seems good to go... Everything in game seem to working correctly so far.. as far as I can tell.. looks like something still needs to be cleaned up though.. like there are uneeded files tring to run. Getting these errors in the "EQEmu\World.exe" window... Code:
[Debug] [WORLD__CLIENT_ERR] 0000: 30 - But there is this one to: Code:
[Debug] [WORLD__CLIENT_ERR] 1600: 35 5e 32 5e 5e 30 5e 2e - 5e 39 36 30 31 32 30 There are also the possible issues with some of the .sql files I tried to source in.... I started at 1625 through 1823 since it jumps from 1625 to 1675 (I think) there was no 1667 |
None of those are errors, they are just informative. When you connect the server doesn't know what client you are using, so it tries to decode your packet with each version until one works. Since you are not using the 6.2 client it figures that out and moves on to titanium and so on.
In general you only need to apply the SQL updates that are newer than your database version. 1711 is a special case though, since the downloaded database has a newer version but doesn't have it applied. Since you're past that you should be fine. Just know that if you update your code you need to apply any required updates that come with it. |
All times are GMT -4. The time now is 05:13 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.