EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   LAN Connect? (https://www.eqemulator.org/forums/showthread.php?t=39483)

Humon 03-18-2015 07:40 AM

LAN Connect?
 
OK im kinda new at the build your own server idea so im trying a LAN only one to start with. So my question is, how do i connect to my server without internet connection? I'm in a place where i don't have access to the internet while i'm working on my server and want to see my mods as i make them.

Any help?

vsab 03-18-2015 11:03 AM

You will need to compile a login server (not sure if Akka's repack has a login server), and point your server to the local login server rather than the default eqemulator one.

Luckily, the login server hardly changes so you can compile the login server and use it with the repack. (I'd recommend using the repack where you can unless you're a developer).

Wiki page for compiling (ignore if the repack has a login server with it)
http://wiki.eqemulator.org/p?Complet...Guide&frm=Main

Wiki page for setting up your config:-
http://wiki.eqemulator.org/p?eqemu_config.xml&frm=Main


Wiki page for setting up the local login server:-

http://wiki.eqemulator.org/p?Windows...Guide&frm=Main

Humon 03-18-2015 11:42 AM

Ok I have done all of that, now my EQ isn't connecting to my server. I got all 4 windows up on the server, is there something I'm missing, how does my EQ program find my server?

vsab 03-18-2015 11:50 AM

Have you changed your eqhost.txt file to point to 127.0.0.1?

Humon 03-18-2015 11:56 AM

Yep, with port 5998.

Humon 03-18-2015 12:04 PM

Of note when i get to the EQ login and put in my account name and password i get, (Error - A timeout occurred). I hope this helps you help me.

vsab 03-18-2015 12:12 PM

Are you using a Titanium client ?

Post your eqemuconfig file with the passwords redacted. Does the login server window show anything of note?

Humon 03-18-2015 12:25 PM

<?xml version="1.0"?>
<server>
<world>
<shortname>EverCrack</shortname>
<longname>ILoveEverCrack</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>127.0.0.1</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="127.0.0.1" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>dasher20nova50timberwolf75warhawk85</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>7778</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>127.0.0.1</host>
<port>3306</port>
<username>Redacted</username>
<password>Redacted</password>
<db>peq</db>
</database>

<qsdatabase>
<host>127.0.0.1</host>
<port>3306</port>
<username>Redacted</username>
<password>Redacted</password>
<db>peq</db>
</qsdatabase>

<!-- 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>

Humon 03-18-2015 12:27 PM

As a note just makeing sure, I got world.exe window, queryserv.exe window, ucs.exe window, and eqlaunch.exe window for my server.

vsab 03-18-2015 12:29 PM

you also need a loginserver.exe window ;)

Humon 03-18-2015 12:43 PM

Well the start.bat has loginserver.exe in it and i have the loginserver.exe and .pdb in my EQEmuServer folder. Every time i try to start the loginserver.exe it has 3 items on it and then closes, is that the problem?

Uleat 03-18-2015 08:12 PM

You posted your emu_config.xml file contents..what's in your login.ini?

Humon 03-18-2015 11:06 PM

[database]
host = localhost
port = 3306
db = beq
user = root
password = REDACTED
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 192.168.1.

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf

[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType

Yes i know that i have database set as beq, all instances of my database were changed to beq, would that make a difference.

Humon 03-18-2015 11:09 PM

So i ran the command program and tryed the loginserver.exe just like you say to try the world.exe if your having problems and this is what i got.

c:\EQ\EQEmuServer>loginserver.exe
[Debug] [03.18.15 - 21:00:23] Logging System Init.
[Debug] [03.18.15 - 21:00:23] Config System Init.
[Debug] [03.18.15 - 21:00:23] MySQL Database Init.
[Database] [03.18.15 - 21:00:24] Failed to connect to MySQL database. Error:

This is followed by a lot of vertical lines along the entire page.

I'm going to make a guess and say this is my problem and my question is what did i mess up?

vsab 03-19-2015 03:16 AM

Code:

[Database] [03.18.15 - 21:00:24] Failed to connect to MySQL database. Error:
So...

Code:

[database]
host = localhost
port = 3306
db = beq
user = root
password = REDACTED
subsystem = MySQL

is your database called "peq" (like in your server config) or "beq" (like in your login server config)?

If changing them to match doesn't work, sometimes there are issues with using localhost - try 127.0.0.1 like in the server config file.


All times are GMT -4. The time now is 09:58 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.