View Single Post
  #2  
Old 07-10-2018, 09:10 PM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default

Basically when you lock the server you need to set your friends accounts to GM or Admin status, that allows them to bypass the lock server if I remember correctly.

Easy way to tell if it works is just lock it and login with your admin account.

If it goes through your all set.

Also to save yourself the trouble of doing that you can always just set yourself up with a private login server.

When you compile the server it gives you the loginserver option.

And they can login to your server directly skipping the eqemu login system all together.

It's just a couple of tweeks to the eqemu_config file.

Here is what mine looks like for a dual login setup

<server>1
<world>
<shortname>*****</shortname>
<longname>***********</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>Your external IP here</address> -->
<localaddress>your local ip address</localaddress> -->

<!-- Loginserver information. add Admin and Password for private login to show up --->
<loginserver1>
<host>your local ip here</host>
<port>5998</port>
<account>your server login</account>
<password>your server password</password>
</loginserver1>
<loginserver2>
<legacy>1</legacy>
<host>login.eqemulator.net</host>----Ignore if you want to skip eqemu login server
<port>5998</port>
<account></account>
<password></password>
</loginserver2>

<!-- 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="9001" telnet="enable"/>
<telnet ip="127.0.0.1" port="9000" enabled="true"/>

<!-- 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="true" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>***********</host>
<port>****</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>*********</host>
<port>****</port>
</mailserver>

<zones>
<defaultstatus>0</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7200"/>
</zones>

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

<qsdatabase>
<host>127.0.0.1</host>
<port>3306</port>
<username>*****</username>
<password>****</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>

Also you need to change your launch file to something like this

@echo off
shared_memory.exe
start loginserver.exe
start world.exe
echo Waiting for the world to finish loading before starting zones...
ping -n 10 127.0.0.1 > nul
start queryserv.exe
start ucs.exe
start eqlaunch.exe zone
exit
__________________
__________________
Supernova - GM/Developer
"Secrets of Faydwer"
Reply With Quote