EQemu config file issue.
Going to start hosting a server that is already in existence. Have received all the files, have successfully sourced the db, updated to current emu source, port forwarding on router is set correctly etc... When using start.bat file, it pulls up 4 cmd prmpt windows, but shuts down quickly all but one. Followed the trouble shooting steps online, when i use world.exe it gives me
Unable to load 'eqemu_config.xml' : Failed to open file I am going to post my config file, as humbly ask for your assistance in something i obviously messed up. I will remove my user/pw from db/worldserver ...otherwise everything will be as is in file. Thank you for any assistance! EDIT: Took out my long untagged code as I got the help, also realized i posted this in general instead of server issues...sorry would move if i could... |
Here's my file, use [code] tags to make it easier to read like this:
Code:
<?xml version="1.0"> |
Thank you, appreciate your help Kingly! If under loginserver i typed in my worldserver name/pw that would add description and register my server with the login screen/correct?
|
Pro tip: what does the error message say?
Your config file isn't in the right location. It needs to be in the same folder as the exes. |
Quote:
|
Quote:
|
Config file is in the same folder as all the exe files.
I changed the shortname to one word, cant believe i missed that. |
Getting closer, I cut and pasted your info Kingly, then edited only my db name/login and worldserver info. Now the server shows on list, just down...still getting same message...
|
You're still getting the 'failed to open file' message..but, your server is connecting?
EDIT: I was gonna mention that your server is set to locked based on what Kingly posted..but, you didn't repost your current config to verify that. |
It also takes a minute for the world to show as UP on the selection screen if you're too quick about starting up the .exes and then the game.
Sometimes you can get in even when it still says DOWN, though. In those cases, it's just the world & zone server catching up initialization. |
Server is up now. I moved the db inside the main eq directory and resourced in mysql. Had a visual studio executable error, redownloaded that , and bam server is up. Shows on list as up I can log in, now just to be sure my port forwarding is correct for others to log in as well. Shows the correct ports open on my router admin login, but went to port checker and shows as closed..Thank you all for your help!
|
Man, I could really use your help guys. My config file has to be the problem. I'm trying to run a server that is LAN. I've gone through the Windows Server Setup Guide twice now and have spent almost 20 hours trying to get me server up.
|
You'll need to post something for us to analyze :)
|
Ok :)
<!--?xml version="1.0"--> <server> <world> <shortname>setme</shortname> <longname>I Forgot To Edit My Config</longname> <!-- Only specify these two if you really think you need to. (read: You don't) --> <!-- <address>some.server.com</address> --> <!-- <localaddress>192.168.0.5</localaddress> --> <!-- Loginserver information. Defaults shown --> <loginserver> <host>login.eqemulator.net</host> <port>5998</port> <account></account> <password></password> </loginserver> <!-- Server status. Default is unlocked --> <!--<locked/>--> <!-- <unlocked/> --> <!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown --> <tcp ip="localhost" port="9000" telnet="disable"> <!-- Sets the shared key used by zone/launcher to connect to world --> <key>some long random string</key> <!-- Enable and set the port for the HTTP service. Defaults are shown --> <http enabled="false" mimefile="mime.types" port="9080"> </http></tcp></world> <!-- Chatserver (channels) information. Defaults shown --> <chatserver> <host>channels.eqemulator.net</host> <port>7778</port> </chatserver> <!-- Mailserver (in-game mail) information. Defaults shown --> <mailserver> <host>channels.eqemulator.net</host> <port>7779</port> </mailserver> <zones> <defaultstatus>20</defaultstatus> <!-- Sets port range for world to use to auto configure zones --> <ports high="7100" low="7000"> </ports></zones> <!-- Database configuration, replaces db.ini. Defaults shown --> <database> <host>localhost</host> <port>3306</port> <username>eq</username> <password>eq</password> <db>eq</db> </database> <!-- Launcher Configuration --> <launcher> <!-- <logprefix>logs/zone-</logprefix> --> <!-- <logsuffix>.log</logsuffix> --> <!-- <exe>zone.exe or ./zone</exe> --> <!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> --> </launcher> <!-- File locations. Defaults shown --> <files> <!-- <spells>spells_us.txt</spells> --> <!-- <opcodes>opcodes.conf</opcodes> --> <!-- <logsettings>log.ini</logsettings> --> <!-- <eqtime>eqtime.cfg</eqtime> --> </files> <!-- Directory locations. Defaults shown --> <directories> <!-- <maps>Maps</maps> --> <!-- <quests>quests</quests> --> <!-- <plugins>plugins</plugins> --> </directories> </server> This is the full config provided by Akkadius @ http://wiki.eqemulator.org/p?eqemu_config.xml&frm=Main What exactly am I supposed to change? Maybe I screwed up the database part or something. I've tried changing everything I could think of. I copy and pasted several configs provided kindly by other people. I tinkered with those but still nothing. I'm guessing my problem lies within my config file right? |
The configuration has to be 'spot-on' before we can look at other areas.
Saying that, I need to know how you plan to run your server. Will it be: - Is it LAN-only? - If using a private login server, have you configured it? - Are all of the servers running on the same computer as the database? There are many, many factors that go into getting a server setup correctly..though, it is reasonably straight-forward. Problems could arise from the os or hardware..but, we really can't look at that stuff until we're sure that your configuration is correct. |
It's going to be LAN only.
I believe I have. I went through the instructions on creating a private login server. Yes, the servers are running on the same computer as the database. |
Why was 2015 thread hijacked?
|
I 'think' everything is marked properly..been a long time since I've looked at the configs...
eqemu_config.xml login.ini Work with those and see where that takes you. Also, I would recommend setting your router to statically assign the IP of your server computer..usually done by use of the MAC ID. |
Ok I will, thank you very much for the help thus far. I wish I had the time to start messing with it right now but this week has me swamped. As soon as I can though, I'll work with those files and get back with you.
|
Welp, I couldn't sleep last night so decided to try again for a few hours this morning. I've spent 2-4 hours now messing with everything and I still can't get it to work.
When I run the start.bat, it says, "Windows cannot find 'world.exe'. Make sure you typed the name correctly, and then try again." It can't find any of the stuff when I run the batch. *Edit It also says in the command prompt, " 'shared_memory.exe' is not recognized as an internal or external command, operable program or batch file." I'm determined though to get this server up. |
That kind of sounds like a pathing issue. Do you have the batch file in the same Folder as your server files? It should be run from the same folder that contains the server files.
|
Ya, the batch file is in the folder EQEmuServer which contains all of my server files.
*edit I've gone through the Windows Server Guide and followed it step by step three times now and still nothing. I've tried changing the batch a dozen times and the config a couple dozen times at least. I thought maybe it was a Visual Studio build issue but I rebuilt it all twice and it didn't help. I made sure I downloaded all of the right programs. I haven't had any problems with XAMPP and set the path. I then set my password for mysql. I compiled the server and acquired the dependencies. Then, I used CMake to make the build files which I in turn used to build the executables. I thought maybe since I had bots and login server checked, that might be causing an issue. I turned them off and rebuilt it. Then I ran through everything again a couple times to no avail. Server directory seems to be set up correctly and exactly how it's supposed to be. Maps and quests folders are good to go. The PEQ database has been verified a couple times. Now that all brings us to the config file and the start batch. Exactly like you said, it has to be a pathing issue. http://wiki.eqemulator.org/p?Complet...Guide&frm=Main This is the page I used to do the setup. I then found three to five other setup guides and tried to incorporate things that were different etc. I know there is a complete repack that installs a good to go server but I've tried that three times now as well. I feel like I also need to mention I can log into the other servers with no problem. I can create a character and all of that is good. The reason I'm so determined to get this up and running is because I need it to be LAN. That way when people come over, all of the PCs will be in one house and my internet connection can't handle more than one PC. I figure I can get this server up and running online and then I can configure it once I know the green lights are on all across the board. Meaning everything is working right. Then, I can go into the files and change things to LAN. Either way, I'd just like to be able to get my own server up. *Edit 3/29/2016 11:37pm Welp, I'm making a lot of progress now. At least to me it's a lot of progress considering how many hours I've spent trying to get this server up. I just scrapped the batch file provided and decided to write my own. Mine seems to be working fine. All of the command prompt windows work fine, I think, and pop up like normal. I had my server login stuff all jacked up so now I just need to restart from scratch again and see if I can't get her up and running this time. *Edit 3/30/2016 7:00am I can say 40+ hours later and almost all of my free time spent since I started trying to get this up, I still have no server. |
All times are GMT -4. The time now is 04:25 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.