SRL Archive - MSI Bugs

Just a small bug, or two.


68z35h9

2011-12-24 02:06:26

  • Script - MSI Clay Softener & Container Fillers (Color)
  • Error - The script isn't able to find and/or withdraw jugs from the bank
  • Debug
  • [ * ] ------ MSI_OpenBank: True (BANK_VE/EV)
    [ * ] ------ MSI_Deposit
    [ * ] -------- Deposited all items in the inventory
    [ * ] ------ MSI_Deposit: True
    [ * ] ---- MSI_BankStandard: True
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_Withdraw
    [ * ] ------ Failed to find item in bank: Jug
    [ * ] ------ Didn't find item (Jug) in inventory
    [ * ] ---- MSI_Withdraw: False (Jug)
    [ * ] ------ MSI_SetupCooking: Failed 1 times
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_BankStandard
    [ * ] ------ MSI_OpenBank
    [ * ] ------ MSI_OpenBank: True (BANK_VE/EV)
    [ * ] ------ MSI_Deposit
    [ * ] -------- Deposited all items in the inventory
    [ * ] ------ MSI_Deposit: True
    [ * ] ---- MSI_BankStandard: True
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_Withdraw
    [ * ] ------ Failed to find item in bank: Jug
    [ * ] ------ Didn't find item (Jug) in inventory
    [ * ] ---- MSI_Withdraw: False (Jug)
    [ * ] ------ MSI_SetupCooking: Failed 2 times
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_BankStandard
    [ * ] ------ MSI_OpenBank
    [ * ] ------ MSI_OpenBank: True (BANK_VE/EV)
    [ * ] ------ MSI_Deposit
    [ * ] -------- Deposited all items in the inventory
    [ * ] ------ MSI_Deposit: True
    [ * ] ---- MSI_BankStandard: True
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_Withdraw
    [ * ] ------ Failed to find item in bank: Jug
    [ * ] ------ Didn't find item (Jug) in inventory
    [ * ] ---- MSI_Withdraw: False (Jug)
    [ * ] ------ MSI_SetupCooking: Failed 3 times
    [ * ] -- MSI_SetupPlayer: False
    [ * ] -- MSI_UnsetPlayer
    [ * ] ---- Failed to setup player
  • Variations
  • I tried to solve this myself, it didn't exactly work. I thought it was a problem with the DTM and that it was using a point that might be covered up by the yellow number, so I changed the code around a bit. I changed the DTM from

    JUG_EMPTY, JUG_WATER:
    Result := [
    Point(886, 273),
    Point(898, 280),
    Point(884, 294),
    Point(874, 286),
    Point(883, 267)
    ];
    ...
    ...
    ...
    JUG_EMPTY : Result := 6710891;
    JUG_WATER : Result := 12085350;
    to

    JUG_EMPTY, JUG_WATER:
    Result := [
    Point(18, 11),
    Point(11, 11),
    Point(22, 11),
    Point(17, 3),
    Point(15, 31)
    ];
    ...
    ...
    ...
    JUG_EMPTY : Result := 6579305;
    JUG_WATER : Result := 11494499;
    I used a point where the image would show up as blue when the jug was filled and it would be blank when it was empty. I thought I messed up something really severe when I saw in the debug that it did find the jug in the bank but couldn't remove it.
    [ * ] ---- MSI_Withdraw
    [ * ] ------ Found item in bank: Jug
    [ * ] -------- Length(p) = 1
    [ * ] -------- p := [(144, 101)]
    [ * ] ------ Uptext: hp^pp^pd ----\\{Hp&=a|bp}\^----$p|| qp|d $0 ^|&a p
    [ * ] ------ Didn't find item (Jug) in inventory
    [ * ] ---- MSI_Withdraw: False (Jug)
    [ * ] ------ MSI_SetupCooking: Failed 1 times
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_BankStandard
    [ * ] ------ MSI_OpenBank
    [ * ] ------ MSI_OpenBank: True (BANK_VE/EV)
    [ * ] ------ MSI_Deposit
    [ * ] -------- Deposited all items in the inventory
    [ * ] ------ MSI_Deposit: True
    [ * ] ---- MSI_BankStandard: True
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_Withdraw
    [ * ] ------ Found item in bank: Jug
    [ * ] -------- Length(p) = 1
    [ * ] -------- p := [(144, 101)]
    [ * ] ------ Uptext: hp^pp^pd -k--\\{Hp&=a|bp}\\----$p|| qp|d $0 ^|&a p
    [ * ] ------ Didn't find item (Jug) in inventory
    [ * ] ---- MSI_Withdraw: False (Jug)
    [ * ] ------ MSI_SetupCooking: Failed 2 times
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_BankStandard
    [ * ] ------ MSI_OpenBank
    [ * ] ------ MSI_OpenBank: True (BANK_VE/EV)
    [ * ] ------ MSI_Deposit
    [ * ] -------- Deposited all items in the inventory
    [ * ] ------ MSI_Deposit: True
    [ * ] ---- MSI_BankStandard: True
    [ * ] ------ Loaded material: Jug
    [ * ] ---- MSI_Withdraw
    [ * ] ------ Found item in bank: Jug
    [ * ] -------- Length(p) = 1
    [ * ] -------- p := [(144, 101)]
    [ * ] ------ Uptext: Withdraw-1 pd^P.^dre-^^^p^=a|bp}\\----$p|| qp|d $0 ^|&a p
    [ * ] ------ Didn't find item (Jug) in inventory
    [ * ] ---- MSI_Withdraw: False (Jug)
    [ * ] ------ MSI_SetupCooking: Failed 3 times
    [ * ] -- MSI_SetupPlayer: False
    [ * ] -- MSI_UnsetPlayer
    [ * ] ---- Failed to setup player
    [ * ] ------ All players inactive
    Lol. but someone just happened to be advertising a gold buying site and his words appeared at the top row and it was detected as uptext. So I ran it again and it worked! Or so I thought… After logging in, it successfully found and withdrew 28 jugs from the bank and went to the fountain to fill them. BUT, when it went back to the bank to go fill another load of jugs, it wasn't able to find them. So, I'm stumped, any ideas? *The debug for the third trial was the same as the first debug, just stated that it wasn't able to find jug in the bank.

Kyle Undefined

2011-12-24 14:08:40

Thanks for the report, I'll get on this when I return from the Holidays.

Kyle Undefined

2012-01-13 21:56:51

I know this is old, but I just now have time to go through all of the bugs. Marking this one as resolved, seems to be running fine.


{----------------------------------------------------------------}
{ MSI Phoenix Short Report }
{----------------------------------------------------------------}
{ Time Running: 7 Minutes and 28 Seconds }
{----------------------------------------------------------------}
{ }
{ Totals: }
{ - Players: 2 }
{ - Player Time: 02m 49s }
{ - Loads: 4 }
{ - Containers Filled: 100 }
{ }
{----------------------------------------------------------------}
{----------------------------------------------------------------}