Discussion in   Coding Corner   started     5 years ago   March 19, 2019, 07:48:31 PM   by   Krypher

Provo macro

Krypher
Offline
1 Posts
Topic :   Provo macro
5 years ago  March 19, 2019, 07:48:31 PM


Hi I'm looking for a working Provocation UOS script?  The one's have, have it Provoking my target then it targets self. which does not work.


Thank You for reading

Evolution
Offline
1299 Posts
#1 Re :   Provo macro
5 years ago  March 21, 2019, 10:35:06 AM


Here are a few UO Steam Scripts for raising the skill Provocation on UO Evolution Shard.  You might try them all, some of the scripts are advanced and some simple.  You may have to adjust some of the numbers to work for you.  Hope this helps - Dante


//Name: Dual Mob Provoke Macro

//Description: This macro selects the two nearest mobs and provokes them upon one another. No selection is required, only set this macro to a hotkey. Be aware that you do not have control over who it targets if multiple mobs are equally in range.

//Select an instrument automatically to use

if @findtype '0xe9e' '0' 'backpack' 'any' '2' //Tambourine with red tassle

@setalias 'instrument' 'found'

elseif @findtype '0x2805' 'any' 'backpack' 'any' '4' //Flute

@setalias 'instrument' 'found'

headmsg "Instrument set" '66'

@useobject 'instrument'

elseif @findtype '0xe9d' '0' 'backpack' 'any' '2' //Tambourine

@setalias 'instrument' 'found'

@useobject 'instrument'

elseif @findtype '0xe9c' '0' 'backpack' 'any' '2' //Drum

@setalias 'instrument' 'found'

@useobject 'instrument'

elseif @findtype '0xeb3' '0' 'backpack' 'any' '2' //Lute

@setalias 'instrument' 'found'

@useobject 'instrument'

elseif @findtype '0xeb2' '0' 'backpack' 'any' '2' //Lap Harp

@setalias 'instrument' 'found'

@useobject 'instrument'

elseif @findtype '0xeb1' '0' 'backpack' 'any' '2' //Standing Harp

@setalias 'instrument' 'found'

useobject 'instrument'

pause 800

else

headmsg 'No instrument found'

stop

endif

@cleartargetqueue

@ignoreobject 'pet1'

@ignoreobject 'pet2'

if targetexists

canceltarget

endif

pause 800

@getenemy 'murderer' 'criminal' 'grey' 'gray' 'nearest'

if @inrange 'enemy' 9

sysmsg 'Provoing....' '38'

useskill 'provocation'

waitfortarget 5000

target! 'enemy'

@getenemy 'murderer' 'criminal' 'grey' 'gray' 'nearest'

waitfortarget 5000

target! 'enemy'

else

headmsg 'Nothing to provoke!!!' '39'

endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1299 Posts
#2 Re :   Provo macro
5 years ago  March 21, 2019, 10:41:17 AM


@cleartargetqueue
if not listexists 'provo'
  createlist 'provo'
endif
if not listexists 'safety'
  createlist 'safety'
endif
@clearlist 'provo'
@clearlist 'safety'
if getenemy! 'gray' 'criminal' 'closest'
  useskill 'Provocation'
  waitfortarget 2000
  target! 'enemy'
  waitfortarget 2000
  pushlist 'provo' 'enemy'
  while getenemy 'gray' 'murderer' 'criminal'
    pushlist 'safety' 1
    if not @inlist 'provo' 'enemy' and @inrange 'enemy' 10
      break
    endif
    if list 'safety' > 5
      stop
    endif
  endwhile
  target! 'enemy'
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1299 Posts
#3 Re :   Provo macro
5 years ago  March 21, 2019, 10:43:22 AM


if getenemy 'gray' 'criminal' 'enemy' 'nearest'
  @setalias 'enemy'
  useskill 'Provocation'
  waitfortarget 15000
  target! 'enemy'
  waitfortarget 15000
  target! 'self'
  pause 12000
  end


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Evolution
Offline
1299 Posts
#4 Re :   Provo macro
5 years ago  March 21, 2019, 10:46:51 AM


if @findtype 0xeb3 'any' 'backpack'
usetype! 0xeb3 'any' 'backpack'
pause 0800
if skill 'provocation' < 28
useskill 'provocation'
waitfortarget 3000
targettype '0xe'
waitfortarget 3000
target 'self'
pause 10100
elseif skill 'provocation' < 40
useskill 'provocation'
waitfortarget 3000
targettype '0x6f'
waitfortarget 3000
target 'self'
pause 10100
elseif skill 'provocation' < 60
useskill 'provocation'
waitfortarget 3000
targettype '0x6c'
waitfortarget 3000
target 'self'
pause 10100
elseif skill 'provocation' < 70
useskill 'provocation'
waitfortarget 3000
targettype '0x6b'
waitfortarget 3000
target 'self'
pause 10100
elseif
skill 'provocation' < 82
useskill 'provocation'
waitfortarget 3000
targettype '0x71'
waitfortarget 3000
target 'self'
pause 10100
elseif
skill 'provocation' < 92
useskill 'provocation'
waitfortarget 3000
targettype '0x70'
waitfortarget 3000
target 'self'
pause 10100
elseif skill 'provocation' < 100
useskill 'Provocation'
waitfortarget 3000
targettype '0x70'
waitfortarget 3000
targettype '0x71'
pause 10000
else headmsg 'provo complete'
stop endif
endif


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH