Barotrauma
Multiplayer crew manager
Bu konu kilitlenmiştir.
My friend cannot control AI's
Hi,

I have no problem choosen between AI's but my friend cannot do it.

I Host with lua and we both wrote comman on console "Install_cl_lua" and restarted the game. But he still cant:

Is there any solve for this problem ?
< >
6 yorumdan 1 ile 6 arası gösteriliyor
Hi Inopnatum. Sorry for the late response

In one of the recent updates a new feature was added called "secure mode"
If secure mode is enabled only administrators are able to freely switch between characters

enter mcm help in the chat window for more information about secure mode.

You can also try and elevate your friend to admin/moderator, and see if that fixes the problem

Hope this helps! - Let me know if the problem persists
:o we will try A S A P

Thx for the mod <3 you make the game for us playable again

Cheers
En son Inopnatum tarafından düzenlendi; 1 Ağu 2023 @ 8:12
We still have the problem.

Things we tried:
- my friend also hosted a game and wrokte install_cl_lua
- mcm secure false
- and i gave him all the rights

He still cant select other AIs.

BUT!

he can roll between AIs with code "mcm controll "ID" ". But when he click on the names nothing happen...

En son Inopnatum tarafından düzenlendi; 1 Ağu 2023 @ 10:17
Hm - That sounds like the installation of client-side lua hasn't gone through properly... this might be due to any number of reasons

But it's not a problem we havn't solved before!

First of - When you "host" with the "LUA Server Executable" you're not actually hosting the server... Running the "Lua Executable" starts a dedicated lua server in the background of your machine, and then assigns the first connected user as a default admin (usually thats you!)

But make no mistake, all connected players are just clients. That means that you need a functioning client-sida LUA installation for the client/server interplay to work properly

I'd suggest that your friend uninstalls client-sida LUA by pressing the Uninstall Button that should have appeared in the upper left corner of the main menu, and re-do the process. If that button does not appear in the main menu, you might want to validate your game files, and retry the installation process

It's important to know that while you do NOT have to start the session (loading into the sub/station), you DO have to connect to a LUA executable server for the "install_cl_lua" console command to work (the server acts as your host-connection to download the necessary files).

When you've connected to the LUA server lobby, and entered the install_cl_lua command in the console window (F3) you should be granted with a message saying that client-side lua has been installed, and that you should restart your game.

The reason why he isn't able to transfer to another bot by clicking is because the mod essentially piggybacks on the "character-list-was-rearranged" event that is raised whenever you click or drag any of the character names in the character list

If the client-side isn't working properly (usually because some issue with client-side LUA) the clients are unable to send the "i want to control this character" message to the server
En son Akronyhm tarafından düzenlendi; 1 Ağu 2023 @ 10:39
İlk olarak Inopnatum tarafından gönderildi:
We still have the problem.

Things we tried:
- my friend also hosted a game and wrokte install_cl_lua
- mcm secure false
- and i gave him all the rights

He still cant select other AIs.

BUT!

he can roll between AIs with code "mcm controll "ID" ". But when he click on the names nothing happen...

I have similar issue with the mod but instead i, as admin, cant switch between bots.

Things i tried:
-verifying game cache
-reinstalling lua
-change/remove other mods
-trying commands (mcm secure, etc.)
-reloading lua

İlk olarak Akronyhm tarafından gönderildi:
Hm - That sounds like the installation of client-side lua hasn't gone through properly... this might be due to any number of reasons

But it's not a problem we havn't solved before!

First of - When you "host" with the "LUA Server Executable" you're not actually hosting the server... Running the "Lua Executable" starts a dedicated lua server in the background of your machine, and then assigns the first connected user as a default admin (usually thats you!)

But make no mistake, all connected players are just clients. That means that you need a functioning client-sida LUA installation for the client/server interplay to work properly

I'd suggest that your friend uninstalls client-sida LUA by pressing the Uninstall Button that should have appeared in the upper left corner of the main menu, and re-do the process. If that button does not appear in the main menu, you might want to validate your game files, and retry the installation process

It's important to know that while you do NOT have to start the session (loading into the sub/station), you DO have to connect to a LUA executable server for the "install_cl_lua" console command to work (the server acts as your host-connection to download the necessary files).

When you've connected to the LUA server lobby, and entered the install_cl_lua command in the console window (F3) you should be granted with a message saying that client-side lua has been installed, and that you should restart your game.

The reason why he isn't able to transfer to another bot by clicking is because the mod essentially piggybacks on the "character-list-was-rearranged" event that is raised whenever you click or drag any of the character names in the character list

If the client-side isn't working properly (usually because some issue with client-side LUA) the clients are unable to send the "i want to control this character" message to the server

So, if understand this correctly, i guess i have issue with "character-list-was-rearranged" event, and your suggestion to this problem was reinstalling lua - sadly it didn't work for me. I checked my mod list and this was the only one mod which has to do something with bots, so no compability issue i think. Any more suggestions on how to possibly fix that issue?
Not necessarily a issue with the event

But first i´d try to eliminate any potential mod conflicts by disabling all other mods, only keeping MCM and its necessary dependencies loaded in the following order

LUA for Barotrauma
CS for Barotrauma
MCM

Also make sure that you are actually launching with the Lua Executable Server (i know - i know... but sometimes people forget, and it has been the case in the past)

If things still aren´t working as intended, i´d start scouring the console window (F3) for any indications that the mod didn't compile properly - You can retry the compilation by entering the command "reload_lua"

You can also look in the console window (F3) for MCM status messages when switching in/out of missions to see if its running at all
En son Akronyhm tarafından düzenlendi; 7 Ağu 2023 @ 22:56
< >
6 yorumdan 1 ile 6 arası gösteriliyor
Sayfa başına: 1530 50