Recent Posts

Pages: [1] 2 3 ... 10
1
Orion UO Scripts / Re: Sampire Helper
« Last post by Mustang58lx on Today at 02:34:17 PM »
Heh there actually should have been a cast function in there. You are the first person to point out it's missing/broken. I'll add it in if I ever do an update. Right now there seems to be no interest, so no reason too. Your fix should work fine, may need to add a slight delay after Orion.Cast since my cast function adds the delays based on fcr, etc.
Thank you for your answer. You are right, must be delay because script activate Whirwind attack very fast. And also tried to activate this attack with busido abilities but it no possible.  So modification in progress. If you can give me some advices i will be appreciate. Thank you in advance.

Code: [Select]
function cast(spell, target){
    var fcr = (6 - Player.FCR()) / 4 * 1000 + 250;
        Orion.CancelWaitTarget();
        if(Orion.HaveTarget())
            Orion.CancelTarget();
        if(Player.Frozen())
            return;

        if(target)
            Orion.CastTarget(spell, target);
        else
            Orion.Cast(spell);
       
        Orion.Wait(500);
        while(Player.Frozen() && !Player.Paralyzed())
            Orion.Wait(10);

        Orion.Wait(fcr);
}

Adding that to the script should solve a lot of issues. If you find anymore, feel free to post them here. Seems more people are getting interested, i may do an update to make sure everything is tweaked correctly and add some other features i have handy if it keeps up :)


Did Altric update his script with the newest changes posted in this thread? Because when I run it I get errors. So I'm guessing the casting code needs to added. Do I need to change the items JackWalters mention about using Orion.Cast and the numbers instead of how Altiric has it?

Where exactly should the above cast code be added to Altiric's originally script he posted? I added it after the function equipSlayer(graphic){ and before function loadTags(graphic){
Code: [Select]
function equipSlayer(graphic){
    var tags = loadTags(graphic);
    if(!tags.slayer) return;
    var weapon = Orion.FindTypeEx('0x0F4B', any, backpack).filter(function(weap){
        return Orion.Contains(weap.Properties(), tags.slayer +" Slayer");
    })[0];
    if(!weapon) return;
    Orion.SetTimer('weaponSwap');
    Orion.Print(color.purple.norm, tags.slayer +" slayer equipped");
    Orion.Wait('moveitemdelay');
    Orion.Equip(weapon.Serial());
}

function cast(spell, target){
    var fcr = (6 - Player.FCR()) / 4 * 1000 + 250;
        Orion.CancelWaitTarget();
        if(Orion.HaveTarget())
            Orion.CancelTarget();
        if(Player.Frozen())
            return;

        if(target)
            Orion.CastTarget(spell, target);
        else
            Orion.Cast(spell);
       
        Orion.Wait(500);
        while(Player.Frozen() && !Player.Paralyzed())
            Orion.Wait(10);

        Orion.Wait(fcr);
}

function loadTags(graphic){
    var tags = Orion.GetFindList('mobTypes').Items()
        .filter(function(type){
            return type.Graphic() == graphic;
        }).map(function(tag){
            var comments = tag.Comment().split('|');
            return {
                name    : comments[0] ? comments[0].toString() : "missing",
                slayer  : comments[1] ? comments[1].toString() : false,
                ignore  : comments[2] ? Boolean(comments[1]) : false
            }
    });
    return tags || false;
}


When I run this script it runs over to players green pets and even players in different forms such as Wraith. How do I get it to ignore player's pets and players in different forms? Those pets and players turn green to me. I get the following error. Line 114 ReferenceError: Can't find variable: ability

For the new Shrouded Sails event it it isn't attacking the pirates in the Void Pool either. How do I resolve that?
2
Stealth scripts / pyLootLogger
« Last post by unisharp on April 23, 2024, 08:21:31 AM »
SOURCE: https://github.com/unisharpUO/pyLootLogger

PURPOSE: Going through tons of loot by hand can be a daunting task.  This project contains classes for Armor to log and serialize data to JSON.  You can then display that data however you like.  Example Wordpress + wpDataTables: https://www.sibble.com/games/ultima-online/armor/

STATUS:  Currently just does Armor, expanding for Weapons and Jewelry soon...

USAGE: Run the script, target a container full of Armor, check your project directory for a new armor.json file.

REQUIREMENTS: StealthUO Client + python wrapper, script is configured for OSI/Official/ServUO loot sets only but can easily be modified for other servers.
3
Orion UO Scripts / Re: Sampire Helper
« Last post by sundaymood216 on April 06, 2024, 08:31:48 PM »
I will check it out
4
Orion UO Scripts / Fishing
« Last post by Kandie on April 06, 2024, 08:48:35 AM »
 I use 2 scripts from Easyuo and they are Archangel's Serpent Hunter and SOS Master which are Great. Is it possible for  someone either make them to work in Orion or make scripts like that for us to use?   If so what kind of commission would that be worth for them to be written? All the hard work that is put into writing scripts is very much appreciated..

                                                                                                                   Kandie
5
Orion UO Scripts / Re: Sampire Helper
« Last post by deathwillow on April 03, 2024, 02:29:18 PM »
Looking through the code, the slayer wep swap will never work... Is there a way to do this pragmatically?  or would you have to manually create a Mob Graphics -> Slayer Type mapping somewhere?
6
Razor Enhanced / Re: Can someone take a look at this for me?
« Last post by Crisis on April 02, 2024, 06:05:17 PM »
It already has the commands to move the boat, it is missing the call to action for it. It needs something to call for when there are no fish biting after it fishes all around the boat to then go forward 4500 seconds, stop, and resume fishing. I have never written a script for this so I do not have the capabilities to know how to add it.
7
Razor Enhanced / Re: Can someone take a look at this for me?
« Last post by El_Remo on April 02, 2024, 02:39:27 PM »
Yeah thats what Im wondering as well. Im pretty sure he did a python version..  Ill find it and post so we can compare..
  He did have this seperate. Would this be pasted at a particular spot, or called upon during the script?\

https://github.com/matsamilla/UO-Steam/blob/master/Sailing/Profile%20Macro%20List
8
Razor Enhanced / Re: Can someone take a look at this for me?
« Last post by Crisis on April 02, 2024, 02:13:56 PM »
I am not very familiar with Steam Macros but I do not see anywhere that calls for it to "drive" when it gets the journal message with "biting". I may be very wrong but I was looking for an instance with a journal entry with biting and then it calling for it to "drive" for the part with the 4500s. It seems like maybe that part is missing?
9
Razor Enhanced / Re: Dead already?
« Last post by El_Remo on April 02, 2024, 04:20:09 AM »
  if anyone is still needing the homepage address.

https://razorenhanced.net/
10
Razor Enhanced / Re: Can someone take a look at this for me?
« Last post by El_Remo on April 02, 2024, 04:17:21 AM »
I was able to get a temporary macro working so im semi up and running. Id still be very interested in something like this if someone can ever help me tackle it lol.  Thanks gang
Pages: [1] 2 3 ... 10