Joe91 / fun-bots

A highly customizable and configurable bot mod for your Venice Unleashed Battlefield 3 server.
https://discord.gg/zNk3qCzk6x
237 stars 45 forks source link

Funbots crashes servers with multiple maps/game modes #227

Closed yb431 closed 2 years ago

yb431 commented 2 years ago

Scope

Core

What happened?

There’s a big problem with this mod. When you have multiple maps it crashes VU when switching to a new map. You might get it to switch once but good luck the next time. I checked all other mods I have and took them off 1 by 1. They weren’t the cause. When I left funbots on by itself the same crashes happened that I’ve seen other people complain about. When I took it off funbots I was able to change maps without crashing at all. Please fix this. Without bots VU is kinda useless.

What was expected?

Should have loaded into the next map.

How can we reproduce and test it?

Start a server on your own pc with funbots on it and put the maps in the maplist found in the funbots folder in your maplist file. Then change maps. It only happens when switching maps/gamemodes.

Version of fun-bots and VU?

funbot: i tried both 2.5.3 & 2.6.0 dev2 vu: 18848

I have checked the following... (if applicable)

iamadeadpixel commented 2 years ago

as sayd on discord. its not funbots, as what i understood ,there was a change in the VU core, and funbots is not yet coded with that routine. give Mr Joe and his team time to find a workaround.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Laomu-MagicFlute commented 2 years ago

This problem has not been solved for so long. I'm so bored that I can't play the game. I hope it can be solved as soon as possible

Laomu-MagicFlute commented 2 years ago

但是为什么一个月了,这个问题一点动静都没有

Laomu-MagicFlute commented 2 years ago

Brother, if this problem is closed, I will relay until it is fixed to

bokchoibuddy commented 2 years ago

Fantastic Mod... but fewer and fewer players...because of server and client crashes...need fix

Firjens commented 2 years ago

Please keep comments related to the issue. Thank you.

Laomu-MagicFlute commented 2 years ago

When changing the map, the countdown to the settlement is over, it will crash the VU first, but the server will not. At this time, you do not shut down the server, restart the vu, join the server and enter the deployment interface. When loading the BOT, the server side will crash. Not only many maps, but even if there is only one map in the maps file of the server and the mod, it will crash. You cannot start the next round, you can only restart the server and restart the game

Joe91 commented 2 years ago

I started to investigate this issue a little and I'm quite sure that this is a VU thing. I'm onto it and will let you know when something happens...

Joe91 commented 2 years ago

can you try if it still happens in the latest dev-commit? https://github.com/Joe91/fun-bots/tree/dev

Laomu-MagicFlute commented 2 years ago

你能试试它是否仍然发生在最新的开发提交中吗? https://github.com/Joe91/fun-bots/tree/dev

After the test, the map can be rotated normally, but the BOT won't move

Joe91 commented 2 years ago

Please make sure to use the dev-Version of VU! Otherwise this versin won't work at all.

To use the dev-version you have to add this to the target of VU: -updateBranch dev

OsQw3rty commented 2 years ago

Please make sure to use the dev-Version of VU! Otherwise this versin won't work at all. To use the dev-version you have to add this to the target of VU: -updateBranch dev

Hello, Been eyeballing this issue as I'm trying run server of my own. I can confirm that this works. The "-updateBranch dev" needs to be added to both client and server side. And when launching client, it takes a while to complete the update once vu starts.

Joe91 commented 2 years ago

Thanks a lot for that feedback! This will soon become the new prod-version so it won't be needed for that long anymore.

Firjens commented 2 years ago

Issue resolved.