[1.0] Auto Seller - (v2.0.4.2) (13-12-2019)

Started by Supes, July 14, 2015, 05:03:35 PM

Previous topic - Next topic

Florius

Just wondering if you had any time for my idea? Because it is getting a bit tiresome to create a rule for every kind of bow there is in the game. It would be much more helpful to select them all with for example the CTRL or Shift button.

Also I found a small bug. It says 59% health, but I set it up for 60%:
http://puu.sh/m5Z1M/b36035c23d.jpg

http://puu.sh/m5Z3y/b37f3d4055.jpg.

Supes

don't worry, it will come, but probably after Christmas when I have more free time.

At this moment I can only deal with small things (last few hotfixes were about 2-3 lines of code changed at the most) Where this new feature will require me to plan (pseudo code, Interface design etc) as well as coding, and will affect multiple parts of my mod.

Right now, I'm planning a Christmas meal with my family.  but please know that you haven't been forgotten.

Florius

Ofcourse, I apoligize for my impatience! Have a nice Christmas! :)

enterprise12

So i have been having a bug happen more and more often, i tried to ignore it at first.

So when a trader comes, and my colonist goes to autotrade, almost all the time now once he reaches the console, i get immense lag, nothing happens, he cannot move away from the console by any means, disable power, etc unless i arrest him. Arresting him makes him vanish, gone forever.

Only way to fix it is by reloading a save, which then you goto trade with them, but you cant even reach the trade screen, colonist just walks away after 1 second.
Tell me what logs you need! thanks!

Supes

AI is programmed to stand for 10 seconds in front of the comms console, gains social skill with each tick, then trades with all trade ship in range.

if you can send me your "\AppData\LocalLow\Ludeon Studios\RimWorld\Config\AutoSell.config" file, maybe also your save file located in "\AppData\LocalLow\Ludeon Studios\RimWorld\Saves" also a list of any mods that you have installed (if the list is big, you can always include your "ModsConfig.xml" file instead) would be great.  and I'll try and duplicate the error from those.

My current thoughts are an error is happening during trade, so the toil (part of the AI) doesn't end.  Although the trade screen bug is making me curious.

have you tried deconstructing and rebuilding the comms console, as some of the earlier versions of the AI used to try and reserve the comms console.  Regardless, I'll still look into this bug.


enterprise12

Quote from: Supes on January 06, 2016, 01:11:21 AM
AI is programmed to stand for 10 seconds in front of the comms console, gains social skill with each tick, then trades with all trade ship in range.

if you can send me your "\AppData\LocalLow\Ludeon Studios\RimWorld\Config\AutoSell.config" file, maybe also your save file located in "\AppData\LocalLow\Ludeon Studios\RimWorld\Saves" also a list of any mods that you have installed (if the list is big, you can always include your "ModsConfig.xml" file instead) would be great.  and I'll try and duplicate the error from those.

My current thoughts are an error is happening during trade, so the toil (part of the AI) doesn't end.  Although the trade screen bug is making me curious.

have you tried deconstructing and rebuilding the comms console, as some of the earlier versions of the AI used to try and reserve the comms console.  Regardless, I'll still look into this bug.
Yes i have tried deconstructing it, here are all the files.
Autosell.cfg: https://www.mediafire.com/?8nmsagx3kw80dtt
Save: https://www.mediafire.com/?8nmsagx3kw80dtt (All Cannibals!)
ModsConfig.xml: https://www.mediafire.com/?8nmsagx3kw80dtt

Supes

got the config file thanks, but looks like the other 2 links are duplicates of the config file link unfortunately.

enterprise12

Quote from: Supes on January 06, 2016, 06:59:06 AM
got the config file thanks, but looks like the other 2 links are duplicates of the config file link unfortunately.
Mods Config: http://www.mediafire.com/view/3kh52hxhc7tray3/ModsConfig.xml
Saves: https://www.mediafire.com/folder/0fzr883r8cj4b/Saves

Guess i didnt realize it didnt copy them xD

Supes

#83
Introducing the first iteration for Advanced rules.  these expand upon the function of 'Any' type rules after rule creation. 

I've done some fiddling to try and duplicate the error you've been receiving, but I'm unsure if it's still present or not.  Let me know if strange things are still happening :)

1.1.0.3
Advanced Rules
various tweaks


Grimandevil

#84
is it possible to add sorting "by name" and "by time" toggle?
and maybe highlight the actual item name a bit, to stand out from the wall of text.

btw, nice link ;)
welcome to the Rimworld - a world full of cannibal drug-addicted psychos, but free of vegetarians.

Supes

As requested, I've sorted the item list by name (also took the liberty of sorting the item and thing lists in the Main Config dialog), the advanced rule dialog should be more readable as well now.

1.1.0.3a
Item and Material Lists now sorted
Small changes to the Advanced Rule Dialog

And a new and improved link ;)

justarandomgeek

The auto seller doesn't seem to want to sell my sculptures. I have a rule for "Any Art Made From Any Materials" (I also tried "Any Sculpture"), but the sculptures just pile up in my storage room. If I manually select them to sell, the Auto Sell button will unselects them, like it's trying to maintain their levels as they are. It's working great for everything else. Maybe because sculptures are minified in storage?

Supes

Should be fixed now (at least for selling art), also some improvements in general

1.1.0.4
Advanced Dialog improvements
+Highlighting on changed fields
+Parent Rule Editing
Main Tab no long shows Advanced button for Art
Art Sculptures should be sellable again


Masquerine

#88
Found a bug, tested with just this mod enabled on vanilla rimworld (latest download from your link, v.1104 A12d). When you go to use the comms console to trade, pause the game. Trade with a trader and do a transaction that would leave them with no silver. Immediately after that trade, retrade with the trader without unpausing the game and you'll trigger this error.

I didn't modify any rules or settings or anything. Just new world>new colony>trade.

An older copy of the mod I still had from the download date of 12/31/2015 does not seem to trigger this error.

[attachment deleted by admin - too old]

Supes

I've made a few changes to AI and the trading algorithm now, although I'm still looking further into the bug.