Recent Posts

Pages: [1] 2 3 ... 10
1
New member introductions / Re: Hello Script UO
« Last post by lydaan on September 17, 2021, 06:43:56 AM »
Hello again! It's been a long while, so I thought I'd "re-introduce," myself.

I stopped playing Ultima about 3 years ago as life got busy for myself as well as for my IRL friend who got me into the Free Shard he was on. On top of that the server owner started making changes that I found less enjoyable, so I just left. I'm between jobs right now, and found myself with a lot of free time and fired up Ultima and EasyUO to work on some unfinished business that had been bothering me. I also wanted to say thanks to TrailMyx for maintaining the site and providing the forum.

From the help of many here I was able to go from a scripting novice, where my scripts would memory leak to no end causing constant client crashes and Windows BSODs every 3-5 days, to the point where I can run several scripts that do several things almost endlessly (weeks to months) before a client crash. And no more BSODs. Thanks for your patience and willingness to help, EN.

I wouldn't really consider myself a player as much as a scripter. I find much more satisfaction from the challenges of how to script something than from playing. I don't know how long I'll be around this time, but I've invested several thousands of hours into EasyUO over the years, and am working on some subs that I'd like to share once I get some testing and/or logic done.

I left before with a handful of scripts ~90% complete, (miner, logger, BOD sorter, BOD filler/turn-in, and a bunch of stand-alone helper scripts for certain tasks). All in working order and decent enough to share if I wanted to. But there was always one nagging issue that I didn't want to tackle at the time. I knew how to solve it, but I also knew it would require restructuring my scripts from the ground up and that was too daunting at the time. Now, after 3 years, I am no longer invested in my previous scripts and it feels "fresh."

I play on an AFK friendly FS (great place for script testing/writing) that's based in Sweden. I live near west coast US. My ping varies from 250-350ms regularly with spikes from 700-1500ms, AND I often lose connection. My scripts work just fine in a vacuum, but not in reality where the server I'm connecting to is thousands of miles away across an ocean.

I've solved ping for basically any situation (exevent drag/drop is the only action I can think of where I have to use a "static," wait time with sufficient tolerance, as I have not found some type of confirmation in EasyUO), but losing connection was the big issue. Reconnecting is easy, but to truly tackle the issue requires structuring scripts so that connection is the focal point for every client interaction. If stable, full automation is the goal.

The big sub I'm working on right now I call Sub ClientAction, where every client action is funneled into a singular varCheck that checks for connection and reconnects if lost and your script picks up at or near where it left off. The goal is to minimize client spam and bifurcate all client interactions from the EasyUO logic, so that EasyUO keeps itself busy, rather than spamming the client if connection is lost.

A simple example of a call:
instead of
Code: [Select]
event macro 8 7
while #contid <> #backpackid
   wait
you would
Code: [Select]
gosub clientAction open backpackAnd if connection is lost before the backpack opens, Sub ClientAction would automatically reconnect, attempt again to open the backpack, and then return once successful. The script/client having been none the wiser.

I'm reaching the point where I'm polishing the first-ish draft, but I won't post it until I do a write-up which will likely take me a full days work, as it includes a few sub-subs and at least one handler sub. And I still need to decide how to handle click actions for crafting/other multi-click-action gumps. That's not happening soon. Maybe in a week or two. I'll start a discussion thread about it once I start working on the write-up. Maybe within a few days time. I'm very interested in any/all feedback, critical or otherwise.

My main focus right now is this sub, and other "operational" functionality, as well as the ins/outs of beating EasyUO into submission. I think most can agree, it is somewhat limited in terms of expected functionality (like subs not being true localized functions), but it is also VERY robust and provides ample work-arounds for any perceived short-comings. And that also adds to the enjoyment (or maybe headache ;)) of scripting in EasyUO, and I am looking forward to hopefully discussing these topics and more with everyone here, again.

Well... that's about it for my "re-introduction," sorry for the long-winded post, resurrecting a "dead," thread and probably/partially off-topic directory. Thanks to those who bothered to read it.

And thanks again, TM!
2
New member introductions / Re: Greetings! Back after 10 years off
« Last post by Crisis on September 16, 2021, 01:16:12 PM »
Welcome to SUO!
3
New member introductions / Re: Greetings! Back after 10 years off
« Last post by gimlet on September 16, 2021, 07:49:47 AM »

A Warm Welcome!

Thanks for your introduction - restricted status lifted - feel free to enjoy all the benefits of the site!


WELCOME!




4
New member introductions / Re: Greetings! Back after 10 years off
« Last post by Allygreg03 on September 16, 2021, 04:51:03 AM »
I remember X-MEN. I was in Liam’s Regulars (LR) back then. Used to hang in Minoc Mines and kill anything grey. Lol.
5
New member introductions / Greetings! Back after 10 years off
« Last post by deten on September 16, 2021, 12:45:44 AM »
Hi Folks,

I played a long time ago on Napa Valley when there was a guild named "XMEN".  I was a kid back then.  I left though around 2000-01.  Throughout the past few decades, I have played a few freeshards... UO Hybrid was one of my longest stays, but with the release of Legends of Aria, I wanted to give a new 3d World a chance.  Theres a "freeshard" called Legends of Ultima (Now Shards of Brittania) and its really cool but they have a long way to go.

In the mean time I am playing UOForever with some friends I made on LoU.  Cant believe how far things have come since I played last.  ClassicUO client is amazing.

Looking forward to joining here, thanks!
6
New member introductions / Re: Bigshoes Introduction.
« Last post by Crisis on September 15, 2021, 04:17:21 PM »
Welcome to SUO! You have some BIGSHOES to fill!!  ;D
7
New member introductions / Re: Intro
« Last post by Crisis on September 15, 2021, 04:12:02 PM »
Welcome to SUO!
8
New member introductions / Re: Intro
« Last post by gimlet on September 15, 2021, 11:06:38 AM »



A Warm Welcome!

Thanks for your introduction - restricted status lifted - feel free to enjoy all the benefits of the site!


WELCOME!
9
New member introductions / Re: Bigshoes Introduction.
« Last post by gimlet on September 15, 2021, 11:06:08 AM »



A Warm Welcome!

Thanks for your introduction - restricted status lifted - feel free to enjoy all the benefits of the site!


WELCOME!
10
New member introductions / Bigshoes Introduction.
« Last post by Bigshoes93 on September 15, 2021, 06:53:45 AM »
Hello all readers id like to tell you all a little bit about myself, I'm James But my friends call me Jimmy/Bigshoes and no I don't have big shoes :p. I'm 28 from the UK and have gamed since I could move a mouse . I saw my first experience of UO back in id say 99. I was watching my dad travel through jungles on his quest to tame Gorillas, his Idea was he would be able to sell them at brit bank and become some kind of gorilla seller but sadly no one needed Gorillas because tbf a lot had dragons :p. One man took pity of my dad and gifted him his first house, it was in this house my first character Jim was created. Jim spent his days running through forests and graveyards killing every skeleton zombie mongbat he could find, until one day Jim was able to venture into a deadly dungeon known as despise. Jim spent days, weeks possibly month venturing through the caves slaying lizardmen. Then sadly like all good things these times came to an end when the family moved to another Game and the UO sub was cut, for a 6 -7 year old I wasn't on a high enough weekly wage to pay myself :P. Which brings us to now, I've been back playing UO for about 6 month and loving it I have hung up my tamer i first created and moved towards a sampire just a lot more exciting to play heh. I've still got a hell of a lot to learn and look forward to finding out new stuff in the game. I hope to be able to join the community and speed up my learning process :p
Pages: [1] 2 3 ... 10