[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

Supes

does the rule exclude items (red X), if it does, the advanced rule wont save details for reorder and sell values on those items (exclusions don't need those values to work).

if it's not an excluded item, check if upon loading the game if any yellow text appears in the debug log window, if invalid values have been detected upon loading, it will inform you here, and will tell you if action has been taken to correct it.

Proximity_Microwave

it does not exclude any items, I enabled verbose debugging and loaded up my save after creating some advanced rules, and this is a screenshot of the error that came up.

[attachment deleted by admin - too old]

Supes

send me your AutoSell.config file please (usually located in user\AppData\LocalLow\Ludeon Studios\RimWorld\Config), it will give me a better idea of what's happening internally.

a miscount shows that the rules were saved, but had a problem loading them (the invalid advanced rules should still be in the AutoSell.Config file as long as you haven't made changes since then).

Proximity_Microwave

Here you go. I have an advanced rule for apparel  to buy up to two body armors and sell everything else, if that is helpful at all.

[attachment deleted by admin - too old]

Supes

you've been very helpful thanks, I'll see what I can do from this, it does look like a loading error so far.

you might be interested to know I've extracted the following from line 1234 of your config file. (line 1234 showed up on your debug log window)


      <Exceptions>
        <Advanced>
          <Thing>Apparel_VestPlate</Thing>
          <SellCount>2</SellCount>
          <ReorderPoint>2</ReorderPoint>
          <RestockLevel>2</RestockLevel>
        </Advanced>
      </Exceptions>

Supes

new update available







1.1.1.3
Rules can include/excude sub categories now
Advanced rules will show things in subcategories if subcategories included
Rule materials will show materials from subcategory items if subcategories included
fixed advanced rules not loading when no exclusions were present

Litcube

What's the "art not selling" workaround?  I see mention of it, but I can't see how to do it.

Supes

art rules are best done via the Building tab, it also works best creating rules for each sculpture size rather than using Any

Litcube


lc-soz

This is one of my favourite mods (together with the Expanded Prosthetics and Fluffy's mods) but I have a small issue. I use the mod Right Tool For The Job v1.16, that add toolbelt, advance toolbelt, axe and others item. I created a rule to sell all appeal with less than 50% of health, it sell every other item except from the tool belt and advance toolbelt, to make it work I need to create one rule for each of thoses items. Itens add by Expanded Prosthetics works just fine. There's a way to solve this? [I looked in "Advanced Rule Config" and both toolbelts are listed, it doesn't work when I create a rule to sell every appeal regardless of health too]

Supes

#145
I think I found the problem, the tools and belts didn't have any stuff def attached to them, so it didn't match the 'null' stuff with the rule materials.







1.1.1.4
Fixed an item that is made from no materials not sold when materials selected in the rule
Fixed Building Rules 'Any' not selling items

lc-soz

Quote from: Supes on October 10, 2016, 11:16:28 AM
I think I found the problem, the tools and belts didn't have any stuff def attached to them, so it didn't match the 'null' stuff with the rule materials.







1.1.1.4
Fixed an item that is made from no materials not sold when materials selected in the rule
Fixed Building Rules 'Any' not selling items

You updated the mod because of my little issue in less then 24 hours! Thanks so much for the effort, I'm very grateful for yours consideration!

lc-soz

I think I've found another small issue. I want to sell almost all my drugs, except beer that I want to have stock from 100 to a maximum of 300. But when I put that rule together with others drugs it doesn't work (separately works just fine).

[attachment deleted by admin - too old]

Supes

#148
Quote from: luc-soz on October 10, 2016, 02:27:19 PM
You updated the mod because of my little issue in less then 24 hours! Thanks so much for the effort, I'm very grateful for yours consideration!
Your welcome, I can usually find issues to do with the main trading code quickly with enough details.

I think I found the problem with the advanced rules, to do with the improved stack checking to use the normal rule instead of the advanced rule, I've updated the steam version, and attached the new dll for non steam users.

1.1.1.4b
Hotfix single stacks no longer treated differently than multi stacks


[attachment deleted by admin - too old]

Farhca

Really great mod, thank you very much! I have a small request though, is there any chance of adding the option of selling items whose value is below x amount of silver? It would be really handy, really hope it's doable and not hard to implement, thanks again!