UOAssist API

Started by Blind Otto, September 17, 2016, 04:11:52 PM

Previous topic - Next topic

Blind Otto

This is a long shot, but I'll ask anyway, just in case there are any other UO-loving developers out there.

A long time ago, back when we all still loved UOMap, UOWedding, UOCurse (Thy mother lusts after lizardmen!), and similar things, Tugsoft had a page on their website that described how to hook into UOAssist from your own code. That page seems to be long gone, but I was wondering if anyone knew where to find that sort of information nowadays?
I'm not planning any type of cheat tool that suddenly turns my pathetic PvP skills into the shard champion - I just have an idea for a RoT timer that actually monitors skill gains, and alerts you automatically when another gain is due... maybe even add in some kind of skill gain history chart, for the pedantic people amongst us... things like that.

It was easy to hook into that API from VB3 (yes, you already knew that I'm old), but today's Visual Studio isn't showing me anything terribly useful. It could be that they've closed off their API, and it's not open to automation any more, but perhaps someone knows another way to monitor or hook into UOAssist or even UO's processes?

Thanks!

*edit* I do have this information, but could use a hand actually getting some code jump-started!


Zardoz of Crete aka Kimi aka Victoria Secret

Never mind, I was thinking you needed help getting a key code?   But maybe you can post something at Tugsoft help?  He is still around fixing problems if you read some of the stuff he posts you will see even Freja helped one time with a problem.

Blind Otto

No, it's not a key code.
I'm wanting to develop a new application - I'm a software developer, y'see.
I did this YEARS ago, but would like to re-do it, using current tech.
Unfortunately, all the supporting info, except for that page I linked to, is gone.
If I can't get anywhere, I'll try emailing him. Thanks!

Eye of Hoffs

You could try The Way Back Machine to see if any of their saves have the info you need:

http://web.archive.org/web/*/http://www.tugsoft.com

Blind Otto

Yep - tried that, but thanks anyway. (see link in first post)
There used to be another page that gave code samples, but, like many other pages on that site, I suspect the robots.txt file blocked the wayback machine from archiving it.
Looks like email is going to be the way.

I'll get there... watch this space. (Probably for a few months, but, I'll get there!)

Blind Otto

Mystery semi-solved... I found an old hard drive in a box, which had my old code on.
Now for the joys of converting VB6 code to something a little more up to date.
But, at least I have everything that I need now!
(and the old version still mostly works... just crashes a lot on Windows 10)

Watch this space... in, oh, 6 months to a year. :)


I also found some of the old story night tales on that drive. I'll upload them into the History scrolls once I get a chance!

CharGar


Blind Otto

Just in case anyone was interested, or thinking I was resting on my laurels...

My successes so far:

It can read my current skills, both real and item-enhanced.
It can pick up my character ID and name.
It tells me when I am due to gain in a skill, and plays a sound when that happens.
It tells me when RoT is about to reset for the day, handy for those week-long UO marathon training sessions!
It has a detailed information display (below game window in screen shot below), and a summary status bar (above game window) which will eventually sit in the title bar of UO.
It can hide skills in various states (e.g. not in use, already fully trained, or just "I don't want to see that right now")
Control over UO Macros - i.e. play macro No. 3 when it is time to gain in Camping, No. 1 when time to gain in cooking, etc...  this area needs a lot of work...
Logging of gains, for anyone who really, really loves their graphs. Go on, you know you all want to wallpaper your room with graphs showing your progress!

Currently configurable items include:
Choice of alarm sound
Skill caps (you never know when they might get a bump from 100 to 120 - or, perish the though, beyond)
RoT timings (again... you never know what a drunken dev might decide to smite us with)

There is much more to come, and I will probably be tweaking this thing for months to come, and some of you might be saying "why on earth would you want that?" - but I call this progress. You may call it whatever you like.

At some future date, I may be calling for testers. Naturally, that call will be sounded here. *grins*

Anyway... there's your update. Suggestions are welcome, but I can make no promises as to when or if they'll see the light of day!



Lore Denin

I'd ask you to have it play a sound when I am about to die but think it would just be a constant BEEEEEEEP!

Nice work

-Lore

Zardoz of Crete aka Kimi aka Victoria Secret

Quote from: Lore Denin on October 09, 2016, 02:10:14 AM
I'd ask you to have it play a sound when I am about to die but think it would just be a constant BEEEEEEEP!

Nice work

-Lore

Yep that me as well on Zardoz.  I raise my hand for future testing *Hand in the air*