Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[BOT] ABot - Darmowy bot na Twój serwer TeamSpeak


artur8889

Rekomendowane odpowiedzi

  • Odpowiedzi 1 tys.
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

dlaczego ten bot zżera takie potężne ilości ramu? Da się to ograniczyć? Ludzie ta zużycie ramu przez tego bota wynosi 75% i ciągle rośnie....

ja tu chciałem kupic płatna wersje ale jak to ma tak wygladac to podziekuje

Specjalista
Opublikowano

dlaczego ten bot zżera takie potężne ilości ramu? Da się to ograniczyć? Ludzie ta zużycie ramu przez tego bota wynosi 75% i ciągle rośnie....

ja tu chciałem kupic płatna wersje ale jak to ma tak wygladac to podziekuje

 

Darmowa wersja taka jest. Płatna wersja już tyle nie bierze. 

Opublikowano

 

dlaczego ten bot zżera takie potężne ilości ramu? Da się to ograniczyć? Ludzie ta zużycie ramu przez tego bota wynosi 75% i ciągle rośnie....

ja tu chciałem kupic płatna wersje ale jak to ma tak wygladac to podziekuje

 

Darmowa wersja taka jest. Płatna wersja już tyle nie bierze. 

 

W darmowej wersji zużycie ramu rośnie cały czas ;)

Znów w płatnej wszystko działa jak należy.

 

Pozdrawiam.

 

Opublikowano

Tak jak użytkownik wyżej. U mnie zużycie się zwiększa do momentu wykorzystania całej pamięci, wtedy wywala pierwszą instancję i koniec bota ;) Naprawdę polecam kupić pełną wersję, ma więcej funkcji, jest stabilna i według mnie nie kosztuje dużo.

Opublikowano

Płatną wersję również polecam, natomiast autor mógłby poprawić parę błędów w wersji darmowej ponieważ takie błędy zniechęcają użytkowników do zakupu.

Opublikowano

Powiem tak.

 

BOT jest fajny, lecz ciągnie tyle RAM'u że aż szkoda gadać. Nie użyjecie go na swoim serwerze bo Wam wywali po godzinie. "Zapłacicie a dostaniecie"

 

Pozdrawiam.

giphy.gif

 

Opublikowano

A tak dla jasności BoT aby nie było więcej spamu, cena bota to 75 zł, jeżeli chcesz go zakupić skontaktuj się z autorem (odpowiada dosyć szybko), autor służy również pomocą przy instalacji i konfiguracji. Wersja płatna bota jest o wiele lepsza od darmowej i nie posiada tylu błędów. To chyba tyle ...

Odpowiedziałem z góry na pytania które się ciągle powtarzają.

Opublikowano

Witam przy opdaleniu wyskakują takie błędy:

Konsola bota:
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 33
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 33
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 33
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 33
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 40
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 40
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 40
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 33
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 28
PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 29
PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 40
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /home/abot/functions/top10connections.php on line 48
PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /home/abot/functions/top10connections.php on line 50

Opublikowano

Nie działa, bot nie wchodzi na serwer. To mój config: 

http://pastebin.com/bLtssXcE

Przy starcie pojawia się następujący komunikat:

bot.sh: 25: bot.sh: [[: not found
bot.sh: 32: bot.sh: [[: not found

#edit Bot "niby" działa, a konkretniej tylko 1 funkcja, wskazująca administracje online.


animaatjes-16-e2da7b8e7f46849a5b8e8fc22e

Opublikowano

wie ktoś czy ten bot jeszcze działa bo u mnie jest problem gdyż jak załączam bota to wywala aktualizator i przy tym inne boty z serwera 

7268414873585011531442.jpeg

Opublikowano

wie ktoś czy ten bot jeszcze działa bo u mnie jest problem gdyż jak załączam bota to wywala aktualizator i przy tym inne boty z serwera 

bot dziala tylko zabiera wiele ramu pewnie masz malo ramu na maszynie dlatego wywala wszystko :/.

Opublikowano

Pomocy wypluwa:
 

Konsola bota:
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/autopoke.php on line 30
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/welcomemsg.php on line 59
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/channelgroup.php on line 20
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/top10connections.php on line 24
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /ABot/functions/top10connections.php on line 48
PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /ABot/functions/top10connections.php on line 50
Opublikowano

 

Pomocy wypluwa:

 

Konsola bota:
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/adminlist.php on line 87
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /ABot/functions/adminlist.php on line 29
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/autopoke.php on line 30
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/welcomemsg.php on line 59
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/channelgroup.php on line 20
PHP Warning:  Invalid argument supplied for foreach() in /ABot/functions/top10connections.php on line 24
PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /ABot/functions/top10connections.php on line 48
PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /ABot/functions/top10connections.php on line 50

 

Masz połączenie z bazą danych?

strange1.jpg

Opublikowano

Witam.
Mam problem. po odpaleniu bot-a komendą: 
php core.php   pojawia się błąd:

 

PHP Notice: Undefined index: i in /home/moj/Abot/core.php on line 51
PHP Notice: Undefined index: i in /home/moj/Abot/core.php on line 55
PHP Notice: Undefined index: i in /home/moj/Abot/core.php on line 61
PHP Notice: Undefined index: i in /home/moj/Abot/core.php on line 93

 

       PS.: Gdy uruchamiam bot-a poprzez ./bot.sh start uruchamia się normalnie.
 
Ale no właśnie dla czego pokazuje się błąd?
Po wejściu w plik core.php i odnalezieniu danych linijek ukazuje się nam :
 

if($options['i']==1 )

oraz 

if($options['i']==2 )

Fragment kodu: 

 
 

$options = getopt( "i:" );

//Ustawianie nazw istancji
if($options['i']==1 )
{
$query->setName($config['bot']['name']);
}
if($options['i']==2 )
{
$query->setName($config['commander']['name']);
}

//Instancja 1 - Aktualizator
if($options['i']==1 )

Po usunięciu 
 

 

if($options['i']==1 )
{
$query->setName($config['bot']['name']);
}
if($options['i']==2 )
{
$query->setName($config['commander']['name']);
}

 

 błąd się już nie pokazuje . Bot się uruchamia, jednak tylko jedna instancja.
 
Zna ktoś rozwiązanie tego problemu?
O to cały kod.:

 

 

 

<?php
/***************************

ABot v0.5

Author: Artur ArrMeeR Fijalkowski & Marcin Tyradel Jendrzejowski

Contact: [email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script> , [email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script>

Licensed to: PvPNetwork

***************************/

date_default_timezone_set('Europe/Warsaw');

require_once 'config/teamspeak.php';
require_once 'include/ts3admin.class.php';
require_once 'include/functions.php';
require_once 'include/commander.php';

//Import wszystkich funkcji

foreach (glob("functions/*.php") as $filename)
{
include $filename;
}

//Import wszystkich komend

foreach (glob("commands/*.php") as $filename)
{
include $filename;
}

$query = new ts3admin($teamspeak['address'], $teamspeak['tcp']);

if($query->getElement('success', $query->connect())) {

$query->login($teamspeak['login'],$teamspeak['password']);

$query->selectServer($teamspeak['udp']);

$tsAdminSocket = $query->runtime['socket'];

$options = getopt("i:");

//Ustawianie nazw istancji
if($options['i']==1)
{
$query->setName($config['bot']['name']);
}
if($options['i']==2)
{
$query->setName($config['commander']['name']);
}

//Instancja 1 - Aktualizator
if($options['i']==1)
{

while (true) {

$datapetli = date('Y-m-d G:i:s');

$core = $query->getElement('data',$query->whoAmI());
$query->clientMove($core['client_id'],$config['bot']['default_channel']);

for($i=0; $i<count($config['bot']['functions']); $i++)
{
if($config[$config['bot']['functions'][$i]]['enabled'])
{
if(can_do($datapetli, $config[$config['bot']['functions'][$i]]['data'], convertinterval($config[$config['bot']['functions'][$i]]['interval'])))
{
$funkcja = $config['bot']['functions'][$i];
$funkcja();
$config[$config['bot']['functions'][$i]]['data'] = $datapetli;
break;
}
}
}
$admins = array();
}
}

//Instancja 2 - Commander
if($options['i']==2)
{
while(true)
{
sendCommand("servernotifyregister event=textprivate");
$core = $query->getElement('data',$query->whoAmI());
$query->clientMove($core['client_id'],$config['commander']['default_channel']);

$socketdata = getData();
$command = $socketdata['msg'];

for($i=0; $i<count($config['commander']['commands_list']); $i++)
{
if($command==$config['commander']['commands'][$config['commander']['commands_list'][$i]]['usage'])
{
$komenda = $config['commander']['commands_list'][$i];
$komenda();
break;
}
}

}
}


}

?>

 

 

Opublikowano

 

wie ktoś czy ten bot jeszcze działa bo u mnie jest problem gdyż jak załączam bota to wywala aktualizator i przy tym inne boty z serwera 

bot dziala tylko zabiera wiele ramu pewnie masz malo ramu na maszynie dlatego wywala wszystko :/.

 

Wystarczy crontaba zapętlić na ./bot.sh stop && ./bot.sh start

A bocik w 30 minut zjadł mi 2.5GB ramu *hohohoho*  :((

thats.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...