Page 2 of 145 FirstFirst 1 2 3 4 12 52 102 ... LastLast
Results 11 to 20 of 1448

Thread: OCD Inventory control

  1. #11
    Senior Member
    Join Date
    Jul 2008
    Posts
    526

    Default

    For the autosell map, wouldn't you get the same effect by simply not putting them in the map? I understand the negative values in save[], but not auto_sell[].

  2. #12
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    12,968

    Default

    Sorry. Misread your post. Realized what you'd written. Then edited my post mere moments before you posted a follow-up reply. Here's what my edited post says:

    You're right. Such items won't be sold, but I wanted them to be listed anyway in case I changed my mind. Perhaps that was a weird design choice.
    Originally Posted by Bale View Post
    It would have the same effect if I hadn't put them in the map at all. I just wanted it to be easy to alter if I change my mind.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  3. #13
    Senior Member
    Join Date
    Sep 2008
    Posts
    795

    Default

    [quote=zarqon;11187]My favorite script name is still this one. The font also helps.



    one of my most useful/least used by others scripts...

    Bale, I'm sorely tempted, but I've made too much meat off random crap that suddenly became valuable due to a special event or game mechanic change (100 briefcases during Crimbo, anyone?). Cool script though!

  4. #14

    Default

    Seems to have worked great, except for a couple little hickups with pricing it seems...

    03/28/09 20:04:46 Bubblies bought 1 (Hodgman's journal #4: View From The Big Top) for 100 Meat.
    03/28/09 20:04:41 Bubblies bought 4 (Hodgman's journal #2: Entrepreneurythmics) for 400 Meat.

    So I got outted about 1 mil meat, that's all I noticed. Maybe a problem with the "#" or something else in the item name?
    Last edited by Shiverwarp; 03-30-2009 at 03:39 AM.

  5. #15
    Junior Member
    Join Date
    Feb 2009
    Posts
    13

    Default

    Great script!

    Is there any way to include the option of sending stuff to wadbot?

  6. #16
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    12,968

    Default

    Yes. I'm not going to add it to the script, but if you want to do it, you'd just need to add something similar to this:

    cli_execute("send "+ to_string(item_amount(it)-save[it])+ " " +to_string(it) + " to wadbot");
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  7. #17

    Default

    Any thoughts as to the mispricing of Hodg journals?

  8. #18
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    12,968

    Default

    Mispricing? My thought is that someone was selling some of those for a surprisingly cheap price.

    When you tell a script to simply price according to current mall prices you take your luck. You could argue that is a serious design flaw and if you want to figure a way of making sure everything is priced in a way guaranteed to make you money, then go ahead and do it.

    My recommendation is to manually mall anything whose price you're concerned about, or write in an exception for that item. I'm not really concerned enough to do so myself.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  9. #19

    Default

    The first 5 items of both journals minpriced? Completely improbable.

    I think I've found the problem, when actually searching for "hodgman's journal #4: view from the big top" It returns no results, same with "hodgman's journal #2: entrepreneurythmics"

    So apparently the search just doesn't like those items, I'm guessing the colon.

    Anyways, the problem is this makes the script minprice them, rather than leave it as the max price. This could be a problem for any such item that returns no results for some reason.

  10. #20
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    12,968

    Default

    Well, I want them minpriced. If you want them maxpriced, it's a simple change. I assume you can do that?

    If search doesn't like the colon, then that is a mafia bug. Please report the bug or else I'll play with it a bit once I'm out of Bad Moon and then report it myself.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


Similar Threads

  1. Replies: 0
    Last Post: 04-09-2015, 09:04 AM
  2. Feature Add Choice Adv control for Reflection of a map
    By Rinn in forum Bug Reports
    Replies: 22
    Last Post: 01-31-2013, 05:54 AM
  3. Bug Getting Debug log when running OCD Inventory control
    By jwylot in forum Bug Reports
    Replies: 5
    Last Post: 12-31-2012, 10:49 PM
  4. Replies: 15
    Last Post: 06-10-2011, 12:15 AM
  5. Replies: 0
    Last Post: 05-30-2011, 11:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •