PDA

View Full Version : Need some help, can't find what I did wrong. (must be missing it)


xsxix
03-06-2010, 10:30 PM
Setting up a personal server (for solo play on own pc) and after a lot of frustration and backpedaling I finally got my world/zone apps to load up with minilogin ready. Loaded up EQ, logged in with my user and pass I labeled for Admin.... got to the server screen, server is there, status up, 0 players... but when I connect to it I get a black screen hangup and then it boots me back to the log in screen. I log back in and when the server screen pops up this time it gives me a 1017. Only "error" that I'm getting that I can see.

Any help would be appreciated. :D

also, minilogin status has me connecting from 127.0.0.1 on various 1400's ports.

xsxix
03-07-2010, 04:20 PM
minilogin settings:
-------------------
[LoginServer]
loginserver=localhost
loginport=5999
worldname=xsxix
worldaddress=localhost
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=StandAlone
ServerPort=5999
------------------
eqemu_config===>
<?xml version="1.0">
<server>
<world>
<shortname>xsxix</shortname>
<longname>xsxix server</longname>

<address>eq.xsxix.net</address>
<localaddress>localhost</localaddress>

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>localhost</host>
<port>5999</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 port="9080" enabled="false" mimefile="mime.types" />
</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 low="7000" high="7100"/>
</zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>host</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>
-----------------------------------------
eqhost.txt==>
[LoginServer]
Host=localhost:5999

I set up my server using the site faqs, got the sources to all load in the database, used the CVS to get host information... (maps quests) all in the eqemu folder... there's gotta be something wrong that I'm not seeing. Help please :oops:

Derision
03-07-2010, 04:51 PM
minilogin settings:
-------------------
[LoginServer]
loginserver=localhost
loginport=5999
worldname=xsxix
worldaddress=localhost
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=StandAlone
ServerPort=5999
------------------
eqemu_config===>
<?xml version="1.0">
<server>
<world>
<shortname>xsxix</shortname>
<longname>xsxix server</longname>

<address>eq.xsxix.net</address>
<localaddress>localhost</localaddress>



If you are running the client and server on the same machine, then try setting all the addresses I have marked in red to localhost (i.e. in the one spot you have eq.xsxis.net).

If you have the server running on one machine and you have one or more local clients on other PCs on your LAN, try setting those addresses to the internal IP address of your server instead (typically 192.168.x.x).

xsxix
03-07-2010, 05:22 PM
changed all localhost variables to 192.168.*.* .. used the machine's IP. Changed the values in the following... eqemu xml, the minilogin ini and the eqhost txt.
Now I'm receiving the following error when I launch my startup.bat

---------------------------------------------
[03.07. - 15:17:56] Starting Log: logs/eqemu_debug_3552.log
[03.07. - 15:17:56] [LAUNCHER__INIT] Loading server configuration..
[03.07. - 15:17:57] [NET__WORLD] WorldConnection connect: Connecting to the server 192.168.1.2:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[03.07. - 15:17:57] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[03.07. - 15:17:57] [LAUNCHER__INIT] Starting main loop...


startup.bat conents=
--------------------
@echo off
Echo Starting MiniLogin Server
c:
cd c:\minilogin
start minilogin.exe
echo.
echo.

cd C:\build
start world.exe
echo waiting a bit for world to finish loading...
echo.
echo.
ping -n 10 127.0.0.1 > nul

echo starting zone
start eqlaunch.exe zone
exit

Derision
03-07-2010, 05:32 PM
Now I'm receiving the following error when I launch my startup.bat

---------------------------------------------
[03.07. - 15:17:56] Starting Log: logs/eqemu_debug_3552.log
[03.07. - 15:17:56] [LAUNCHER__INIT] Loading server configuration..
[03.07. - 15:17:57] [NET__WORLD] WorldConnection connect: Connecting to the server 192.168.1.2:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[03.07. - 15:17:57] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[03.07. - 15:17:57] [LAUNCHER__INIT] Starting main loop...


Does eqlaunch not produce any messages after that ? The inital 10061 error is normal, but I would expect to see it connect a few seconds later, i.e.

[Debug] [NET__WORLD] Connected to World: 192.168.1.2:9000

followed by the zones being started.

xsxix
03-07-2010, 05:44 PM
[03.07. - 15:17:57] [LAUNCHER__INIT] Starting main loop...
_

Gets to that, the prompt just blinks and eqlaunch idles

frags1234
03-18-2010, 07:21 PM
i've also got this exact problem

Congdar
03-18-2010, 10:08 PM
[LoginConfig]
ServerMode=StandAlone

change StandAlone to MiniLogin

toobar
03-30-2010, 02:45 PM
[LoginConfig]
ServerMode=StandAlone

change StandAlone to MiniLogin

I have the same problem. I did this change to my LoginServer.ini and it still just sits there doing nothing.

**********************
[LoginServer]
loginserver=localhost
loginport=5999
worldname=XXXX
worldaddress=localhost
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999
*********************


<?xml version="1.0"?>
<server>
<world>
<shortname>XXXX</shortname>
<longname>Big fun XXXX</longname>

<address>localhost</address>
<localaddress>localhost</localaddress>

<loginserver>
<host>localhost</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>

<key>asdfasd3465236gysdgw45345</key>

<http port="9080" enable="true" mimefile="mime.types"/>
</world>

<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password></password>
<db>peq</db>
</database>
</server>

reddogut
03-30-2010, 03:31 PM
XSXIX,

Turn your firewall off and try it again.

Rilwen
04-28-2010, 06:08 PM
---------------------------------------------
[03.07. - 15:17:56] Starting Log: logs/eqemu_debug_3552.log
[03.07. - 15:17:56] [LAUNCHER__INIT] Loading server configuration..
[03.07. - 15:17:57] [NET__WORLD] WorldConnection connect: Connecting to the server 192.168.1.2:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[03.07. - 15:17:57] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[03.07. - 15:17:57] [LAUNCHER__INIT] Starting main loop...


startup.bat conents=
--------------------
@echo off
Echo Starting MiniLogin Server
c:
cd c:\minilogin
start minilogin.exe
echo.
echo.

cd C:\build
start world.exe
echo waiting a bit for world to finish loading...
echo.
echo.
ping -n 10 127.0.0.1 > nul

echo starting zone
start eqlaunch.exe zone
exit


I'm also getting this exact problem, with all addresses set to "localhost". The only difference is it says "Connecting to the server 127.0.0.1" instead of "192.168.1.2" Port forwarding and firewall exceptions have no effect.

Frosef
04-29-2010, 09:57 AM
I had a bunch of problems getting MiniLogin to work properly myself. I had some success with solo play, but when I wanted to enable private WAN play I couldn't get it going and had to abandon MiniLogin entirely.

I also found it helpful to create 3 MiniLogin accounts: One for 127.0.0.1, one for my LAN IP (192.168.x.x), and one for my public IP. MiniLogin doesn't actually care what you enter in the account name box, it strictly checks the incoming connection's IP address. By creating the 3 accounts I was able to narrow down which address actually worked.

In the end, what worked for me for solo play was setting my eqhost.txt, and server config XML file match up in all IP-related fields. i.e. <LoginServer>, <address> and eqhost.txt all contained the exact same info. I never got WAN play to work, or even LAN play.

Rilwen
04-29-2010, 04:32 PM
I got this to work now, by running the MySQL instance config wizard again. I think I did all the settings exactly the same the second time, but this time it worked. Anyone else having the same problem, please try that and let us know if it worked for you as well.

Congdar
04-29-2010, 09:46 PM
I never got WAN play to work, or even LAN play.

I have been using the minilogin on my lan quite a while and it isn't hard to get going if you remember a few things. I've never tried MiniLogin for WAN but this works great for LAN
1. Use your systems actual IP in place of mine
2. Pick a better server name
3. Your database password is likely something different
4. Your database could be named something else like ax_classic
5. The <shortname> is used as part of the filename for your character settings in the Everquest folder: Name_asn.ini
6. You must have an entry in your database account table for each system on your lan
7. The account entries must have the IP of the connecting system in the minilogin_ip field
8. If you have set the status field to GM status (200+) you must also have a matching entry in the gm_ips table
9. Each connecting system must have the eqhost.txt file pointing to the emu server's IP
10. Your Anit-Virus/Firewall must allow access for world.exe and zone.exe
11. LoginServer.ini needs ServerMode=MiniLogin
12. The 'zone' parameter for eqlaunch.exe must match the name field in the launcher table
13. Typically the database launcher table has name set to 'zone' and dynamics set to '5' for solo play, these are Dynamic Zones
14. If you have many players on your lan, set your database launcher_zones table up with the same 'zone' name in the launcher field and put the short zone name in the zone field. Set the port field to zero
15. Set LoginType to MiniLogin in your db variables table

eqemu_config.xml

<?xml version="1.0">
<server>
<world>
<!-- Server name. -->
<shortname>asn</shortname>
<longname>Actual Server Name</longname>

<!-- LAN IP information. -->
<address>192.168.1.1</address>
<localaddress>192.168.1.1</localaddress>

<!-- LAN Loginserver information. Defaults shown -->
<loginserver>
<host>192.168.1.1</host>
<port>5999</port>
</loginserver>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>notsureifthisisneededbuthereitis</key>
</world>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>password</password>
<db>peq</db>
</database>
</server>

LoginServer.ini

[LoginServer]
loginserver=192.168.1.1
loginport=5999
worldname=Actual Server Name
worldaddress=192.168.1.1
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999

eqhost.txt

[LoginServer]
Host=192.168.1.1:5999

startemu.bat

title MiniLogin
@echo Loading MiniLogin
@echo Please wait for MiniLogin to listen on port 5999
start minilogin.exe
pause
title World
@echo Loading World...
@echo Please wait for World to get its IP address.
start world.exe
pause
start eqlaunch.exe zone
exit