Open carsakiller opened 5 months ago
I believe I found the cause of this. In ui/modules/apps/Hotlapping/app.js
, the BeamNG devs check if the gamestate is 'freeroam'
and disable the controls if not:
line 389:394
let reevaluateControls = function(){
bngApi.engineLua('core_gamestate.state and core_gamestate.state.state', function(ret) {
//console.log("Reevaluating on my own.. State = " + ret)
scope.controlsEnabled = ret == 'freeroam'
})
}
Other than begging the devs to add "multiplayer"
to the check or redefining the entire app.js
with our own case that allows the gamemode to be "multiplayer"
, not sure what could be done about this.
So I too came to the same conclusion in testing this, the only way that I can see this happening is as already outlined above by @carsakiller .
The following would be ideal:
let reevaluateControls = function(){
bngApi.engineLua('core_gamestate.state and core_gamestate.state.state', function(ret) {
//console.log("Reevaluating on my own.. State = " + ret)
scope.controlsEnabled = ret == 'freeroam' || ret == 'multiplayer'
})
}
Have you read our FAQ/Wiki/#before-you-ask ? Yes
Describe the bug When joined to a BeamMP server, the hotlapping UI app is missing its buttons, rendering it completely unusable.![image](https://github.com/BeamMP/BeamMP/assets/61925890/b572d2b4-c8b1-43c4-84df-c881aa359c60)
To Reproduce Steps to reproduce the behavior:
UI Apps
Add App
Hotlapping
UI appExpected behavior I expect to be able to use the hotlapping UI app in multiplayer, as I can in singleplayer.![image](https://github.com/BeamMP/BeamMP/assets/61925890/7751e6e2-58e5-4a6b-964f-d5157578c8da)
Desktop (please complete the following information):
Additional context I have performed a few tests to see where the issue stems from. Here are my findings:
Safe Mode
and viewing theHotlapping
app is fine.