pRP: CJ Bzw. Skin bug?

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 Mittag
    Also mein Hauptproblem besteht dadrin, dass in dem Script anscheinend ein Fehler liegt.
    Ich spiele momentan nur mit Freunden Privat und sobald ca. der 3 Spieler on kommt, spawnt jemand nach dem Login
    als CJ an der Farm!
    Komischerweise stürzt der Server dann auch ab und in der server Log wird einfach alles abgebrochen.
    Bsp:


    ....[16:58:54] [join] Cloudi has joined the server (14:46.115.45.122)
    [16:59:18] LOAD: Cloudi Account hat geladen!
    [16:59:25] --------------------------------
    [16:59:25] Speichern ...[16:59:25] SAVE: BigDad Account hat gespeichert!
    [16:59:25] SAVE: Cloudi Account hat gespeichert!
    [16:59:25] - Gangzonen gespeichert 14/14 -[16:59:25] - Drogenpflanzen gespeichert 0/50 -
    [16:59:25] - Funkmasten gespeichert 0/50 -
    [16:59:25] - Werbetafeln gespeichert 22/22 -
    [16:59:25] - Rennen gespeichert 0/50 -
    [16:59:25] - Schwarzmärkte gespeichert 5/20 -
    [16:59:25] - Stuff wurde gespeichert -
    [16:59:25] - Fraktionsvewaltungen gespeichert 18/18 -[16:59:25] - Gutscheine 1/50 -
    [16:59:25] - Häuser gespeichert 35/300 -
    [16:59:25] - Fraktionsfahrzeuge gespeichert 56/500 -
    [16:59:25] - Businesse gespeichert 29/100 -
    [16:59:25] - Organisationen gespeichert 0/10 -
    [16:59:25] - Partei gespeichert 1/5 -
    [16:59:25] Speicherung erfolgreich ...
    [16:59:25] --------------------------------[16:59:42] SAVE: Cloudi Account hat gespeichert!
    [16:59:52] Incoming connection: 84.128.205.20:61659
    [16:59:52] [join] Tecclel has joined the server (15:84.128.205.20)
    [17:00:23] SAVE: BigDad Account hat gespeichert!
    [17:00:23] SAVE: Cloudi Account hat gespeichert!


    Genau nach SAVE: Cloudi passiert nichts mehr
    Den Server habe ich bei Samp4You gemietet aber glaube kaum, dass es was damit zu tun hat.
    Wäre echt Super wenn jemand mir helfen könnte.
    Weil das stört doch schon beim Spielen :pinch:
    MFG,

    Don't flame aim!

  • Wieso denn gemeldet? o0
    Das war ne Frage ob er danach gesucht hat ob das Script irgendwie sagt bei so und so vielen Usern den Server schließt.
    Denn er speichert da schließlich ab bevor der Server ausgeht.

    Nein das war nur Zufall mit dem Save.
    Sonst crasht er einfach :)

    Don't flame aim!

  • Da war er wieder :)



    [17:53:07] LOAD: BigDad Account hat geladen!
    [17:53:07] [debug] Bad heap release detected:
    [17:53:07] [debug] mysql_r7.so [f73d022d] is releasing memory at f74f499c which is out of heap
    [17:53:07] [debug] System backtrace:
    [17:53:07] [debug] #0 f6942f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [17:53:07] [debug] #1 f693941f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
    [17:53:07] [debug] #2 f6938ba8 in _ZN11crashdetect18HandleReleaseErrorEiPv () from plugins/crashdetect.so
    [17:53:07] [debug] #3 f69386b9 in _ZN11crashdetect12DoAmxReleaseEiPv () from plugins/crashdetect.so
    [17:53:07] [debug] #4 f69406e9 in ?? () from plugins/crashdetect.so
    [17:53:07] [debug] #5 f73d022d in amx_Release () from plugins/mysql_r7.so
    [17:53:07] [debug] #6 f73d12d9 in ProcessTick () from plugins/mysql_r7.so
    [17:53:07] [debug] #7 080c5ee2 in ?? () from ./samp9877_3767
    [17:53:07] [debug] #8 080b5c2c in ?? () from ./samp9877_3767
    [17:53:07] [debug] #9 080b14d3 in ?? () from ./samp9877_3767
    [17:53:07] [debug] #10 f752aca6 in __libc_start_main () from /lib32/libc.so.6
    [17:53:07] [debug] #11 0804b521 in ?? () from ./samp9877_3767
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public LoadAccountVehicles () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerStateChange () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerSpawn () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerSpawn () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public Server () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public LoadAccountVehicles () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerStateChange () from GeTmyselfmade.amx
    [17:53:07] [debug] Run time error 8: "Heap underflow"
    [17:53:07] [debug] Heap pointer (HEA) is 0xF74F499C, heap bottom (HLW) is 0x1044CD8
    [17:53:07] [debug] AMX backtrace:
    [17:53:07] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [17:53:07] [debug] Server crashed due to an unknown error
    [17:53:07] [debug] System backtrace:
    [17:53:07] [debug] #0 f6942f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [17:53:07] [debug] #1 f693941f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
    [17:53:07] [debug] #2 f6937963 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
    [17:53:07] [debug] #3 f69423c1 in ?? () from plugins/crashdetect.so
    [17:53:07] [debug] #4 f77b7410 in ?? ()
    [17:53:07] [debug] #5 08095207 in ?? () from ./samp9877_3767
    [17:53:07] [debug] #6 0809532a in ?? () from ./samp9877_3767
    [17:53:07] [debug] #7 f73d0176 in amx_PushString () from plugins/mysql_r7.so
    [17:53:07] [debug] #8 f73d1157 in ProcessTick () from plugins/mysql_r7.so
    [17:53:07] [debug] #9 080c5ee2 in ?? () from ./samp9877_3767
    [17:53:07] [debug] #10 080b5c2c in ?? () from ./samp9877_3767
    [17:53:07] [debug] #11 080b14d3 in ?? () from ./samp9877_3767
    [17:53:07] [debug] #12 f752aca6 in __libc_start_main () from /lib32/libc.so.6
    [17:53:07] [debug] #13 0804b521 in ?? () from ./samp9877_3767

    Don't flame aim!

  • Wenn du im Serverlog danach schaust wirst du merken das er dir die Zeile anzeigt wo der Fehler sich befindet

    Habe immer noch das hier im Log:



    [18:39:00] [join] BigDad has joined the server (0:212.95.7.64)
    [18:39:09] [debug] Bad heap release detected:
    [18:39:09] [debug] mysql_r7.so [f739f22d] is releasing memory at f74c399c which is out of heap
    [18:39:09] [debug] System backtrace:
    [18:39:09] [debug] #0 f6911f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [18:39:09] [debug] #1 f690841f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
    [18:39:09] [debug] #2 f6907ba8 in _ZN11crashdetect18HandleReleaseErrorEiPv () from plugins/crashdetect.so
    [18:39:09] [debug] #3 f69076b9 in _ZN11crashdetect12DoAmxReleaseEiPv () from plugins/crashdetect.so
    [18:39:09] [debug] #4 f690f6e9 in ?? () from plugins/crashdetect.so
    [18:39:09] [debug] #5 f739f22d in amx_Release () from plugins/mysql_r7.so
    [18:39:09] [debug] #6 f73a02d9 in ProcessTick () from plugins/mysql_r7.so
    [18:39:09] [debug] #7 080c5ee2 in ?? () from ./samp9877_3767
    [18:39:09] [debug] #8 080b5c2c in ?? () from ./samp9877_3767
    [18:39:09] [debug] #9 080b14d3 in ?? () from ./samp9877_3767
    [18:39:09] [debug] #10 f74f9ca6 in __libc_start_main () from /lib32/libc.so.6
    [18:39:09] [debug] #11 0804b521 in ?? () from ./samp9877_3767
    [18:39:09] [debug] Run time error 8: "Heap underflow"
    [18:39:09] [debug] Heap pointer (HEA) is 0xF74C399C, heap bottom (HLW) is 0x1043C78
    [18:39:09] [debug] AMX backtrace:
    [18:39:09] [debug] #0 00000008 in public OnPlayerUpdate () from GeTmyselfmade.amx
    [18:39:09] [debug] Run time error 8: "Heap underflow"
    [18:39:09] [debug] Heap pointer (HEA) is 0xF74C399C, heap bottom (HLW) is 0x1043C78
    [18:39:09] [debug] AMX backtrace:
    [18:39:09] [debug] #0 00000008 in public Tachometer () from GeTmyselfmade.amx
    [18:39:09] [debug] Run time error 8: "Heap underflow"
    [18:39:09] [debug] Heap pointer (HEA) is 0xF74C399C, heap bottom (HLW) is 0x1043C78
    [18:39:09] [debug] AMX backtrace:
    [18:39:09] [debug] #0 00000008 in public LoadAccountVehicles () from GeTmyselfmade.amx
    [18:39:09] [debug] Run time error 8: "Heap underflow"
    [18:39:09] [debug] Heap pointer (HEA) is 0xF74C399C, heap bottom (HLW) is 0x1043C78
    [18:39:09] [debug] AMX backtrace:
    [18:39:09] [debug] #0 00000008 in public LoadAccountVehicles () from GeTmyselfmade.amx
    [18:39:09] [debug] Run time error 8: "Heap underflow"
    [18:39:09] [debug] Heap pointer (HEA) is 0xF74C399C, heap bottom (HLW) is 0x1043C78
    [18:39:09] [debug] AMX backtrace:
    [18:39:09] [debug] #0 00000008 in public LoadAccountVehicles () from GeTmyselfmade.amx
    [18:39:09] [debug] Server crashed due to an unknown error
    [18:39:09] [debug] System backtrace:
    [18:39:09] [debug] #0 f6911f41 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [18:39:09] [debug] #1 f690841f in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
    [18:39:09] [debug] #2 f6906963 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
    [18:39:09] [debug] #3 f69113c1 in ?? () from plugins/crashdetect.so
    [18:39:09] [debug] #4 f7786410 in ?? ()
    [18:39:09] [debug] #5 08095207 in ?? () from ./samp9877_3767
    [18:39:09] [debug] #6 0809532a in ?? () from ./samp9877_3767
    [18:39:09] [debug] #7 f739f176 in amx_PushString () from plugins/mysql_r7.so
    [18:39:09] [debug] #8 f73a0157 in ProcessTick () from plugins/mysql_r7.so
    [18:39:09] [debug] #9 080c5ee2 in ?? () from ./samp9877_3767
    [18:39:09] [debug] #10 080b5c2c in ?? () from ./samp9877_3767
    [18:39:09] [debug] #11 080b14d3 in ?? () from ./samp9877_3767
    [18:39:09] [debug] #12 f74f9ca6 in __libc_start_main () from /lib32/libc.so.6
    [18:39:09] [debug] #13 0804b521 in ?? () from ./samp9877_3767
    :huh:
    /e
    Habe bemerkt er stürzt auch einfach so ab wenn 4 Spieler Drauf sind.

    Don't flame aim!

  • Zitat


    [18:39:09] [debug] Bad heap release detected:
    [18:39:09] [debug] mysql_r7.so [f739f22d] is releasing memory at f74c399c which is out of heap


    versuch mal dein mysql-Plugin zu updaten, hatte das Problem auch schon :D

  • Du kannst dich ja mal ein wenig über den Fehler (Run time error 8: "Heap underflow") im englischen Samp-Forum informieren, gibt ein paar Beiträge im Zusammenhang mit R7. Auch die Fehlermeldung

    deutet ja schon auf das mysql-Plugin hin :)


    edit: Die neuste Version findest du hier https://code.google.com/p/sa-mp-mysql-plugin/

    Das ist sehr Nett ,danke.
    Ich lese mir mal paar Beiträge durch :)
    //Edit
    das ist ein bischen dumm bestimm von mir aber kriege diese Errors bei diesem Plugin:
    gamemodes\GeTmyselfmade.pwn(4944) : error 017: undefined symbol "mysql_ping"\gamemodes\GeTmyselfmade.pwn(4955) : error 017: undefined symbol "mysql_ping"\gamemodes\GeTmyselfmade.pwn(83079) : error 017: undefined symbol "mysql_ping"\gamemodes\GeTmyselfmade.pwn(83601) : error 017: undefined symbol "mysql_ping"\gamemodes\GeTmyselfmade.pwn(84073) : error 017: undefined symbol "mysql_ping"\gamemodes\GeTmyselfmade.pwn(84214) : error 017: undefined symbol "mysql_ping"\gamemodes\GeTmyselfmade.pwn(88137) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")\gamemodes\GeTmyselfmade.pwn(88138) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")\gamemodes\GeTmyselfmade.pwn(88139) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")\gamemodes\GeTmyselfmade.pwn(88140) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    6 Errors.
    Habe es mit R8 und r34 versucht ^^

    Don't flame aim!

    Einmal editiert, zuletzt von Obgano ()

  • Zitat

    müsste man das dann umschreiben?


    ist schwer zu sagen ohne den dazugehörigen Code zu sehen. Falls du mysql_ping aurufst, um zu Überprüfen ob du mit dem mysql-Server verbunden bist, könntest du vielleicht mysql_errno verwenden. Weiß nicht ob das funktioniert aber falls ja findest du die Fehler-Codes in der a_mysql.inc