Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2013, 07:20 PM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default Trying to setup a RoF testing server

Wanted to move out of the RoF dev thread so i don't clutter it up and keep the main developers from having to deal with my stuff unless they want to help me.

ok, so last time we left this journey Derision had just informed me that the message i was seeing in the log seemed to indicate i had gotten through the log in and that the weird 20 byte packet which appears in the log is unimportant and that I should look into my world.log files to see the problem.

eqemu_debug_world.log:

Code:
---------------------------------------------
2238 [01.11. - 15:00:46] Starting Log: logs/eqemu_debug_world.log
2238 [01.11. - 15:00:46] [WORLD__INIT] Loading server configuration..
2238 [01.11. - 15:00:46] [WORLD__INIT] Log settings loaded from log.ini
2238 [01.11. - 15:00:46] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
2238 [01.11. - 15:00:46] [WORLD__INIT] Added loginserver 192.168.2.14:5998
2238 [01.11. - 15:00:46] [WORLD__INIT] Connecting to MySQL...
2238 [01.11. - 15:00:46] [WORLD__INIT] HTTP world service disabled.
2238 [01.11. - 15:00:46] [WORLD__INIT] Loading variables..
2238 [01.11. - 15:00:46] [COMMON__THREADS] Starting DBAsyncLoop with thread ID -1232512144
2238 [01.11. - 15:00:46] [WORLD__INIT] Loading zones..
2238 [01.11. - 15:00:46] [WORLD__INIT] Clearing groups..
2238 [01.11. - 15:00:46] [WORLD__INIT] Clearing raids..
2238 [01.11. - 15:00:46] [WORLD__INIT] Loading items..
2238 [01.11. - 15:00:53] [WORLD__INIT] Loading guilds..
2238 [01.11. - 15:00:53] [WORLD__INIT] Loaded default rule set 'default'
2238 [01.11. - 15:00:53] [WORLD__INIT] Clearing temporary merchant lists..
2238 [01.11. - 15:00:53] [WORLD__INIT] Loading EQ time of day..
2238 [01.11. - 15:00:53] [WORLD__INIT] Loading launcher list..
2238 [01.11. - 15:00:53] [WORLD__INIT] Reboot zone modes ON
2238 [01.11. - 15:00:53] [WORLD__INIT] Deleted 0 stale player corpses from database
2238 [01.11. - 15:00:53] [WORLD__INIT] Deleted 0 stale player backups from database
2238 [01.11. - 15:00:53] [WORLD__INIT] Loading adventures...
2238 [01.11. - 15:00:53] [WORLD__INIT] Purging expired instances
2238 [01.11. - 15:00:53] [WORLD__INIT] Loading char create info...
2238 [01.11. - 15:00:53] [WORLD__INIT] Zone (TCP) listener started.
2238 [01.11. - 15:00:53] [WORLD__INIT] Client (UDP) listener started.
2238 [01.11. - 15:00:53] [COMMON__THREADS] Starting EQStreamFactoryWriterLoop with thread ID -1344455824
2238 [01.11. - 15:00:53] [COMMON__THREADS] Starting EQStreamFactoryReaderLoop with thread ID -1336063120
2238 [01.11. - 15:00:53] [NET__IDENTIFY] Registered patch 6.2
2238 [01.11. - 15:00:53] [NET__IDENTIFY] Registered patch Titanium
2238 [01.11. - 15:00:53] [NET__IDENTIFY] Registered patch SoF
2238 [01.11. - 15:00:53] [NET__IDENTIFY] Registered patch SoD
2238 [01.11. - 15:00:53] [NET__IDENTIFY] Registered patch Underfoot
2238 [01.11. - 15:00:53] [NET__IDENTIFY] Registered patch RoF
2238 [01.11. - 15:00:53] [WORLD__LS] Connecting to login server: 192.168.2.14:5998
2238 [01.11. - 15:00:53] [WORLD__LS] Connected to Loginserver: 192.168.2.14:5998
2238 [01.11. - 15:00:53] [COMMON__THREADS] Starting TCPConnectionLoop with thread ID -1361241232
2238 [01.11. - 15:00:56] [WORLD__ZONE] New TCP connection from 192.168.2.14:42503
2238 [01.11. - 15:00:56] [WORLD__CONSOLE] New launcher from 192.168.2.14:42503
2238 [01.11. - 15:00:56] [WORLD__LAUNCH] Adding pending launcher 1
2238 [01.11. - 15:00:56] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
2238 [01.11. - 15:00:56] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
2238 [01.11. - 15:01:01] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
2238 [01.11. - 15:01:21] [WORLD__LAUNCH] zone: dynamic_02 reported state STARTED (1 starts)
2238 [01.11. - 15:01:23] [WORLD__LAUNCH] zone: dynamic_03 reported state STARTED (1 starts)
2238 [01.11. - 15:01:25] [WORLD__LAUNCH] zone: dynamic_04 reported state STARTED (1 starts)
2238 [01.11. - 15:01:27] [WORLD__LAUNCH] zone: dynamic_05 reported state STARTED (1 starts)
2238 [01.11. - 15:02:45] [WORLD__ZONE] New TCP connection from 192.168.2.14:42509
2238 [01.11. - 15:02:45] [WORLD__ZONE] New TCP connection from 192.168.2.14:42510
2238 [01.11. - 15:02:45] [WORLD__ZONE] New TCP connection from 192.168.2.14:42511
2238 [01.11. - 15:02:45] [WORLD__ZONE] New TCP connection from 192.168.2.14:42512
2238 [01.11. - 15:02:45] [WORLD__ZONE] New TCP connection from 192.168.2.14:42513
2238 [01.11. - 15:02:45] [WORLD__CONSOLE] New zoneserver #1 from 192.168.2.14:42513
2238 [01.11. - 15:02:45] [WORLD__CONSOLE] New zoneserver #2 from 192.168.2.14:42512
2238 [01.11. - 15:02:45] [WORLD__CONSOLE] New zoneserver #3 from 192.168.2.14:42511
2238 [01.11. - 15:02:45] [WORLD__CONSOLE] New zoneserver #4 from 192.168.2.14:42510
2238 [01.11. - 15:02:45] [WORLD__CONSOLE] New zoneserver #5 from 192.168.2.14:42509
2238 [01.11. - 15:02:45] [WORLD__ZONE] [5] Zone started with name dynamic_02 by launcher zone
2238 [01.11. - 15:02:45] [WORLD__ZONE] [5] Auto zone port configuration.  Telling zone to use port 7000
2238 [01.11. - 15:02:46] [WORLD__ZONE] [4] Zone started with name dynamic_03 by launcher zone
2238 [01.11. - 15:02:46] [WORLD__ZONE] [4] Auto zone port configuration.  Telling zone to use port 7001
2238 [01.11. - 15:02:46] [WORLD__ZONE] [3] Zone started with name dynamic_04 by launcher zone
2238 [01.11. - 15:02:46] [WORLD__ZONE] [3] Auto zone port configuration.  Telling zone to use port 7002
2238 [01.11. - 15:02:46] [WORLD__ZONE] [2] Zone started with name dynamic_05 by launcher zone
2238 [01.11. - 15:02:46] [WORLD__ZONE] [2] Auto zone port configuration.  Telling zone to use port 7003
2238 [01.11. - 15:02:46] [WORLD__ZONE] [1] Zone started with name dynamic_01 by launcher zone
2238 [01.11. - 15:02:46] [WORLD__ZONE] [1] Auto zone port configuration.  Telling zone to use port 7004
eqemu_world.log:

Code:
---------------------------------------------
2238 [01.11. - 15:00:46] Starting Log: logs/eqemu_world.log
2238 [01.11. - 15:00:46] Using database 'peqdb' at 192.168.2.14:3306
2238 [01.11. - 15:00:46] libEMuShareMem.so loaded
2238 [01.11. - 15:00:46] Loading items from database: count=92476
world.log:

Code:
[Debug] Starting Log: logs/eqemu_debug_world.log
[Debug] [WORLD__INIT] Loading server configuration..
[Debug] [WORLD__INIT] Log settings loaded from log.ini
[Debug] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[Debug] [WORLD__INIT] Added loginserver 192.168.2.14:5998
[Debug] [WORLD__INIT] Connecting to MySQL...
[Status] Starting Log: logs/eqemu_world.log
[Status] Using database 'peqdb' at 192.168.2.14:3306
[Debug] [WORLD__INIT] HTTP world service disabled.
[Debug] [WORLD__INIT] Loading variables..
[Debug] [COMMON__THREADS] Starting DBAsyncLoop with thread ID -1232512144
[Debug] [WORLD__INIT] Loading zones..
[Debug] [WORLD__INIT] Clearing groups..
[Debug] [WORLD__INIT] Clearing raids..
[Debug] [WORLD__INIT] Loading items..
[Status] libEMuShareMem.so loaded
[Status] Loading items from database: count=92476
all this appears to be ok? Any clues?
Reply With Quote
  #2  
Old 01-11-2013, 07:28 PM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

Server login opcodes for RoF
Code:
[OPCode: 0x0001] OP_SessionReady [Size: 14]
[OPCode: 0x0017] OP_ChatMessage [Size: 17]
[OPCode: 0x0002] OP_Login [Size: 34]
[OPCode: 0x0018] OP_LoginAccepted [Size: 108]
[OPCode: 0x0004] OP_ServerListRequest [Size: 10]
[OPCode: 0x000d] OP_PlayEverquestRequest [Size: 16]
[OPCode: 0x0022] OP_PlayEverquestResponse [Size: 20]
[OPCode: 0x0003] OP_ServerListResponse [Size: 12]
you need to edit your opcode.conf file and change the login opcodes for local connection only
Code:
#Login opcodes
OP_SessionReady=0x0001
OP_Login=0x0002
OP_ServerListRequest=0x0004
OP_PlayEverquestRequest=0x000d
OP_PlayEverquestResponse=0x0022 
OP_ChatMessage=0x0017 
OP_LoginAccepted=0x0018 
OP_ServerListResponse=0x0019 
OP_Poll=0x0029
OP_EnterChat=0x000f
OP_PollResponse=0x0011
might look into eqemu_config
Code:
<!-- Loginserver information. -->
<loginserver>
<host>192.168.2.14</host>
<port>5999</port>
<account>root</account>
<password>xxxxxxxxxxxxxxx</password>
</loginserver>
in your peq database might make sure zone _server has a server name, 192.168.2.14, 7000,1, todays date etc.
might double check tblworldserverregistration under peqlogindb
Reply With Quote
  #3  
Old 01-11-2013, 08:04 PM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default

...and now I can no longer see a server list and can't seem to get it to come back.

off to redownload and reinstall everything.

NoPort..you are awesome =-P
Reply With Quote
  #4  
Old 01-11-2013, 08:24 PM
Noport
Opcode Ninja
 
Join Date: Mar 2009
Location: San francisco
Posts: 426
Default

to change Login opcdes: back to default opcode.conf
Code:
#EQEmu Public Login Server OPCodes
#Login opcodes
OP_SessionReady=0x0001
OP_Login=0x0002
OP_ServerListRequest=0x0004
OP_PlayEverquestRequest=0x000d
OP_PlayEverquestResponse=0x0021
OP_ChatMessage=0x0016
OP_LoginAccepted=0x0017
OP_ServerListResponse=0x0018
OP_Poll=0x0029
OP_EnterChat=0x000f
OP_PollResponse=0x0011
Reply With Quote
  #5  
Old 01-11-2013, 09:06 PM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default

yup, changed it back...and it was still grumpy at me. weird. ok well i've got everything back up and running again. time to roll through each step to see if i can get this kicking again.
Reply With Quote
  #6  
Old 01-12-2013, 01:01 AM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default

Ok, I've got into game!

Graphics seem a bit screwy (ie, no models except for drakkins and even those models seem screwy as well. Oh well. I'm happy for tonight. I'll work on getting it further tomorrow. If anyone knows why I have those above problems please let me know =-D
Reply With Quote
  #7  
Old 01-16-2013, 11:34 PM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default

Had to clear things out and start over since things became...very broken.

So I'm back to the point where I can see a server is up and log into the server but not into the world. I try to log into the world and it kicks me right out.

I've copied the patch_RoF.conf file into ,y server directory. anything else I need to do in order to get this to work?
Reply With Quote
  #8  
Old 01-16-2013, 11:46 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Didn't you have it working before? Look in the logs to check for errors.
Reply With Quote
  #9  
Old 01-17-2013, 12:37 AM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default

Yup, I had it working for a while, then I had to set it up on a different network and somewhere along the way I screwed shit up.

The real issue is that I'm trying to setup a script to download, build, compile, populate, etc etc everything so I can follow my normal testing protocols.

I just can't seem to figure out the opcode issue with RoF. I get to the point where I have a log in server and the world is 'up' but clicking play makes the client screen go black and die.

it's obvious my opcodes are all fucked up.

ok so here is my settings (emulator server is 192.168.2.11 and client is on 192.168.2.29)

eqemu_config.xml:
Code:
<?xml version="1.0"> 
<server> 
 <world> 
 <shortname>SMALLEQEMU</shortname> 
 <longname>Ship_In_A_Bottle</longname> 
 
 <address>EQEMU-SERVER</address> --> 
 <localaddress>192.168.2.11</localaddress> --> 
 
 <!-- Loginserver information. Defaults shown --> 
 <loginserver> 
 <host>192.168.2.11</host> 
 <port>5998</port> 
 <account>Admin</account> 
 <password>Password</password> 
 </loginserver> 
 
 <!-- Server status. Default is unlocked --> 
 <!--<locked/>--> 
 <unlocked/> 
 
 <tcp ip=192.168.2.11 port=9000 telnet=disable /> 
 
 <key>some long random string</key> 
 
 <http port="9080" enabled="false" mimefile="mime.types" /> 
 </world> 
 
 <!-- Chatserver (channels) information. Defaults shown --> 
 <chatserver> 
 <host>192.168.2.11</host> 
 <port>7778</port> 
 </chatserver> 
 
 <mailserver> 
 <host>192.168.2.11</host> 
 <port>7779</port> 
 </mailserver> 
 
 <zones> 
 <defaultstatus>20</defaultstatus> 
 
 <ports low="7000" high="7100"/> 
 </zones> 
 
 <database> 
 <host>192.168.2.11</host> 
 <port>3306</port> 
 <username>eqemu</username> 
 <password>eqemupw</password> 
 <db>peqdb</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> 
 </files> 
 <!-- Directory locations. Defaults shown --> 
 <directories> 
 <maps>/home/eqemu/server/Maps</maps> 
 <quests>/home/eqemu/server/quests</quests> 
 <plugins>/home/eqemu/server/plugins</plugins> 
 </directories> 
</server>
login.ini
Code:
[database] 
host = 192.168.2.11 
port = 3306 
db = peqdb 
user = eqemu 
password = eqemupw 
subsystem = MySQL 
 
[options] 
unregistered_allowed = TRUE 
reject_duplicate_servers = FALSE 
trace = TRUE 
world_trace = TRUE 
dump_packets_in = FALSE 
dump_packets_out = FALSE 
listen_port = 5998 
local_network = 192.168.2. 
 
[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
LoginServer.ini
Code:
[LoginServer] 
loginserver=EQEMU-SERVER 
loginport=5998 
worldname=Ship_In_A_Bottle 
worldaddress=192.168.2.11 
locked=false 
account= 
password= 
 
[WorldServer] 
Defaultstatus=0 
Unavailzone= 
 
[ChatChannelServer] 
worldshortname=- 
chataddress= 
chatport=
login_opcodes_sod.conf, almost certain here is where it's screwy:
Code:
#EQEmu Public Login Server OPCodes
OP_SessionReady=0x0001
OP_Login=0x0002
OP_ServerListRequest=0x0004
OP_PlayEverquestRequest=0x000d
OP_PlayEverquestResponse=0x0022
OP_ChatMessage=0x0017
OP_LoginAccepted=0x0018
OP_ServerListResponse=0x0003
OP_Poll=0x0029
OP_EnterChat=0x000f
OP_PollResponse=0x0011
login_opcodes.conf, shouldn't matter since I'm using sod+

Code:
#EQEmu Public Login Server OPCodes
OP_SessionReady=0x0001
OP_Login=0x0002
OP_ServerListRequest=0x0004
OP_PlayEverquestRequest=0x000d
OP_PlayEverquestResponse=0x0021
OP_ChatMessage=0x0016
OP_LoginAccepted=0x0017
OP_ServerListResponse=0x0018
OP_Poll=0x0029
OP_EnterChat=0x000f
OP_PollResponse=0x0011
no RoF patch in server folder.

I realize I'm trying to set up an RoF server and that things are still in flux and it's really supposed to be for the main developers....but if it's easier to set this stuff up than you can get a lot more programmers submitting patches.

Why can't it be explained to me like I'm 4. condescension at this point would probably be helpful. =-P
Reply With Quote
  #10  
Old 01-17-2013, 01:22 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

In the previous post you said you copied patch_RoF.conf to your server directory, but this time you said you didn't. Which is it? You obviously need that file in the server directory.

The server generates tons of logs that contain lots of useful information. As I suggested before, you should look at them and see if you're getting any errors or if there are any clues to why it isn't working. You would also be able to tell if the connection is being detected as RoF properly or not.
Reply With Quote
  #11  
Old 01-17-2013, 02:04 AM
addingice
Sarnak
 
Join Date: Jan 2013
Location: United States
Posts: 33
Default

ok, so I transferred over *all* the patch files now...and hey it's happy.

So i'm going to spend some time getting a script all set up to get this thing working.

Obviously this is, by the nature of the system, full of little fiddly bits. It just seems a little odd to me we don't have a wizard or some other tool to check things.

but then, I spend most of my day job trying to make all the little fiddly bits of the software I write to go away as much as possible. I'm painfully aware of what it costs us.

ok, enough of me being a whiner. On to seeing if I can offer any help on it in the future. =-P
Reply With Quote
  #12  
Old 01-19-2013, 02:27 AM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

Are you guys working with an "unmodified" RoF client from Steam? Or did you have to add files to make it work?

I ask because I have a eqemu server setup on my LAN, and I can get to the Char Select screen with my RoF client, but when I try to zone in with a toon, I get "string not found (xxxx)" (where xxxx is a number).

However, I'm able to log in with my UF client with no problems.

It looks like I have everything. The patch files, the opcodes, the lot. The "string not found" error makes me think I'm missing a string file or something from the client, but it doesn't appear to be the eqstr_en.txt, eqstr_us.txt or eqtext.txt files...
Reply With Quote
  #13  
Old 01-19-2013, 02:47 AM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

clean F2P/RoF download from steam.

create database, build server, copy files, and RoF will load.
If it does not you missed something.

there are no special opcodes needed.
Reply With Quote
  #14  
Old 01-19-2013, 02:52 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Have you tried logging into one of the public servers that have RoF enabled? There are a few including PEQ, Storm Haven, and some testing servers that I know of so far. If your client works on those servers, then the issue is with your server. If your client doesn't work on those servers or yours, then there is most likely a problem with your client. Either you modified something (UI or other custom files maybe), or you patched your client. It is possible that SOE updated their download, but I kinda doubt it. I know their latest Live patch would not allow you to even make it as far as Character Select.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #15  
Old 01-19-2013, 02:59 AM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

thanks for the pointers. I'll try connecting to one of the server's you mentioned to narrow down my issue.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:21 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3