Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Scotch_Tape

Pages: [1] 2 3 4
New member introductions / Re: new intro
« on: September 11, 2022, 07:15:40 AM »
  Well that's enough complaining for now, i guess its time to pretend im looking at porn god forbid my wife should know i play uo again!

Totally get you there man. If she's anything like my wife it's not the games or the porn directly it's just the computer and a world they are not a part of and don't understand or trust. Damn internet pulls us away for hours at a time and even if you show her some pointless aspect of a video game you automated or the most ridiculous porn video storyline ever shot 9 times out of 10 you lost them at "look at this thing I did/found on the internet." Good to see another closet gamer living the struggle.

Signature Hosting / Signature
« on: March 19, 2022, 07:21:39 AM »
A signature

New member introductions / Re: UO always brings me back!
« on: March 14, 2022, 08:44:02 AM »
I have a sweet Tree Wizard sig from like 10 years ago, but haven't figured out how to make it work. In 10 more years I may be able to share it with you guys. 20 years from now I may look up this bit coin and figure out how it's any different than internet on cd rom.

New member introductions / Re: UO always brings me back!
« on: March 12, 2022, 03:17:01 PM »
Good to see old friends on outdated internet video game forums! 

Scripting Chat / Re: Creating Menus
« on: May 25, 2021, 08:18:28 AM »
Well it shows the last time he logged into EasyUO was Mar 15, 2021.  I'll just send him a link to this post I've never met the guy.  Maybe I'll send him a picture of my sad menu and he'll take pity on me. 

Scripting Chat / Re: Creating Menus
« on: May 23, 2021, 06:21:43 PM »
As always thanks Gad, I have read those tutorials and I get the stop deleting menu item. I'll go grab the menu designer from easy and make a menu knowing its the best tool I've got.

Scripting Chat / Creating Menus
« on: May 23, 2021, 05:47:00 PM »
I used the menu creator @ easyuo  years ago to create then copy/paste. Is this still the normal way to see the layout or is there an alternative?

Scripting Chat / Re: Client crashing testing
« on: May 16, 2021, 05:55:28 PM »
Processor   Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz   2.60 GHz
Installed RAM   12.0 GB (11.9 GB usable)
System type   64-bit operating system, x64-based processor
Edition   Windows 10 Pro
Version   20H2
Installed on   ‎4/‎21/‎2021
OS build   19042.985
Experience   Windows Feature Experience Pack 120.2212.2020.0

Ultima Online
*Edit Running through Classic Razor V1.0.14

Ran your snippets a while and didn't have any crashing.  I killed skeletons with the 2nd and 3rd script individually for about 30 minutes with no crashing.  I'm only crashing with opening easyuo and client a certain way or sometimes client swapping but what you're dealing with is way worse.  I dig up pipelines and fix them for a living so obviously I have no useful input, but maybe if a few others test this you'll be able to determine if it's a you problem or an everyone problem.  If you've got anything else you wanted to test I'll give it a shot for you.     

Scripting Chat / Re: Client crashing testing
« on: May 16, 2021, 02:03:32 PM »
Using euox new client can you not just point it to razor or whatever else you use? Would that be the same as just opening another client manually? I did try it the other day and it didn't instantly crash so I assumed it was a fix but hadn't tested it much maybe I was wrong.

New member introductions / Re: New Member Intro - Grundy Golem
« on: September 11, 2020, 01:06:31 PM »
What server are you playing on? 

Combat/Healing/Looting / Re: EV/NF Caster 2.0
« on: September 10, 2020, 05:32:50 AM »
Thanks Gaderian I fixed the issues with the Casting not including a findkind.  That was just a bad copy/paste.

I'm often reminded I went to public school to learn math.  I had the percentage wrong for Energy Vortex.  I found a shorter way of doing the math so that's fixed.

Not sure if you're understanding how lazy I am but I didn't plan on adding any other spells to the script so I don't really need to know all the magery spell mana cost and this is just one calculation no matter what suit or anything else you may or may not have.  It casts the spell and based off how much that costs your dude I simply determine the cost of an invisibility spell since it will always be a percentage of the cost of the EV or NF.  Going in and doing all the parsing on suit equipment and adding all that up just isn't the lazy way of doing this.  I can skip all that and use 1 line of code to figure it out.

I capture the first cast mana cost (EV or NF) and based off that multiply out what percentage your invisibility will cost and have that as a minimum required mana to actually cast another summon and an invisibility after.  It's my hope the slop with my dumb timers leaves enough extra mana on the end in the event you have to cast a heal or cure at some point.  That is not the most efficient way with the timers, but I keep casting EV's so I'm happy with it like that.   

Here is my new math for Summon + Invisibility Cost
Code: easyuo
  1. if %Cast = 606 ;Natures Fury
  2.     set %manarequired %manacost * 184 / 100
  3.   if %Cast = 57 ;Energy Vortex
  4.     set %manarequired %manacost * 140 / 100

Here is where I'm using that math for summon + Invisibility cost.
Code: easyuo
  1. Sub Cast
  2. While #FOLLOWERS < %MaxFollowers && #MANA > %ManaRequired ;<---- if I can't cast a summon and Invisibility after I don't cast and stay invis
  3.  {
  4.  If C in #CHARSTATUS
  5.   gosub Cure
  6.  If #HITS < %MaxHits
  7.   gosub Heal
  8.  event macro 15 %Cast
  9.   target 4s
  10.   If %CastAttempt < 2
  11.   {
  12.    set #LTARGETX %LTX
  13.    set #LTARGETY %LTY
  14.    set #LTARGETZ %LTZ
  15.    set #LTARGETKIND 2
  16.   }
  17.   else
  18.   {
  19.    set #LTARGETX %TempLTX
  20.    set #LTARGETY %TempLTY
  21.    set #LTARGETZ %LTZ
  22.    set #lTARGETKIND 2
  23.   }
  24.   event macro 22
  25.   wait 1s
  26.   set %CastAttempt %CastAttempt + 1
  27.  }
  28.  set %CastAttempt 1
  29.  return

Combat/Healing/Looting / Re: EV/NF Caster 2.0
« on: September 09, 2020, 06:35:45 AM »
Hey Scotch,
A couple observations:
Chooseskill has a 4 character parameter, so Spellweaving would be 'spel' - I didn't check if it really works as written.
I can't figure out a reason to lock the detect hidden skill, but it forces it to be locked.
Static wait times following casts regardless of your FCR. This makes it much slower casting that it must be.
The logic surrounding %manacost is not at all obvious:
 before casting save your current mana
 wait 2 seconds after targetting (can be 0 to 1.5 seconds depending on FCR instead!) so some mana regenerates
 set %manacost to how much was used - modified by how much has regenerated
 if you cast naturesfury (mana cost is 24 unmodified by LMC)
  set %manarequired to %manacost + 84% of %manacost
 if you cast EV (mana cost is 50 unmodified by LMC)
  set %manarequired to %manacost + 48% of %manacost

Those percentages would be different for each setup based on skills, stats and equipped items (meditation, focus, JOAT, intelligence, LMC and MR).
So 84% or 48% ... would change based on another setup to be close to being correct.

A more stable calculation would be to calculate suit LMC and apply it to the base mana cost for casting.

If you would like, I can share the routines I use to calculating suits and mana requirements.


Chooseskill spell works the same as spel, but thanks I corrected it. 

I use the detect hidden skill to setup the location to cast, but I am assuming people don't want to train detect hidden so I just lock it if it's not already.  I tried setting #TARGCURS but I couldn't seem to get it to work on the ground even if I set the #TARGETKIND so I gave up.  Seems to be pretty dependable how I have it targeting. 

The Timers were just simple and don't require much thought.  If you've got subs built and I am smart enough to figure them out I'll add that, but the script was always very simple.  I understand your hatred with dumb timers so I'd give it an honest attempt to remove all those. 

As far as the %Mana Required I'll explain.

Code: [Select]
set %ManaCost #Mana
 event macro 15 %Cast
 target 4s
 event macro 22
  wait 2s
 set %ManaCost %ManaCost - #Mana
  if %Cast = 606
    set %manarequired %manacost +  ( %manacost * 84 / 100 )
  if %Cast = 57
    set %manarequired %manacost +  ( %manacost * 48 / 100 )

This is only in the initial cast, so all it's doing is if you're casting EV it figures out how much that cost you then adds the cost to cast invisibility after cast.  Invisibility is a percentage of either spell, so if the initial cast is EV it calculates that plus a invis as the minimum mana the script will need if you are casting summons over and over. same with Natures Fury.

Not saying it's super accurate, but I thought this would be the easiest way to do it considering it's taking the mana cost directly from you casting the spell.  Even if it's got some crap timer code from my tests it seems to get close using different characters with different suits (one really good suit and one really crappy suit)  any slop only helps with adding buffer on for having to cast a heal or cure in there.

Combat/Healing/Looting / Re: EV/NF Caster 2.0
« on: September 04, 2020, 12:50:15 PM »
Thanks Crisis I've updated the script and added some new features.  I only tested on freeshard (Alexandria) .

New member introductions / Re: New Member! hey everyone!
« on: August 30, 2020, 10:04:24 AM »
Hello ScriptUO.  I'm here to introduce myself and become a part of the community.  Like a lot of you here probably, I'm a game nerd.  I spend most of my time drinking coffee and playing this outdated game or posting about this outdated game.  I play on Alexandria, EasyUO's free shard, and a little on RWR Freeshard.  A current member over here (CStalker) was tired of listening to me talk so he told me I should go read this site because I'm annoying and he really needed a break.  I decided it was a very interesting site and I'm interested in what I've read so far.  (Interface looks pretty interesting)
I tinker around with scripts and enjoy watching them do my bidding.  I script and have a basic understanding of the language. 

I work offshore as a Electronics Technician (ROV Tec).  I've been doing it for about 6 months now.  I really enjoy my job.  Other than UO I also enjoy sailing.  I lived on a sailboat up until recently, it was lost during Hurricane Ike.  I hope to be welcomed into the community.  If CStalker says anything about me don't listen to him he's full of crap. (unless it's good, then everything he says is true)

Talk to you guys soon!


My employment changed.  Also I haven't talked to CStalker in like 10 years but still don't listen to him unless what he says about me is positive.  RWR doesn't exist anymore.  Started playing again on Alexandria so that's still the same.  I am just one of those old guys who can't leave this stupid video game it seems.  Did pretty good this last hiatus went like 10 years.  Very impressed with the amount of activity of you old timers.  You guys are more hopeless than I am and I can respect that.   

Combat/Healing/Looting / Re: EV/NF Caster 1.0
« on: August 30, 2020, 09:49:58 AM »
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? 

Pages: [1] 2 3 4