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 12-24-2012, 03:07 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Exclamation UCS Issue

ok so this my config for my server everytime I start up Chatserver.exe is says that the ports must be the same here so I look and the ports are the same im using most recent db build w emu code what am I doing wrong ? any help would be my appreciated plz and thank u

Code:
<?xml version="1.0"?>
<server>
<world>
<shortname>xxxxx</shortname>
<longname>xxxxxxxxxxxxx</longname>

<!-- Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>xxxxxx</account>
<password>xxxx</password>
</loginserver>

<chatserver>
<host>68.xx.xx.xxx</host>
<port>3000</port>
</chatserver>

<mailserver>
<host>68.xx.xx.xxx.</host>
<port>3000</port>
</mailserver>

<!-- 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>127.0.0.1</host>
<port>xxxx</port>
<username>root</username>
<password>xxxxxxxx</password>
<db>peq</db>
</database>
</server>

Last edited by Xenerox; 12-24-2012 at 03:08 PM.. Reason: IP showing
Reply With Quote
  #2  
Old 12-24-2012, 03:12 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Default

I Just Realized I posted in incorrect forum I meant to post under Server Support I apologize it wont let me move it :( fail
Reply With Quote
  #3  
Old 12-24-2012, 04:02 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

The <chatserver> and <mailserver> blocks need to be moved outside of the <world> block, i.e. move the chatserver and mailserver blocks after the </world> line, so it's like this:
Code:
<?xml version="1.0"?>
<server>
<world>
<shortname>xxxxx</shortname>
<longname>xxxxxxxxxxxxx</longname>

<!-- Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>xxxxxx</account>
<password>xxxx</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>

<chatserver>
<host>68.xx.xx.xxx</host>
<port>3000</port>
</chatserver>

<mailserver>
<host>68.xx.xx.xxx.</host>
<port>3000</port>
</mailserver>

<!-- Database configuration, replaces db.ini -->
<database>
<host>127.0.0.1</host>
<port>xxxx</port>
<username>root</username>
<password>xxxxxxxx</password>
<db>peq</db>
</database>
</server>
Reply With Quote
  #4  
Old 12-24-2012, 04:12 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Default

Ok def making progress now it starts up but still don't see it on server and this is as far as it gets

Failed to open log file: logs/eqemu_debug_chatchannels_2340.log
[Debug] [UCS__INIT] Starting EQEmu Universal Chat Server.
[Debug] [UCS__INIT] Warning: Unable to read log.ini
[Debug] [UCS__INIT] Connecting to MySQL...
Failed to open log file: logs/eqemu_chatchannels_2340.log
[Status] Using database 'peq' at 127.0.0.1:3306
[Debug] [UCS__INIT] Loaded default rule set 'default'
[Debug] [UCS__INIT] Expiring mail...
[Debug] [UCS__INIT] There are 0 messages in the database.
[Debug] [UCS__INIT] Expired 0 trash messages.
[Debug] [UCS__INIT] Expired 0 read messages.
[Debug] [UCS__INIT] Expired 0 unread messages.
[Debug] [UCS__INIT] Client (UDP) Chat listener started on port 7778.
[Debug] [UCS__INIT] Loading chat channels from the database.
[Debug] [UCS__INIT] Connected to World.
[Debug] [NET__WORLD] Connected to World: 127.0.0.1:9000
Reply With Quote
  #5  
Old 12-24-2012, 04:26 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Default

its like its up but never loads any of the chatchannels and when in game in dosnt say please wait while we reconnect u w the universal chatserver but it still not working any ideas ??
Reply With Quote
  #6  
Old 12-24-2012, 04:37 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

What happens when you try and join a channel, e.g. /join general
Any error messages ?

You can enable enhanced logging from the chatserver.exe process by creating a log.ini file in the same directory as the .exe and adding:
Code:
UCS=on
and restarting your server.

Finally, if you see error messages in the chatserver.exe window about chat/mailkeys not matching, you may need to set this rule to false in your rules table:
Code:
Chat:EnableMailKeyIPVerification
Reply With Quote
  #7  
Old 12-24-2012, 04:44 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Default

Okay I tried what u said Derision with the log.ini just that made this happen


Failed to open log file: logs/eqemu_debug_chatchannels_2896.log
[Debug] [UCS__INIT] Starting EQEmu Universal Chat Server.
[Debug] [UCS__INIT] Log settings loaded from log.ini
[Debug] [UCS__INIT] Connecting to MySQL...
Failed to open log file: logs/eqemu_chatchannels_2896.log
[Status] Using database 'peq' at 127.0.0.1:3306
[Debug] [UCS__INIT] Loaded default rule set 'default'
[Debug] [UCS__INIT] Expiring mail...
[Debug] [UCS__INIT] There are 0 messages in the database.
[Debug] [UCS__INIT] Expired 0 trash messages.
[Debug] [UCS__INIT] Expired 0 read messages.
[Debug] [UCS__INIT] Expired 0 unread messages.
[Debug] [UCS__INIT] Client (UDP) Chat listener started on port 7778.
[Debug] [UCS__INIT] Loading chat channels from the database.
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Antonica], Owner: [*System*
], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Bard], Owner: [*System*], P
assword: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Beastlord], Owner: [*System
*], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Berserker], Owner: [*System
*], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Brokenskull], Owner: [*Syst
em*], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Cleric], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Druid], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Enchanter], Owner: [*System
*], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Faydwer], Owner: [*System*]
, Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [General], Owner: [*System*]
, Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Kunark], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Kuua], Owner: [*System*], P
assword: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Luclin], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Magician], Owner: [*System*
], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Monk], Owner: [*System*], P
assword: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Necromancer], Owner: [*Syst
em*], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Newplayers], Owner: [*Syste
m*], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Odus], Owner: [*System*], P
assword: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Paladin], Owner: [*System*]
, Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Planes], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Ranger], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Rogue], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Shadowknight], Owner: [*Sys
tem*], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Shaman], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Taelosia], Owner: [*System*
], Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Velious], Owner: [*System*]
, Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Warrior], Owner: [*System*]
, Password: [], MinStatus: 0
[Debug] [UCS__TRACE] New ChatChannel created: Name: [Wizard], Owner: [*System*],
Password: [], MinStatus: 0
[Debug] [UCS__INIT] Connected to World.
[Debug] [NET__WORLD] Connected to World: 127.0.0.1:9000

but now it currently not working ingame still says please wait while we reconnect you w the universal chatserver when I type /join general
Reply With Quote
  #8  
Old 12-24-2012, 04:57 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Sounds like possibly networking issue then.

If you are hosting it on your home connection and it is purely for private use, you will want to specify your internal IP address in the chatserver/mailserver blocks, .e.g 192.168.x.x or whatever.

If you want to connect from your local LAN but want other players to connect from the Internet, you will need to specify a hostname (using dyndns if you have a dynamic external IP) for your server rather than it's IP address, and then in the c:\windows\system32\drivers\etc\hosts file on the PCs on the same local LAN as the server, have an entry mapping the hostname to your internal IP address.

If people need to connect from the Internet you will have to forward port 7778 on your router to the internal IP address of your server.
Reply With Quote
  #9  
Old 12-24-2012, 05:04 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Default

On my home windows server and I put it in the DMZ so it shouldn't need to be forwarded but for security reasons I think I want to use dyndns idk ill try it see what I come up w thanks Derision, also need to know what a Query Server is and y its important never seen it b4
Reply With Quote
  #10  
Old 12-24-2012, 05:26 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Default

ok so heres the update I changed the hosts file like u said with my dyndns name and changed my eq emu config around but still no luck it there but its not I don't quite understand it all myself and that ipverification is false alrdy Im lost
Reply With Quote
  #11  
Old 12-24-2012, 11:02 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 966
Default

in your host file
Code:
192.168.1.X    myname.dyndns.com
you may not actually have to do this depending on a number of networking setup possibilities. The point of it is that you want to be able to do a ping myname.dyndns.com from the computer you are playing on and have it resolve to the internal IP of your server.

in your eq config file change the address for the chatserver and mail server to myname.dyndns.com also.

here is how my server is setup
Code:
	<!-- Chatserver (channels) information.  Defaults shown -->
	<chatserver>
		<host>eq.daerma.com</host>
		<port>7778</port>
	</chatserver>

	<!-- Mailserver (in-game mail) information.  Defaults shown -->
	<mailserver>
		<host>eq.daerma.com</host>
		<port>7778</port>
	</mailserver>
here is my hosts file from my desktop that I play on.
Code:
10.253.1.23			eq.daerma.com
my server's ip is 10.253.1.23 if you do ping of eq.daerma.com you will get my public address, whatever it is at the moment.
Reply With Quote
  #12  
Old 12-26-2012, 05:21 PM
Xenerox's Avatar
Xenerox
Hill Giant
 
Join Date: Aug 2009
Location: Shelby Twp, MI
Posts: 114
Default

well due to recent events apparentently its working for people on my server now but it dosnt work for me maybe its bcz im using same ip idk but it works for the players that's all that matters ty for ur help guys ill post again if I have any other problems
Reply With Quote
  #13  
Old 12-26-2012, 05:34 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 966
Default

Quote:
Originally Posted by Xenerox View Post
well due to recent events apparentently its working for people on my server now but it dosnt work for me maybe its bcz im using same ip idk but it works for the players that's all that matters ty for ur help guys ill post again if I have any other problems
Your solution is posted above, implement it correctly and it will work for you.
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 07:37 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