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

Having more than 30 waypoints cases in load_waypoints() crashes the game #78

Closed
Resxt opened this issue Sep 10, 2022 · 1 comment
Closed

Comments

@Resxt
Copy link
Contributor

Resxt commented Sep 10, 2022

Hello,

I was recently setting up my servers when suddenly my game started crashing every time I clicked on "Start match" (in private match) no matter which map or mode I picked.

I tested half of the base game maps, some DLC maps, some Plutonium maps and some custom maps I had and they were all crashing in the load screen.

I spent hours trying to find what could be causing this so I re-did a clean installation of Plutonium, re-added things one by one and tried each time. It only crashed when I re-added my 32 cases in the load_waypoints() switch case found in maps\mp\bots\waypoints\

I attached my waypoints folder and my _bot_utility.gsc files here so you can have a look.
Apart from the default case it has 31 cases. If you remove any of them, no matter which one it won't crash anymore since you will be at 30. If you try again by adding one or two cases you will see it crashes again.

After testing for a moment it seems that having more than 30 cases causes the game to crash in the loadscreen.
"Out of memory error. You are probably low on hard disk space"

image

Please let me know if I can help you in away.
I love Bot Warfare and I have more than 30 custom maps and would love to use them all with bots using working waypoints, thanks!

@ineedbots
Copy link
Owner

Engine issue, its trying to compile all the waypoint gsc at once for each map. There isn't many free gsc scripts left.

Use the new way of loading waypoints: https://github.com/ineedbots/piw5_bot_warfare/tree/master/raw/scripts/mp

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