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

Pages: [1]
1
Stealth Client / Resurrection Gump c#
« on: May 08, 2016, 12:22:37 PM »
Can anyone give some pointers on gump handling when using the resurrection gump? I have no problems working with say runebook gumps, but I am stuck on the resurrection gump.

Take the following code:
Code: [Select]
            while (true)
            {           
                    List<Gump> gumps = Gump.ActiveGumps;
                    List <Serial> serial   = Gump.Serials;
                    List<uint> type = Gump.Types;
                    Console.WriteLine(gumps.Count);
                    Console.WriteLine(serial.Count);
                    Console.WriteLine(type.Count);
                    bool rezGumpShown = Gump.WaitForGump(2223, 5000); //2223 = rez gump

                    if (rezGumpShown)
                    {
                    Gump rezGump = Gump.GetGump(2223);
    }
                    Thread.Sleep(2000);
            }

If I am dead, and not near a wandering healer, my console output will be 0,0,0. As I approach the healer and the rez gump appears, 0,1,1. Also, once inside the if statement,
Code: [Select]
Gump rezGump = Gump.GetGump(2223); throws a null reference exception.

Is there a reason the rez gump doesn't appear in my list of active gumps? Any ideas about the NR exception?
I really appreciate your help!





2
Stealth archive / HTTP Post
« on: November 20, 2014, 05:18:41 PM »
Hey guys, I am converting some of my c# scripts over to pascal, and ran into a wall. I use HTTP Post to send a few variables to a php script on an apache web server. Really simple using basic authentication. I am running into issues using pascal though, where the api doesnt have any authentication functions built in. I tried using http://user:pass@www.server.com/post.php but am just getting an error similar to "your web browser doesn't know how to handle credentials". Anyone have any solutions or ideas?

3
New member introductions / New intro
« on: January 05, 2014, 12:17:44 PM »
Where to begin...
I started playing uo in college after watching a roommate spend all night on the game. I really wondered at the time how anyone could sit in front of the same game for so long, yet here I am 11 years later. I play OSI mostly, and have recently started checking out some free shards, but haven't really found one with the same level of pvp as OSI. I started scripting after getting busted by a gm for leaving a golf ball duct taped to a grenade shell on my keyboard and going to dinner. After many years of easyuo, I moved up to oeuo about a year ago, and am about halfway through a C# book as we speak. I really like the functionality of stealth and plan on porting all my idoc scripts over using Orichs scriptdotnet.dll. The ease of uploading data to a sql server through c# will make keeping track of my idocs so much easier(ever tried manually keeping track of 43 houses in various states of decay, found in one day, on a single shard?). I'm no fan of getting too personal on forums, however, in the spirit of the introduction I will say that when I am not working, you can find me fishing, surfing or uoing.

4
Stealth archive / Problems loading stealth
« on: December 12, 2013, 04:30:06 PM »
Hey guys, I am having a bit of trouble trying out stealth and am hoping someone here can give me some pointers. I have downloaded the newest version, and tried older versions, but can not get stealth to run. I've run it as admin, and it will pop an icon in my system tray, but as soon as I mouseover the icon, it disappears. No windows, splash screens or anything else pops up.  I am running win7hp, completely updated. I don't want to give up this easy, as I think stealth looks amazing, but at this point I am not sure how to proceed. Any ideas?

Pages: [1]