Szerző Téma: crashdetect > OnDialogResponse() hiba..  (Megtekintve 849 alkalommal)

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
crashdetect > OnDialogResponse() hiba..
« Dátum: 2012. február 14. - 22:25:47 »
0 Show voters
Üdv all!
Betettem ezt a bizonyos plugins-t, hogy megnézzem, hogy hibás-e a szerver.
És talált a módba hibát, de nem tudom mi a hiba benne.
Hibák:
 
[07:03:19]: 
[07:03:19]: --- crashdetect 3.6.14 loaded
[14:01:16]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[14:01:16]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[14:01:16]: Additional information:
[14:01:16]:   Array max index is 211 but accessing an element at -400
[14:01:16]: Call stack (most recent call first):
[14:01:16]:   0x???????? => public OnDialogResponse()
[14:11:30]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[14:11:30]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[14:11:30]: Additional information:
[14:11:30]:   Array max index is 211 but accessing an element at -400
[14:11:30]: Call stack (most recent call first):
[14:11:30]:   0x???????? => public OnDialogResponse()
[14:42:33]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[14:42:33]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[14:42:33]: Additional information:
[14:42:33]:   Array max index is 211 but accessing an element at -400
[14:42:33]: Call stack (most recent call first):
[14:42:33]:   0x???????? => public OnDialogResponse()
[14:51:51]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[14:51:51]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[14:51:51]: Additional information:
[14:51:51]:   Array max index is 211 but accessing an element at -400
[14:51:51]: Call stack (most recent call first):
[14:51:51]:   0x???????? => public OnDialogResponse()
[15:01:34]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[15:01:34]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[15:01:34]: Additional information:
[15:01:34]:   Array max index is 211 but accessing an element at -400
[15:01:34]: Call stack (most recent call first):
[15:01:34]:   0x???????? => public OnDialogResponse()
[16:25:54]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[16:25:54]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[16:25:54]: Additional information:
[16:25:54]:   Array max index is 211 but accessing an element at -400
[16:25:54]: Call stack (most recent call first):
[16:25:54]:   0x???????? => public OnDialogResponse()
[16:41:44]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[16:41:44]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[16:41:44]: Additional information:
[16:41:44]:   Array max index is 211 but accessing an element at -400
[16:41:44]: Call stack (most recent call first):
[16:41:44]:   0x???????? => public OnDialogResponse()
[16:55:59]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[16:55:59]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[16:55:59]: Additional information:
[16:55:59]:   Array max index is 211 but accessing an element at -400
[16:55:59]: Call stack (most recent call first):
[16:55:59]:   0x???????? => public OnDialogResponse()
[17:36:17]: The server has crashed due to an unknown error
[17:36:27]:
[17:36:27]: --- crashdetect 3.6.14 loaded
[17:37:08]: The server has crashed due to an unknown error
[17:37:18]:
[17:37:18]: --- crashdetect 3.6.14 loaded
[18:27:39]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[18:27:39]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[18:27:39]: Additional information:
[18:27:39]:   Array max index is 211 but accessing an element at -400
[18:27:39]: Call stack (most recent call first):
[18:27:39]:   0x???????? => public OnDialogResponse()
[18:27:43]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[18:27:43]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[18:27:43]: Additional information:
[18:27:43]:   Array max index is 211 but accessing an element at -400
[18:27:43]: Call stack (most recent call first):
[18:27:43]:   0x???????? => public OnDialogResponse()
[18:34:39]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[18:34:39]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[18:34:39]: Additional information:
[18:34:39]:   Array max index is 211 but accessing an element at -400
[18:34:39]: Call stack (most recent call first):
[18:34:39]:   0x???????? => public OnDialogResponse()
[18:36:54]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[18:36:54]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[18:36:54]: Additional information:
[18:36:54]:   Array max index is 211 but accessing an element at -400
[18:36:54]: Call stack (most recent call first):
[18:36:54]:   0x???????? => public OnDialogResponse()
[18:36:57]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[18:36:57]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[18:36:57]: Additional information:
[18:36:57]:   Array max index is 211 but accessing an element at -400
[18:36:57]: Call stack (most recent call first):
[18:36:57]:   0x???????? => public OnDialogResponse()
[18:37:00]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[18:37:00]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[18:37:00]: Additional information:
[18:37:00]:   Array max index is 211 but accessing an element at -400
[18:37:00]: Call stack (most recent call first):
[18:37:00]:   0x???????? => public OnDialogResponse()
[18:53:51]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[18:53:51]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[18:53:51]: Additional information:
[18:53:51]:   Array max index is 211 but accessing an element at -400
[18:53:51]: Call stack (most recent call first):
[18:53:51]:   0x???????? => public OnDialogResponse()
[19:19:35]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[19:19:35]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[19:19:35]: Additional information:
[19:19:35]:   Array max index is 211 but accessing an element at -400
[19:19:35]: Call stack (most recent call first):
[19:19:35]:   0x???????? => public OnDialogResponse()
[19:27:23]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[19:27:23]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[19:27:23]: Additional information:
[19:27:23]:   Array max index is 211 but accessing an element at -400
[19:27:23]: Call stack (most recent call first):
[19:27:23]:   0x???????? => public OnDialogResponse()
[19:49:28]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[19:49:28]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[19:49:28]: Additional information:
[19:49:28]:   Array max index is 211 but accessing an element at -400
[19:49:28]: Call stack (most recent call first):
[19:49:28]:   0x???????? => public OnDialogResponse()
[19:52:54]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[19:52:54]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[19:52:54]: Additional information:
[19:52:54]:   Array max index is 211 but accessing an element at -400
[19:52:54]: Call stack (most recent call first):
[19:52:54]:   0x???????? => public OnDialogResponse()
[20:23:40]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[20:23:40]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[20:23:40]: Additional information:
[20:23:40]:   Array max index is 211 but accessing an element at -400
[20:23:40]: Call stack (most recent call first):
[20:23:40]:   0x???????? => public OnDialogResponse()
[20:23:42]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[20:23:42]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[20:23:42]: Additional information:
[20:23:42]:   Array max index is 211 but accessing an element at -400
[20:23:42]: Call stack (most recent call first):
[20:23:42]:   0x???????? => public OnDialogResponse()
[20:23:46]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[20:23:46]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[20:23:46]: Additional information:
[20:23:46]:   Array max index is 211 but accessing an element at -400
[20:23:46]: Call stack (most recent call first):
[20:23:46]:   0x???????? => public OnDialogResponse()
[20:59:51]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[20:59:51]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[20:59:51]: Additional information:
[20:59:51]:   Array max index is 211 but accessing an element at -400
[20:59:51]: Call stack (most recent call first):
[20:59:51]:   0x???????? => public OnDialogResponse()
[21:04:07]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[21:04:07]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[21:04:07]: Additional information:
[21:04:07]:   Array max index is 211 but accessing an element at -400
[21:04:07]: Call stack (most recent call first):
[21:04:07]:   0x???????? => public OnDialogResponse()
[21:06:31]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[21:06:31]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[21:06:31]: Additional information:
[21:06:31]:   Array max index is 211 but accessing an element at -400
[21:06:31]: Call stack (most recent call first):
[21:06:31]:   0x???????? => public OnDialogResponse()
[21:42:52]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[21:42:52]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[21:42:52]: Additional information:
[21:42:52]:   Array max index is 211 but accessing an element at -400
[21:42:52]: Call stack (most recent call first):
[21:42:52]:   0x???????? => public OnDialogResponse()
[22:02:51]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[22:02:51]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[22:02:51]: Additional information:
[22:02:51]:   Array max index is 211 but accessing an element at -400
[22:02:51]: Call stack (most recent call first):
[22:02:51]:   0x???????? => public OnDialogResponse()
[22:07:11]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[22:07:11]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[22:07:11]: Additional information:
[22:07:11]:   Array max index is 211 but accessing an element at -400
[22:07:11]: Call stack (most recent call first):
[22:07:11]:   0x???????? => public OnDialogResponse()
[22:07:27]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[22:07:27]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[22:07:27]: Additional information:
[22:07:27]:   Array max index is 211 but accessing an element at -400
[22:07:27]: Call stack (most recent call first):
[22:07:27]:   0x???????? => public OnDialogResponse()
[22:08:38]: Script[gamemodes/dsw.amx]: During execution of OnDialogResponse():
[22:08:38]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[22:08:38]: Additional information:
[22:08:38]:   Array max index is 211 but accessing an element at -400
[22:08:38]: Call stack (most recent call first):
[22:08:38]:   0x???????? => public OnDialogResponse()

crashdetect > OnDialogResponse() hiba..
« Válasz #1 Dátum: 2012. február 14. - 23:43:58 »
0 Show voters
[22:08:38]: Script[gamemodes/dsw.amx]: Run time error 4: \"Array index out of bounds\"
[22:08:38]: Additional information:
[22:08:38]:   Array max index is 211 but accessing an element at -400
Van egy változód ami 212 darab elemet tartalmaz és te 400-as indexel hívod meg és emiatt crashel.
Itt csak megjegyzem hogy én jármû névre gondolok, helyesen valami ilyesmi kellene:
[pawn]Vehiclename[GetVehicleModel(GetPlayerVehicleID(playerid)) - 400][/pawn]
másképp:
[pawn]
new
    vehicleid = GetPlayervehicleID(playerid);
new
    modelid = GetVehicleModelID(vehicleid);
Vehiclename[modelid - 400][/pawn]
« Utoljára szerkesztve: 2012. február 14. - 23:48:50 írta ɐʞzssǝlosz »

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
crashdetect > OnDialogResponse() hiba..
« Válasz #2 Dátum: 2012. február 15. - 07:06:09 »
0 Show voters
most néztem, hogy az OnDialogResponse vagy 60x van létrehozva ez a változó: new car = GetPlayerVehicleID(playerid);
De 1 et csináltam belõlük.
Ez lehetett a baja?
« Utoljára szerkesztve: 2012. február 15. - 07:08:29 írta Flash »

crashdetect > OnDialogResponse() hiba..
« Válasz #3 Dátum: 2012. február 15. - 12:03:54 »
0 Show voters
Idézetet írta: Flash date=1329285969\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17073\" data-ipsquote-contentclass=\"forums_Topic
most néztem, hogy az OnDialogResponse vagy 60x van létrehozva ez a változó: new car = GetPlayerVehicleID(playerid);
De 1 et csináltam belõlük.
Ez lehetett a baja?
 
Is.
De a hiba nem az, hanem amit feljebb leírtam.
Agyalok hogy írjam le másképp. (mint egy iskola, ilyenkor hol vannak a leendõ tanárok?)
Van 212 darab cukor és te a 400-dikat akarod. Ez a hiba.
San Andreas MP-ben a jármû modell azonosító számok 400-tól 611-ig tartanak.
A jármû nevek mikor megvannak határozva azok indexelése 0-tól 211-ig tart.
A legelsõ jármû a LandStalker aminek a model id-je (model azonosító száma) 400. link
Viszont a jármû név tömbben a {\"LandStalker\"} név indexe (azonosító száma) 0.
Így hogy ki tudd íratni/megjeleníteni az adatot, ahhoz a jármû modelid-bõl le kell vonni 400-at.
[pawn]if(IsPlayerInVehicle(playerid)) // Jármûben van-e a játékos
{
    printf(\"%s\", VehicleName[   GetVehicleModel(  GetPlayerVehicleID(playerid)  )    -  400   ]);
}[/pawn]
Ennél egyszerûbben én nem tudom leírni, bocs.

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
crashdetect > OnDialogResponse() hiba..
« Válasz #4 Dátum: 2012. február 15. - 15:28:28 »
0 Show voters
Kösz, értem és megy is. :)
Zárok!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal