This isnt normal....
#1

PHP код:
[09:58:43] [debugServer crashed while executing ffs.amx
[09:58:43] [debugAMX backtrace:
[
09:58:43] [debug#0 00000030 in ?? () at <unknown file>:0
[09:58:43] [debug#1 00000030 in public OnPlayerCommandReceived () at <unknown file>:0
[09:58:43] [debug#2 native CallLocalFunction () from samp03svr
[09:58:43] [debug#3 00029ae8 in public OnPlayerCommandText (playerid=29, cmdtext[]=@010046c4 "/6000000000000000000000000000000000000000000000000000000000000000000000000000000...") at C:\Users\iLearner\Desktop\ffss\pawno\include\zcmd.inc:85 
PHP код:
[20:30:29] [debugServer crashed while executing ffs.amx
[20:30:29] [debugAMX backtrace:
[
20:30:29] [debug#0 00000024 in ?? () at <unknown file>:0
[20:30:29] [debug#1 00000020 in public OnPlayerCommandReceived () at <unknown file>:0
[20:30:29] [debug#2 native CallLocalFunction () from samp03svr
[20:30:29] [debug#3 00029ae8 in public OnPlayerCommandText (playerid=71, cmdtext[]=@010046c4 "/pm 56 I left the gang because your you speak English and I don't understand you...") at C:\Users\iLearner\Desktop\ffss\pawno\include\zcmd.inc:85 
PHP код:
[20:48:12] [debugServer crashed while executing ffs.amx
[20:48:12] [debugAMX backtrace:
[
20:48:12] [debug#0 00000024 in ?? () at <unknown file>:0
[20:48:12] [debug#1 00000020 in public OnPlayerCommandReceived () at <unknown file>:0
[20:48:12] [debug#2 native CallLocalFunction () from samp03svr
[20:48:12] [debug#3 00029ae8 in public OnPlayerCommandText (playerid=48, cmdtext[]=@010046c4 "/pm 12 I left the gang because your you speak English and I don't understand you...") at C:\Users\iLearner\Desktop\ffss\pawno\include\zcmd.inc:85 
What is it what crashes??

And some random backtraces
PHP код:
[21:19:16] [debugRun time error 4"Array index out of bounds"
[21:19:16] [debug]  Accessing element at index 32 past array upper bound 31
[21:19:16] [debugAMX backtrace:
[
21:19:16] [debug#0 00029be0 in public OnPlayerCommandText (playerid=8, cmdtext[]=@010046c4 "/VCZEDESEKGTILFLFRTMNRKKFELRDEDWFDLDKEEMDKSMLFLO") at C:\Users\iLearner\Desktop\ffss\pawno\include\zcmd.inc:94 
Reply
#2

Compile with -d3.

The last one is bigger than 32 characters, if I recall correctly ZCMD handles 31 + null (32) characters.
Reply
#3

Update ZCMD to I-ZCMD
https://sampforum.blast.hk/showthread.php?tid=576114
Reply
#4

updated to izcmd, yet:

PHP код:
[04:27:31] [debugServer crashed while executing ffs.amx
[04:27:31] [debugAMX backtrace:
[
04:27:31] [debug#0 00000065 in ?? () at <unknown file>:0
[04:27:31] [debug#1 00000065 in public OnPlayerCommandText () at <unknown file>:0 
crashes & no longer tells id & cmd text
Reply
#5

Anyone could tell me a solution please? i have -d3
Reply
#6

Probably a messed up command. Could you be so kind and show the code?
Reply
#7

it's your command processor, consider changing it or try to fix it. Server crashes due to a bug that causes something in the script to try to access the index 32 in an array which the last index is 31. That's most likely happening in the command processor.
Reply
#8

I've changed it to izcmds last night, and still the same problem.

i am using zcmd since years and i was fine with it tho

@GoldenLion: What code? whole gm?
Reply
#9

Bump
Reply
#10

POST HERE OnPlayerCommandReceived() and PM command
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)