Streamer plugin bugged. -
VerticalGaming - 20.03.2014
I've been trying everything.
But when I do /makeadmin, or /createobj, or w/e.
Server crashes.
I firstly requived messages in my server.log.
Код:
[00:52:27] *** CreateDynamicObject: Expecting 11 parameter(s), but found 12
A few hundred of them.
Then I updated it, and they were gone. (Also the objects are now being created IG)
Well, Now.. By doing /makemapper, or w/e. The server crashes. I cant actually do any cmd, nor create any obj.
The makemapper cmd, if it might help a bit.
Код:
CMD:makemapper(playerid, params[])
{
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
if(PlayerInfo[playerid][pAdmin] >= 8 || PlayerInfo[playerid][pMapper] >= 5)
{
new playerb, admin, string[128], string2[128];
if(sscanf(params, "ui", playerb, admin)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /makemapper [playerid] [level]");
if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
if(admin < 0 || admin > 5) return SendClientMessage(playerid, COLOR_GREY, "Mapper levels are between 1 and 5.");
if(PlayerInfo[playerb][pMapper] != admin)
{
new log[256];
if(PlayerInfo[playerb][pMapper] < admin)
{
format(string, sizeof(string), "AdmWarn: %s has {33AA33}promoted {AA3333}%s to level {33AA33}%d {AA3333}Mapper.", RPN(playerid), RPN(playerb), admin);
format(string2, sizeof(string2), "MapperWarn: %s has {33AA33}promoted {AA3333}%s to level {33AA33}%d {AA3333}Mapper.", RPN(playerid), RPN(playerb), admin);
format(log, sizeof(log), "AdmWarn: %s (%s) has promoted %s (%s) to level %d Mapper.", RPN(playerid), RPIP(playerid), RPN(playerb), RPIP(playerb), admin);
}
else if(PlayerInfo[playerb][pMapper] > admin)
{
format(string, sizeof(string), "AdmWarn: %s has {FF9900}demoted {AA3333}%s to level {FF9900}%d {AA3333}Mapper.", RPN(playerid), RPN(playerb), admin);
format(string2, sizeof(string2), "MapperWarn: %s has {FF9900}demoted {AA3333}%s to level {FF9900}%d {AA3333}Mapper.", RPN(playerid), RPN(playerb), admin);
format(log, sizeof(log), "AdmWarn: %s (%s) has demoted %s (%s) to level %d Mapper.", RPN(playerid), RPIP(playerid), RPN(playerb), RPIP(playerb), admin);
}
Log("logs/makehelper.log", log);
PlayerInfo[playerb][pMapper] = admin;
SendAdminMessage(COLOR_DARKRED, 1, string);
SendMapperMessage(COLOR_DARKRED, 1, string2);
if(!PlayerInfo[playerb][pMapper])
{
SendClientMessage(playerb, COLOR_DARKRED, string2);
}
}
else SendClientMessage(playerid, COLOR_GREY, "Player already has this Mapper level.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
}
return 1;
}
I really hope somebody can help me out.
Re: Streamer plugin bugged. -
VerticalGaming - 20.03.2014
After checking again, I've noticed it's crashing at EVERY command.
Includes used:
Код:
#include <a_samp>
#include <a_players>
#include <dini>
#include <dudb>
#include <dutils>
#include <foreach>
#include <sscanf2>
#include <zcmd>
#include <streamer>
#include <OPSP>
#include <progress>
#include <yom_buttons>
#include <gvc>
Plugins used:
Код:
streamer.dl
sscanf.dl
Whirlpool.dl
Re: Streamer plugin bugged. -
VerticalGaming - 21.03.2014
bump
Re: Streamer plugin bugged. -
Carac - 21.03.2014
First of all, don't bump your threads. The second thing I want to ask you is to show us the errors it gave you, use nativechecker to find the errors in your server log.
AW: Streamer plugin bugged. -
Macronix - 21.03.2014
Update your streamer plugin + streamer.inc
Re: Streamer plugin bugged. -
Carac - 21.03.2014
Your streamer.dll is more recent/older than your streamer.inc, I think.
What Macronix said, an update will probably fix it.