#1

Hello everyone, I've been trying for a few hours to get this damn mysql database to work. I was able to get it to work eventually and all the tables and data is working, although I have this problem now. Everytime I join the server, the dialogs don't show but the rest of the script does. Can anyone help me?
Код HTML:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[16:33:04] 
[16:33:04] Server Plugins
[16:33:04] --------------
[16:33:04]  Loading plugin: mysql.dll
[16:33:04]  SA:MP MySQL Plugin v2.1 Loaded.
[16:33:04]   Loaded.
[16:33:04]  Loading plugin: sscanf.dll
[16:33:04] [MySQL] Thread running. Threadsafe: Yes.
[16:33:04] 

[16:33:04]  ===============================

[16:33:04]       sscanf plugin loaded.     

[16:33:04]    © 2009 Alex "******" Cole

[16:33:04]    0.3d-R2 500 Players "dnee"

[16:33:04]  ===============================

[16:33:04]   Loaded.
[16:33:04]  Loading plugin: streamer.dll
[16:33:04] 

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

[16:33:04]   Loaded.
[16:33:04]  Loading plugin: crashdetect.dll
[16:33:04]   crashdetect v4.8.3 is OK.
[16:33:04]   Loaded.
[16:33:04]  Loaded 4 plugins.

[16:33:04] 
[16:33:04] Filterscripts
[16:33:04] ---------------
[16:33:04]   Loading filterscript 'Mapping.amx'...
[16:33:04] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RegisterInterface" found (script might need to be recompiled with the latest include file)
[16:33:04] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_AddPlayer" found (script might need to be recompiled with the latest include file)
[16:33:04] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RemovePlayer" found (script might need to be recompiled with the latest include file)
[16:33:04] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyPickup" found (script might need to be recompiled with the latest include file)
[16:33:04] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script might need to be recompiled with the latest include file)
[16:33:04] *** Streamer Plugin: Warning: Include file version (unknown version) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[16:33:04] 
--------------------------------------
[16:33:04]  Mapping by Jim
[16:33:04] --------------------------------------

[16:33:04]   Loading filterscript 'Seatbelt.amx'...
[16:33:04] Seatbelts Loaded
[16:33:04]   Loaded 2 filterscripts.

[16:33:04] MYSQL: Attempting to connect to server...
[16:33:04] [MySQL] Connected (0) to root @ 127.0.0.1 via TCP/IP.
[16:33:04] [MySQL] Server Version 5.6.21-log.
[16:33:04] [MySQL] Auto reconnect is on.
[16:33:04] MYSQL: Database connection established.
[16:33:04] Boxer loaded!
[16:33:04] Points loaded!
[16:33:04] Turfs loaded!
[16:33:04] Stuff Loaded!
[16:33:04] Businesses loaded!
[16:33:04] IRC Loaded!
[16:33:04] Papers loaded!
[16:33:05] Houses loaded!
[16:33:05] Plants Loaded!
[16:33:05] [debug] Run time error 4: "Array index out of bounds"
[16:33:05] [debug]  Accessing element at index 65535 past array upper bound 1999
[16:33:05] [debug] AMX backtrace:
[16:33:05] [debug] #0 0022280c in ?? () from LSR.amx
[16:33:05] [debug] #1 0020ecdc in ?? () from LSR.amx
[16:33:05] [debug] #2 0020dcd4 in ?? () from LSR.amx
[16:33:05] [debug] #3 000e04e8 in public Itter_OnGameModeInit () from LSR.amx
[16:33:05] [debug] #4 native CallLocalFunction () [00472ad0] from samp-server.exe
[16:33:05] [debug] #5 0000741c in public zcmd_OnGameModeInit () from LSR.amx
[16:33:05] [debug] #6 native CallLocalFunction () [00472ad0] from samp-server.exe
[16:33:05] [debug] #7 00006dac in public SSCANF_OnGameModeInit () from LSR.amx
[16:33:05] [debug] #8 native CallLocalFunction () [00472ad0] from samp-server.exe
[16:33:05] [debug] #9 00001088 in public OnGameModeInit () from LSR.amx
[16:33:05] _____________________
[16:33:05] Los Santos Realism
[16:33:05] SA-MP 0.3 Gamemode
[16:33:05] Version 2.9 (201)
[16:33:05] By: Jim and Zippy
[16:33:05] _____________________
[16:33:05] Number of vehicle models: 77
Reply
#2

[16:33:05] [debug] Run time error 4: "Array index out of bounds"
[16:33:05] [debug] Accessing element at index 65535 past array upper bound 1999

Show the code that's using this array.
Reply
#3

Post your OnGameModeInt() and recompile your code with the latest streamer plugin/include.
Reply
#4

Update your crashdetect and sscanf also, the hell?

You probably downloaded this script didn't you?
Reply
#5

Quote:
Originally Posted by Kar
Посмотреть сообщение
Update your crashdetect and sscanf also, the hell?

You probably downloaded this script didn't you?
Well I transfered it on a USB when I reset my computer. I had it working before.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)