igoforth / RWAILib

MIT License
4 stars 0 forks source link

Server reports busy but no activity #1

Closed Sixdd6 closed 2 months ago

Sixdd6 commented 2 months ago

I subscribed to the mod, started the game and selected the Small option from the popup then pressed continue but nothing seems to be happening. I checked in the mod options panel and it just says "AI Server Busy 0%" and the percentage hasn't changed even after trying several restarts and leaving it to run for an hour. None of the other buttons seem to do anything in the mod options either.

Here is a link to my log if that will help: Link

igoforth commented 2 months ago

Hey! Thanks for submitting a GitHub issue. I read through the log file (just ctrl+f for "RWAI Core"), and I can see that the mod began bootstrapping the AI. When it starts this process, it hands over control to a python script which is responsible for downloading the files. You can see which URL's it downloads from here:

https://github.com/igoforth/RWAILib/blob/master/bootstrap.py#L31-L124

I've heard of people running into what you're experiencing, so I'm curious to figure it out. Unfortunately, it could be caused by a variety of things. For instance, sometimes Avast antivirus misbehaves, sometimes when you run Rimworld as administrator the processes can't start or stop correctly, etc.

I'm going to give you a debug build of the mod to try, which prints a bunch of extra log messages to help us figure out what's going on. Before you run with these, do the following things for me:

  1. Delete the folder here if present: %USERPROFILE%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\RWAI
  2. Turn off any antivirus besides windows defender
  3. Ensure you are NOT running Rimworld as administrator

If you run into the issue again, (like it stays at 0% after 5-10 mins), please close Rimworld and send me your log again. The log will definitely give me clues, and we'll go from there 😎

AICore.zip AIItems.zip

Sixdd6 commented 2 months ago

Ok, followed the steps and here is the new log: Link

To be clear I'm not running rimworld as admin and I'm just using the included windows defender.

Sixdd6 commented 2 months ago

Not sure what is different since I don't see any updates on steam since the 24th but it's working for me now. A real head stratcher for me since I didn't change anything.

igoforth commented 2 months ago

That’s great to hear. I imagine it could have been Llamafile updating and not being verified by the antivirus yet.