Server crashing -
VerticalGaming - 30.03.2014
The server crashes when I want to create an dynamic object ingame.
The dynamic objects implented in the gamemode does just show like nothing happened.
I attempted to use my backup (When it wasnt happened) but the same results.
So it's not the gamemode itselves.
I get these crash reports in my crashinfo.log
Код:
--------------------------
SA-MP Server: 0.3z
Exception At Address: 0x777522D2 Module: (ntdll.dll)
Registers:
EAX: 0x00000024 EBX: 0x0000005B ECX: 0x004E2520 EDX: 0x00000000
ESI: 0x00000024 EDI: 0x00000020 EBP: 0x0018F320 ESP: 0x0018F30C
EFLAGS: 0x00010216
Stack:
+0000: 0x049079EC 0x00000000 0x0211D560 0x0206E058
+0010: 0x0018F34C 0x0018F35C 0x00493990 0x00000020
+0020: 0x00493FEE 0x00000000 0x049079EC 0x00000000
+0030: 0x0000005B 0x00000FFF 0x0018F334 0x0018ED64
+0040: 0x0018FB44 0x00497FE8 0x004B2D20 0xFFFFFFFF
+0050: 0x00000000 0x0040531E 0x0000005B 0x00000000
+0060: 0x049079BC 0x0018F38C 0x03A14EEC 0x0040575F
+0070: 0x00000001 0x0211D560 0x0211D560 0x0000005A
+0080: 0x03BA5504 0x004010B6 0x0211D560 0x049079EC
+0090: 0x03BC52BC 0x00402B63 0x0211D560 0x0000000E
+00A0: 0x0018F3C4 0x049079BC 0x0018F85C 0x00000001
+00B0: 0x04907E98 0x0211D560 0x00000001 0x00D426E0
+00C0: 0x00D42700 0x00D42BD0 0x00D3ECDC 0x00D429A0
+00D0: 0x00D3ECDC 0x03A14EEC 0x03BC52BC 0x00000000
+00E0: 0x03A10020 0x001B03D0 0x00472DDE 0x0211D560
+00F0: 0x0018F84C 0x000000DA 0x37333931 0x00470037
+0100: 0x00007369 0x5F646D63 0x61657263 0x626F6574
+0110: 0x0047006A 0x0211D560 0x0211D560 0x03A14EEC
+0120: 0x00D3ECC4 0x00000000 0x00000000 0x00000000
+0130: 0x00000000 0x00000000 0x00000000 0x00000000
--------------------------
--------------------------
SA-MP Server: 0.3z
Exception At Address: 0x7775DFE4 Module: (ntdll.dll)
Registers:
EAX: 0xE4FFFFF8 EBX: 0xE5000000 ECX: 0x0018FBEC EDX: 0x00000012
ESI: 0x02040000 EDI: 0x00000000 EBP: 0x0018E824 ESP: 0x0018E814
EFLAGS: 0x00010246
Stack:
+0000: 0xE5000000 0x004B85C8 0x0018FCB0 0x00000000
+0010: 0x0018E838 0x766114AD 0x02040000 0x00000000
+0020: 0xE5000000 0x0018E874 0x00493BF1 0x02040000
+0030: 0x00000000 0xE5000000 0x004B85C8 0xFFFFFFFF
+0040: 0x0018FCB0 0x43280930 0x0018E84C 0x0018E26C
+0050: 0x0018E8CC 0x00497FE8 0x004B2CF0 0xFFFFFFFF
+0060: 0x0018FCBC 0x0044E129 0xE5000000 0x0049E3D7
+0070: 0x004B85C8 0xFFFFFFFF 0x0018E89C 0x004B85C0
+0080: 0x0018FCB0 0x0018FCBC 0x0018E8DC 0x0049DB78
+0090: 0x004A52C0 0x0018FCB0 0x00000103 0x19930520
+00A0: 0x004B85C8 0x00000000 0xFFFFFFFF 0x00000000
+00B0: 0x0018E8B0 0x0018E26C 0x0018E94C 0x00497FE8
+00C0: 0x004B6F08 0x00000001 0x0018E8FC 0x0049E2E6
+00D0: 0x0018FCB0 0x0018EA44 0x004B85C8 0xFFFFFFFF
+00E0: 0x00000000 0x00000000 0x0018E934 0x0049593C
+00F0: 0x0018E9A4 0x0018FCB0 0x0018EA50 0x0018EA44
+0100: 0x004B85C8 0x00000000 0x00000000 0x00000000
+0110: 0x00000000 0x00000000 0x00000000 0x004B85C8
+0120: 0x0018E958 0x7778B499 0x0018E9A4 0x0018FCB0
+0130: 0x0018EA50 0x0018EA44 0x0018FCB0 0x7778B4D4
--------------------------
I updated the streamer plugin, and I'm using ignito's streamer plugin

!
Even with the original one, (the version I had before) it still happens.
I really hope someone can help me out.
If it might help, the /createobj code.
(It happens with any cmd wich has CreateDynamicObject in it)
Код:
CMD:createobj(playerid, params[])
{
new string[128], object;
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
if(PlayerInfo[playerid][pMapper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
if(!mDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on Mapper Duty.");
if(sscanf(params, "i", object)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /createobj [objectid]");
for(new idx=1; idx<MAX_OBJ; idx++)
{
if(!ObjInfo[idx][oModel])
{
GetPlayerPos(playerid, ObjInfo[idx][oX], ObjInfo[idx][oY], ObjInfo[idx][oZ]);
ObjInfo[idx][oModel] = object;
oldoID = ObjInfo[idx][oModel];
oldodX = ObjInfo[idx][oX];
oldodY = ObjInfo[idx][oY];
oldodZ = ObjInfo[idx][oZ];
oldodRX = ObjInfo[idx][oRX];
oldodRY = ObjInfo[idx][oRY];
oldodRZ = ObjInfo[idx][oRZ];
ObjInfo[idx][oX] = ObjInfo[idx][oX] + 2;
ObjInfo[idx][oY] = ObjInfo[idx][oY] + 2;
ObjInfo[idx][oRX] = 0;
ObjInfo[idx][oRY] = 0;
ObjInfo[idx][oRZ] = 0;
// Creating
format(string, sizeof(string), "Object ID: %d (Model ID: %d)", idx, ObjInfo[idx][oModel]);
ObjInfo[idx][obj] = CreateDynamicObject(ObjInfo[idx][oModel], ObjInfo[idx][oX], ObjInfo[idx][oY], ObjInfo[idx][oZ], ObjInfo[idx][oRX], ObjInfo[idx][oRY], ObjInfo[idx][oRZ]);
ObjInfo[idx][oText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, ObjInfo[idx][oX], ObjInfo[idx][oY], ObjInfo[idx][oZ], 10);
// Text
format(string, sizeof(string), "MapperWarn: %s has created object ID %d. (Object: %d)", RPN(playerid), idx, object);
SendMapperMessage(COLOR_GREEN, 1, string);
Log("logs/cbject.log", string);
idx = MAX_OBJ;
}
}
return 1;
}
Plugins used:
Код:
Whirlpool.so
sscanf.so
streamer.so
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>
Re: Server crashing -
Bashur - 30.03.2014
Won't work either when i tested the script using that same command, some wierd glitch, or the server that can't handle it
Re: Server crashing -
SiraBots - 30.03.2014
First make sure all of your plugins are up to date. I had exact this same issue with my Whirlpool.so on my Linux-based server. Download the latest version and re-compile, try that first.
Re: Server crashing -
KilotD - 31.03.2014
RE-COMPILE YOUR GM with the newPlugins that you replaced