Rcon bug
#1

If i pass a command which is a rcon command for example say, gmx, etc it work fine but when i pass a command which isn't a rcon command then server crash ...
Pic @ http://www.persianupload.com/4724726


Exception At Address: 0x102603DE

Registers:
EAX: 0x00000001 EBX: 0x0113C84C ECX: 0xAABF3C7E EDX: 0x00000000
ESI: 0x00BCF8E0 EDI: 0x00BCFAB8 EBP: 0x00BCF8A8 ESP: 0x00BCF888
EFLAGS: 0x00000246

Stack:
+0000: 0x004A1170 0x00000000 0x000000FF 0x00000001
+0010: 0x00000000 0x00000001 0x00000001 0xFFFFFFFE
+0020: 0x00BCF8C8 0x1025CB53 0x00BCF9B0 0x00000100
+0030: 0x017590D4 0x00000000 0x00BCF8DC 0x00BCF8DC
+0040: 0x00BCFAB8 0x01739D88 0x00BCF9B0 0x00000100
+0050: 0x017590D4 0x00BCF9B0 0x00BCFBD8 0x00BCFAC4
+0060: 0x0113C84C 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+0070: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+0080: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+0090: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+00A0: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+00B0: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+00C0: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+00D0: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+00E0: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+00F0: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+0100: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+0110: 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC
+0120: 0xCCCCCCCC 0xCCCCCCCC 0xFEFEFE00 0xFEFEFEFE
+0130: 0xFEFEFEFE 0xFEFEFEFE 0xFEFEFEFE 0xFEFEFEFE
Reply
#2

Make sure that you are running the 0.3a R7 server.
Reply
#3

Quote:
Originally Posted by dugi
Make sure that you are running the 0.3a R7 server.
espicially this happens on R7
it's not happening on 2x, but i don't know about R6 or before it
Reply
#4

I've tested it myself and it doesn't seem to crash it. Are you using any plugins on your server?
Reply
#5

Quote:
Originally Posted by dugi
I've tested it myself and it doesn't seem to crash it. Are you using any plugins on your server?
yes my own, but the only releation is here

onrconcommand(cmd[]){
return XXX(cmd);
}

my include :
native XXX(cmd[]);

on the c++ :

XXX(amx, params...){
somecodehere;
return 0/1;
}

it just do some thing on the win(you take it as a dir creator), the only important thing is what do i return and it's 0/1 which in both case it don't should cause crash server...

and even if i'm wrong, why it works fine with 2x and the problem is only with R7 ? (so it's a server bug.....)
Reply
#6

Offtopic @ http://www.persianupload.com/7428109
Reply
#7

i think i found out the why ...
the only visible difference about rcon between 2x and 3a is the 3a futher which let you disable/enable whole rcon by server settings
so Kye should search about the bug around there
Reply
#8

Its not a sa-mp server crash but its a crash caused by your plugin. And also you are not running version R7 as it would say so at the top of crash report.
Reply
#9

Quote:
Originally Posted by dugi
Its not a sa-mp server crash but its a crash caused by your plugin. And also you are not running version R7 as it would say so at the top of crash report.
I am running R7, here you are, whole file @ http://www.persianupload.com/1595122

also sugi look, i asked a question, if problem is with plugin why it works fine with 2x and it don't work with 0.3a
can you please answer it !?...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)