collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: TS3 Status Module  (Read 22944 times)

0 Members and 1 Guest are viewing this topic.

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #15 on: March 02, 2011, 07:01:37 pm »
this is the code of you module
the log seems okay except of this:

line&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$result</span><span style="color: #007700">[</span><span style="color: #DD0000">'data'</span><span style="color: #007700">][</span><span style="color: #DD0000">'virtualserver_clientsonline'</span><span style="color: #007700">];<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">$this&nbsp;</span><span style="color: #007700">-&gt;&nbsp;</span><span style="color: #0000BB">bot&nbsp;</span><span style="color: #007700">-&gt;&nbsp;</span><span style="color: #0000BB">core</span><span style="color: #007700">(</span><span style="color: #DD0000">'settings'</span><span style="color: #007700">)&nbsp;-&gt;&nbsp;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'TeamSpeak3'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'ShowServerInfo'</span><span style="color: #007700">))&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #

this is the code of your module. This is not normal I think....

regards

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #16 on: March 02, 2011, 07:18:51 pm »
How did you download the module? And did you follow the installation instructions?

Try running:
Code: [Select]
php -l TeamSpeak3.phpDo you get:
Code: [Select]
No syntax errors detected in TeamSpeak3.php

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #17 on: March 02, 2011, 08:48:35 pm »
# php -l TeamSpeak3.php
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Warning:  Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
No syntax errors detected in TeamSpeak3.php

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #18 on: March 02, 2011, 10:18:25 pm »
Did you download and unzip the teamspeak class php file?

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #19 on: March 02, 2011, 10:38:21 pm »
yes I did this.
ts3adminclass.php directly in the extra folder, or do I have to create a subfolder? like whois-update

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #20 on: March 02, 2011, 10:41:29 pm »
Does the bot startup ok? Did you manage to change the settings in the module?

If you want help, you have to provide a way of reproducing the error..

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #21 on: March 02, 2011, 10:56:55 pm »
this is what I get if I start the bot (at the end)

</code>Zornbot [MOD-CUSTOM]   [LOAD]   TeamSpeak3.php


Zornbot [LOGIN]   [STATUS]   Connecting to aoc server aoc-eu-um.live.ageofconan.com:7000
Zornbot [LOGIN]   [STATUS]   Authenticating
Sending RPCPacket:0
Received RPC Packet:0
Sending RPCPacket:1
Received RPC Packet:5
Received RPC Packet:1
Sending RPCPacket:2628963075
Received RPC Packet:1572964753
Sending RPCPacket:1783917889
Received RPC Packet:368553762
Unsupported rpcpacket type (in, 368553762)
Received RPC Packet:543911653
Unsupported rpcpacket type (in, 543911653)
Received RPC Packet:543911653
Unsupported rpcpacket type (in, 543911653)
Received RPC Packet:543911653
Unsupported rpcpacket type (in, 543911653)
Received RPC Packet:543911653
Unsupported rpcpacket type (in, 543911653)
Received RPC Packet:543911653
Unsupported rpcpacket type (in, 543911653)
Received RPC Packet:201968165
Sending RPCPacket:3755495822
Received RPC Packet:3289695727
Sending RPCPacket:4016139958
Received RPC Packet:4170821964
Received RPC Packet:1334945164
Received RPC Packet:590742969
Sending RPCPacket:1014796908
Received RPC Packet:1525492320
Received RPC Packet:598094586
Bot is now logged in.

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #22 on: March 02, 2011, 10:59:09 pm »
I don't no If the problem of starting the bot correctly is a problem?
Do you remeber? I start it so:

/usr/bin/php -c ./  Main.php

Restart is also not possible. After restart I have to start the bot manually.

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #23 on: March 03, 2011, 01:20:25 am »
After 3 posts, I still don't know where and when you get the error...

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #24 on: March 03, 2011, 09:45:08 am »
Restart is also not possible. After restart I have to start the bot manually.

Give us the last lines outputted after you perform "!restart". Does it shutdown completly?

Did you download the .phps or .zip from Kentarii's post?
If you did the .phps make sure you didnt just download it but copy pasted it into a .php file. And also make sure you didnt get wierd chars with you..
For you it would be safest to download the .zip and extract it so you can put the fil into your costumize folder to prevent any wrong chars there.

Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #25 on: March 07, 2011, 06:11:31 pm »
Hi Kentarii,

got it running. Had to do some reinstalls from php.
Now it works! Perfect work! Really!

regards

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: TS3 Status Module
« Reply #26 on: March 07, 2011, 07:05:13 pm »
Glad you got it working :)

Offline Iheaca

  • BeBot User
  • **
  • Posts: 33
  • Karma: +0/-0
Re: TS3 Status Module
« Reply #27 on: April 05, 2011, 09:42:07 am »
Works great, thanks a lot

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 231
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal