ScriptUO

Official ScriptUO EasyUO Scripts => Script Snippets => Topic started by: Cerveza on February 03, 2012, 03:11:08 PM

Title: We didn't start the fires...
Post by: Cerveza on February 03, 2012, 03:11:08 PM
This will put out those fires in towns within 2 tiles. No clue what for... just saw a fire and thought of this.

Code: [Select]
finditem GXV_KIG G_2
if #findCnt > 0
  {
  set #lobjectID #findID
  event macro 17
  wait 5
  }
wait 5
Title: Re: We didn't start the fires...
Post by: Kandie on February 03, 2012, 04:09:35 PM
Thanks a bunch, saves my darn arm from all that clicking ;)
Title: Re: We didn't start the fires...
Post by: Cerveza on February 03, 2012, 04:11:04 PM
Glad it helps.
Title: Re: We didn't start the fires...
Post by: TrailMyx on February 03, 2012, 04:12:08 PM
What's the point of the fires anyhow?
Title: Re: We didn't start the fires...
Post by: manwinc on February 03, 2012, 04:25:26 PM
*Stands on corner wearing nothing but a sign saying !THE END IS NEAR!"
Title: Re: We didn't start the fires...
Post by: seeriusly on February 03, 2012, 04:48:19 PM
add "KIG " in there too for picking up the garbage which is hard to click at times...  ^^
Title: Re: We didn't start the fires...
Post by: Kandie on February 03, 2012, 04:58:23 PM
I don't know how to add that :(  I'm not very good at that....
Title: Re: We didn't start the fires...
Post by: Cerveza on February 03, 2012, 05:10:28 PM
Added to the first post. Thanks.
Title: Re: We didn't start the fires...
Post by: Kandie on February 03, 2012, 05:14:55 PM
you all are the Greatest here on Script UO......You are very much Appreciated, and its never said enough...Thanks :)
Title: Re: We didn't start the fires...
Post by: gimlet on February 03, 2012, 06:56:56 PM
Damn occupy wallstreet protesters in UO!
Title: Re: We didn't start the fires...
Post by: NObama on February 03, 2012, 09:48:15 PM
Can you add functionality to scoop up the poop, too?

 ;)

Seriously, what is the game coming to?
Title: Re: We didn't start the fires...
Post by: TrailMyx on February 03, 2012, 11:06:19 PM
you all are the Greatest here on Script UO......You are very much Appreciated, and its never said enough...Thanks :)


Don't inflate Cerveza's ego too much; I don't know how big that thing gets!!  ;)
Title: Re: We didn't start the fires...
Post by: manwinc on February 03, 2012, 11:11:02 PM
Coming from the Guy who has Awesomeness!!! below his name.......
Title: Re: We didn't start the fires...
Post by: TrailMyx on February 03, 2012, 11:18:12 PM
Title: Re: We didn't start the fires...
Post by: UoLugnutz on February 04, 2012, 03:39:35 AM
What's the point of the fires anyhow?

Pick up trash, put out fires and arrest protesters and it will give you loyalty points toward a city. Don't think the purpose of City Loyalty as been posted yet.  So pick your favorite city and start cleaning up I guess. I wanted Ocllo but haven't seen anything happen there yet
Title: Re: We didn't start the fires...
Post by: dxrom on February 04, 2012, 07:26:59 AM
Code: [Select]
set %timerMove #scnt2
set #lpc 10

repeat
finditem GXV_KIG G_12
if #findCnt > 3
  {
  set #lobjectID #findID
  set %crap #lobjectID
  gosub walkTo
;  event macro 17
  }
  wait 5
until #CLICNT = 0

sub walkTo
  finditem %crap
  if #findDist > 0 ;&& ( %timerMove < #scnt2 )
     event pathfind #findX #findY
     set %timerMove ( #sCnt2 + 20 )
     event macro 17
     wait 5
return

For the truly lazy. :>
Title: Re: We didn't start the fires...
Post by: Adenocard on February 04, 2012, 04:32:33 PM
Cerv you truely are a dork, get back to pvping and stop making fire scripts GEEZ... wheres the raid wheres the raid ohhh its over ok bye
Title: Re: We didn't start the fires...
Post by: dreamzcaster on April 07, 2012, 10:11:01 AM
Code: [Select]
set %timerMove #scnt2
set #lpc 10

repeat
finditem GXV_KIG G_12
if #findCnt > 3
  {
  set #lobjectID #findID
  set %crap #lobjectID
  gosub walkTo
;  event macro 17
  }
  wait 5
until #CLICNT = 0

sub walkTo
  finditem %crap
  if #findDist > 0 ;&& ( %timerMove < #scnt2 )
     event pathfind #findX #findY
     set %timerMove ( #sCnt2 + 20 )
     event macro 17
     wait 5
return

For the truly lazy. :>
 
Works Quite Well, is there any way to make it scan in a wider area?  Also your best bet is to set the find count higher as it tends to let the fires grow bigger and bigger (This only works well with a couple of rioters near each other).  I have been "herding" (attacking but not hitting them to get them to follow me to a nice open area) so that I can have two or more rioters making fires/dropping garbage in one place.  Can get some serious fires going on this way.

Title: Re: We didn't start the fires...
Post by: Oracle on July 07, 2012, 11:14:21 PM
Thanks Cerveza (and dxrom) this is a cool little snippet.  It does saves the fingers and the mouse wear by not having to do so much 'clicking'...  I made it a goal to try and get each one of the City Banners.

I am trying to herd 2 or more as someone suggested by attacking them and having them follow me, but they dont follow too far.  Was also thinking that this would be nice if it had a stop and start key set to one of the 'F' Keys so you can run around the City and keep doing it...
Title: Re: We didn't start the fires...
Post by: dxrom on July 08, 2012, 12:14:19 AM
What I was doing with my script, when I played UO, was I would move 3-4 rioters to one spot and put wooden boxes around them, enclosing them to a 1 tile range and simply letting the script run... You have to check in every couple of hours though because the chests will despawn.
Title: Re: We didn't start the fires...
Post by: Oracle on July 09, 2012, 11:27:27 AM
Tried using this script today and kept getting "Can't Get There" and "I can't reach that" even though I was standing in the middle of lots of Wall of Fires and garbage 2-4 tiles away.