Author Topic: EV/NF Caster 2.0  (Read 16199 times)

0 Members and 1 Guest are viewing this topic.

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
EV/NF Caster 2.0
« on: June 30, 2009, 06:23:04 PM »
0
This will cast Energy Vortex and Nature's Fury and keep your follower slots full.  It will also cast invisibility or attempt to hide if you have the hiding skill.  It detects when you are losing health and heals you.  If you are poisoned it will cure.  There is an option to just stay hidden and stop casting summons.  If you need to leave that spot you can hit pause, move around, and hit start again and it will continue casting on that same spot if you place your character on the same spot.  If you pause then move to a different spot it will let you reset casting location.  Menu button for resetting cast location on the fly.

This script automatically checks how many follower slots the EV takes so if you are unmounted and EV's take 2 slots it doesn't get stuck. 

I didn't test the Natures Fury part of the script, so if you use it let me know if there are any issues.


EV/NF Caster 2.0
Features:
 -Casts Energy Vortex or Natures fury.
 -Will use hiding skill if you have hiding.
 -Menu Driven.
 -Basic life support.(Heal/Cure)
 -Detects follower slots and cost per summon.
 -If you pause and move it allows you to get new
  target.
 -If you pause and hit start again on same spot it
  resumes casting on same location from before.
 -Menu option to just stay hidden without casting
  summons.

Directions:
 1.) Load Script.
 2.) Hit Play.
 3.) Move to spot you would like to cast from.
 4.) Hit "Set Location" on menu.
 5.) Wait for target cursor, Target spot you
     want to cast summons.
 6.) Hit "Start" Button on menu.


*Updated 9/4/2020
-fixed broken menu
-will cast in a different location if location get's blocked.
-If you set your location too far away it will change spot to max and call you an idiot.

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
EV NF Caster 2.0.txt
« Last Edit: September 10, 2020, 05:41:10 AM by Scotch_Tape »

Offline Petkiller

  • Full Member
  • ***
  • Posts: 112
  • Activity:
    0%
  • Reputation Power: 0
  • Petkiller has no influence.
  • Respect: +7
  • Referrals: 2
    • View Profile
Re: EV/NF Caster 1.0
« Reply #1 on: July 01, 2009, 06:09:25 AM »
0
You posted this at just the right time, I was working on almost the same thing last night.  I looked at a journal scan for location blocked then have it try to cast a few tiles away(not working yet I think the z axis is messing me up).  I will test it this afternoon and see if the nature's fury works, I think a human char has about a 50% to cast it even at 0 skill if you have done the quest.

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: EV/NF Caster 1.0
« Reply #2 on: July 01, 2009, 06:29:33 AM »
0
You could also check number of followers.

Code: [Select]
gosub cast

sub cast
set %followers #followers
repeat
do all your casting stuff
gosub get_target_spot
until #followers > %followers
return

You can tell if something is cast by the number of followers you have. If you have room for more followers, just keep casting. Or you can use TM's great casting (runebook) sub.

You can also include a gosub in the repeat to change target positions.

A real slick menu with check boxes to cast in the same area, or randomly around you... with a settable distance, would be nice ;)
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: EV/NF Caster 1.0
« Reply #3 on: July 04, 2009, 07:53:31 PM »
0
Has anyone tried this out?  I'm curious if there are any big issues with it working right?

Quote

You can also include a gosub in the repeat to change target positions.

A real slick menu with check boxes to cast in the same area, or randomly around you... with a settable distance, would be nice ;)

I'm looking into a more stable way to target, I'm a slow learner.  How it is now I've run this for over 24 hours without any problems, but I would like to make it have a better target system other than just using the last target.  I don't know about having it casting randomly around you, I don't see it as very useful for how I normally use it, but let me fix any bugs with it before I go adding more stuff.

Thanks for your input, I'll work on that.


Offline Petkiller

  • Full Member
  • ***
  • Posts: 112
  • Activity:
    0%
  • Reputation Power: 0
  • Petkiller has no influence.
  • Respect: +7
  • Referrals: 2
    • View Profile
Re: EV/NF Caster 1.0
« Reply #4 on: July 05, 2009, 04:57:46 AM »
0
I tested it out in a few places in toknuo worked fine for me on low level spawn.  It also worked ok on the toknuo champ until the third level spawn came out. Those revant lions just revel too much.   I tried to get a random casting working but I think it would take some kind of tile scaning sub.

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: EV/NF Caster 1.0
« Reply #5 on: July 05, 2009, 06:14:37 AM »
0
What's with the random casting spots?  What would be the point in casting all over the place? 

This script really isn't good at casting in the middle of a bunch of mobs, I use it while sitting off to the side and casting into the middle of where the mobs are spawning.  I have basic life support subs but nothing extremely effective.

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: EV/NF Caster 1.0
« Reply #6 on: July 05, 2009, 06:20:24 AM »
0
If your in a spawn area with a group, like the old days doing the fan dancers, I used a quickly written EV caster.

The ultimate logic I suppose would be to have it target a spot, then each spot around that until it cast. But having a "random" switch would be cool as well.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Petkiller

  • Full Member
  • ***
  • Posts: 112
  • Activity:
    0%
  • Reputation Power: 0
  • Petkiller has no influence.
  • Respect: +7
  • Referrals: 2
    • View Profile
Re: EV/NF Caster 1.0
« Reply #7 on: July 10, 2009, 06:43:59 AM »
0
Random Targeting sub for evs

sub cast
event macro 15 57
target 10s
gosub TM_RandomTargeting 2 ;range of tiles to cast ev from player
return

sub TM_RandomTargeting
  namespace push
  namespace local RT
  set !radius %1
  set !randx #RANDOM % !radius + 1
  set !randy #RANDOM % !radius + 1
  if #RANDOM > 500
    set !randx !randx * -1
  if #RANDOM > 500
    set !randy !randy * -1

  set !randx !randx + #CHARPOSX
  set !randy !randy + #CHARPOSY
  set #LTARGETX !randx
  set #LTARGETY !randy
  set #LTARGETZ #CHARPOSZ
  set #LTARGETKIND 2
  event macro 22 0
  namespace pop
return

I just saw this sub in a different ev script. 

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: EV/NF Caster 1.0
« Reply #8 on: July 10, 2009, 07:53:43 AM »
0
heh, I wrote that back on uocoders.  lol
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: EV/NF Caster 1.0
« Reply #9 on: October 10, 2015, 10:13:29 AM »
0
Let help a few ppl that required this to cast at  2 different places.

Add this with the other set value.
Near line 36
Code: [Select]
set %CastTarget #false

This will be the new main loop.
Code: [Select]
While %Scotch_Tape > %Chuck_Norris
{
onhotkey F10 ctrl
   gosub SetCastTarget
If %CastNF = Yes
 gosub CastNF
If %CastEV = Yes
  gosub castEV %targetX %targetY %targetZ 57
gosub HideSelf
gosub MenuUpdate
}



Code: [Select]
sub SetCastTarget
set %targetX #charPosX
set %targetY #charPosY
set %targetZ #charPosZ
wait 4s
set %CastTarget #true
Event sysmessage Casting target set
return
; ---------------------------------------------------
sub castEV
; gosub castEV %targetX %targetY %targetZ 57
repeat
event macro 15 %4
target 5s
set #lTargetX %1
set #lTargetY %2
set #lTargetZ %3
set #lTargetKind 2
event macro 22
wait 30
if #followers <= 4
  set %1 ( %1 + 1 )
until #followers <= 4
return

Offline Dan123The123Man

  • Jr. Member
  • **
  • Posts: 31
  • Activity:
    0%
  • Reputation Power: 1
  • Dan123The123Man has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: EV/NF Caster 1.0
« Reply #10 on: February 01, 2016, 04:34:08 PM »
0
hey ghost with that last post of yours would that make this script like fully automated still or would it require the player to hit that F10 hot key?

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: EV/NF Caster 1.0
« Reply #11 on: February 02, 2016, 03:50:18 AM »
0
Th F10 key is just to set the location of where you will cast of where your toon stand.   If you move more then 10 titles you will need to hit F10 again.  Yes it will cast in auto.
« Last Edit: February 03, 2016, 04:37:38 PM by The Ghost »

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: EV/NF Caster 1.0
« Reply #12 on: February 02, 2016, 07:14:39 PM »
0
heh, I wrote that back on uocoders.  lol

For the original Treasures of Tokuno, demon room - am I right?

Offline Vlad1

  • Newbie
  • *
  • Posts: 2
  • Activity:
    0%
  • Reputation Power: 1
  • Vlad1 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: EV/NF Caster 1.0
« Reply #13 on: April 21, 2016, 10:20:10 AM »
0
EasyUO gump with pause button doesn't work for me.

Please If it possible post the newer version of this script?

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: EV/NF Caster 1.0
« Reply #14 on: August 30, 2020, 09:49:58 AM »
0
I'd like to update and support this script, but it seems I had posted this script as a guest.  Is there a way to take ownership of this and update this?  Should I just submit this again? 

Tags: