Teamspeak Smart Banner, ClockBot, Onlinebot and more

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
understand, but why no a script: logged in, set how many user and after logged out.
so i cant run it on my hoster as cronjob ... it more easy like installed php to my dedi-server
It should get disconnected. at least for me it does!
 

MaBo2016

Active Member
Feb 7, 2016
8
1
78
It should get disconnected. at least for me it does!

it dont do this, with cronjob it comes on my server, check how many user and stay ... then with next cronejob next query is coming, do the same and stay, next coming, do same and so on and so i have in shortly time very much same querys on server :D
in the php code is not a logout command, only a stay = sleep - command
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
it dont do this, with cronjob it comes on my server, check how many user and stay ... then with next cronejob next query is coming, do the same and stay, next coming, do same and so on and so i have in shortly time very much same querys on server :D
in the php code is not a logout command, only a stay = sleep - command
I would suggest you to delete the php file, download it and set your server permissions again!
Maybe you have messed up something or deleted something important from the file (without know that).
Sometimes, delete and re-install something is the best solution.
 

Ramadi

Member
Mar 12, 2016
79
19
43
in AminBot
it's run with screen command but I couldn't see it connected to my server or modifying the channel
any idea ?
 

0x0539

Retired Staff
Contributor
Jan 30, 2016
1,334
1,146
254
in AminBot
it's run with screen command but I couldn't see it connected to my server or modifying the channel
any idea ?
Did you double check your config? Make sure you made no typo's, if it's not run under server admin query, are you sure the user you've given has enough rights to modify a channel?
 

Ramadi

Member
Mar 12, 2016
79
19
43
Did you double check your config? Make sure you made no typo's, if it's not run under server admin query, are you sure the user you've given has enough rights to modify a channel?
yeah i'm sure about it, and its' also run under serveradmin query

Or instead of @0x0539 said, maybe you did type something wrong in the cron job ;)
can u show me please the cron job that I need to add, plz
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
can u show me please the cron job that I need to add, plz
These are the two lines you need to add to your crontab:
1) @reboot php /path/to/your/file/adminsbot.php
2) * * * * * php /path/to/your/file/adminsbot.php

The first line will start the bot on your vps reboot and the second one will run it continiously. (The bot connects to your server every minute - checks the online admins (server group ids) changes the descritpion of the channel you set and leaves the server).
 

Ramadi

Member
Mar 12, 2016
79
19
43
http://prntscr.com/b6rxms this is the config file

and this is the corn job
@reboot php /home/ts3/admin/adminsbot.php
* * * * * php /home/ts3/admin/adminsbot.php

second one was already added and I just added the first one

still the same problem
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
http://prntscr.com/b6rxms this is the config file

and this is the corn job
@reboot php /home/ts3/admin/adminsbot.php
* * * * * php /home/ts3/admin/adminsbot.php

second one was already added and I just added the first one

still the same problem
In the php file, where it says "move_to_channel" this is where the bot will be moved when it is connected.
The "write_channel" is the channels which name and description will be changed (make sure that the number you added is for this channel - if channel number doesn't not exist the bot won't work)
And where it says "groups" make sure that you add the actuall server group ID and not the Sort ID. (If you have these wrong also the bot won't work)
 

Ramadi

Member
Mar 12, 2016
79
19
43
In the php file, where it says "move_to_channel" this is where the bot will be moved when it is connected.
The "write_channel" is the channels which name and description will be changed (make sure that the number you added is for this channel - if channel number doesn't not exist the bot won't work)
And where it says "groups" make sure that you add the actuall server group ID and not the Sort ID. (If you have these wrong also the bot won't work)

"move_to_channel" and "move_to_channel"
I know what does it mean - and the channel is exist also
I tried to make "move_to_channel" the same because it didn't work with (1) and (-1)

"groups" also I'm just trying with 2 server groups - 2,6 or 6,7 and both doesn't work
and yeah - it's the servergroup ID not the sort ID
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
"move_to_channel" and "move_to_channel"
I know what does it mean - and the channel is exist also
I tried to make "move_to_channel" the same because it didn't work with (1) and (-1)

"groups" also I'm just trying with 2 server groups - 2,6 or 6,7 and both doesn't work
and yeah - it's the servergroup ID not the sort ID
I am sorry, didn't mean to say something about explaining what these do. ;)
I really don't know why you have this problem. I suggest you to delete the script and re-install it! Maybe there is a bug and with that way it will be fixed!
 

Ramadi

Member
Mar 12, 2016
79
19
43
I am sorry, didn't mean to say something about explaining what these do. ;)
I really don't know why you have this problem. I suggest you to delete the script and re-install it! Maybe there is a bug and with that way it will be fixed!
it's okay
I tried many times to reupload the files but the same every times
I create a serverquery login with a random name"estgsdf" to check if it's connect to the server or not
Code:
query from 60 xxx.xxx.xxx.xxx:52314 issued: login with account "estgsdf"(Jp37556sRzynKqXsdfgfRR3pOOY=)
and that's what I found
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
it's okay
I tried many times to reupload the files but the same every times
I create a serverquery login with a random name"estgsdf" to check if it's connect to the server or not
Code:
query from 60 xxx.xxx.xxx.xxx:52314 issued: login with account "estgsdf"(Jp37556sRzynKqXsdfgfRR3pOOY=)
and that's what I found
That means that there is a connections to the server, but there is a problem with the permissions. you should check that the client you set has the necesary permissions to do the changes!
 

Ramadi

Member
Mar 12, 2016
79
19
43
That means that there is a connections to the server, but there is a problem with the permissions. you should check that the client you set has the necesary permissions to do the changes!
yes - It has "Admin Server Query" and that was only for testing

I even use serveradmin query
Code:
|query from 59 xxx.xxx.xxx.xxx:34597 issued: login with account "serveradmin"(serveradmin)

but it didn't connect to the server at all
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
yes - It has "Admin Server Query" and that was only for testing

I even use serveradmin query
Code:
|query from 59 xxx.xxx.xxx.xxx:34597 issued: login with account "serveradmin"(serveradmin)

but it didn't connect to the server at all
If you don't have the Admin Server Query on your own client or have the Query View Power at 100 you can't see it even if it is logged in!
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,855
381
yes - It has "Admin Server Query" and that was only for testing

I even use serveradmin query
Code:
|query from 59 xxx.xxx.xxx.xxx:34597 issued: login with account "serveradmin"(serveradmin)

but it didn't connect to the server at all
If you want to give me your teamspeak ip address i can come and take a look ! :)
 
Top