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

Pages: [1]
1
Submit your Script / Re: Trick or Treat 2023 with style!
« on: October 27, 2023, 07:35:11 AM »
I hope this has been working alright for the handful of people who downloaded it!

I have ran into a couple cases where the script doesn't handle things as nice as it could- nothing that has got it stuck, but I think the major thing is getting some checking to see if your recalling is failing due to the tile being occupied.  There's a million examples of how to deal with that out there, I just need to get some time to incorporate that before the event is over!

2
Submit your Script / Re: Trick or Treat 2023 with style!
« on: October 10, 2023, 08:55:54 PM »
Hey, glad it's working for someone other than me!  Ok, so it's the total runes..  Basically the trick or treat runes are randomly picked between 3 and whatever your end rune is, so 3-16 with a full book (setting the variable to 16).

I know rune #1 isn't really used in the script.. that's my home rune in my book  ::)

I'm thinking mobiles IDs must reset (or more likely, the whole mobile) after server restart, which means the persistent variable I'm using to store those will just grow and grow and grow.  Hmm, I'll have to add a time check or something to prune that the first time you run after a server restart.

I've put out v1.1 update.. to grab the time you run the script and try to figure out if the last time you've ran it was before the server restart.  If so, it will prune the SYNTOT<charID> registry key, so that doesn't just grow and grow and grow!

3
Submit your Script / Trick or Treat 2023 with style!
« on: October 10, 2023, 01:46:48 PM »
So there are a few trick or treat scripts out there, but nothing that really did what I wanted.. so I decided to cobble together my own!  I've been using EUO scripts for a long time now.. but got into the game so late, there hasn't been a lot of inspiration to create something because everyone has done a great job before me.. so I was excited to come up with something.

A few things it does:
  • No rails or anything, it will look for NPCs up to 20 steps away and use pathfinding to get there.  When it can't find anyone new to trick or treat with, within 20 steps, it recalls away.
  • Just one runebook, I have it set to use runebook spot 2 for bank, and rune spots 3-16 for trick or treat spots.  You need to let the script know how many runes you have.
  • It will remember all of the NPCs that it tries to trick or treat with, but actively don't support trick or treating.  This means your runs should be more efficient after you make your first couple of rounds.
  • It will bank candy and "special" things in separate containers in your bank.  Or one container, if you select the same container for both.  Not set up to work in housing secures currently.
  • Added functionality to reset the NPC ID list the first time you run the script each day after the server restart, since that refreshes NPC IDs (v1.1)

Things I've learned:
Concatenating persistent variable names between the comma and dot operators is the worst, it definitely gave me the most trouble.  In the end.. I just didn't concat anything, so my persistent variables don't have pretty names, but they are dynamic per character.  Good enough, I'm over it!

4
I'm not sure if there are better Ter Mur lumberjacking options, but this script is still working like a champ on 9/21/2023!

Appreciate ALL of the work that has come before us, there are some of us still riding on the glory days of UO Scripting!

5
New member introductions / Re: Hello!
« on: August 31, 2023, 10:49:11 AM »
This guy and his mad scripting skills!!

6
New member introductions / Re: Hey, my fake name here is Cadums!
« on: March 11, 2019, 02:31:54 PM »
Thanks you guys, I'm glad to be here!

So much information to parse though, it is sort of overwhelming!   :o :o

7
New member introductions / Hey, my fake name here is Cadums!
« on: March 10, 2019, 06:18:51 PM »
Hey all!

So, I'm kinda excited to be here, I very recently just learned about this website and there seems to be a lot of great info here!  I first UOed in 1999 as a 17 year old, pvping with friends, doing a bunch of crafting to support that, all that good stuff.  As MMOs started to come out, the tram/fel split, and all of that.. I drifted away from UO.  Years and years later, around 2015 I dusted off the account and tried to learn what UO is now.  Kinda.. in spurts.  I've been using EasyUO and the resources there, modifying scripts as my learning mechanism, to get them working properly with current code or un-gimp them.

Well, because I'm a fancy man with fancy plans, I wanted to make fancy elvish cabinets, but I don't have the recipe.  Boo.  I've made so many turn ins, back and forth... so ok, this seems scriptable, there have been many smart people who have done this before- but the easyuo clan got very.. testy at that subject.  Which I guess is understandable, you don't want the keys to the kingdom in the lowest amount of effort... but such questions have led me here, to you fine people.  You seem much more willing to share knowledge of the dark UO arts and that is just, well that is just fine.

I have a tamer mage, a t hunter, a pirate fisher, a woefully under geared sampire, a stealther/stealing  (I have the snooping on a stone, that was always a fav pastime way back in the day, but stealing from people seems so nerfed now..), and 2 crafters, because of course I have to craft all the things.  Still working on getting imbuing to 120, that is ROUGH.

m'lady

Pages: [1]