Raised This Month: $32 Target: $400
 8% 

[SM] Exception reported: Array index out-of-bounds (index 25, limit 25)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-25-2022 , 16:27   [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #1

Currently trying to get a "fork" of CSS Zombie Riot plugin
(https://github.com/jono666/Zombie-Riot)
working on my CSS server, runs on newest MetaMod and SourceMod Version 1.11

I get this error

L 09/25/2022 - 22:074: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
L 09/25/2022 - 22:074: [SM] Blaming: zombieriot.smx
L 09/25/2022 - 22:074: [SM] Call stack trace:
L 09/25/2022 - 22:074: [SM] [1] Line 96, src\zriot/zombiedata.inc::LoadZombieData
L 09/25/2022 - 22:074: [SM] [2] Line 127, src\zombieriot.sp::OnMapStart

Source code is obviously included there, if anyone could take a look at the code and those specific lines and check what's wrong, I'd really appreciate it
RichardHafer is offline
000
Member
Join Date: Jul 2022
Old 09-25-2022 , 16:45   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #2

I think you have configured more days than allowed (25 max).

If it is not the case, there is something with the code.

Stick with the original version nevertheless, because it is stable and the fork does not seem to offer anything unique.

Regards.

Last edited by 000; 09-25-2022 at 16:45.
000 is offline
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-26-2022 , 03:17   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #3

Quote:
Originally Posted by 000 View Post
I think you have configured more days than allowed (25 max).

If it is not the case, there is something with the code.

Stick with the original version nevertheless, because it is stable and the fork does not seem to offer anything unique.

Regards.
Anyway I finally found the issue, it was something with the maximum amount of zombies it can read from the zombies.txt file. However, there is still one major issue on zombie-riot, the viewmodel weapons keep disappearing ????
RichardHafer is offline
000
Member
Join Date: Jul 2022
Old 09-26-2022 , 03:34   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #4

Quote:
Originally Posted by RichardHafer View Post
Anyway I finally found the issue, it was something with the maximum amount of zombies it can read from the zombies.txt file
Or that.

Which Zombie Riot?

You said a "zombie-riot" issue, but in you thread you have mentioned a forked version.

If it is the forked version: I have advised you already.

Which team is affected by the viewmodel disappearing?

It is a feature that the knife viewmodel of infected is invisible.
000 is offline
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-26-2022 , 06:35   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #5

Quote:
Originally Posted by 000 View Post
Or that.

Which Zombie Riot?

You said a "zombie-riot" issue, but in you thread you have mentioned a forked version.

If it is the forked version: I have advised you already.

Which team is affected by the viewmodel disappearing?

It is a feature that the knife viewmodel of infected is invisible.
All I tried the same stuff happens, even on the original. Look at the comments of the original thread (yes is over 100 sites of comments lol), many people reported it before. On CT site btw

Last edited by RichardHafer; 09-26-2022 at 06:49.
RichardHafer is offline
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-26-2022 , 08:27   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #6

Oh well, I tested this one, and it works perfectly !
RichardHafer is offline
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-26-2022 , 08:28   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #7

https://github.com/oylsister/sm-zombieriot-2
RichardHafer is offline
000
Member
Join Date: Jul 2022
Old 09-26-2022 , 23:41   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #8

Quote:
Originally Posted by RichardHafer View Post
Yeah, that is a delicious version. A lot of missing features have been added as well.
000 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode