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.


Topics - TrailMyx

Pages: [1] 2 3 ... 25
1
Site News / Trying to register but not getting a confirmation?
« on: January 21, 2024, 03:55:49 PM »
Hey guys and gals. 

There's a few that have issues registering here at ScriptUO.  It's worth the reminder that if you're trying to use GMAIL (yes, Google GMAIL) then you won't get a registration email and you won't get confirmation and therefore won't be able to register.  We're blacklisted by google for some unknown reason and this can't be fixed.

So if you'd like to register here, then please choose a different email provider.  Don't use google gmail.  We even modified the Captcha here so that you have to answer this question, but people still don't get it. (TM rolls eyes...)

Say it with me:

TM: "I"
You:"I"
TM: "can't"
You: "can't"
TM: "use"
You: "use"
TM: "GMAIL"
You: "GMAIL"

:)

2
Player Templates / Suggestions for an Archer
« on: March 21, 2022, 11:48:21 AM »
So it's been a VERY long time since I played around with an archer in UO, but I've been thinking about building one on VnV just for S'n'Gs.  I remember having fun with a provoke archer that was fun for PvM 1:1, but I'd like to figure out something that can handle a larger spawn.  Is that even possible?  This is really only for PvM since I don't do PvP well.

Anyhow, lemme know what you've had fun playing with in the past or something that you might think would be a good powerful combination using the new fangled rules of today.

3
Off Topic / My new retrocomputer project
« on: December 14, 2021, 08:01:58 AM »
So even before I was into the whole UO thing, I was heavily into retrocomputers (really back then they weren't even "retro" lol).  In recent years that has kinda turned into my full-time hobby.  I noticed that I was doing a bunch of things that other people might benefit from my findings and experiences.  So I created a new website/forum that talks about anything retrocomputer-related.

https://retroactivity.net

I don't really mean to duplicated the great works of places like atariage, since this is really going to be a repository for my own work.  But as I found with scriptuo.com, people appreciated that and added to the whole experience.  So I figured, "what the hell."

Yes, SMF because easy.  I didn't want to have to think too much about it.  There's better forum software out there, but with those come additional annoyances.  So I'll stick with what I know.

So if you have any love for the old computer, come stop by and say "HI".

TM

4
Misc. Scripts / TrailMyx's Chat Monitor (for Alexandria)
« on: July 24, 2020, 03:21:27 PM »
Here's a script I wrote some time ago when I played on RebirthUO.  It's a script that organizes the incoming chat sources (Party, Guild, Alliance and Public).  It's probably easily tweakable to run on non-RunUO shards like OSI.  However the only shard I've tried it on is RebirthUO and I tweaked it to run on Alexandria.  The only section you'd have to modify is the very first where the chat commands are delineated. 

The checkmark in the upper right designates there is a new chat in a tab that's not in focus.  The sound check mark will "beep" when there's a new incoming chat.
Other functions:
Roll - rolls a d100 and posts the value in chat
Share Info - presents you with a target to select an item.  The items properties are then posted to the chat channel.

When typing in the chat text bar, it's not necessary to precede the chat text with the channel chat command, the script automatically appends the appropriate chat command based on the selected chat tab (party, guild, alliance or public)

Code: easyuo
  1. set %public_chat_command 'c
  2. set %party_chat_command / , #SPC
  3. set %guild_chat_command \ , #SPC
  4. set %alliance_chat_command | , #SPC
  5.  

If you do figure out what these need to be in  order to run on OSI, please post those for the rest to use.  I find this script useful because it keeps track of the incoming chats in one place and filters out all other information like damage, seen objects and npcs and other spam.

Just one of my useful scripts lurking in my dusty script library that I feel some might find useful.

Enjoy!

Made it easier for OSI, now default for RunUO:

If you want to run it on RunUO shards like Alexandria, just change:

Code: easyuo
  1. set %shard_type OSI ; RunUO or OSI
  2.  

to this (at the beginning of the script)

Code: easyuo
  1. set %shard_type RunUO ; RunUO or OSI
  2.  

5
Script development tools / TrailMyx's Fun with Timers
« on: April 25, 2020, 07:27:38 AM »
I've been going through my vast collection of unfinished tools, and one that popped out that bugged me that wasn't finished (and probably won't ever be) is my automated timer subs.  Anyone who has played with timers and state machines will know how useful they can be.  I'm attaching a group of subs plus a little tidbit of sample code that shows what's going on.  These subs use the global namespace TM_TIMERS so timer status can be seen through other scripting instances.  You can expand on these subs; I just made what I had started work correctly.

For the example script (found at the beginning of the subs) there's alot going on.  Try and follow along with it:

Code: easyuo
  1. gosub TM_ResetTimers
  2. gosub TM_RegisterTimer Timer1 auto 10 second Callback1
  3. gosub TM_RegisterTimer Timer2 5 1 second
  4.  
  5. set %timer1 0
  6. set %timer2 0
  7. repeat
  8.   gosub TM_ProcessTimers
  9.   if Timer1 in #RESULT
  10.   {
  11.     set %timer1 %timer1 + 1
  12.     if %timer1 % 2 = 1
  13.       gosub TM_RestartTimer Timer2
  14.   }
  15.   if Timer2 in #RESULT
  16.     set %timer2 %timer2 + 1
  17. until #FALSE
  18. stop
  19.  

In this snippet:
  • Timer1 runs forever (auto) and fires every 10 seconds.  Also when the timer fires, the callback function "Callback1" is called
  • Timer2 runs only 5 times, and fires every 1 second.
  • Timer1 is used to rearm Timer2 when the Timer1 is first run and every ODD firing of Timer1 (watch %timer1 and %timer2 variables)
  • #RESULT of TM_ProcessTimers shows a list of expired timers.  If a callback is attached, it will already have run

I have a bunch of subs like this, and perhaps I'll slowly finish them as time goes on.

Code: easyuo
  1. gosub TM_ResetTimers
  2. gosub TM_RegisterTimer Timer1 auto 10 second Callback1
  3. gosub TM_RegisterTimer Timer2 5 1 second
  4.  
  5. set %timer1 0
  6. set %timer2 0
  7. repeat
  8.   gosub TM_ProcessTimers
  9.   if Timer1 in #RESULT
  10.   {
  11.     set %timer1 %timer1 + 1
  12.     if %timer1 % 2 = 1
  13.       gosub TM_RestartTimer Timer2
  14.   }
  15.   if Timer2 in #RESULT
  16.     set %timer2 %timer2 + 1
  17. until #FALSE
  18. stop
  19.  
  20. ; --------------------------------------------------------
  21.  
  22. sub Callback1
  23.   display ok Callback 1 called!
  24. return
  25.  
  26. ; --------------------------------------------------------
  27.  
  28. sub TM_ResetTimers
  29.   namespace push
  30.   namespace global TM_TIMER
  31.   namespace clear
  32.   namespace pop
  33. return
  34.  
  35. ; --------------------------------------------------------
  36.  
  37. sub TM_RegisterTimer
  38.   namespace push
  39.   namespace global TM_TIMER
  40.  
  41.   if !num = N/A
  42.     set !num -1
  43.   if %0 < 4
  44.   {
  45.     display ok 4 arguments required for TM_RegisterTimer - stopping
  46.     stop  
  47.   }
  48.   set !num !num + 1
  49.   set !var %1
  50.   set !function %2 ; auto, number
  51.   set !time_length %3
  52.   set !time_unit %4 ; millisecond, second, minute, hour
  53.   if %0 = 5
  54.     set !callback %5
  55.   else
  56.     set !callback N/A
  57.   set ! . timer , !num !var ; save the name to a list for automatic time updating
  58.   set ! . !var , function !function
  59.   set ! . !var , trigger_max !function
  60.   set ! . !var , time_length !time_length
  61.   set ! . !var , time_unit !time_unit
  62.   set ! . !var , callback !callback
  63.   set ! . !var , enabled #TRUE
  64.  
  65.   if !time_unit notin _millisecond_second_minute_hour_
  66.   {
  67.     display ok time unit not equal to millisecond, second, minute, hour - stopping
  68.     stop
  69.   }
  70.   if !time_unit = millisecond
  71.     set ! . !var , time_unit !time_length
  72.   if !time_unit = second
  73.     set ! . !var , time_unit ( !time_length * 20 )
  74.   if !time_unit = minute
  75.     set ! . !var , time_unit ( !time_length * 20 * 60 )
  76.   if !time_unit = hour
  77.     set ! . !var , time_unit ( !time_length * 20 * 60 * 60 )
  78.  
  79.   set !time_unit !var , time_unit
  80.   set ! . !var , timer ( #SCNT2 + ( ! . !time_unit ) )  ; set the actual end time
  81.   namespace pop
  82. return
  83.  
  84. ; --------------------------------------------------------
  85.  
  86. sub TM_ProcessTimers
  87.   namespace push
  88.   namespace global TM_TIMER
  89.   set !lpc #LPC
  90.   set #LPC 200
  91.  
  92.   set !RESULT
  93.   for !i 0 !num
  94.   {
  95.     set !current_name ! . timer . !i
  96.     set !enabled !current_name , enabled
  97.     set !timer !current_name , timer
  98.     set !time_unit !current_name , time_unit
  99.     set !function !current_name , function
  100.     set !callback !current_name , callback
  101.  
  102.     set !test1 #SCNT2 , _ , ! . !timer
  103.     if ( ( ! . !enabled = #TRUE ) && ( #SCNT2 > ( ! . !timer ) ) )
  104.     {
  105.       set !function !current_name , function
  106.       if ( ( ( ! . !function ) = auto ) || ( ! . !function <> 0 ) )
  107.       {
  108.         set !RESULT !RESULT , _ , !current_name ; add expired timer name to present list
  109.         set ! . !timer ( #SCNT2 + ( ! . !time_unit ) )  ; set the actual end time, resetting timer
  110.         if ! . !function <> auto
  111.           set ! . !function ( ( ! . !function ) - 1 )
  112.         if ! . !callback <> N/A
  113.           gosub ! . !callback
  114.       }
  115.     }
  116.   }
  117.   set #RESULT !RESULT
  118.   set #LPC !lpc
  119.   namespace pop
  120. return #RESULT
  121.  
  122. ; --------------------------------------------------------
  123.  
  124. sub TM_RestartTimer
  125.   namespace push
  126.   namespace global TM_TIMER
  127.   set !name %1
  128.  
  129.   set !function !name , function
  130.   set !trigger_max !name , trigger_max
  131.   set !enabled !name , enabled
  132.   set !timer !name , timer
  133.   set !time_unit !name , time_unit
  134.  
  135.   set ! . !function ! . !trigger_max
  136.   set ! . !enable #TRUE
  137.  
  138.   set ! . !timer ( #SCNT2 + ( ! . !time_unit ) )  ; set the actual end time
  139.   namespace pop
  140. return
  141.  
  142. ; --------------------------------------------------------
  143.  
  144. sub TM_StopTimer
  145.   namespace push
  146.   namespace global TM_TIMER
  147.   set !name %1
  148.   set !enabled !name , enabled
  149.   set ! . !enabled #FALSE
  150.   namespace pop
  151. return
  152.  

6
Site News / The end is a new beginning.
« on: October 21, 2017, 09:32:03 AM »
After the announced closure of ScriptUO, I was amazed by the outpouring of concern and support in PMs.  Many people offered either monetary help or just to plain take over the responsibilities of running this site.  I've got some pretty high standards for how to run a public site (as bitched about by the people failing the intro test).  That goes further from the administrative perspective making sure the site runs with relatively clean error logs and hand-modification of mods until they work just right.

After contemplating the potential of transferring ownership to a new person, I decided that'd be an acceptable option if the right person stepped forward. 

I've known and worked with Tidus for years and years now.  He's proven to know his way around network administration and has the available LAMP infrastructure to host this site and administer it going forward.  So in the next few days and weeks, he'll take over the full day-to-day hosting and administration of this site.  He's promised to maintain it, so hopefully what you see now will be what you'll see in a few years.  I always hate seeing site radicallly change their look because a site kinda becomes "homey" after a while and users feel a sense of loss when the site look/feel undergo changes.  ScriptUO only changed once (forced to) in its entire existence.  So hopefully he'll be able to keep that tradition alive.  (hopefully no conversions to VBulletin or that gawd-aweful Xenforo)

I'll stick around through the transition process and once the site is up and running smoothly at its new home (switching servers) then I'll depart these shores.

So help me in thanking and welcoming your new Admin, Tidus!  Gimlet has also enthusiastically re-volunteered to continue on as your Greeter-in-chief GMOD. 

So good news for you and hopefully this will infuse a bit of enthusiasm in the community as a whole.  (Har, he said a-hole).

All my best,
TM


7
Site News / So long, and thanks for all the fish!
« on: October 17, 2017, 11:49:25 AM »
So I've been out of the scripting business for quite a while now.  I've also been pretty much out of the UO business for even longer.  I think it's time for me to hang up everything for good.

So with that, at the end of the month I'm going to put the site into maintenance mode so that it can be used as a reference, but all new content and development will end.

Now if someone would like to step forward and take things over, we can talk about doing a transfer so that the site can proceed forward.  I've got some pretty high standards in that regard, so if it's not transferred to the right person(s) then I'd rather see it just go dormant.  This community has been through too much with losing content, so I don't want to see that happen and I won't let that happen.

So with that, it's been fun.  But as they say, "All good things do come to and end".

And yes, it's not April 1st.  heh


8
General UO Chat / Champ spawns in 2017
« on: August 16, 2017, 09:59:25 AM »
So, in surfing the web, it seems there's a bit of information out there about champ spawns, but nothing very new.  SO:

I'm looking to see what people think about:
1) Their favorite spawn and why?
2) Is it soloable (or multicliented)?
3) Favorite character template and items to use

I know there might be some duplicate threads around, but nothing that really brings them all together.

So let's hear your ideas!

9
General UO Chat / Your favorite castle placement locations
« on: August 07, 2017, 07:41:27 PM »
So I'm in the process of looking for another location to place a castle.  I'm bursting the seams of my present one, so I need to put another down. 

In your past, what's been the best locations you've ever had or can recall seeing one?

11
General UO Chat / A Chaga Mushroom spawn
« on: July 19, 2017, 10:23:13 PM »
So do these just spawn laying around on the ground?  I see they spawn in different places on uoguide, but I'm unsure of their frequency or number.  Anyone have an idea?  Coordinates would be helpful; I'm trying to get them to spawn correctly on Rebirth, but I just don't know the basics of when and where.  heh

http://www.uoguide.com/Chaga_Mushroom

13
General UO Chat / New OSI Animal training discussion
« on: May 08, 2017, 08:39:18 AM »
I was looking at the training system over at UO.com and thought it would be good to discuss it. 

https://uo.com/wiki/ultima-online-wiki/skills/animal-taming/animal-training/

I see there are stat caps, but I don't see that these caps are applied to any specific creature.  Can you train a chicken to be strength of 700 and have hit points of 1100?  That's just a "for example".  heh

I'm interested in how people are using this and the basics of how it works.  I'd like to modify my creature evaluator to help this system, but at the moment I have limited understanding of the new system.

Discuss...

14
RebirthUO / Easter Invasion countdown
« on: April 24, 2017, 07:18:46 AM »

15
Scripting Chat / A personal favor
« on: April 14, 2017, 06:52:05 PM »
So most of you have seen that Cheffe is working on what could be some interesting changes for EasyUO.  Some eggs were broken at the beginning, but it looks like he's sorting out the issues. 

I've had a request from EasyUO for help in testing the new version and subsequent versions with Cheffe's new additions.  So I'd appreciate if you'd choose your favorite set of scripts, grab the latest version of EasyUO from HERE and give them a try to make sure they still work as you would expect.  Use scripts that you are VERY used to seeing work every day so you'll know right away if something is amiss.  Also try scripts that are older and more obscure.

Finally, if you find an issue, please go over to EasyUO and post CONSTRUCTIVE feedback to help Cheffe work through the issue.  Please actively help where you can.

I won't be publishing updates to EasyUO like I normally do because we should focus on helping him get the code ready for release, and we can't do that when there's more than one fork in the codebase.

Thanks,
TrailMyx

Pages: [1] 2 3 ... 25