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

Pages: [1]
1
General UO Chat / Secret way to detect hidden players?
« on: April 12, 2023, 02:31:57 PM »
I was stealthing around Fel Delucia to check on people farming eggs and I came across a group that is obviously scripting, but what threw me for a loop is they instantly start spamming guards when I get within a certain range and stop the moment I step away despite being in stealth the whole time... Is there some clever way to detect stealthed people that isn't tracking? It's too instant to be that and I tried polymorphing to a monster and didn't make a difference.

Editing to add: There doesn't seem to be anything out of the ordinary in their backpacks. They're putting their loot inside a trapbox and i notice they are periodically setting the trapbox off for some reason. Also, tried hiring an NPC and walking it near them and that does not trigger the behavior. Range of detection is 9 tiles.

2
Orion UO Scripts / Combine All Refinements
« on: January 16, 2023, 11:01:56 AM »
I had a bunch of refinements packed away taking up house storage slots so I wrote this.

Put an empty Refinement Amalgamator in your backpack and target a container (that isn't your backpack) full of loose refinements. This script will combine whatever it can to the highest level possible.

Some of the lower level refinements are desirable for PvP gear so set any aside that you don't want to be used!

3
General UO Chat / Information on AFK Time Out?
« on: December 18, 2022, 01:15:50 AM »
Does anyone have some insight on what exactly prevents the AFK timeout on OSI? I can't seem to find good info on this. Opening backpack periodically seems to prevent it, as does moving. Using bow or salute emote works as long as you're not mounted.

Standing at Luna bank prevents timeout, is it the other players nearby that does it? NPCs? Updating journal? I've been disconnected with recent 'You see' messages in my journal, so I'm not sure what the deal is with that.

I usually use the opening backpack method to prevent timeout, but I'm interested in learning of other ways that don't use the item cooldown timer and don't interfere with targeting cursors.

4
Orion UO Scripts / Combine and Commodify
« on: October 31, 2022, 11:26:35 AM »
Combine and Commodify Resources

Commodifier Call Variants:
    Commodifier(stackSize);
    Commodifier(stackSize, useCommodityDeeds);
    Commodifier(stackSize, useCommodityDeeds, useSpecificArray);
Arguments:
    stackSize: integer. Size of stacks to create.
    useCommodityDeeds: boolean. Use commodity deed on complete stacks. Default value: true.
    useSpecificArray: array [[graphicId, colorId]]. If this is specified, only items included in the array will be combined. Default: false. Everything is combined

Commodifier will first Combine everything to the stackSize you set and then use a commodity deed on any stacks that meet the stackSize.
You must have commodity deeds in either your bank or the commodity deed box you target if useCommodityDeeds is true.

Has been pretty thoroughly tested, but I'd not be surprised at all if someone is able to break it! Please let me know specific details if you find any bugs!

5
Orion UO Scripts / Teleport Ring Charges Counter
« on: October 31, 2022, 10:01:27 AM »
Here's a little snippet I put together to verify the total amount of teleport charges in a bag full of teleport rings. Can be used in the trade window!

Code: [Select]
function TeleportChargeCounter()
    {
    Orion.CharPrint(self,1159,'Target container full of rings')
    Orion.WaitForAddObject('myTarget');
    var container = Orion.GetSerial('myTarget');
    while(!Orion.GumpExists('container', container))
        {
        Orion.UseObject(container);
        Orion.Wait(1300);
        }
    var rings = Orion.FindTypeEx(any,any,container).filter(function(ring)
        {
        return Orion.Contains(ring.Properties(), 'Ring') && Orion.Contains(ring.Properties(), 'Teleport Charges:')
        });
    var charges = rings.reduce(function(sum, current)
        {
        var currentCharges = +((current.Properties().match(/Teleport Charges: (\d+)/) || [])[1] || 0);
        return sum + currentCharges;
        }, 0);
    Orion.Print('Total charges: ' + charges);
    Orion.Print('Average charges per ring: ' + (charges/rings.length));
    }

6
New member introductions / Hello ScriptUO!
« on: October 30, 2022, 05:34:21 PM »
Well met, I go by Ali. I've played UO off and on since I was about 8 years old when my older brother allowed me to make a character on his account in '99. I created my own account shortly after AoS released. My brother stopped playing at that time and gave me his account and both of these accounts are my mains to this day! If only I had kept their subscriptions active the entire time, I'd have some shard shields lol

I played pretty heavily from 2002-2009 on Sonoma and Pacific. I was living at home with my parents and used dial-up internet most of the time, but occasionally I'd visit a relative or a friend with broadband and it was like a super power! I took a fairly long break after I graduated high school all the way up until 2020 during the pandemic; I logged into my main account on OSI as Endless Journey just to poke around and relive some nostalgia and someone approached me purely by chance at Luna bank and said they liked my name and invited me to their guild. I was inducted in and have met plenty of awesome friends who have kept me engaged with the game! I honestly didn't expect I'd still be playing UO now nearly 3 years after coming back, but as they say, you never really quit UO, huh?

As for my interest in ScriptUO and scripting UO in general, I'm no stranger to automating things in the game, it's probably 80% of my enjoyment of the game at this point lol. My main focus has always been focusing on QoL scripts and automating various resource gathering. I also love PvP, but it's one of the few aspects of the game that I refrain from automating, preferring to actually press buttons to smack people around :). I used EUO primarily back in the day (I see some familiar names around these forums, though I'm not sure what username I went by on the EUO site back then), but have gotten into Orion primarily which finally gave me some motivation to become competent with JavaScript. I had a lot of free time these past couple years and it was a lot of fun teaching myself how to use Orion's scripting engine and solving the unique problems that arise in this game.

I'm active in the Orion Discord with the same username and love to help people however I can. The Discord format isn't the greatest as a script repository, so I sought out an active forum and landed here! I hope to make some helpful contributions to ScriptUO's Orion script library! Thank you for having me!

Pages: [1]