TS3Connector - deselected virtualserver
#1

Hi, i do a bot on my ts3 server and i use plugin TS3Connector. I do easy script and when it connect to TS3 server i have something that in logs of ts3:

Код:
<16:01:24> "Unknown from 91.196.50.163:38371" connected to channel "[cspacer0]Lobby"
<16:01:24> "Unknown from 91.196.50.163:38371" disconnected (deselected virtualserver)
Script:
Код:
#include <a_samp>
#include <TSConnector>

#define TS3_USER 	"aaa"
#define TS3_PASS 	"aaa"
#define TS3_HOST 	"91.196.50.163"
#define TS3_PORT 	9987
#define TS3_QPORT	10011

public OnFilterScriptInit()
{
	print("+ Łączenie z serwerem TS3");
	TSC_Connect(TS3_USER, TS3_PASS, TS3_HOST, TS3_PORT, TS3_QPORT);
	TSC_ChangeNickname("Inferno24.pl - BOT");
	TSC_SendServerMessage("Inferno24.pl - Serwerowy bot połączył się z serwerem.");
	return 1;
}

public OnFilterScriptExit()
{
	TSC_Disconnect();
	return 1;
}

public TSC_OnError(TSC_ERROR_TYPE:error_type, error_id, const error_msg[])
{
	printf("[TS3Bot Error %d]%s", error_id, error_msg);
	return 1;
}
What i must do?
Reply
#2

Any help? pls!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)