- Script - MSI Clay Softener & Container Fillers (Color)
- Error - The script isn't able to find and/or withdraw jugs from the bank
- Debug
Code:[ * ] ------ 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
toCode: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;
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.Code: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 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.
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.Code:[ * ] ---- 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
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.


Reply With Quote







