Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert failed: (0 <= iIndex && iIndex < m_iSize); in operator[](), file /home/romi/botrix/botrix/good/include/good/vector.h, line 321 #7

Open
ghost opened this issue Dec 31, 2021 · 8 comments

Comments

@ghost
Copy link

ghost commented Dec 31, 2021

Assert failed: (0 <= iIndex && iIndex < m_iSize); in operator, file /home/romi/botrix/botrix/good/include/good/vector.h, line 321

This error only shows up on the latest version. Version 1.0.0 works fine however.

Not sure what this means.

@borzh
Copy link
Owner

borzh commented Jan 7, 2022

It means array out of bounds exception.
When does this happen? Can you provide more details? Does it always happen?

@ghost
Copy link
Author

ghost commented Mar 20, 2022

It shows up as soon as I start my server, and crashes the server, restarting it.

@ghost ghost closed this as completed Mar 20, 2022
@ghost ghost reopened this Mar 20, 2022
@borzh
Copy link
Owner

borzh commented Mar 20, 2022

What map? Any map? Linux right?

@ghost
Copy link
Author

ghost commented Mar 20, 2022

It crashes on any map, just after a level is loaded. I also get
Assert failed: (cEntityClass.sClassName.size() > 0); in GetEntityType(), file /home/romi/botrix/botrix/item.cpp, line 439
sometimes.
Version 1.0.1 seems to be working also, which was the version I was originally using.

@boris-nocapinc
Copy link

Can you post here the botrix commands you use in server.cfg? Or maybe the whole file?

@ghost
Copy link
Author

ghost commented Mar 29, 2022

botrix waypoint autocreate on
botrix path autocreate on
botrix config bot quota 9
botrix config bot intelligence fool
botrix config waypoint analyze amount 1
botrix config waypoint analyze map-change 1
botrix config waypoint unreachable 2
botrix config waypoint analyze distance 72
botrix config bot weapon allow off weapon_smg1
botrix config bot weapon allow off weapon_slam
botrix config bot weapon allow off weapon_frag
botrix config bot weapon default weapon_pistol
botrix config bot team unassigned
botrix config bot suicide 0
botrix item draw all
botrix item drawtype all

@ghost
Copy link
Author

ghost commented Mar 30, 2022

Strangely, it seems every version of Botrix crashes with this error unless I restart the computer. It only works once and then you need to restart it again.

@ghost
Copy link
Author

ghost commented Mar 30, 2022

It does this immediately after the waypoint visibility table is loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants