Discussion in   Help!   started     9 years ago   October 09, 2015, 10:54:15 AM   by   Mayonnaisu

Question about Spewys mining script and enchanted shovel

Mayonnaisu
Offline
16 Posts
Topic :   Question about Spewys mining script and enchanted shovel
9 years ago  October 09, 2015, 10:54:15 AM

Hello people!


I have a question about the script, i can get it to run correctly, but i have no idea how to make ut use the enchanted shovel here. Itll only recognize the regular shovel.

Does anyone know how to fix this? Would really appreciate it.

Thanks!


Finally got it to work. If anyone else wants it to ignore shovel count:


      GoSub DragAnyItem %DiggingTools #true %_uabSecureId 1 %BackpackId #false
      If %return = NoneFound
;      {
;         If %UseTinkering
;            goto _uabBreakShovelLoop
;         Display YesNo Could not find any shovels at the top of your bank/secure container.$
;                       +You won't be able to continue without more.$$
;                       +Would you like to have 15 seconds to place shovels where script can find them?
;         If #DispRes = No
;            Halt
;         Wait 15s
;      }
;      Goto _uabShovelLoop
   }
   _uabBreakShovelLoop:

just comment out those lines and itll ignore it.


Question though. With the unmodified script, i had 2 shovels in my backpack but yet it still pauses me when i leave ore in my secure box. I thought it would ignore that if i had a minimum of 2 shovels in my backpack? Or does it always want to craft shovels anyways?=

WafflesNCyanide
Offline
116 Posts
#1 Re :   Question about Spewys mining script and enchanted shovel
9 years ago  October 09, 2015, 07:07:13 PM

Most of the scripts required you to have two mining tools in case one broke while you were mining as it is awkward in EasyUO to check for that while in the middle of a loop already.  So you'd basically keep attempting to mine in the same spot forever and you wouldn't ever see the "there is no metal here to mine" or gain enough pack-weight to teleport back home.  So in order to work around this, they simply have you use two tools in your pack and if one gets destroyed, you can pick up/craft another when you reach your home location.

Mayonnaisu
Offline
16 Posts
#2 Re :   Question about Spewys mining script and enchanted shovel
9 years ago  October 09, 2015, 07:14:23 PM

Yeah but the weird part is that i actually had 2 shovels in my backpack but it still wouldnt let me pass after the first recall back to my house secured box. It only showed me the warning message that i dont have any shovels.
It works now though with the shovel check removed, but still it was strange

WafflesNCyanide
Offline
116 Posts
#3 Re :   Question about Spewys mining script and enchanted shovel
9 years ago  October 09, 2015, 07:58:52 PM

that is odd.  Were you using the enchanted shovel?

Mayonnaisu
Offline
16 Posts
#4 Re :   Question about Spewys mining script and enchanted shovel
9 years ago  October 10, 2015, 06:26:25 AM

I had 2 regular and 1 enchanted in my backpack at that time

Sturger
Offline
730 Posts
#5 Re :   Question about Spewys mining script and enchanted shovel
9 years ago  October 10, 2015, 03:43:39 PM

  Hope this is script is being used while attended... other wise its against the rules.   

  Thanks for following the rules.



   --Sturger--

Mayonnaisu
Offline
16 Posts
#6 Re :   Question about Spewys mining script and enchanted shovel
9 years ago  October 12, 2015, 03:21:38 PM

Yea, with all other scripts regarding resource gathering, its used while being monitored :)

Sturger
Offline
730 Posts
#7 Re :   Question about Spewys mining script and enchanted shovel
9 years ago  October 13, 2015, 03:40:28 PM

 Awesome.  Thanks for following the rules.