Issue initializing world
Hello all. I've spent several of hours trying to properly configure my server setup. Pretty sure I'm almost there, after countless reinstalls/uninstalls and getting rid of that 10061 error. Now what's bothering me is that when I execute my batch file, one of my consoles begins to load files and then freezes (Windows reports that it has stopped working and eventually leaves me no choice but to close the program.
Here is my log of that console: Code:
--------------------------------------------- ^^after this it freezes. I used Huppy's guide to setting up my server, and followed it to a T. I appreciate the help in advance. EDIT: Just to clarify, I am using SoD client, trying to use the Bots Release. Please let me know if you would like to see the contents of any file(s). |
Can you post your eqemu_config.xml file? (without the db password of course.)
It sounds like something is wrong with the tcp port config for world, indicating an issue on port 9000. Make sure nothing is running on port 9000. |
So I used netstat to find out if port 9000 was in use and lo and behold, another program was using it. It's one I don't use often so I just exited it and it freed up the port.
Thank you Secrets. This next question could be sort of trivial but I've looked at plenty of threads and it becomes difficult to find a simple answer that matches up to my specific desire. I want to make the server private, as my whole basis for creating one is to learn how to develop. Can anyone either: a) Point me to a thread that tells me how to -Make my server private (and describes the necessary changes to config files therein) -Setup the login server or application accordingly (EQEmulogin? Minilogin?) or b) Just describe to me the changes I need to make, as I'm sure they are few in number at this point. My world/zones load fine, I have properly configured my db. I am using the SoD client. I am using the Bots release (which probably doesn't matter to you). My aim to is to be able to setup this private server (as right now my login and everything is configured to connect to eqemulator.net:5999) and then login and test out changes that I might make to my code. Thank you. |
I use eqemuloginserver for my private server. Just changing all the addresses in your config to point to your local IP address, or 127.0.0.1 if it's all on the same machine should work.
|
Well, the only issue I'm having now is that it can't connect to the login server. The address I access my router through is 192.168.2.1. It is also the IP that shows up as "Default Gateway" under ipconfig (perhaps obvious).
I have my router forwarding ports 5998, 5999, 9000, 7000-7100, and 10234 for mail/chat. I have to enter a private IP in the same line as the port to forward, and I chose 192.168.2.3. Here are my various config files: eqhost.txt Code:
[LoginServer] eqemu_config.xml Code:
<?xml version="1.0"> eqemulogin.ini Code:
[LoginServer] login.ini Code:
[database] Basically, it tries to connect to one of the several IPs I've tried to enter for the login server (localhost, 192.168.2.1, 192.168.2.3 tried all three) and gives me a 10061 error. Meanwhile all the zones load up and are fine. This seems to be my last barrier. I've tried looking around at Huppy's guide and others, but feel like I am missing something. Thank you. |
Are you running the client on the same machine as the server? If so, change all the IP addresses to 127.0.0.1, including your eqhost.txt file for the login server address.
If not, go to a command prompt on the server and type ipconfig. That is the address you should use in the eqhost.txt file on the client, and the address you should use for all of the addresses in your config file. |
Yes, I am running both on the same machine. I changed all the IP addresses wherein previously I had used some variation of 192.168.2.x to 127.0.0.1.
It gave me the same error. Not sure... Thanks for the reply by the way. |
Figured I'd add this log to help perhaps:
Code:
|
Quote:
(I have indicated the internal IP result that has to be used with my server.) Code:
C:\>ipconfig |
Using my IPv4 address then, I still reach the same result.
I checked to make sure that the port wasn't being used by something else as well. Thanks for the reply Huppy. Even if I had configured something wrongly in the setup aspect, I feel like the connection could still be made to the loginserver. Dunno :( |
Quote:
|
Hmm, a eqemuloginserver.exe window does not start up. I've been curious about that, as with the old Minilogin a console window popped up before.
The only two console windows that open are those of world.exe and eqlaunch.exe. |
Figured it out. Didn't have opcodes_sod in my server folder. Wow.
|
Quote:
simply download the eqemuloginserver.rar file from here : http://code.google.com/p/projecteqemu/downloads/list And then unzip/unrar all the files in to your eqemu server folder. |
Thanks for helping me figure it out Huppy, and for posting that updated Jan-2011 guide. Appreciate the help, mate.
|
Sever Database Settings
Peq [Table] variables LoginType Minilogin -------------- [Table] account Id # 2 Name Charname Sharedplat Password Status 250 Isaccound_id ###### revoked 0 karma 0 minilogin 192.168.2.1 hideme 0 rulesflag 0 Suspendeduntil Time_Creation -------------- [Table] account_ip accid # 1 ip 192.168.2.1 count lastused date -------------- [Table] zone_server Name zone address 192.168.2.1 port 9000 player_count 0 last_alive date rain 0 ------------- Peqlogindb [Table] tbloginserveraccounts LoginServerID # 1 AccountName AccountPassword AccountCreatedDate AccountEmail LastLoginDate LastIpAddress 192.168.2.1 ------------- [Table] tblserveradminregistration ServerAdminID # 1 AccountName AccountPassword FirstName who LastName cares Email who@cares.com RegistrationDate RegistrationIPAddr 192.168.2.1 -------------- [Table] tblworldserverregistration ServerID # 1 ServerLongName Age of the False Idols ServerDescription One Great Server ServerShortName falseidols ServerListTypeID # 2 ServerLastLoginDate ServerLastIpaddr 192.168.2.1 ServerAdminId # 1 ServerTrusted 0 Notes --------------- LoginServer.ini # READ README.TXT [LoginServer] loginserver=192.168.2.1 #loginserver2=eqemulator.net loginport=5999 #loginport2=5998 worldname=Age of the False Idols worldaddress=192.168.2.1 locked=false account= password= [WorldServer] Defaultstatus=0 Unavailzone= [ChatChannelServer] worldshortname=falseidols chataddress=192.168.2.1 chatport=10234 [LoginConfig] ServerMode=Minilogin ServerPort=5999 eqemu_config.xml Your problem was you had localaddess remarked! Replace the xxxxxxxxx and ****** <?xml version="1.0"> <server> <world> <shortname>falseidols</shortname> <longname>Age of the False Idols</longname> <!-- Only specify these two if you really think you need to. (read: You don't) --> <address>192.168.2.1</address> <localaddress>192.168.2.1</localaddress> <!-- Loginserver information. Defaults shown --> <loginserver> <host>192.168.2.1</host> <port>5999</port> <account>xxxxxxx</account> <password>xxxxxx</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="192.168.2.1" port="9000" telnet="disable"/> <!-- Sets the shared key used by zone/launcher to connect to world --> <key>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</key> <!-- Enable and set the port for the HTTP service. Defaults are shown --> <http port="9080" enabled="false" mimefile="mime.types" /> </world> <!-- Chatserver (channels) information. Defaults shown --> <chatserver> <host>192.168.2.1</host> <port>10234</port> </chatserver> <!-- Mailserver (in-game mail) information. Defaults shown --> <mailserver> <host>192.168.2.1</host> <port>10234</port> </mailserver> <zones> <defaultstatus>0</defaultstatus> <!-- Sets port range for world to use to auto configure zones --> <ports low="7000" high="7100"/> </zones> <!-- Database configuration, replaces db.ini. Defaults shown --> <database> <host>localhost</host> <port>3306</port> <username>root</username> <password>****</password> <db>peq</db> </database> <!-- Launcher Configuration --> <launcher> <!-- <logprefix>logs/zone-</logprefix> --> <!-- <logsuffix>.log</logsuffix> --> <!-- <exe>zone.exe or ./zone</exe> --> <!-- <timers restart="10000" reterminate="10000"> --> </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> edit patch_SoD.conf replace with this for local access: # Login opcodes OP_SessionReady=0x0001 OP_Login=0x0002 OP_ServerListRequest=0x0004 OP_PlayEverquestRequest=0x000d OP_PlayEverquestResponse=0x0022 OP_ChatMessage=0x0017 OP_LoginAccepted=0x0018 OP_ServerListResponse=0x0019 OP_Poll=0x0029 OP_EnterChat=0x000f OP_PollResponse=0x0011 Servermini.bat @echo off Echo Starting minilogin cd C:\eqemu start minilogin.exe echo echo cd C:\eqemu start world.exe echo waiting a bit for world to finish loading... echo. echo. ping -n 10 192.168.2.1 > nul echo starting zone start eqlaunch.exe zone exit config.ini [Database] host=localhost user=xxxxxxxx password=xxxxxxx database=peq compression=off [General] quests=C:\EQEmu\quests\ wordwrap=1 edit eqhost.txt [LoginServer] Host=192.168.2.1:5999 Download Minilogin6.2 from server http://code.google.com/p/projecteqem...niLogin6.2.zip If your server says can't find server change all ip to 127.0.0.1 Only If using Winxp: Goto Network Connection Properties You'll Be at General Click on Advanced Click Settings Leave Firewall ON Click Exceptions Click Add Port Click Change scope Any Computer [Including those on the Internet] Click Ok Name: EqEmuloginServer Port number: 5999 UDP Click Ok Click Add Port Click Change scope Any Computer [Including those on the Internet] Click Ok Name: EqEmuloginServer Port number: 5998 UDP Click Ok That should now allow other computers to connect to your system. |
All times are GMT -4. The time now is 01:25 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.