AMX BACKTRACE + RUNTIME ERRORS
#1

Код:
[17:10:58] [debug] Run time error 4: "Array index out of bounds"
[17:10:58] [debug]  Accessing element at index 256 past array upper bound 255
[17:10:58] [debug] AMX backtrace:
[17:10:58] [debug] #0 0005e5a0 in public LRAPID_OnGameModeInit () from 1v1.amx
[17:10:58] [debug] #1 0002d278 in public CB_OnGameModeInit () from 1v1.amx
[17:10:58] [debug] #2 00028e2c in public zcmd_OnGameModeInit () from 1v1.amx
[17:10:58] [debug] #3 native CallLocalFunction () [00472fc0] from samp-server.exe
[17:10:58] [debug] #4 000278e8 in ?? () from 1v1.amx
[17:10:58] [debug] #5 0000e900 in public Itter_OnGameModeInit () from 1v1.amx
[17:10:58] [debug] #6 native CallLocalFunction () [00472fc0] from samp-server.exe
[17:10:58] [debug] #7 000089d8 in public ScriptInit_OnGameModeInit () from 1v1.amx
[17:10:58] [debug] #8 000075f8 in public SSCANF_OnGameModeInit () from 1v1.amx
[17:10:58] [debug] #9 0000066c in public OnGameModeInit () from 1v1.amx
[17:10:58] Number of vehicle models: 133
[17:10:59]  
[17:10:59]  ========================================== 
[17:10:59]  |                                        | 
[17:10:59]  |  A new version (v<html>
  ) of YSI is  | 
[17:10:59]  |            available from:             | 
[17:10:59]  |                                        | 
[17:10:59]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[17:10:59]  |                                        | 
[17:10:59]  ========================================== 
[17:10:59]  
[17:13:00] [debug] Run time error 4: "Array index out of bounds"
[17:13:00] [debug]  Accessing element at index 256 past array upper bound 255
[17:13:00] [debug] AMX backtrace:
[17:13:00] [debug] #0 000795a4 in ?? (0x00000000, 0x000000cc) from 1v1.amx
[17:13:00] [debug] #1 000149f0 in public OnPlayerEnterDynamicCP (0x00000000, 0x000000cc) from 1v1.amx
[17:13:00] [debug] #2 native Streamer_CallbackHook () [5b989830] from streamer.DLL
[17:13:00] [debug] #3 000072bc in public OnPlayerEnterCheckpoint (0x00000000) from 1v1.amx
[17:13:03] [debug] Run time error 4: "Array index out of bounds"
[17:13:03] [debug]  Accessing element at index 256 past array upper bound 255
[17:13:03] [debug] AMX backtrace:
[17:13:03] [debug] #0 000795a4 in ?? (0x00000000, 0x000000cc) from 1v1.amx
[17:13:03] [debug] #1 000149f0 in public OnPlayerEnterDynamicCP (0x00000000, 0x000000cc) from 1v1.amx
[17:13:03] [debug] #2 native Streamer_CallbackHook () [5b989830] from streamer.DLL
[17:13:03] [debug] #3 000072bc in public OnPlayerEnterCheckpoint (0x00000000) from 1v1.amx
[17:13:08] [debug] Run time error 4: "Array index out of bounds"
[17:13:08] [debug]  Accessing element at index 256 past array upper bound 255
[17:13:08] [debug] AMX backtrace:
[17:13:08] [debug] #0 000795a4 in ?? (0x00000000, 0x000000cc) from 1v1.amx
[17:13:08] [debug] #1 000149f0 in public OnPlayerEnterDynamicCP (0x00000000, 0x000000cc) from 1v1.amx
[17:13:08] [debug] #2 native Streamer_CallbackHook () [5b989830] from streamer.DLL
[17:13:08] [debug] #3 000072bc in public OnPlayerEnterCheckpoint (0x00000000) from 1v1.amx
[17:13:10] [chat] [Sasuke_Uchiha]: 4
[17:13:11] {FFFFFF}Game Time: {BDBDBD}Sunday, 02:00
[17:13:12] [debug] Run time error 4: "Array index out of bounds"
[17:13:12] [debug]  Accessing element at index 256 past array upper bound 255
[17:13:12] [debug] AMX backtrace:
[17:13:12] [debug] #0 000795a4 in ?? (0x00000000, 0x000000cc) from 1v1.amx
[17:13:12] [debug] #1 000149f0 in public OnPlayerEnterDynamicCP (0x00000000, 0x000000cc) from 1v1.amx
[17:13:12] [debug] #2 native Streamer_CallbackHook () [5b989830] from streamer.DLL
[17:13:12] [debug] #3 000072bc in public OnPlayerEnterCheckpoint (0x00000000) from 1v1.amx
[17:13:15] [chat] [Sasuke_Uchiha]: 2
[17:13:19] [debug] Run time error 4: "Array index out of bounds"
[17:13:19] [debug]  Accessing element at index 256 past array upper bound 255
[17:13:19] [debug] AMX backtrace:
[17:13:19] [debug] #0 000795a4 in ?? (0x00000000, 0x000000cc) from 1v1.amx
[17:13:19] [debug] #1 000149f0 in public OnPlayerEnterDynamicCP (0x00000000, 0x000000cc) from 1v1.amx
[17:13:19] [debug] #2 native Streamer_CallbackHook () [5b989830] from streamer.DLL
[17:13:19] [debug] #3 000072bc in public OnPlayerEnterCheckpoint (0x00000000) from 1v1.amx
[17:13:32] [chat] [Sasuke_Uchiha]: 1
[17:13:40] [debug] Run time error 4: "Array index out of bounds"
how can i fix these just tell me how to do it....
Reply
#2

Download the newest crashdetect.

When you did that insert "trace p f" without the quotes into the server.cfg.

Start the server and paste the log here again.
Reply
#3

Код:
[17:34:43] [trace] public Itter_OnGameModeInit ()
[17:34:43] [trace] public zcmd_OnGameModeInit ()
[17:34:43] [debug] Run time error 4: "Array index out of bounds"
[17:34:43] [debug]  Accessing element at index 256 past array upper bound 255
[17:34:43] [debug] AMX backtrace:
[17:34:43] [debug] #0 0005caa8 in public LRAPID_OnGameModeInit () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\gamemodes\1v1.pwn:4868
[17:34:43] [debug] #1 0002b7a8 in public CB_OnGameModeInit () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\pawno\include\OPRF.inc:161
[17:34:43] [debug] #2 0002735c in public zcmd_OnGameModeInit () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\pawno\include\callbacks.inc:340
[17:34:43] [debug] #3 native CallLocalFunction () from samp-server.exe
[17:34:43] [debug] #4 00025e18 in ?? () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\pawno\include\zcmd.inc:68
[17:34:43] [debug] #5 0000e900 in public Itter_OnGameModeInit () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\pawno\include\YSI\y_hooks/impl.inc:484
[17:34:43] [debug] #6 native CallLocalFunction () from samp-server.exe
[17:34:43] [debug] #7 000089d8 in public ScriptInit_OnGameModeInit () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\pawno\include\YSI\y_iterate.inc:791
[17:34:43] [debug] #8 000075f8 in public SSCANF_OnGameModeInit () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\pawno\include\YSI\internal\..\y_scriptinit.inc:171
[17:34:43] [debug] #9 0000066c in public OnGameModeInit () at D:\SA-MP Releated Stuff\Game Modes\1v1_DM_Server\pawno\include\sscanf2.inc:174
[17:34:43] [trace] main ()
[17:34:43] Number of vehicle models: 133
[17:34:44] [trace] public SecondEvents ()
[17:34:44] [trace] public CB_TabTimer ()
[17:34:44] [trace] public GameModeClock ()
[17:34:44] [trace] public SpeedOmeter ()
[17:34:44] [trace] public SecondEvents ()
[17:34:45] [trace] public CB_TabTimer ()
[17:34:45] [trace] public SecondEvents ()
[17:34:45] [trace] public YVers_Callback ()
[17:34:45]  
[17:34:45]  ========================================== 
[17:34:45]  |                                        | 
[17:34:45]  |  A new version (v<html>
  ) of YSI is  | 
[17:34:45]  |            available from:             | 
[17:34:45]  |                                        | 
[17:34:45]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[17:34:45]  |                                        | 
[17:34:45]  ========================================== 
[17:34:45]  
[17:34:45] [trace] public CB_TabTimer ()
[17:34:45] [trace] public GameModeClock ()
[17:34:46] [trace] public SecondEvents ()
[17:34:46] [trace] public SpeedOmeter ()
[17:34:46] [trace] public CB_TabTimer ()
[17:34:46] [trace] public SecondEvents ()
[17:34:47] [trace] public CB_TabTimer ()
[17:34:47] [trace] public GameModeClock ()
[17:34:47] [trace] public SecondEvents ()
[17:34:47] [trace] public SpeedOmeter ()
[17:34:47] [trace] public SecondEvents ()
[17:34:47] [trace] public CB_TabTimer ()
[17:34:48] [trace] public GameModeClock ()
[17:34:48] [trace] public SecondEvents ()
[17:34:48] [trace] public SpeedOmeter ()
[17:34:48] [trace] public CB_TabTimer ()
[17:34:48] [trace] public SecondEvents ()
[17:34:49] [trace] public CB_TabTimer ()
[17:34:49] [trace] public OnPlayerOnDrugs ()
[17:34:49] [trace] public GameModeClock ()
[17:34:49] [trace] public SecondEvents ()
[17:34:49] [trace] public SpeedOmeter ()
[17:34:49] [trace] public CB_TabTimer ()
[17:34:49] [trace] public SecondEvents ()
[17:34:50] [trace] public CB_TabTimer ()
[17:34:50] [trace] public GameModeClock ()
[17:34:50] [trace] public SecondEvents ()
[17:34:50] [trace] public SpeedOmeter ()
[17:34:51] [trace] public SecondEvents ()
[17:34:51] [trace] public CB_TabTimer ()
[17:34:51] [trace] public GameModeClock ()
[17:34:51] [trace] public SecondEvents ()
[17:34:51] [trace] public SpeedOmeter ()
[17:34:51] [trace] public CB_TabTimer ()
[17:34:52] [trace] public SecondEvents ()
[17:34:52] [trace] public CB_TabTimer ()
[17:34:52] [trace] public GameModeClock ()
[17:34:52] [trace] public SecondEvents ()
[17:34:52] [trace] public SpeedOmeter ()
[17:34:53] [trace] public CB_TabTimer ()
[17:34:53] [trace] public SecondEvents ()
[17:34:53] [trace] public CB_TabTimer ()
[17:34:53] [trace] public GameModeClock ()
[17:34:53] [trace] public SecondEvents ()
[17:34:53] [trace] public SpeedOmeter ()
[17:34:54] [trace] public SecondEvents ()
[17:34:54] [trace] public CB_TabTimer ()
[17:34:54] [trace] public OnPlayerOnDrugs ()
[17:34:54] [trace] public GameModeClock ()
[17:34:54] [trace] public SecondEvents ()
[17:34:54] [trace] public SpeedOmeter ()
[17:34:55] [trace] public CB_TabTimer ()
[17:34:55] [trace] public SecondEvents ()
[17:34:55] [trace] public CB_TabTimer ()
[17:34:56] [trace] public GameModeClock ()
[17:34:56] [trace] public SecondEvents ()
[17:34:56] [trace] public SpeedOmeter ()
[17:34:56] [trace] public CB_TabTimer ()
[17:34:56] [trace] public SecondEvents ()
[17:34:57] [trace] public CB_TabTimer ()
[17:34:57] [trace] public GameModeClock ()
[17:34:57] [trace] public SecondEvents ()
[17:34:57] [trace] public SpeedOmeter ()
[17:34:57] [trace] public SecondEvents ()
[17:34:57] [trace] public CB_TabTimer ()
[17:34:58] [trace] public GameModeClock ()
[17:34:58] [trace] public SecondEvents ()
[17:34:58] [trace] public SpeedOmeter ()
[17:34:58] [trace] public CB_TabTimer ()
[17:34:58] [trace] public SecondEvents ()
[17:34:59] [trace] public CB_TabTimer ()
[17:34:59] [trace] public GameModeClock ()
[17:34:59] [trace] public SecondEvents ()
[17:34:59] [trace] public SpeedOmeter ()
[17:34:59] [trace] public CB_TabTimer ()
[17:34:59] [trace] public SecondEvents ()
[17:35:00] [trace] public CB_TabTimer ()
[17:35:00] [trace] public OnPlayerOnDrugs ()
[17:35:00] [trace] public SecondEvents ()
[17:35:00] [trace] public GameModeClock ()
[17:35:00] [trace] public SpeedOmeter ()
[17:35:01] [trace] public SecondEvents ()
[17:35:01] [trace] public CB_TabTimer ()
[17:35:01] [trace] public SecondEvents ()
[17:35:01] [trace] public GameModeClock ()
[17:35:01] [trace] public SpeedOmeter ()
[17:35:01] [trace] public CB_TabTimer ()
done
Reply
#4

Okay..

Check this first:

1v1.pwn Line: 4868

Copy paste it here if it's a callback/function paste the whole code here.
Reply
#5

Fixed it already thx +rep
Reply
#6

Can we know what was the problem tho? lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)