SA-MP Forums Archive
This isnt normal.... - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: This isnt normal.... (/showthread.php?tid=623363)



This isnt normal.... - iLearner - 30.11.2016

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 



Re: This isnt normal.... - J0sh... - 30.11.2016

Compile with -d3.

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


Re: This isnt normal.... - AbyssMorgan - 30.11.2016

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


Re: This isnt normal.... - iLearner - 01.12.2016

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


Re: This isnt normal.... - iLearner - 01.12.2016

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


Re: This isnt normal.... - GoldenLion - 01.12.2016

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


Re: This isnt normal.... - Jayse - 01.12.2016

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.


Re: This isnt normal.... - iLearner - 01.12.2016

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?


Re: This isnt normal.... - iLearner - 02.12.2016

Bump


Re: This isnt normal.... - Yaa - 09.12.2016

POST HERE OnPlayerCommandReceived() and PM command