found an easy to use easyuo mining script

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Locked
spook4324
Novice Scribe
Posts: 9
Joined: Fri Nov 27, 2009 12:53 am

found an easy to use easyuo mining script

Post by spook4324 »

Nilmer's Major Miner
http://www.easyuo.com/forum/viewtopic.p ... 429#122429

It mines and smelts if you get the fire beetle version(using a mobile forge instead) to get the mobile forge to work we just need to change the fire beetle target id. So open the script in easyuo and scroll to the bottom of the script and look for sub SmeltOnBeetle. Now just change the fire beetle id, which is the "JJ G_2 " to "EIUJDSD" which is the mobile forge in my pack. Im assuming that the item id for the mobile forge is the same for everyone, if not open up easy uo and on the right side expand "last Action" and look at "#LLIFTEDID" and just pick up the mobile forge to get the id. Hopefully I explained that well for the newbs like myself slowly learning all this scripting.

Code: Select all

sub SmeltOnBeetle 
  ignoreitem reset oreIgnored 
  finditem JJ G_2 
  if #findkind = -1  
    {  
      display ok You don't have a fire beetle!  
      return  
    }  
  smeltonbeetle:  
  finditem DWJ_EWJ_GWJ_TVJ C_ , #backpackid  
  if #findkind = -1  
    return  
  if #findtype = TVJ 
   {       
    if #findstack < 2    
      {   
         ignoreitem #findid oreIgnored 
         goto smeltonbeetle 
       }   
    }  
  set #lobjectid #findid  
  event macro 17  
  target  
  findbeetle:  
  finditem JJ G_2 
  if #findkind = -1  
    {  
      event macro 3 0 all follow me 
      wait 40  
      finditem JJ G_4 
      if #findkind = -1  
        {  
          display ok Your beetle disappeared!  
          return  
        }  
       goto findbeetle 
    }     
  set #ltargetid #findid  
  set #ltargetkind 1  
  event macro 22 0  
  goto smeltonbeetle 
return
User avatar
Ilsanor
Legendary Scribe
Posts: 407
Joined: Tue Jun 07, 2011 5:47 am

Re: found an easy to use easyuo mining script

Post by Ilsanor »

No, the itemID is not the same for everyone, it's unique to each and every item. ItemType is the same, but it would require a line or two to use it properly. I might add it later, now I don't have the time to tinker with this script. Alternatives are good, but I'll stick to CP's radars anyways. ;)
Locked