Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[Request] Help with index out of bonds


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Hello guys , i've been starting to use a jetpack plugin on my server which was approved in the past by you but there is only a single error that occurs. The plugin works perfectly during the day , all players use jetpack , it is fine , but after like 8-9 hours in a day this error occurs:
L 03/27/2020 - 20:01:14: [AMXX] Displaying debug trace (plugin "jetpack.amxx")
L 03/27/2020 - 20:01:14: [AMXX] Run time error 4: index out of bounds
L 03/27/2020 - 20:01:14: [AMXX] [0] 2870.attach::CMD_Jetpack (line 159)

When this bug occurs people cannot type jetpack anymore to use jetpack and it can be seen by others in chat typing : jetpack . Normally that doesn t happen since if you write jetpack correctly it turns jetpack on instantly(and you can't see someone typing jetpack in chat). So , i observed in gamepanel console that everytime a player types jetpack and he can't use it the error above appears . And meanwhile all other players who used it before can use it ( which i can't explain cuz others cannot)

There are 2 more things that appear in the log but they don t matter that much cuz the one above is the real problem. These ones don t appear only really rare af and i want a solution for first issue which is more important i guess.
L 03/27/2020 - 20:10:08: [AMXX] Run time error 4: index out of bounds
L 03/27/2020 - 20:10:08: [AMXX] [0] 2870.attach::client_connect (line 66)
or this one:
L 03/27/2020 - 20:10:08: [AMXX] Run time error 4: index out of bounds
L 03/27/2020 - 20:10:08: [AMXX] [0] 2870.attach::client_disconnect (line 57)

Different lines but index out of bonds appears in all.
Anyway , this is the plugin i took - https://forums.alliedmods.net/showthread.php?t=13339
I didn't modify the sma but i'll attach it here to be easier to look into . If you could help me fix this i would be really grateful , really really grateful since the whole mod bases on this jetpack :) ty very much just for looking into this if someone does . Have a nice daaay <3

Attached Files
File Type: sma Get Plugin or Get Source (jetpack.sma - 8.2 KB)

Przeczytaj cały wpis

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

×
×
  • Dodaj nową pozycję...