COKE heres that my script if you would ...

Name says it all
Locked
User avatar
MrJones
Expert Scribe
Posts: 37
Joined: Mon Aug 25, 2014 12:26 pm

COKE heres that my script if you would ...

Post by MrJones »

Okay, This works for me great, all I do is walk around and script hits all the buttons and attacks for me, with uo steam filters it also loots for me, bandies and gold :) But.....

If i could get the primary and or secondary abilities to get in there with it, i would have one hit kills. Which would make it easier for me... :)

Here is the script im using below...

Code: Select all

hits < 185
msg [bandself
pause 3000
@getenemy 'murderer' 'enemy' 'criminal' 'gray'  'closest'
@setability 'primary' 'on'
@attack 'enemy'
pause 500
if not timerexists 'divinefury'
  settimer 'divinefury' 0
endif
if timer 'divinefury' >= 80000
  cast "Divine Fury"
  settimer 'divinefury' 0
endif
The Great One,
Mr.Jones!!
Whiplash
Novice Scribe
Posts: 8
Joined: Sat Jun 07, 2014 2:02 am

Re: COKE heres that my script if you would ...

Post by Whiplash »

Not sure if you had someone to update this for you but since it's relatively harmless I'll update what I gave you last time to work better if you don't have insta healing.

Code: Select all

if not timerexists 'heal'
	createtimer 'heal'
endif
if not timerexists 'divinefury'
  settimer 'divinefury' 0
endif
if timer 'heal' >= 3000
if hits < 185
msg [bandself
settimer 'heal 0
endif
endif
@getenemy 'murderer' 'enemy' 'criminal' 'gray'  'closest'
@setability 'primary' 'on'
@attack 'enemy'
pause 500
if timer 'divinefury' >= 80000
  cast "Divine Fury"
  settimer 'divinefury' 0
endif
So the problem is the original script uses specials properly but when you heal, it pauses the entire script as you don't have insta healing yet. To fix this you just add a timer to the script and a check before your healing routine so it will heal you when you're low enough, but only if you're bandage is ready. Example: You're health is 140 but the previous script run used a bandage which triggers the timer, the next script run won't initiate the timer till it's 'ready' so just runs through your attack routine spamming weapon specials and attacking targets. Just remember to adjust the timer as you get more dex. Also, not sure why you have divine fury on a timer and not stamina but I just left it as is.

I haven't actually tested this in-game but it should work fine or at least be enough for you to complete it.
Locked