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 - the surface

Pages: [1]
1
Scripting Chat / Re: Looking for a idoc placment script
« on: September 07, 2023, 02:45:34 PM »
It is not just a repository for sharing information. It is learning how to actually write and understand the code so that you can write your own. I find your attitude despicable.

2
Scripting Chat / Re: Looking for a idoc placment script
« on: September 07, 2023, 04:49:14 AM »
I thought this was a scripting community that helps one another out? Not withholds for leverage on some deal? If you really have an IDOC script share it so we can all test it out.

3
Combat/Healing/Looting / Explosion Pot Macro
« on: September 05, 2023, 09:46:48 AM »
Hello ScriptUO!

One of the things I wanted to create was an explosion potion macro that arms the explosion potion -> Waits 1-2 seconds and tosses it near the last moment at the last known target. Also possible if pressing the hotkey once armed that it throws the explosion pot to the last target. If the last known target is unavailable within a certain amount of tiles or thus not on screen that it throws it 2 tiles away in either direction away from your character to prevent damage.

Please Note -- This is a work in progress and not finished.


set %explopot TUF

while #true
{
onhotkey 3
   gosub ChuckExplo
}

sub ChuckExplo
finditem %explopot C_ , #backpackid
if #findcnt < 1
   return
set #lobjectid #findid
event macro 17 0
target 3s
wait 70
finditem #ltargetid 3853
if #findcnt < 1
   {
   set #ltargetx #charposx - 3
   set #ltargety #charposy - 3
   set #ltargetz #charposz
   set #ltargetkind 2
   event macro 22 0
   }
return

4
Scripting Chat / Re: Fishing up SOS'S
« on: September 04, 2023, 03:38:27 AM »
Yes when I found the SOS it was in the second image closer to 3 than 1 off by a little bit. I fished it up manually and confirmed the coordinates on UOAM and attached it as the second photo. Sorry for any confusion.

5
Scripting Chat / Re: Fishing up SOS\'S
« on: September 02, 2023, 04:43:47 AM »
Hey Gaderian!

Im using
 ; Script Name: SOS Master (alpha)
; Author: Kal In Ex, Gaderian (PandoraUO mods), others
; Version: 4.3h

After going to a windows OS. Ive set %sosSize 350_340 to match and it does attempt to plot the points. It sailed there successfully (well somewhat I took on some water elemental hitchhikers -- terrible company) and it got to the dot. The only issue is the dot that was plotted what looks like successfully and accurate, but on Automap and the coordinates are off. The shard is uo renaissance

Boat hold when facing West ZUX
Boat hold when facing North UVX
Boat hold when facing East ZNX
Boat hold when facing LWX

Post Merge: September 02, 2023, 05:17:08 AM
When I sailed to the correct coordinates it looks like this on the script (second picture).

6
Scripting Chat / Re: Fishing up SOS'S
« on: September 01, 2023, 08:51:21 AM »
Im taking it upon myself to try and get this work on a free shard. Plotting the dots has been the goal before I see if the boat logic still works....Currently using the RunUO option. Since it pulls the SOS up by the number and counts them down its just not transferring the coordinates successfully into plotted dots. I have read the entire thread with the updates without much luck trying to figure it out. Embarrassing to say its been days looking it so if someone knows much better than I would appreciate it. If I get it to work Ill post my fixes. Cheers!

Update -- My issue is I was running Ultima Online with my Mac through Wine. It seemed like I got nowhere with the plotting. As soon as I spun up a virtual system windows7 same version of EasyUO...and it plots! Now the plotting doesn't look quite right so im going to see if I can adjust from set !offsetx !contposx + 27


7
Script Debug / Re: Writing my first script
« on: July 23, 2023, 05:17:39 AM »
Wow, incredible... you really were spot on in what I wanted to achieve. I tested it out and it worked so well... if I wanted to integrate anything else all of your suggestions were good ideas. The heal and cure yourself if you're not currently pathfinding and dropping/accepting trades on the slave character are two things I would love to integrate or learn how. THANK YOU Scotch Tape!!!!

Also, thank you for including the references broken down at the end. That helps me a lot.

8
Script Debug / Re: Writing my first script
« on: July 21, 2023, 05:42:22 AM »
I have weekends to tinker with scripting. So far im still at this juncture. Thanks, cheers!

9
Script Debug / Writing my first script
« on: July 10, 2023, 04:41:10 AM »
My goal or what IM attempting to do is to follow my other character using pathfinding. Its harder than I thought... Thank you all for any suggestions or help. I wanted to keep it simple.

 %moveDelay 500

mainloop:
   sub chooseTarget
   sub followTarget
   wait 1s
   goto mainloop

sub chooseTarget
   display ok "Click on the player you want to follow."
   set #targcurs 1
   wait 5s
   return

sub followTarget
   set %targetID #ltargetid
   if %targetID = 0
   {
      display ok "No target selected. Retargeting."
      wait 1s
      return
   }

   set %targetX $x[%targetID]
   set %targetY $y[%targetID]
   set %targetZ $z[%targetID]

   event rightclick %targetX %targetY %targetZ
   wait %moveDelay
   event rightclick %targetX %targetY %targetZ
   wait %moveDelay
   return

10
Scripting Chat / Re: Fishing up SOS'S
« on: July 09, 2023, 10:24:20 AM »
What's the Link ErwinEUO?

11
New member introductions / Re: Personal Introduction
« on: June 28, 2023, 09:12:35 AM »
Thank you both for the warm welcome and lifting the restriction. Im looking forward to learning more!!

12
New member introductions / Personal Introduction
« on: June 28, 2023, 05:23:31 AM »
Hello ScriptUO,

I started playing Ultima Online about 1997 with my older brother. It turned out I liked the game so much I couldn't really fathom a better one ever coming out. Dial up was the choice for connecting with a few choice DSL players at the time.

Turned out I bought a murderer who had over 1000 murders and when I logged into the game for the first time on the purchased account I was in Brit GY. It didn't take long for people to figure out I was definitely not the same guy/girl that played before me. Another surprise from my brother was a house, but on Serpents hold with silver serpents. A despised murderous outcast with a house next to deadly poison was a hell of an intro. I stuck mainly with pvp and did well for a young lad I think I was 8 years old at the time. Once OSI sold out to EA I think the game was changed irrevocably changed. I played AOS for a little bit and tried to design some shards in college. 25 years later Im still catching up on things like fishing  or treasure hunting I never got to do. The game constantly amazes me. This past year Im really trying to learn how to script in EasyUO. I never had an affinity for scripting period no matter which language usually a much higher capacity for technical hardware. I really want to push myself to learn more and surprise myself  :D

Pages: [1]