EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Set up private server for small number of other connections usin minilogin (https://www.eqemulator.org/forums/showthread.php?t=34939)

sorvani 02-21-2012 03:58 AM

well that is a given.

trevius 02-21-2012 04:43 AM

Noport,

The information you provided may be good for someone only wanting to play within their own LAN, but here is a quote from the Original Poster in the first post of this thread:

Quote:

Originally Posted by Sourdough35 (Post 207387)
It runs fine, but I also want to set it up so a small number of people can connect from other sources, but I don't want to open it up as a server everyone can connect to.

If he uses 192.168.x.x address space, others outside of his LAN will never be able to connect as those are not publicly routed IP addresses as I am sure you are aware. So, the information you provided is not relevant for this particular thread. I think you may have just missed that part of his post and thought he was trying to setup a LAN only server like you run.

And yes, the best solution is to use dyndns.com with EQEmuLoginServer or to just make it a public server and restrict access, which is probably the easiest route to go.

Harcourt 02-21-2012 04:20 PM

I purchase a number of services from dyndns, and couldn't be happier. I use DDWRT on my router, and it works seamlessly with dyndns.

Sourdough35 02-21-2012 05:59 PM

Right. I actually like the minilogin a lot when I'm just running around offline by myself. It's actually the only way I've been able to get my own instance of the game up and running.

Not sure why I have so much trouble using the full EqEmuLogin server, but I'll try some of the suggestions above and see how it works out.

Caryatis 02-21-2012 06:41 PM

You don't need to run your own login server(most everybody else doesnt either). Run world and zone(through the bat file) and that is all you need.

Noport 02-22-2012 03:40 AM

I'm sure em glad to hear more good news like that Sourdough35 80)

Sourdough35 02-23-2012 09:57 PM

Ok I figured out how to login using the LoginServer. I can access the server on my local machine and on a lan connected computer. But I still can't connect outside of the lan.

eqemu_config.xml

<?xml version="1.0"?>
<server>
<world>
<shortname>Offline</shortname>
<longname>Everquest Offline</longname>

<!-- address has to be specified for minilogin to work -->
<address>192.168.1.100</address>
<localaddress>127.0.0.1</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>192.168.1.100</host>
<port>5998</port>
<account>Admin</account>
<password>Password</password>
</loginserver>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>make up some random string of characters here</key>

<!-- Enable and set the port for the HTTP service -->
<http port="9080" enable="true" mimefile="mime.types"/>
</world>

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

the login.ini is

[database]
host = localhost
port = 3306
db = PEQLoginDB
user = xxxx
password = xxxxxxxx
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.100
[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

my eqhost.txt points to
xx.x.xx.xxx:5998


xx.x.xx.xxx is the actual ip address of my computer as revealed by a google search.

lerxst2112 02-23-2012 10:39 PM

Quote:

<!-- address has to be specified for minilogin to work -->
<address>192.168.1.100</address>
<localaddress>127.0.0.1</localaddress>
address should be your routable IP address that you would get from looking at your router, using whatismyip, etc., not a non-routable internal one.

localaddress might need to be your actual network card ip rather than localhost, although depending on how that;s used they may be equivalent. Either way, using 192.168.1.100 shouldn't hurt anything.

Sourdough35 02-24-2012 03:31 AM

Still no go

eqemu_config

<!-- address has to be specified for minilogin to work -->
<address>xx.x.xx.xxx</address>
<localaddress>192.168.1.100</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>192.168.1.100</host>
<port>5998</port>
<account>Admin</account>
<password>Password</password>
</loginserver>


login.ini

[database]
host = localhost
port = 3306
db = PEQLoginDB
user = xxxx
password = xxxxxxxx
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 = 127.0.0.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


eqhost points to xx.x.xx.xxx:5998

Should I not be trying this from within my lan? Does it only work from an outside computer?

Noport 02-24-2012 07:16 AM

Code:

If you don't have a Ls account please get one or more if needed!
Goto http://www.eqemulator.org/forums/profile.php?do=loginserver
Note: you should see a numbers all numbers xxxxxx wright it down so you can remember them.
Goto peq database account under the users name you'll see Isaccount_Id put in the xxxxxxx numbers from eqemulogin server
Change veriables in database to Public
Must use EQEmuLoginServer.exe for this to work online.
Look for your Server to be listed at http://www.eqemulator.org/index.php?pageid=serverlist
Login using your client change your eqhost.txt eqemulator.net:5998
put in your lsaccount you just created username and password into client and login so you can see all the other servers on the list and you should see your server.
you can now connect to your server online.

you said, eqhost points to xx.x.xx.xxx:5998 Should I not be trying this from within my lan? Does it only work from an outside computer?
If it's not broke don't fix it . If your server see a newer clinet it will use port 5999 for them. 
use what ever works out best for you and your family.

eqemu_config.xml

<?xml version="1.0">
<server>
        <world>
                <shortname>Offline</shortname>
                <longname>Everquest Offline</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <address></address>
                <localaddress></localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>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>xxxxxxxxxxxxxxxxxxxxxxx</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>root</username>
                <password>xxxxxxxxxxxxx</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>


Noport 02-24-2012 09:55 AM

question Sourdough35 what server Rev are you using ?

Sourdough35 02-24-2012 10:35 AM

2098 with bots. Trying to use eqemuliginserver without making it public.

Noport 02-24-2012 10:36 AM

before you compile the server code goto common EQEmuConfig.h and change the server to your current ip address or dot.com etc if you wish replace with real ip address where it says eqemulator.net then use my example above with your real ip address or dot.com http://www.whatismyip.com/ you can try and put your real ip address in there and see if that works for you first before going throw all that trouble. I understand that you don't want to make it public for everyone , this away you'll be able to tell all your friends your ip address or dot.com to connect to your server only. I understand you and your wife want restricted content do to childern or kids etc playing on your network.

Sourdough35 02-24-2012 12:22 PM

I've never actually compiled my server before, I've just used the most up to date binaries. Is that necessary to run your own small private? If so, I'll try that out.

And there's no wife or kids in this scenario. I'm just not interested in using the public server option. I want something I can download, pass to friends, and be totally independent on connections to other services beyond basic internet.

Noport 02-24-2012 11:02 PM

I haven't tried that was just and idea is all i was just kicking the can around .


All times are GMT -4. The time now is 04:09 AM.

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