Page 1 of 1

KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Sat May 16, 2009 11:09 pm
by megamandos
PLEASE READ THIS POST FULLY BEFORE DOWNLOADING KPH.

Ever wish you had a program that would automatically drink cure potions when you are poisoned or automatically bandage your character when you are wounded? Ever wanted to steal items from someone's beetle? Ever get tired of having to loot a corpse by selecting each individual item on it and dragging them one by one to your backpack, and think about how nice it would be to have a program that loots the items that you determined ahead of time? Ever have a thief steal from you and run off screen before you could call guards and wish you had something that would automatically guard whack him/her? If you have a tamer, you want the best trained pets but don't want to pay 500k Gold for a 7x mare and would like a program that trains your pets for you while you are at work/school/sleeping, what if your character ran out of bandages while this program is training your pets, wouldn't it be nice if it could send your cell phone a text message letting you know it stopped the training and is waiting for your return? Ever get tunnel vision while PvPing and forget to check your counters to see how many cure potions you have left and then use your cure macro and it fails because you are out? Wouldn't it be nice if there was a program that actually SPOKE to you that you are out of a certain type of potion? Well, I could go on for a while about this, but I am sure you get the point. This program exists, and you have found it. Call it w/e you want. I have been thinking of making something like this for the past 7 years, just finally got tired of not having it since nobody else would make it. I hope you enjoy using it as much as my friends and I do.

This is an open source project, if you don't trust my program and think it is going to farm out your account then download the source code and review it, and once your are satisfied, compile it yourself and run it. That's one of the many wonderful things about open source projects.

PLEASE DOWNLOAD THE LATEST UOAI. It contains MANY fixes for current issues.

Current Version: 0.6.7 Beta June 10th, 2009

Features:
Auto-Cure-Heal-Refresh Potion Chugging
Auto-Bandaging Self
Auto Call Guards on Thieves When They are Noticed
Auto-Cast Heal/GHeal on Self
Can Snoop Beetles
In-Game Context Menu Based Auto-looting (fully customizable)
Pet Auto-training (Magery, Double Vet Trainer)
Cellular Text Message notifications (death, out of regs, etc) while training pets (for AFK).
Voice Announcements for potion use and depletion
Support for multi-clienting (log in before you start the app if you want something more specific than "Client 0")

Recent Developments:
0.6.7 Beta June 10th, 2009
*Fixed multithreading issue with the auto-looter.
*I will be working on increasing the speed of the auto-looter in the next version, I know its slower than shit.

0.6.6 Beta June 9th, 2009
*Added mobile status caching for the player, which means there will be a lot less lag caused by this program.
*Added check box option for calling guards on thieves when you notice them.
*Added Context menu when you single click corpses to auto-loot and carve them.
-Carve will carve the corpse if you are within 2 tiles, and it will cut up the leather if you are within 1 tile.
-Loot will perform a selective loot on the corpse based on the items in your loot list.
*Removed loot/dry loot buttons and the carve corpse/cut up hides check boxes from loot menu and mini control panel, everything is done through context menus now. I did not add a dry loot option to the context, I may add a button that combines the carve and loot options if anyone says they want it.
*Completely revamped the auto-loot system, it will now actually work EVERY time and not cause client crashes.
*Rearranged the front page of the GUI to fit more stuff on it
*Added option to call guards on thieves or not
*Completely redesigned the double vet pet auto-trainer, it has fancy new bars now. They *should* work.
*Its official folks, I have written over 5000 Lines (5147 exactly) of VB.NET code for KPH and there is still tons more to be done.
*Just FYI, I had to reverse engineer the entire context menu protocol from scratch, if anyone would like me to share my findings, just ask.

0.6.5 Beta June 7th, 2009
Fixed major issue: *If poisoned when you have a spell pre-casted, KPH will either cancel your spell and chug a cure potion or target yourself then cast cure then re-target yourself.

0.6.4 Beta June 6th, 2009
*Fixed the way the pet auto trainer counts food in your backpack, was not counting correctly so it was not seeing that there was food there so it would not automatically feed your pet. It should now.
*Added automatic use of stealing when snooping a backpack using the open target's pack button on the mini control panel if your Stealing is >= 30.0, enabling faster stealing.
*Minor performance/bug fixes.
*Changed the name of my application to exclude my name. Thus helping to prevent Mark from banning me from Hybrid/UOGamers if this program becomes popular.

0.6.3 Beta May 31st 2009
*Now automatically calls guards when you notice a thief in the act
*Auto-bandaging Added
*Added Custom button bar
*Added recall button option to custom button bar, now when you click the button you recall to the specified location automatically.
*Will no longer provide support for Windows 2000

0.6.2 Beta May 25th 2009
*Fixed Pet Magery auto-training, should now repeat until stopped
*"They show you how detergents take out bloodstains. I think if you've got a T-shirt with bloodstains all over it, maybe your laundry isn't your biggest problem." - George Carlin
*Added voice announcements (for when you have tunnel vision in pvp)
*Added multi-clienting Support
*Entering letters in a number field will crash KPH (and you're like "No shit?")

Soon To Come:
*Auto-Restocking while pet auto training

Later down the Road:
*Auto-Chuging buff pots (str/dex) when their effect runs out.
*User Based Configuration (I know its a pain to reconfigure the app every time you close and open it.)
*"Razor" style "Smart Always-On-Top"
*Auto-Restocking when within 1 tile of designated supply container for > 3 seconds.
*Auto-restocking Potions (something razor doesn't do)
*Automagic Vorpal Bunny Hunting
*Display all items as stackable in the player's backpack. F***ing potions cluttering up my backpack...
*Always daylight (for those who don't know how to use razor)
*Add highlight corpses/items of interest on the ground option. (would make corpses on the ground be fire-hued)

WAY Later down the road:
Miner Bot
Lumberjack Bot
Leather/Meat Bot

Known Issues:
*Recall Buttons sometimes fail, a message is displayed upon failure (this has to do with lag, the worse your lag the less this will work.)

Things You Need:
To unpack it:
*WinRAR
To run it:
*UOAI
*.NET Framework 2.0 (Included as part of Win 7 and Vista)
*Windows XP/Vista/Windows 7 (No longer supported on Win2k)
*KPH(0.6.7).rar (download below)

Instructions:
1) Ensure you have the .Net 2.0 Framework
2) Download and install the latest UOAI via the link above. Always make sure you have the latest version installed.
3) Download "KPH(0.6.7Beta).rar" and unpack it to a folder on your computer (No, I don't give a shit where.)
4) Start up your UO 2D Client (2D!!!) and log in. (Yes you can start it up using razor, its preferred actually.)
5) Open the folder and run "KPH.exe" (or "KPH" for those who don't see file extensions)

If you haven't figured out how to get it running then register a user name at these forums and post your problem and question, or miss out like the other 6,706,993,152... wait... 6,706,993,151 people in this world.

And for those who think they are too 1337 to use this, then stick to your knives and I will come to battle with my gun.

Designed for UOGamers: Hybrid. 'Cause Hybrid Rocks.
>Just don't go bragging in town about your new 1337 PvP 5Cr1p71nG Program (Because Mark will crush you.)

Enjoy. Please Report Any Issues on this thread.

DISCLAIMER: I will not be held responsible for any charges, financial or otherwise, caused by using the text message feature of my program. I will also not be responsible for any other negative result of using my program (ie. banning, jailing, loss of pet, etc.). Use at your own risk, and don't be stupid.

Also, Mark (founder of UOGamers) said that he was able to detect the use of uoai/kph. It has recently, after about a month of testing and research, been proven to be false. But still, don't use it in front of GM's or a large group of people, generally Mark enjoys bringing the ban hammer on people for scripting. Also scripting in competitive PvP is lame.

Re: KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Fri Jul 10, 2009 8:54 am
by megamandos
Whats the problem?

Re: KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Fri Jul 31, 2009 5:53 pm
by Kons
i'm gonna download and tell you feedback asa i'll have some time :)

Re: KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Wed Aug 26, 2009 1:21 am
by megamandos
After extensive research I am now "pretty damned sure" that KPH is undetectable, and mark is bluffing. But I am still not taking off the warning for liability sake.

Re: KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Mon Aug 31, 2009 12:10 pm
by megamandos
Unfortunately that is a very vague error code, and so far I have been unable to recreate it. My best guess as to a solution to your problem is attempting to run the application as administrator. A quick question though, I see from the report that you are running Windows Vista, is it 64-Bit? I may remind you that neither KPH nor UOAI have been tested in or designed for a 64-Bit environment. And all of the testing and developing I did for KPH was on Vista, not XP/2k, though I have seen it run on XP with few errors, all of which could be easily prevented or corrected. I think the most likely problems could be the following:

1: Improper registry entry (due to improper installation or .NET or UOAI)
2: Improper windows version
3: A bug in my code not in the main thread, preventing the error catching subroutine in .NET from catching the error and providing more data.
4: Some sort of access violation (the program isn't running with proper privileges).

Re: KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Tue Sep 01, 2009 5:32 pm
by Artaxerxes
I recently bought a new 64bit box, so as soon as i'l get back to UOAI, 64bit support will be implemented.

Re: KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Sat Oct 17, 2009 7:17 pm
by cc10
hi, first of all great program, really really cool. The only problem is that it won't start at all for me. I'm on XP SP3. I do have the UOAI libraries installed, as well as the .NET framework 2.0 (SP2). I followed the instructions you gave, but once I open KPH.exe nothing happens, even though I see KPH.exe in the process list in the task manager. The 2D client i'm using is 6.0.14.3 (with razor). Any ideas on what could be wrong?

edit: I found the problem. I tried rebuilding the program from source and I noticed that anything that had to do with speech wouldn't work, because I was missing the SpeechLib library. I looked for a way to fix this for a couple of minutes, but then I just simply took anything speech-related off the program (I won't use it in any case), and after recompiling everything works fine.

Re: KPH 0.6.7 Beta (VB.NET Open Source)

PostPosted: Sun Oct 18, 2009 4:16 am
by megamandos
oh thx for the comment. Hope you enjoy the program.