Barotrauma

Barotrauma

AI NPCs
 This topic has been pinned, so it's probably important
RubbingMyAxe  [developer] 12 Nov, 2023 @ 12:26am
Bug Reports
Post bug reports here. Screenshots and console messages are helpful!
< >
Showing 1-15 of 16 comments
jobless1212 12 Nov, 2023 @ 6:39am 
https://imgur.com/j5KmmGs

Multiplayer
-Reinstalled LUA
-Started the game to create file
-I did API keys
RubbingMyAxe  [developer] 12 Nov, 2023 @ 7:59am 
Originally posted by CookieDotaxx:
https://imgur.com/j5KmmGs

Multiplayer
-Reinstalled LUA
-Started the game to create file
-I did API keys
Thanks, that error is when it is parsing the data that comes back from OpenAI. This looks like what other people have been reporting in the comments.

In the mod folder where the config file is, is there a HTTP_Response.txt? If so can you post the contents?
jobless1212 13 Nov, 2023 @ 5:14pm 
{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
jobless1212 13 Nov, 2023 @ 5:14pm 
Idk if this helps but we didnt get any response from AI's since the beggining also the webside is saying that I didnt even use API keys
Last edited by jobless1212; 13 Nov, 2023 @ 5:18pm
RubbingMyAxe  [developer] 13 Nov, 2023 @ 7:00pm 
You have tokens available for that key though? I am not sure why else you would get that response unless the key was entered incorrectly, though I assume OpenAI would throw a different message if you entered a bad key.

I should have an update out tomorrow that adds a lot more error checking and also the ability to edit the key and other settings via chat commands. If you could, try reinstalling the mod after that update comes out and let me know if it helps.
Oyster 12 Apr @ 1:15am 
Error when trying to chat with an NPC that has the 'Broken English' trait. "attempt to index a nil value"

I have zero modding experience but since it's the only trait with a space in its display name... is that maybe related to the issue?
RubbingMyAxe  [developer] 12 Apr @ 1:19am 
I already fixed that a while back, I just haven't had a chance to update the workshop version yet because I had a bunch of pending stuff in the code that's not ready yet... I may see if I can strip all that out that just do some of the bug fixes and options menu multiplayer syncing.
Oyster 12 Apr @ 1:44am 
Alright.
No idea on what I'm doing, but I managed to get it to work yesterday then suddenly this garbage starts. "[SV LUA ERROR] USERNAME C:/Users/USERNAME/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/3074046183/Lua/AI_NPCs/Utils.lua:(78,4-52): attempt to perform arithmetic on a userdata value"
RubbingMyAxe  [developer] 21 May @ 9:49pm 
Originally posted by Thingamabob:
No idea on what I'm doing, but I managed to get it to work yesterday then suddenly this garbage starts. "[SV LUA ERROR] USERNAME C:/Users/USERNAME/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/3074046183/Lua/AI_NPCs/Utils.lua:(78,4-52): attempt to perform arithmetic on a userdata value"
That's a new one. Are you using any mods? This error would happen when it's getting information about the state of the ship, specifically damaged electrical and mechanical devices. I am not sure what would cause the error you're getting though.
Originally posted by Thingamabob:
No idea on what I'm doing, but I managed to get it to work yesterday then suddenly this garbage starts. "[SV LUA ERROR] USERNAME C:/Users/USERNAME/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/3074046183/Lua/AI_NPCs/Utils.lua:(78,4-52): attempt to perform arithmetic on a userdata value"
I've been attempting to switch keys and models yet it still sets the exact error each time. And worse, I can't decipher it.
Originally posted by RubbingMyAxe:
Originally posted by Thingamabob:
No idea on what I'm doing, but I managed to get it to work yesterday then suddenly this garbage starts. "[SV LUA ERROR] USERNAME C:/Users/USERNAME/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/3074046183/Lua/AI_NPCs/Utils.lua:(78,4-52): attempt to perform arithmetic on a userdata value"
That's a new one. Are you using any mods? This error would happen when it's getting information about the state of the ship, specifically damaged electrical and mechanical devices. I am not sure what would cause the error you're getting though.
I do have quite a few mods enabled, several of which do add modded things. If it helps, I'll list some big ones. Enhanced Armaments (FFE expansion and RRR armaments as well), Hungry Europans, Dynamic Europa, Anomalous Artefacts
Originally posted by Thingamabob:
Originally posted by RubbingMyAxe:
That's a new one. Are you using any mods? This error would happen when it's getting information about the state of the ship, specifically damaged electrical and mechanical devices. I am not sure what would cause the error you're getting though.
I do have quite a few mods enabled, several of which do add modded things. If it helps, I'll list some big ones. Enhanced Armaments (FFE expansion and RRR armaments as well), Hungry Europans, Dynamic Europa, Anomalous Artefacts

I got the issue at almost the exact same time you did, mid conversation in game without making any changes. It seems as if it only happens when i am speaking to someone while on the ship itself. I can talk to people on the station with no problem but speaking to them while physically being on the ship causes that error.
Last edited by WidowedGalaxy; 21 May @ 11:33pm
Originally posted by WidowedGalaxy:
Originally posted by Thingamabob:
I do have quite a few mods enabled, several of which do add modded things. If it helps, I'll list some big ones. Enhanced Armaments (FFE expansion and RRR armaments as well), Hungry Europans, Dynamic Europa, Anomalous Artefacts

I got the issue at almost the exact same time you did, mid conversation in game without making any changes. It seems as if it only happens when i am speaking to someone while on the ship itself. I can talk to people on the station with no problem but speaking to them while physically being on the ship causes that error.
I'm also encountering the same situation. Outpost NPCs respond with no error, but talking to crew yields the error with no response.
Originally posted by Thingamabob:
Originally posted by WidowedGalaxy:

I got the issue at almost the exact same time you did, mid conversation in game without making any changes. It seems as if it only happens when i am speaking to someone while on the ship itself. I can talk to people on the station with no problem but speaking to them while physically being on the ship causes that error.
I'm also encountering the same situation. Outpost NPCs respond with no error, but talking to crew yields the error with no response.

I took a closer look at it and removed all mods but this AI chat mod and made a completely new game. The problem for me is specifically when the NPC i'm trying to talk to is physically on the sub. I can stand inside the sub and chat with crew on the station just fine but if the crew is inside the sub i get the error.
< >
Showing 1-15 of 16 comments
Per page: 1530 50