Stream_OnPlayerEnterCheckPoint crash
#1

When I enter a checkpoint,...
Код:
[14:27:38] [debug] Run time error 4: "Array index out of bounds"
[14:27:38] [debug]  Accessing element at negative index -1
[14:27:38] [debug] AMX backtrace:
[14:27:38] [debug] #0 000a2494 in ?? () from PGRP.amx
[14:27:38] [debug] #1 000179a4 in public Streamer_OnPlayerEnterCP () from PGRP.amx
[14:27:38] [debug] #2 native CallLocalFunction () [00472ad0] from samp-server.exe
[14:27:38] [debug] #3 0000424c in public OnPlayerEnterCheckpoint () from PGRP.amx
I'll REP+
Reply
#2

Show your code perhaps?

Reply
#3

what? i'm not understand
Reply
#4

Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:40:45] password = "" (string)
[17:40:45]
[17:40:45] Server Plugins
[17:40:45] --------------
[17:40:45] Loading plugin: streamer
[17:40:45]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[17:40:45] Loaded.
[17:40:45] Loading plugin: sscanf
[17:40:45]

[17:40:45] ===============================

[17:40:45] sscanf plugin loaded.

[17:40:45] Version: 2.8.1

[17:40:45] © 2012 Alex "******" Cole

[17:40:45] ===============================

[17:40:45] Loaded.
[17:40:45] Loading plugin: mysql
[17:40:45]

> MySQL plugin R7-2 successfully loaded.

[17:40:45] Loaded.
[17:40:45] Loading plugin: Whirlpool
[17:40:47]
[17:40:47] ==================
[17:40:47]
[17:40:47] Whirlpool loaded
[17:40:47]
[17:40:47] ==================
[17:40:47]
[17:40:47] Loaded.
[17:40:47] Loading plugin: crashdetect.dll
[17:40:47] CrashDetect v4.10 is OK.
[17:40:47] Loaded.
[17:40:47] Loading plugin: antiddos.dll
[17:40:47] Loaded.
[17:40:47] Loading plugin: MapAndreas.dll
[17:40:47] Loaded.
[17:40:47] Loaded 7 plugins.

[17:40:47]
[17:40:47] Filterscripts
[17:40:47] ---------------
[17:40:47] Loading filterscript 'hanhdong.amx'...
[17:40:47] Loading filterscript 'damage.amx'...
[17:40:47] Loading filterscript 'yom_buttons.amx'...
[17:40:47] Loading filterscript 'ncustom.amx'...
[17:40:47] Loading filterscript 'Anti-Flood.amx'...
[17:40:47] Loading filterscript 'rope.amx'...
[17:40:49] Loading filterscript 'vending.amx'...
[17:40:49] Loading filterscript 'dSpeedo.amx'...
[17:40:49] Loading filterscript 'phaohoa.amx'...
[17:40:49]
[17:40:49]
[17:40:49]
[17:40:49] =======================================
[17:40:49] | |
[17:40:49] | YSI version 3.09.0684 |
[17:40:49] | By Alex "******" Cole |
[17:40:49] | |
[17:40:49] =======================================
[17:40:49]
[17:40:49] Loading filterscript 'real_time.amx'...
[17:40:49] Loaded 10 filterscripts.

[17:40:49]
[17:40:49]
[17:40:49]
[17:40:49] =======================================
[17:40:49] | |
[17:40:49] | YSI version 3.09.0684 |
[17:40:49] | By Alex "******" Cole |
[17:40:49] | |
[17:40:49] =======================================
[17:40:49]
[17:40:49]
[17:40:49]
[17:40:49] onfoot_rate = 30 (int, read-only)
[17:40:49] incar_rate = 30 (int, read-only)
[17:40:49] weapon_rate = 30 (int, read-only)
[17:40:49] [MySQL] (Main Pipelines) Connecting to 127.0.0.1...
[17:40:49] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[17:40:49] Bai toan cho 20000$ neu ai tra loi dung --> 65 + 91 - 51 + 87 = ?
[17:40:49] [LoadBusiness] Loading data from database...
[17:40:49] [RepairPoint] Loading repair points from database...
[17:40:49] [LoadTurfWars] 0 turfs dг duoc load.
[17:40:49] [LoadPaintballArenas] 10 PaintballArenas dг duoc load.
[17:40:49] [LoadEventPoints] 0 event points loaded.
[17:40:49] [Load Gate] 4000 gates dг duoc load.
[17:40:49] [LoadElevatorStuff] 20 floors loaded.
[17:40:49] [Load Family] 16 Families dг duoc load.
[17:40:49] [LoadPoints] 9 points dг duoc load.
[17:40:50] [Load cua hаng oto] 15 cua hаng dг duoc load.
[17:40:50] [MiscLoad] Misc Loaded
[17:41:02] Number of vehicle models: 95
[17:41:02] [LoadBusiness] Khong co cua hang nao de tai.
[17:41:02] [MySQL] Query Error - (ErrorID: 1146) (Handle: 1)
[17:41:02] [MySQL] Check /logs/querydump.log to review the query that threw the error.
[17:41:02] Dumping query from 2015/1/11 (17:41:2)

Description: Table 'pgrp.repairpoints' doesn't exist (index 0). Query:


[17:41:02] SELECT * FROM `repairpoints`
[17:45:01] Incoming connection: 127.0.0.1:3172
[17:45:02] [join] david_bull has joined the server (0:127.0.0.1)
[17:45:12] david bull dг dang nhвp.
[17:47:43] [part] david_bull has left the server (0:2)
[17:48:27] Incoming connection: 127.0.0.1:3174
[17:48:28] [join] david_bull has joined the server (0:127.0.0.1)
[17:48:37] david bull dг dang nhвp.
[17:52:36] [debug] Run time error 4: "Array index out of bounds"
[17:52:36] [debug] Accessing element at negative index -1
[17:52:36] [debug] AMX backtrace:
[17:52:36] [debug] #0 000a25dc in ?? () from PGRP.amx
[17:52:36] [debug] #1 000179a4 in public Streamer_OnPlayerEnterCP () from PGRP.amx
[17:52:36] [debug] #2 native CallLocalFunction () [00472ad0] from samp-server.exe
[17:52:36] [debug] #3 0000424c in public OnPlayerEnterCheckpoint () from PGRP.amx

is this?
Reply
#5

Show this callback:
OnPlayerEnterCheckpoint
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)