RimWorld

RimWorld

OpenRimWorldAI.Overlord
31 Comments
CTH2004 1 Mar @ 6:05am 
"But not without errors"

something like this should have a "downside". What if you keep some of the errors (basically, fix any that cause issues such as lag, incompatibility, ect), but leave some errors (or, even add your own, such as some incorrectly made XMLs. Or code that mimics an error, like if you can output an "error" to the log that is red...(

If you use code to make fake errors in the log, maybe some of the reports from this mod will be put in the log along with actual errors... (wether or not it gets saved in the file and/ or uploaded by HugsLib is up to you)
Mankindrocks1717 27 Feb @ 2:58pm 
This is not working for me right now, it generates a daily report but that's it. Really want to be able to use this mod though, want it to completely run every aspect of the game. Please keep working on this.
AkumuNyaaa 26 Feb @ 7:21pm 
Can you show me your tutorial?
a502502902 23 Feb @ 6:40am 
In the game, I can see a "report to leader" message in the message box
However, when I check my OpenRouter API KEY activity monitoring, it shows no API usage
a502502902 23 Feb @ 6:38am 
Hello, I encountered the following errors while using the OpenRimWorldAI mod:
CopyOpenRimWorldAI (AI Chat request failed: )
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
OpenRimWorldAI.Log:Message (string)
OpenRimWorldAI.AI/<>c__DisplayClass14_1:<AIChatAsync>b__0 (UnityEngine.AsyncOperation)
UnityEngine.AsyncOperation:InvokeCompletionEvent ()

OpenRimWorldAI (Response Code: 200)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
OpenRimWorldAI.Log:Message (string)
OpenRimWorldAI.AI/<>c__DisplayClass14_1:<AIChatAsync>b__0 (UnityEngine.AsyncOperation)
UnityEngine.AsyncOperation:InvokeCompletionEvent ()
Does this error indicate that the mod is not working properly?
LoneLemone  [author] 15 Feb @ 6:06pm 
v.0.3 is release

Large improvements compared to the prior version with some additional feature being added (See AI Settings to enable them)
LoneLemone  [author] 15 Feb @ 4:37pm 
@A V.O.I.D Representative - It's all in text. If you turn on AI Debugging to level 2 in the AI settings, you'll be able to see the full prompt and response.

You can use flash thinking, however it'll be contained within the response and currently it's not being filtered out. I can experiment with this, but I want to get the basic functionality working (e,g: The room perimeters need to be correctly defined by the AI)
A V.O.I.D Representative 11 Feb @ 11:19am 
Some questions
Wouldnt 2.0 flash thinking be the best? It can 'think' about what its doing
Do you use the tools function built into the gemini api (if you can)
Are you uploading all the data need to a file then sending that file or putting it all in text?
LoneLemone  [author] 9 Feb @ 9:40pm 
@mastercheifbud1 - I've added settings. There may have been an issue with the data feeding improperly to the AI. Seems like the AI didn't want to build after the first room was completed, or was being too conservative with resources.

I added new settings, "Create New Buildings" will be off by default until I can debug it further, but you should be able to turn it on and see some better results.
masterchiefbud1 9 Feb @ 3:38pm 
the pawns just walk around doing nothing
LoneLemone  [author] 9 Feb @ 11:18am 
@mastercheifbud1
- It should be on by default. If you're having issues look for the little "Andoird" icon. There could be an issue with the "Shared Keys" having reached their limit. It's better to create your own even for using the free models.

This mod is currently still a Work-In-Progress. I recommend checking out the "AskAPawn" expansion.
masterchiefbud1 9 Feb @ 5:37am 
how do i turn on the ai
2922608187 8 Feb @ 6:09pm 
thanks
LoneLemone  [author] 8 Feb @ 2:13pm 
@2922608187

Gemini 2.0 works best. I need to review some of the prompts and evaluate what the data is looking like. AI has shown some potential with it's capability to build walls, but sometimes it misses the mark and maybe that's how the prompt is being delivered or the data sets.

@mooreantonio042

Half this mod is the addition of more data->string classes for the AI to understand the current state of the game.
The other half are all prompt instructions.
2922608187 8 Feb @ 12:47pm 
Which model is recommended for management? It seems that most of the models don't have much to operate on, or perform planning that is hard to understand, such as destroying existing rooms, some pointless construction.
Would it be possible to have its core mod use local ai models and have it attempt to use mod-built items based on descriptions or local files that understand what the items do?
lil-Ant 7 Feb @ 1:04pm 
These mods are awesome but ambitious, do you think you bit of more than you can chew with this?
LoneLemone  [author] 7 Feb @ 5:48am 
@Teh_Dav That's a separate expansion I started but haven't even tested yet. Probably more practical than this one :D
LoneLemone  [author] 7 Feb @ 5:46am 
@RedWolf I can, but I still have a lot of work to do with it. The prompts aren't even Defs yet...
Redwolf 7 Feb @ 4:06am 
can you make it open source or smth on github?
TSense 6 Feb @ 1:49pm 
Can I give the AI cues about what to do? Or does it just try to play Rimworld?
Saint Iblis 6 Feb @ 10:28am 
why even play the game at that point? just download one of those shitty afk mobile games
wax999 6 Feb @ 12:33am 
Why does my little man always like to run far away to chop trees? There are trees to chop right in front of my house. Is there an error in which option?
Skye Chambers 5 Feb @ 7:32pm 
I always wondered if we'd ever have a mod that allowed colonies to run by themselves without player intervention. I can't wait to see how this mod evolves as time goes on.
SenjuWoo 5 Feb @ 7:04pm 
@TeH_Dav YES!
TribbleDEstroyer 5 Feb @ 9:13am 
started with 10 colonists
They built a house.
slept outside.
got raided and all died.

10/10 will watch the ai fall over itself for the next week
Enigma 5 Feb @ 6:53am 
@Teh_Dav I just found a mod for that too
RimDialogue - AI Powered Conversations
krensit 5 Feb @ 6:27am 
xd
TeH_Dav 4 Feb @ 11:54am 
It would be cool if we had an AI that could generate conversations between pawns using the speech bubbles mods.
Pletter 4 Feb @ 3:45am 
I will now dub thee: LoneLemming.

Go forth and walk off walls for our amusement.
Rose 4 Feb @ 2:58am 
Ridiculous concept, love it already. Kinda just spammed 132 walls on top of eachother and then stopped doing anything. 10/10
Maty the Fluff :3 4 Feb @ 2:49am 
I will watch your career with great interest.