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
1
New member introductions / Re: Format Introduction
« on: October 16, 2023, 02:05:32 PM »
Well I'm not one here just lurk around so I don't mean any criticism, more just joking. I could see how I could come across as abrasive with the lazy comment, but just because I can't find better words (Probably could use AI help if I'm honest) so anyway, from someone else just poking around I'd like to say hi and I'll be rooting for you to get access bud!

2
New member introductions / Re: Format Introduction
« on: October 16, 2023, 12:51:30 PM »
Hello, I'm Format, a software developer with a strong passion for crafting code and exploring virtual worlds...

Not my business, but I find this interesting as it's the first truly lazy way of using AI I've suspected.  This is based off https://undetectable.ai 

On one hand you think, why would anyone go through the trouble of using AI to generate "My Introduction" on a small community of people playing a game so old and outdated the average player is playing because they Played a decade ago and the only requirement is telling more than a couple sentences about yourself... but then on the other hand you think, this is a community of people who automate a game so old and outdated they have literally automated every aspect of this game from shearing sheep to end Game Boss content and PvP to a certain extent.  This dude is the Donald Trump of SciptUO I think he's either way screwed up or playing 4D chess, I don't know epic post though.

Format if you really do talk like AI then my apologies, I'm new using this AI Detection tool so it may say that about everything I don't know I dig up pipes for a living with heavy equipment. 


3
Script Debug / Re: Writing my first script
« on: July 21, 2023, 12:33:35 PM »
I was going to just give you hints to see if you were actually willing to work on this, but I ended up just doing it.  This is pretty basic and could be improved but you'll have to ask questions about it if you want something more and I'll try to show you how.  Tried to comment so you'd see why I did certain things.  Took some liberties with what I was guessing you were trying to do.  I added a hotkey to change who you are following.  OnHotKey works regardless of what client you're playing on or if the client is minimized so keep that in mind when setting it to something. Currently set to the "HOME" Key

Some things you may consider adding:
     
-If your character you are following dies you pause script so when you switch clients it won't screw you up trying to follow the ghost or keep you from running   away. You could also try to cast Invisibility or use hiding skill.

-Cast spells on your main character or cross heal. Heal and cure yourself if you're not currently pathfinding.  If you use bandages on follow character you could just apply a bandage on the run.

-Accept trade if you drop something on your slave character. 

-Move 1 tile off your character instead of always being right on top.

This may just be all you wanted and so enjoy but if you want to actually learn I suggest adding more and asking or looking up anything in this small script that doesn't make sense to you. 

There are many ways of doing these kinds of scripts so keep that in mind if you had a different idea on what you wanted to do I just assumed a lot from what little you had. 



Code: [Select]
set %Hotkey Home ;Follow someone Else on the fly change to any key

   gosub chooseTarget
mainloop:
   Onhotkey %Hotkey     ;Follow Someone Else
    gosub chooseTarget  ;Need "gosub" not sub.
   gosub followTarget   ;Need "gosub" not sub.
   goto mainloop

sub chooseTarget
   event ExMsg #CHARID 3 0 Click on the player you want to follow.
   set #targcurs 1
   while #TARGCURS = 1  ; This will just wait for
    wait 20                       ; the target cursor to change
   set %targetID #ltargetid
return
   
sub followTarget
    findItem %targetID G_16 ;Got to find X and Y of what you want to follow
    Wait 1
    set %Timer #SCNT + 3    ;Timer so it doesn't get stuck if X and Y no good
    If #CHARPOSX <> #FindX || #CHARPOSY <> #FindY
     {
     event PathFind #FindX #FindY ;This is how you get your dude to move to coords
      while #CHARPOSX <> #FindX && #CHARPOSY <> %CharY  ;waiting for you to get there
      {
       wait 10
       if %Timer < #SCNT
        break             ;Break you out of the while loop if it's taking too long
      }
     }
Return

Some documentation:
While Loop
http://wiki.easyuo.com/index.php?title=While

Break
http://wiki.easyuo.com/index.php?title=Break

If Statement
http://wiki.easyuo.com/index.php?title=If

Gosub
http://wiki.easyuo.com/index.php?title=Gosub

Hotkey

http://wiki.easyuo.com/index.php?title=OnHotKey


Event Pathfind
http://wiki.easyuo.com/index.php?title=Event_PathFind

Variables
http://wiki.easyuo.com/index.php?title=Variables

4
Script Debug / Re: Writing my first script
« on: July 15, 2023, 09:14:18 AM »
Did you figure this all out bud?

5
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.

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

7
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.

8
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! 

9
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. 

10
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.

11
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?

12
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


EasyUO 1.6.0.335
Ultima Online 7.0.90.16
*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.     



13
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.

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

15
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

Pages: [1] 2 3 4