Raised This Month: $ Target: $400
 0% 

[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 , 17: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
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-26-2022 , 04:17   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #2

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
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-26-2022 , 07:35   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #3

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 07:49.
RichardHafer is offline
RichardHafer
Junior Member
Join Date: Dec 2020
Old 09-26-2022 , 09:27   Re: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
Reply With Quote #4

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

https://github.com/oylsister/sm-zombieriot-2
RichardHafer 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 04:42.


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