PDA

View Full Version : Errors in the chatserver window


Tilar
01-26-2010, 06:08 PM
I'm getting these errors when I try to start the chatserver.exe. My mail and chat channels don't seem to work and I was wondering if these errors have anything to do with it? All of these rules that do with bots are in "rule_values".

[Debug] [RULES__ERROR] Unable to find rule 'Bots:BotManaRegen'
[Debug] [RULES__ERROR] Unable to interpret rule record for Bots:BotManaRegen
[Debug] [RULES__ERROR] Unable to find rule 'Bots:BotFinishBuffing'
[Debug] [RULES__ERROR] Unable to interpret rule record for Bots:BotFinishBuffing
[Debug] [RULES__ERROR] Unable to find rule 'Bots:CreateBotCount'
[Debug] [RULES__ERROR] Unable to interpret rule record for Bots:CreateBotCount
[Debug] [RULES__ERROR] Unable to find rule 'Bots:SpawnBotCount'
[Debug] [RULES__ERROR] Unable to interpret rule record for Bots:SpawnBotCount
[Debug] [RULES__ERROR] Unable to find rule 'Bots:BotQuest'
[Debug] [RULES__ERROR] Unable to interpret rule record for Bots:BotQuest
[Debug] [RULES__ERROR] Unable to find rule 'Bots:BotGroupBuffing'
[Debug] [RULES__ERROR] Unable to interpret rule record for Bots:BotGroupBuffing
[Debug] [RULES__ERROR] Unable to find rule 'Bots:BotSpellQuest'
[Debug] [RULES__ERROR] Unable to interpret rule record for Bots:BotSpellQuest
[Debug] [UCS__INIT] Loaded default rule set 'default'
[Debug] [UCS__INIT] Expiring mail...


Here is what I have in the eqemu_config.xml

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

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>10234</port>
</mailserver>

Derision
01-26-2010, 06:26 PM
Here is what I have in the eqemu_config.xml

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

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>10234</port>
</mailserver>

Those Rules errors are not relevant.

The portions I have highlighted in red should be set to the hostname of your server, not channels.eqemulator.net.

Tilar
01-26-2010, 08:09 PM
All I gotta do is point it to my emu machine? Do I need any other software for the mail and chat to work?

Tilar
01-26-2010, 09:41 PM
Well that didn't work. I changed the "channels.eqemulator.net" to "excal.dyndns.org" which is my server address, and nothing changed other than it seemed to take a couple seconds to get the message about reconnecting to the UCS. I also opened up the firewall for UDP port 10234. Is this correct?

Derision
01-27-2010, 05:39 AM
Edit your log.ini and add the lines:

UCS__CLIENT=on
UCS__TRACE=on


Then restart the chatserver and login a character.

If the client is attempting to connect, you will see messages as it does so in the log for the UCS and also in the command window you have it running in.

If you see messages about chat/mail key not matching, then in your rules_values table, set Chat, EnableMailKeyIPVerification to false and restart everything and try again.

If you don't see messages in the chatserver window indicating your client is attempting to connect, then the only other thing I can suggest is to add a line to \windows\system32\drivers\etc\hosts on your client machine to map excal.dyndns.org to the internal address of your server.

You are correct that UDP 10234 needs forwarding on your firewall for people external to your network to be able to connect to the chatserver.

Tilar
01-28-2010, 05:35 PM
Chat, EnableMailKeyIPVerification was already set to false. I changed my hosts file and that doesnt seem to make any change. Since I added those two lines to my log.ini file, I see certain characters log in and there is activity in the chatserver.exe window, but regardless whether I login with Titanium or SoF I get a red mail button and no chat channels. With SoF I can try /list and I get the not connected message, With Titanium I don't get any response at all.

OscarGrouch05
01-28-2010, 05:57 PM
i noticed you used an odd port for chat i use 3018 and 3019
example excal.dyndns.org:3018 and excal.dyndns.org:3019
see if that helps you out and open them ports on router.

Tilar
01-28-2010, 06:14 PM
3306 is the port used for connecting to the database. I'll try 3018 and 3019. I only used 10234 because I read a post where someone was told to try that port in their configuration.

Tilar
01-31-2010, 01:51 PM
Ok, an update.. If I use different ports it tells me they have to be the same. From the logging in the chatserver window, It appears to be letting people in chat channels. I asked a player this morning if they were able to get into the channels and he said yes and that they appear to be working, BUT when I try to /join one from a computer on the network, It gives me the error about connecting to the universal chat service. This is driving me nuts.

OscarGrouch05
01-31-2010, 04:51 PM
tilar this is an example of what you need i don't known your computers network ip but here i go 192.168.1.1:3018 and 192.168.1.1:3019 you'll need to open them ports on your router for your own computer as well i hope this help you get it working on your network. if your going to open any other port open 8603 but it sounds like you have people conecting to server. mail port you would have to open 25 and 110 just a note: i networked goverment buildings, and million dollar companies and work on computer's. the port 10234 you was refering to is used for icq,msn,yahoo and aol chat programs. i seen where you got your info from this port has other uses as well. if you want to montor all the chit chat going on your server that would be in another lesson yes it can be done but will need more softwear.

Derision
01-31-2010, 04:59 PM
post your eqemu_config.xml (with passwords removed), the contents of your c:\windows\system32\drivers\etc\hosts file (or at least the relevant line), and the output of ping excal.dyndns.org from your client PC.

Tilar
01-31-2010, 07:50 PM
<?xml version="1.0">
<server>
<world>
<shortname>Excal</shortname>
<longname>Knights of Excalibur</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>some.server.com</address> -->
<!-- <localaddress>192.168.0.2</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>randomcrapgoes-here</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>excal.dyndns.org</host>
<port>3018</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>excal.dyndns.org</host>
<port>3018</port>
</mailserver>

<zones>
<defaultstatus>0</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>XXxX</username>
<password>XXxxXXxx</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>



Hosts file


127.0.0.1 localhost
excal.dyndns.org 192.168.0.2

And the ping

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Dave>ping excal.dyndns.org

Pinging excal.dyndns.org [75.179.2.189] with 32 bytes of data:

Reply from 75.179.2.189: bytes=32 time<1ms TTL=250
Reply from 75.179.2.189: bytes=32 time<1ms TTL=250
Reply from 75.179.2.189: bytes=32 time<1ms TTL=250
Reply from 75.179.2.189: bytes=32 time<1ms TTL=250

Ping statistics for 75.179.2.189:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Dave>

Derision
02-01-2010, 05:25 AM
<
Hosts file
[CODE]
127.0.0.1 localhost
excal.dyndns.org 192.168.0.2


You have that entry the wrong way round, it should be IP address first, then the name.

Tilar
02-01-2010, 06:12 AM
Unfrigginbelievable. I had it that way at first and it didn't work so I switched it around. It was probably something to do with the ports that I changed around that same time. I gotta stop trying different things at the same time and focus on one at a time. Good lesson learned.

Derision, THANK YOU!