Pure Roleplay Script Buggt

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Guten Tag ich habe ein Problem mit m ein Script sprich mein Edit Buggt von Pure Roleplay


    Ich habe gestern ein kleines Update geschrieben habe es Hochgeladen & aufeinmal waren Maps weg , Uhr sowie Datum weg und vieles mehr das Script buggt komplett rum
    Ich hoffe einer von euch weis wo der Fehler ist ich habe das nartürlich auch in einen Changelog verfasst.


    bei Fragen zum Code des Changelogs gerne Melden



    MfG: CranK


    ich bedanke mich bei euch im vorraus

    Since 2012

  • SA-MP Dedicated Server
    ----------------------
    v0.3z-R2, (C)2005-2014 SA-MP Team


    [02:02:42] mapname = "San Andreas" (string)
    [02:02:42]
    [02:02:42] Server Plugins
    [02:02:42] --------------
    [02:02:42] Loading plugin: streamer.so
    [02:02:42]


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


    [02:02:42] Loaded.
    [02:02:42] Loading plugin: sscanf.so
    [02:02:42]


    [02:02:42] ===============================


    [02:02:42] sscanf plugin loaded.


    [02:02:42] (c) 2009 Alex "Y_Less" Cole


    [02:02:42] 0.3d-R2 500 Players "dnee"


    [02:02:42] ===============================


    [02:02:42] Loaded.
    [02:02:42] Loading plugin: mysql_r31.so
    [02:02:42] >> plugin.mysql: running on 6 threads.
    [02:02:42] >> plugin.mysql: R31 successfully loaded.
    [02:02:42] Loaded.
    [02:02:42] Loading plugin: crashdetect.so
    [02:02:42] CrashDetect v4.13.1-lse is OK.
    [02:02:42] Loaded.
    [02:02:42] Loaded 4 plugins.


    [02:02:42]
    [02:02:42] Filterscripts
    [02:02:42] ---------------
    [02:02:42] Loaded 0 filterscripts.


    [02:02:42] ... GamemodeInit
    [02:02:42] SERVER: Verbindung zur Datenbank wurde erfolgreich hergestellt.
    [02:02:42] Host: localhost,User: samp4623,Datanbank: samp4623_LKz137,Passwort: carmen22
    [02:02:42] Scriptversion: cRP - v1 R6,Mapversion MP: 0.4.2,Url: In Bearbeitung,Scripter&Mapper: TomHD & LiAM.,Maximale NPC´s: 30
    [02:02:42] [debug] Run time error 4: "Array index out of bounds"
    [02:02:42] [debug] Accessing element at index 28 past array upper bound 27
    [02:02:42] [debug] AMX backtrace:
    [02:02:42] [debug] #0 00025498 in public zcmd_OnGameModeInit () from cRPv1R6.amx
    [02:02:42] [debug] #1 native CallLocalFunction () [080dc190] from samp6969_4623
    [02:02:42] [debug] #2 0000d670 in public SSCANF_OnGameModeInit () from cRPv1R6.amx
    [02:02:42] [debug] #3 native CallLocalFunction () [080dc190] from samp6969_4623
    [02:02:42] [debug] #4 00001730 in public Streamer_OnGameModeInit () from cRPv1R6.amx
    [02:02:42] [debug] #5 native CallLocalFunction () [080dc190] from samp6969_4623
    [02:02:42] [debug] #6 00000ad4 in public OnGameModeInit () from cRPv1R6.amx
    [02:02:42] Creative Roleplay Reloaded 6 cRP - v1 R6


    [02:02:42] --------------------------------
    [02:02:42] Dieses Script [Version: Reloaded 6 cRP - v1 R6] steht unter Datenschutz und darf
    [02:02:42] nur von dem jenigen Besitzer benutzt/verwendet werden.
    [02:02:42] Falls diese Richtlinien nicht eingehalten werden,werden
    [02:02:42] Rechtlicheschritte gegen sie eingeleitet.
    [02:02:42] © Copyright & Gründer by Fernandez_Alvarez
    [02:02:42] --------------------------------
    [02:02:42] Creative Roleplay Reloaded 6 cRP - v1 R6


    [02:02:42] Number of vehicle models: 57
    [02:03:48] Incoming connection: 79.205.13.14:61267
    [02:03:49] [join] TomHD has joined the server (0:79.205.13.14)
    [02:04:06] LOAD: TomHD Account hat geladen!
    [02:04:07] [debug] Run time error 4: "Array index out of bounds"
    [02:04:07] [debug] Accessing element at index 10 past array upper bound 9
    [02:04:07] [debug] AMX backtrace:
    [02:04:07] [debug] #0 00619554 in public LoadAccountBlacklists (0x00000000) from cRPv1R6.amx
    [02:04:29] SAVE: TomHD Account hat gespeichert!
    [02:04:29] [part] TomHD has left the server (0:1)
    [02:04:29] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [02:04:29] [debug] Stack pointer (STK) is 0xE744A0, heap pointer (HEA) is 0xE759B0
    [02:04:29] [debug] AMX backtrace:
    [02:04:29] [debug] #0 0061bb50 in public OnQueryError (0x0000041e, 0x00e758fc, 0x00e758f8, 0x00e75160, 0x00000001) from cRPv1R6.amx
    [02:04:29] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [02:04:29] [debug] Stack pointer (STK) is 0xE744A0, heap pointer (HEA) is 0xE7591C
    [02:04:29] [debug] AMX backtrace:
    [02:04:29] [debug] #0 0061bb50 in public OnQueryError (0x0000041e, 0x00e75874, 0x00e75870, 0x00e75160, 0x00000001) from cRPv1R6.amx
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [11:19:14] BAD RCON ATTEMPT BY: 78.98.204.70
    [12:21:16] Incoming connection: 82.212.6.244:49857
    [12:21:16] [join] LA_ has joined the server (0:82.212.6.244)
    [12:21:30] LOAD: LA_ Account hat geladen!
    [12:21:30] [debug] Run time error 4: "Array index out of bounds"
    [12:21:30] [debug] Accessing element at index 10 past array upper bound 9
    [12:21:30] [debug] AMX backtrace:
    [12:21:30] [debug] #0 00619554 in public LoadAccountBlacklists (0x00000000) from cRPv1R6.amx
    [12:24:19] [nick] LA_ nick changed to [cRP]LA_
    [12:24:21] [debug] Run time error 4: "Array index out of bounds"
    [12:24:21] [debug] Accessing element at index 28 past array upper bound 27
    [12:24:21] [debug] AMX backtrace:
    [12:24:21] [debug] #0 004565b8 in public OnPlayerStateChange (0x00000000, 0x00000002, 0x00000001) from cRPv1R6.amx
    [12:31:19] [debug] Run time error 4: "Array index out of bounds"
    [12:31:19] [debug] Accessing element at index 28 past array upper bound 27
    [12:31:19] [debug] AMX backtrace:
    [12:31:19] [debug] #0 004565b8 in public OnPlayerStateChange (0x00000000, 0x00000002, 0x00000001) from cRPv1R6.amx
    [12:35:50] [nick] [cRP]LA_ nick changed to LA_
    [12:35:50] SAVE: LA_ Account hat gespeichert!
    [12:35:50] [part] LA_ has left the server (0:0)
    [12:35:50] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [12:35:50] [debug] Stack pointer (STK) is 0xE744A0, heap pointer (HEA) is 0xE759B0
    [12:35:50] [debug] AMX backtrace:
    [12:35:50] [debug] #0 0061bb50 in public OnQueryError (0x0000041e, 0x00e758fc, 0x00e758f8, 0x00e75160, 0x00000001) from cRPv1R6.amx
    [12:35:50] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [12:35:50] [debug] Stack pointer (STK) is 0xE744A0, heap pointer (HEA) is 0xE75918
    [12:35:50] [debug] AMX backtrace:
    [12:35:50] [debug] #0 0061bb50 in public OnQueryError (0x0000041e, 0x00e75870, 0x00e7586c, 0x00e75160, 0x00000001) from cRPv1R6.amx
    [12:57:29] Incoming connection: 79.205.28.228:1047
    [12:57:30] [join] Mr.Bl4cK has joined the server (0:79.205.28.228)
    [12:58:41] LOAD: Mr.Bl4cK Account hat geladen!
    [12:58:41] [debug] Run time error 4: "Array index out of bounds"
    [12:58:41] [debug] Accessing element at index 10 past array upper bound 9
    [12:58:41] [debug] AMX backtrace:
    [12:58:41] [debug] #0 00619554 in public LoadAccountBlacklists (0x00000000) from cRPv1R6.amx
    [12:59:45] [debug] Run time error 4: "Array index out of bounds"
    [12:59:45] [debug] Accessing element at index 28 past array upper bound 27
    [12:59:45] [debug] AMX backtrace:
    [12:59:45] [debug] #0 004565b8 in public OnPlayerStateChange (0x00000000, 0x00000002, 0x00000001) from cRPv1R6.amx
    [13:00:25] [debug] Run time error 4: "Array index out of bounds"
    [13:00:25] [debug] Accessing element at index 28 past array upper bound 27
    [13:00:25] [debug] AMX backtrace:
    [13:00:25] [debug] #0 004565b8 in public OnPlayerStateChange (0x00000000, 0x00000002, 0x00000001) from cRPv1R6.amx
    [13:02:07] [debug] Run time error 4: "Array index out of bounds"
    [13:02:07] [debug] Accessing element at index 28 past array upper bound 27
    [13:02:07] [debug] AMX backtrace:
    [13:02:07] [debug] #0 004565b8 in public OnPlayerStateChange (0x00000000, 0x00000002, 0x00000001) from cRPv1R6.amx
    [13:03:27] Incoming connection: 79.205.28.228:1060
    [13:03:37] SAVE: Mr.Bl4cK Account hat gespeichert!
    [13:03:37] [part] Mr.Bl4cK has left the server (0:0)
    [13:03:37] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [13:03:37] [debug] Stack pointer (STK) is 0xE744A0, heap pointer (HEA) is 0xE759BC
    [13:03:37] [debug] AMX backtrace:
    [13:03:37] [debug] #0 0061bb50 in public OnQueryError (0x0000041e, 0x00e75908, 0x00e75904, 0x00e75160, 0x00000001) from cRPv1R6.amx
    [13:03:37] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
    [13:03:37] [debug] Stack pointer (STK) is 0xE744A0, heap pointer (HEA) is 0xE75928
    [13:03:37] [debug] AMX backtrace:
    [13:03:37] [debug] #0 0061bb50 in public OnQueryError (0x0000041e, 0x00e75880, 0x00e7587c, 0x00e75160, 0x00000001) from cRPv1R6.amx

    Since 2012

  • Bekommst du im Compiler eine Meldung mit relativ vielen Zahlen?
    Wenn ja, füge das mal unter die Includes ein:
    #pragma dynamic 100000
    (Den Wert bis dahin erhöhen, bis die Meldung weg ist.)



    Außerdem sprengst du bei z.B. OnPlayerStateChange ein Array der Größe 27 mit einem Wert 28. Schau mal welche Variable du mit [28] deklariert hast, und ändere das zu [29]. Ebenfalls bei den anderen "Array Index out of bounds".