Back to "gold" tags

Test your gold drop off - Bank deposit by Jaseowns

Description: Some people report that my organizer script is eating their gold. I didn't believe. I thought you were crazy! Shampoo let me in his out to try it out and sure enough, it was eating the gold. Dropping off on a bank deposit should return a system message.. for some safes (i think it depends on the position) you don't get this message but your gold goes away. I'll attach this script with a video example to file in bug report.

1# Test your gold drop off - Bank deposit  by Jaseowns
2# UO Outlands
3#####
4##  Some people report that my organizer script is eating their gold.  I didn't believe.
5## Shampoo let me in his out to try it out and sure enough, it was eating the gold.
6#  dropping off on a bank deposit should return a system message.. for some safes (i think it depends on the position) you don't get this message but your gold goes away
7# I'll attach this script with a video example to file in bug report.
8#### 
9# -1 -1 -1 is the "fix" and it already in my other drop off script as of 2/21/2023 4:23 PM CST
10###
11####
12
13@setvar! globalTimeout 650
14
15clearsysmsg 
16
17if findtype "bank deposit safe" ground -1 -1 2 as safe
18    if findtype "gold coin" backpack as gold
19        lift gold 1
20        drop safe -1 -1 -1
21        wait globalTimeout
22        if insysmsg "You deposit 1 gold into your bank box."
23            overhead "-1 -1 -1: Success" 88
24        else
25            overhead "-1 -1 -1: Fail" 34
26        endif
27    endif
28endif
29
30if findtype "bank deposit safe" ground -1 -1 2 as safe
31    if findtype "gold coin" backpack as gold
32        lift gold 1
33        drop safe 0 0 0
34        wait globalTimeout
35        if insysmsg "You deposit 1 gold into your bank box."
36            overhead "0 0 0: Success" 88
37        else
38            overhead "0 0 0: Fail" 34
39        endif
40    endif
41endif
42
43if findtype "bank deposit safe" ground -1 -1 2 as safe
44    if findtype "gold coin" backpack as gold
45        lift gold 1
46        drop safe
47        wait globalTimeout
48        if insysmsg "You deposit 1 gold into your bank box."
49            overhead "No Params: Success" 88
50        else
51            overhead "No Params: Fail" 34
52        endif
53    endif
54endif