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

Pages: 1 ... 5 6 [7] 8 9 ... 14
91
I get to the character map starting location screen and then it stops.

92
RC2:

Redone for ScriptSDK, more changes coming soon...

93
Source: http://training-buddy.sourceforge.net

About:
Trains skills *extremely* fast.  This is intended to be a generalized program for training skills, because... who wants a client window open while you're training.

If you would like to contribute to this project, register at sourceforge.net and send me a pm with your username.

I assume your using 2/6, 100 LRC where applicable or this will not function as intended.

Skills working:
  • Chivalry
  • Evaluating Intelligence
  • Magery
  • Necromancy

Skills listed but not working:
  • Imbuing

94
Not many people can handle the awesomeness of all that is Enhanced Client...  :o

95
I have quite a few more, but i'll only post 2 more :)

this one is closest to clean i have


and a silly shield

96
1 youtube video, coming right up   :D

97
UO Bragging Rights / Item with the most mods on it *Official shard only*
« on: October 03, 2015, 06:21:09 AM »


That's 17 mods.

If anyone has better post I'd like to see!


98
Stealth scripts / [V6,ScriptSDK] Healing Trainer
« on: October 03, 2015, 03:45:08 AM »
Download ScriptSDK here:
http://sourceforge.net/projects/scriptsdk/files

Download Visual Studio here:
https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx

Compiling Instructions
Start a new Windows Console Application project, name it HealingTrainer
Add a reference to ScriptSDK
Copy/Paste code below into Program.cs
Right click the solution in the Solution Explorer, and click Build.
You now have an application named HealingTrainer.exe in ./bin/Debug/

Script Instructions
Simple little script here.  Start up two accounts with stealth, one of them is to be the ghost.  Make sure the character is dead before running it, but you run the script on both the person training healing as well as the ghost.  Make sure you have a container with bandages.

1.  Connect two accounts
2.  Kill one of the characters
3.  Fill container with bandages (no sub containers)
4.  Start Script on Ghost
5.  Open game client for Healer
6.  Start Script on Healer
7.  Target the container with the bandages
8.  Target your ghost
9.  Close game client
10.  Profit

Code: [Select]
using System;
using System.Diagnostics;
using System.Linq;
using ScriptSDK;
using ScriptSDK.API;
using ScriptSDK.Attributes;
using ScriptSDK.Data;
using ScriptSDK.Items;
using ScriptSDK.Mobiles;

namespace HealingTrainer
{
    class Program
    {
        private static PlayerMobile Self = PlayerMobile.GetPlayer();

        public static Item RequestTarget(uint TimeoutMS = 0)
        {
            Stealth.Client.ClientRequestObjectTarget();
            Stopwatch timer = new Stopwatch();


            timer.Start();
            while (Stealth.Client.ClientTargetResponsePresent() == false)
            {
                if (TimeoutMS != 0 && timer.ElapsedMilliseconds >= TimeoutMS)
                    return default(Item);
            }

            return new Item(new Serial(Stealth.Client.ClientTargetResponse().ID));
        }

        [STAThread]
        static void Main(string[] args)
        {

            var _targetHelper = TargetHelper.GetTarget();

            if (Self.Dead)
                GhostRoutine();
            else
            {
                Console.WriteLine("Target the container with bandages.");
                var _bandageContainer = RequestTarget();

                _bandageContainer.DoubleClick();
                
                Console.WriteLine("Target the ghost to heal");
                var _bandageTarget = RequestTarget();

                while (true)
                {
                    var _bandageList = Item.Find(typeof(Bandage), Self.Backpack.Serial.Value, false);

                    if (_bandageList.Count == 0)
                    {
                        Console.WriteLine("Backpack out of bandages.");
                        GetBandages(_bandageContainer);
                        continue;
                    }

                    var _bandages = _bandageList.First();

                    _bandages.DoubleClick();
                    _targetHelper.AutoTargetTo(_bandageTarget.Serial);
                    Stealth.Client.Wait(7000);
                }

            }

        }

        static void GetBandages(Item BandageContainer)
        {
            BandageContainer.DoubleClick();
            Stealth.Client.Wait(1000);

            var _bandageList = Item.Find(typeof(Bandage), BandageContainer.Serial.Value, false);

            if (_bandageList.Count == 0)
                Console.WriteLine("Bandage container is out of bandages");
            else
            {
                var _bandages = _bandageList.First();
                _bandages.UpdateLocalizedProperties();
                _bandages.UpdateTextProperties();
                Console.WriteLine("{0} bandages left.", _bandages.Amount);


                Console.WriteLine("Getting more bandages...");

                Stealth.Client.DragItem(_bandages.Serial.Value, 500);
                Stealth.Client.Wait(500);
                Stealth.Client.DropItem(Self.Backpack.Serial.Value, 0, 0, 0);

                Stealth.Client.Wait(1500);
            }
        }

        static void GhostRoutine()
        {
            while (true)
            {
                Stealth.Client.SetWarMode(true);
                Stealth.Client.SendTextToUO("oOoOooooo");
                Stealth.Client.Wait(5000);
            }
        }

        [QuerySearch(new ushort[] { 0xE21 })]
        public class Bandage : Item
        {
            public Bandage (Serial serial)
                : base (serial)
            {

            }
        }
    }
}

Let's talk about how it works.  The [STAThread] Main void is the entrance to the application.  We set our target helper.  Then we check if we're dead, if we are we goto a sub routine called GhostRoutine.  All that routine does is loop endlessly making sure we stay in war mode and also sending text to UO so that we stay shown.

If we're not a ghost, then we request targets for the container of bandages and the ghost to heal.  After that, there's an endless loop.  In this loop, we first search for bandages in our backpack.  If there are none, we call the GetBandages function on the container we previously targeted containing our bandages.

In the GetBandages function, we make sure our container of bandages is open and then wait full second so that we don't try and drag bandages too fast causing it to "you must wait to blah blah blah..."   Then we search the container.  If there are bandages in there, drag 500 and drop them in your backpack.  Wait another 1.5 seconds.

After GetBandages runs, we're back in the main function.   We double click our bandages and auto target to our ghost.  A 7 second wait is set, which you'll want to change tailored to your dexterity.  Maybe I should have put in an algorithm to automatically calculate the time it would take based on our dexterity, but I'm just posting this as a snippet, not really a full trainer.

Enjoy.

99
General UO Chat - Freeshard edition / Re: Official ScriptUO Shard!
« on: September 21, 2015, 08:36:41 AM »
We have the Code from Imbuing already written, but as it is designed on EA standalone its not balanced.
If we want to add Reforging Standalone its needs also the loot system else Reforging would be not balanced.
And if we Add the new Loot Standalone Crafting without imbuing\reforging would be wasteless..

We may learned that lesson after seing how EA handles it.

You are *mostly* right on this.  Reforging/Imbuing is still really popular, why?

Imbuing weapons:  There is a specific weapon for each specific encounter. Undead SLayer, SSI, Mana Leech, Stam Leech, DI - very specific loot.
Reforging weapons: 100% Elemental damage for encounters that have no slayer, 40% SSI bows to 50% SSI after enhancement.
Reforging armor: 150 luck pieces are extremely rare loot, you need luck to find luck.  Reforging a luck suit is the only way to start a luck suit.

Reforging and Imbuing are still very popular

Barbed Kits have dropped dramatically, reforging armor is only good for luck.

100
General UO Chat - Freeshard edition / Re: Official ScriptUO Shard!
« on: September 18, 2015, 11:37:14 AM »
Releasing those standalone from time to time would be huge imbalance.

*nods* :)

101
General UO Chat - Freeshard edition / Re: Official ScriptUO Shard!
« on: September 18, 2015, 07:17:25 AM »
+1 for rebirth

2 questions:

Is the loot like OSI's?
Does luck do anything?
Does luck effect properties on the loot coming from killing monsters?

EDIT: Let me clarify, can I find anything like this?


And is there a refinement system?

102
Updated to latest ScriptSDK.  Good to go.

103
Stealth scripts / Re: [V6, C#] Egg Farmer - v2.0.0.3 (stable)
« on: September 18, 2015, 03:25:08 AM »
I added the install link and and source back in

104
Crafting / Re: Trapped Box Maker
« on: September 18, 2015, 03:24:24 AM »
I never knew this until recently

http://www.uoguide.com/Large_Crate

People are using these as they do not need to "turn them" to make them work :)

just a FYI if you didn't know!

105
UOP->MUL


MUL->UOP


Basically I'm not getting the both art files, and gumpidx converted back to uop

Pages: 1 ... 5 6 [7] 8 9 ... 14