EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Missing a file or setting, anyone want to lend a hand? (https://www.eqemulator.org/forums/showthread.php?t=31987)

KodeKatt 09-01-2010 01:26 AM

Missing a file or setting, anyone want to lend a hand?
 
I tried following along with the posts from when I had this issue before:
http://www.eqemulator.org/forums/sho...n+opcodes+file
..no luck, but same error message.

Code:

I:\EQEmu>EQEmuLoginServer.exe
EQEmuLoginServer v1.0 ALPHA by The Oustanding Developers at PEQ!

  Using Port: 5999
  Database Server:
  Database Catalog:
  Database UserName:
  Database Password:


Unable to open opcodes file ''. Thats bad.

I:\EQEmu>ls -l
total 12320
-rwxrwxrwx  1 user    group    1851904 Aug 31 17:04 Chatserver.exe
-rw-rw-rw-  1 user    group      187904 Aug 31 17:04 EMuShareMem.dll
-rw-rw-rw-  1 user    group      287232 Aug 31 06:32 EQEmuAuthCrypto.dll
-rwxrwxrwx  1 user    group    1453056 Jul 14  2009 EQEmuLoginServer.exe
drwxrwxrwx  1 user    group          0 Aug 31 16:55 Maps
-rwxrwxrwx  1 user    group    2793472 Aug 31 17:05 World.exe
-rwxrwxrwx  1 user    group    5452800 Aug 31 17:08 Zone.exe
-rw-rw-rw-  1 user    group      306714 Jul  9 10:05 changelog.txt
-rw-rw-rw-  1 user    group          0 Aug 31 06:42 commands.pl
-rw-rw-rw-  1 user    group        120 Jun 15  2009 compatible_content.txt
-rw-rw-rw-  1 user    group        2288 Aug 31 22:11 eqemu_config.xml
-rw-rw-rw-  1 user    group        688 Aug 31 16:59 eqemulogin.ini
-rwxrwxrwx  1 user    group      138240 Aug 31 12:54 eqlaunch.exe
-rw-rw-rw-  1 user    group          0 Aug 31 06:42 log.ini
-rw-rw-rw-  1 user    group        298 Aug 31 06:42 login_opcodes.conf
-rw-rw-rw-  1 user    group        298 Aug 31 06:42 login_opcodes_sod.conf
drwxrwxrwx  1 user    group          0 Aug 31 22:10 logs
-rw-rw-rw-  1 user    group        300 Aug 31 06:42 mail_opcodes.conf
-rw-rw-rw-  1 user    group        1077 Aug 31 06:42 mime.types
-rw-rw-rw-  1 user    group      16690 Aug 31 06:42 opcodes.conf
-rw-rw-rw-  1 user    group      17669 Aug 31 06:42 patch_6.2.conf
-rw-rw-rw-  1 user    group      16596 Aug 31 06:42 patch_Anniversary.conf
-rw-rw-rw-  1 user    group      17664 Aug 31 06:42 patch_Live.conf
-rw-rw-rw-  1 user    group      17486 Aug 31 06:42 patch_SoD.conf
-rw-rw-rw-  1 user    group      21919 Aug 31 06:42 patch_SoF.conf
-rw-rw-rw-  1 user    group      18406 Aug 31 06:42 patch_Titanium.conf
-rw-rw-rw-  1 user    group          0 Aug 31 06:42 plugin.pl
drwxrwxrwx  1 user    group          0 Aug 31 17:02 plugins
drwxrwxrwx  1 user    group          0 Aug 31 17:02 quests
-rwxrwxrwx  1 user    group        143 Aug 31 22:09 start_server.bat
drwxrwxrwx  1 user    group          0 Aug 31 16:55 templates
drwxrwxrwx  1 user    group          0 Aug 28 17:20 worldui
-rw-rw-rw-  1 user    group          0 Aug 31 06:42 worldui.pl


eqemu_config.xml
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>Vasadise</shortname>
                <longname>The Memory of Vasadise</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <address>everquest.homelinux.net</address>
                <localaddress>192.168.1.103</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="localhost" port="9000" telnet="disable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>NRKP3</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>127.0.0.1</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>xxx</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>


eqemulogin.ini
Code:

[database]
host = localhost
port = 3306
db = peq
user = root
password = xxx
subsystem = MySQL

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

[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


I've been working on this since yesterday with non-stop interruptions, so it's more than likely I missed a step, resulting in a missing file, or something missed in the config, but going back over the guide and triple checking the configs, I'm at a bit of a loss, I just need a second set of eyes to take a look at this.

Then again.. now that I remember.. my last server, I couldn't get the loging server to work, I had to use minilogin.

Rykeau 09-01-2010 02:02 AM

Here is what you should have using your information and my file structures. This is based on an SOD client because that is all I run. A number of the ports were different as well as server name settings. I have found that many times for whatever reason 127.0.0.1 and localhost are NOT interchangeable in these files. Also, your eqemulogin.ini is considerably more detailed and larger than mine.

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>everquest.homelinux.net</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>


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


<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>everquest.homelinux.net</host>
<port>3018</port>
</mailserver>


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


Eqemulogin.ini
Port=5999
DumpPacketsIn=true
DumpPacketsOut=true
Trace=false
DatabaseServerName=127.0.0.1
DatabaseCatalogName=<login database name>
DatabaseUserName=root
DatabaseUserPassword=xxx
OPCodePathAndFileName=login_opcodes.conf

KodeKatt 09-01-2010 02:29 AM

Quote:

Originally Posted by Rykeau (Post 191423)
Eqemulogin.ini
Port=5999
DumpPacketsIn=true
DumpPacketsOut=true
Trace=false
DatabaseServerName=127.0.0.1
DatabaseCatalogName=<login database name>
DatabaseUserName=root
DatabaseUserPassword=xxx
OPCodePathAndFileName=login_opcodes.conf

Code:

I:\EQEmu>EQEmuLoginServer.exe
EQEmuLoginServer v1.0 ALPHA by The Oustanding Developers at PEQ!

  Using Port: 5999
  Dumping Inbound packets.
  Dumping Outbound packets.
  Database Server: 127.0.0.1
  Database Catalog: peq
  Database UserName: root
  Database Password: xxx


Server (TCP) listener started.

I think that was it..
Server seems to be working, just need to test logging in now.

KodeKatt 09-01-2010 02:54 AM

oops.. double post

KodeKatt 09-01-2010 03:08 AM

Nope.. EQEmuLoginServer.exe crashes when I attempt to log in.
Same exact issue I had with EQEmuLoginServer before that lead me to use minilogin instead.

Microsoft Visual C++ Debug Library
Debug Error!

Program: I:\EQEmu\EQEmuLoginServer.exe

HEAP CORRUPTION DETECTED: after Noprmal block (#566) at 0x0073A1D8
CRT detected that the application wrote to memory after end of heap buffer.

(Press Retry to debug the application)

Abort Retry Ignore

Code:

New Client UDP connection from 127.0.0.1:3339
  0: 02 00 00 00 00 00 00 00 - 00 00 08 00              | ............
  0: 02 00 00 00 00 00 00 00 - 00 01 65 00 00 00 00 43  | ..........e....C
  16: 68 61 74 4D 65 73 73 61 - 67 65 00                | hatMessage.
  0: 03 00 00 00 00 02 00 00 - 00 00 73 19 13 86 70 6B  | ..........s...pk
  16: 2B AA 86 59 D3 91 1A BF - 8D 6D                    | +..Y.....m
  0: 03 00 00 00 00 02 00 00 - 00 00 73 19 13 86 70 6B  | ..........s...pk
  16: 2B AA 86 59 D3 91 1A BF - 8D 6D                    | +..Y.....m
User: iskat
Hash: 0b4881f3a75447bf7037a7a5d714480d39ac2b00
Creating credential for account 2.
There are 1 credential record(s).
  0: 03 00 00 00 00 02 00 00 - 00 00 0D 9F 27 9B A5 D8  | ............'...
  16: 72 60 86 45 0F C4 CB 6D - 44 90 0C 1A FF B8 B2 88  | r`.E...mD.......
  32: A5 A6 46 13 96 95 68 AC - DF 38 2B 02 BB DE 05 67  | ..F...h..8+....g
  48: 1C D0 E5 72 80 F3 DE F8 - F4 B2 A4 03 4C A6 4B B1  | ...r........L.K.
  64: 54 D8 96 D0 0E 16 50 11 - F2 A1 A4 03 4C C5 4B B1  | T.....P.....L.K.
  80: 54 D9 96 D0 0E 16 50 11 - F2 A1                    | T.....P...
  0: 04 00 00 00 00 00 00 00 - 00 00                    | ..........
  0: 04 00 00 00 00 00 00 00 - 00 00 65 01 00 00 00 00  | ..........e.....
  16: 01 00 00 00 31 32 37 2E - 30 2E 30 2E 31 00 01 00  | ....127.0.0.1...
  32: 00 00 01 00 00 00 54 68 - 65 20 4D 65 6D 6F 72 79  | ......The Memory
  48: 20 6F 66 20 56 61 73 61 - 64 69 73 65 00 45 4E 00  |  of Vasadise.EN.
  64: 55 53                                              | US

and I think skype it putting in code and being retarded if the above looks distorted

Rykeau 09-02-2010 01:42 AM

See post #44 of this thread. It might give you some ideas to check...

http://www.eqemulator.org/forums/sho...t=28887&page=3

According to what I'm reading it would seem your EQEmuLoginServer.exe and/or EQEmuAuthCrypto.dll files could be at fault.

KodeKatt 09-02-2010 04:54 AM

I haven't a clue how to build the login server.. I can't seem to open the project into VS, and I'm far from familiar with compiling on windows to figure this out myself.


Edit: oops.. was trying with VS 2005


Cool....
Quote:

1>Build log was saved at "file://i:\EverQuest_Installer shit\_Source\EQEmu\trunk\EQEmuServer\EQEmuLoginSer ver\Release\BuildLog.htm"
1>EQEmuLoginServer - 1 error(s), 313 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
..yeah
No clue at all what I'm doing here.


All times are GMT -4. The time now is 07:16 PM.

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