Server crash with TS3Connector - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (
https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: Server crash with TS3Connector (
/showthread.php?tid=534578)
Server crash with TS3Connector -
inferno211 - 30.08.2014
Hi! I use the
TS3Connectror by maddinat0r and plugin loads correctly but when I turn on a script when i have only connect to TS3Server my SA:MP server is crashed. I have installes debug plugin and he write me tu log that text:
Code:
[15:42:59] ===============================
[15:42:59] Loaded.
[15:42:59] Loading plugin: TSConnector
[15:42:59] >> plugin.TSConnector: v1.0 loaded.
[15:42:59] Loaded.
[15:42:59] Loaded 9 plugins.
[15:42:59]
[15:42:59] Filterscripts
[15:42:59] ---------------
[15:42:59] Loading filterscript 'v.amx'...
[15:42:59]
[15:42:59]
[15:42:59]
[15:42:59] =======================================
[15:42:59] | |
[15:42:59] | YSI version 3.09.0684 |
[15:42:59] | By Alex "Y_Less" Cole |
[15:42:59] | |
[15:42:59] =======================================
[15:42:59]
[15:42:59] Id połączenia 1.
[15:42:59] [MySQL]Pomyślnie połączono z bazą danych.
[15:42:59] Loaded 1 filterscripts.
[15:42:59] Total vehicles from files: 0
[15:42:59]
---------------------------------------
[15:42:59] Running Grand Larceny - by the SA-MP team
[15:42:59] ---------------------------------------
[15:42:59] Number of vehicle models: 0
Console input: loadfs ts3
[15:43:06] [debug] Server crashed while executing ts3.amx
[15:43:06] [debug] AMX backtrace:
[15:43:06] [debug] #0 native TSC_Connect () [673b83d0] from TSConnector.DLL
[15:43:06] [debug] #1 00000050 in public OnFilterScriptInit () from ts3.amx
[15:43:06] [debug] System backtrace:
[15:43:06] [debug] #0 67239339 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\MSVCR120.dll
[15:43:06] [debug] #1 6739bbe4 in boost::throw_exception<boost::system::system_error> () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\TSConnector.DLL
[15:43:06] [debug] #2 67394231 in boost::asio::detail::do_throw_error () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\TSConnector.DLL
[15:43:06] [debug] #3 6739771d in CNetwork::Connect () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\TSConnector.DLL
[15:43:06] [debug] #4 673b8527 in Native::TSC_Connect () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\TSConnector.DLL
[15:43:06] [debug] #5 004010b6 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\samp-server.exe
[15:43:06] [debug] #6 67cabeb2 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\crashdetect.DLL
[15:43:06] [debug] #7 67cb39e2 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\crashdetect.DLL
[15:43:06] [debug] #8 67cb5e26 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\crashdetect.DLL
[15:43:06] [debug] #9 67cabf3f in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\crashdetect.DLL
[15:43:06] [debug] #10 67cb3a0e in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\crashdetect.DLL
[15:43:06] [debug] #11 67a149fb in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\plugins\streamer.DLL
[15:43:06] [debug] #12 0046a2a8 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\samp-server.exe
[15:43:06] [debug] #13 74d41719 in ?? () from C:\Windows\syswow64\MSCTF.dll
[15:43:06] [debug] #14 00497239 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\samp-server.exe
[15:43:06] [debug] #15 004856fe in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\samp-server.exe
[15:43:06] [debug] #16 00487933 in ?? () from C:\Users\Piotrek\Desktop\ptsmapa\samp-server.exe
[15:43:06] [debug] #17 0235fd8c in ?? ()
This is my script with TS3Connector:
Code:
#include <a_samp>
#include <TSConnector>
#define FILTERSCRIPT
public OnFilterScriptInit()
{
TSC_Connect("serveradmin", "password", "ptsrp.pl", 9987);
TSC_ChangeNickname("SA:MP Bot");
return 1;
}
public OnFilterScriptExit()
{
TSC_Disconnect();
return 1;
}
What I must do to it work on my Windows Server?
Re: Server crash with TS3Connector -
maddinat0r - 30.08.2014
Next time just create a post in the TSConnector thread, not a whole new thread in a wrong section.
You have to use an
IP address, hostnames are not supported (yet).