Bot connection issue

Started by Emre, October 17, 2014, 01:24:01 AM

Previous topic - Next topic

Stefan1200

Please try to open a telnet connection to 127.0.0.1 and port 5873 from the same machine, where you have the bot installed. What happened?

Emre

#16
root@sr4:~# telnet -d 127.0.0.1 5873
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
JTS3ServerMod


QuoteWhere you have the bot installed.

  /home/JTS3Server_RC/JTS3ServerMod.jar
  /www/jts3/index.php

Stefan1200

#17
Now you see me totally confused with big question marks over my head...
The web interface is doing the same and don't get this JTS3ServerMod text.

Please replace the BotTelnet.php in your web interface class directory with the attached one. Afterwards go again to the settings page of the web interface and post again the telnet test result.

Emre

Web interface was banned or on that IP address / port is another service running.

Make sure that the IP address of the web interface is whitelisted (check telnet_whitelist in the JTS3ServerMod_InstanceManager.cfg) and the password is correct!


< J
> quit
< T


Screenshot: http://ibin.co/1e33T2I4Aqaz

Stefan1200

#19
Thank you, that helped me.

Again, please replace the BotTelnet.php in your web interface class directory with the attached one. Afterwards go again to the settings page of the web interface and post again the telnet test result.

Emre

Everything works great!

< JTS3ServerMod
> login 1234567x
< STATUS OK
> instancerunningcount
< 0
< STATUS OK
> quit


Bot Name: bot1_1 Display log Rename Bot
Server IP: 127.0.0.1 - ID / Port: 9987
Bot Log Status: 0 warnings and 0 errors occurred since last bot start on 31/Dec/69 07:00:00PM!
Bot Status: Bot service not available!


2014-10-17 14:22:39 SHUTDOWN Got signal from operating system, quitting now...
2014-10-17 14:22:39 STOP_ALL Stopping all virtual bot instances...
2014-10-17 14:22:39 QUIT_MANAGER Quit instance manager...
2014-10-17 14:22:46 START_MANAGER JTS3ServerMod 5.3 Hosting Edition RC 1 (17.10.2014) Instance Manager started...
2014-10-17 14:22:46 CONFIG Bot chat command !exec is disabled!
2014-10-17 14:22:46 CONFIG Multi IP Mode disabled!
2014-10-17 14:22:47 LOGGER_SQL_CONNECT Successfully connected to MySQL server for logging!
2014-10-17 14:22:47 CONFIG MySQL mode enabled!
2014-10-17 14:22:47 TELNET_START Telnet interface started on port 5873!
2014-10-17 14:22:54 TELNET_CONNECTION Accepted telnet connection from 127.0.0.1...
2014-10-17 14:22:54 TELNET_CONNECTION Closed telnet connection to 127.0.0.1...
2014-10-17 14:22:57 TELNET_CONNECTION Accepted telnet connection from 127.0.0.1...
2014-10-17 14:22:57 TELNET_CONNECTION Closed telnet connection to 127.0.0.1...
2014-10-17 14:23:00 TELNET_CONNECTION Accepted telnet connection from 127.0.0.1...
2014-10-17 14:23:01 TELNET_CONNECTION Closed telnet connection to 127.0.0.1...
2014-10-17 14:23:01 TELNET_CONNECTION Accepted telnet connection from 127.0.0.1...
2014-10-17 14:23:02 TELNET_CONNECTION Closed telnet connection to 127.0.0.1...
2014-10-17 14:23:08 TELNET_CONNECTION Accepted telnet connection from 127.0.0.1...
2014-10-17 14:23:08 TELNET_CONNECTION Closed telnet connection to 127.0.0.1...


Stefan1200

#21
Thank you, thats good news.

I changed now the normal functions like the testing function and update the bot package.

Please download the new 5.3 RC2 and follow the update instructions from the changelog (or do a clean install, if you prefer it). I hope it fix your issues?

Emre

#22
Everything works great!

< JTS3ServerMod
> login 1234567x
< STATUS OK
> instancerunningcount
< 1
< STATUS OK
> quit


Bot started successfully!
Please check the bot log for warning and error messages.


Page 1 with 20 log entries Reload log entries (show latest log entries)

Date Function Type Message
17/Oct/14 11:47:14AM JTS3ServerMod STATUS Activate log level: INFO
17/Oct/14 11:47:14AM JTS3ServerMod STATUS Virtual bot instance "bot1_1" starts now


Bot Settings

Bot Name: bot1_1 Display log Rename Bot
Server IP: 127.0.0.1 - ID / Port: 9987
Bot Log Status: 0 warnings and 0 errors occurred since last bot start on 17/Oct/14 11:47:14AM!
Bot Status: Bot running!
Reload Configuration Reload Configuration - Reconnect Reconnect - Stop Stop


2014-10-17 15:47:13 TELNET_CONNECTION Accepted telnet connection from 127.0.0.1...
2014-10-17 15:47:14 START_INSTANCE Start virtual bot instance bot1_1..


Thank you. My problem is solved by following ur progress.

Stefan1200


Emre

de.stefan1200.jts3servermod.BotConfigurationException: Auto Move needs at least one server group set!
at de.stefan1200.jts3servermod.functions.AutoMove.loadConfig(AutoMove.java:92)
at de.stefan1200.jts3servermod.JTS3ServerMod.reloadConfig(JTS3ServerMod.java:657)
at de.stefan1200.jts3servermod.JTS3ServerMod.loadConfig(JTS3ServerMod.java:1072)
at de.stefan1200.jts3servermod.JTS3ServerMod.loadAndCheckConfig(JTS3ServerMod.java:494)
at de.stefan1200.jts3servermod.JTS3ServerMod.runMod(JTS3ServerMod.java:1281)
at de.stefan1200.jts3servermod.JTS3ServerMod.access$2(JTS3ServerMod.java:1274)
at de.stefan1200.jts3servermod.JTS3ServerMod$1.run(JTS3ServerMod.java:1247)
at java.lang.Thread.run(Thread.java:701)


There many channel and groups.  http://ibin.co/1e3hVTvFIDOD

How easy way upload i have pre-backup automove.cfg?

21,16
22,17
23,18
24,19
25,20
26,43
27,44
28,45
29,46
...

Thank you.


Stefan1200

You could try to import it somehow directly to the MySQL table. But there is no easy way.

Emre