UOAI2 Status

For discussing UOAI2, development of it, and development of programs utilizing it. UOAI2 is the replacement of UOAI.NET

UOAI2 Status

Postby megamandos on Thu Jan 28, 2010 5:55 pm

Please post all of your ideas for uoai2 here, we will implement as many as possible. The idea is to make great improvements over the methods that uoai employed. One of the things I plan on implementing is custom context menus (by specific item/mobile and by item/mobile type, fe. Human males, or corpses or chests), hue picker, and the old style grey menu gumps, and text inputs. This will be giving you more options to get information from the user without having to have a bulky custom GUI of your own.

Also one of the key features, we are keeping mobiles and items seperated. We will be adding more versatile events, such as the Mobile.onUpdate will have a value indicating what got updated, such as poisoned status, hits/stamina/mana, and equipment (specificaly what layers), and position values (x,y,z). We will also be implementing following and facing and walking commands. Many of these are already functional, although uoai2 is currently in alpha stages. This way uoai2 will be able to do something like make a small script that opens a gate to your house, goes through it, and restocks and drops off all your loot, and then re-enters that gate. Or you can add a context menu to gates with the option to go through them, so you don't accedently double click and dismount yourself. These features are soon to come and development is very active. Please pm me so you can contact me through google talk and w can speak live. I have an android based phone so I am always available. My time zone is hawaii too, ao keep that in mind.

Current Features:
The following features are either supported in part or in full, and mostly represent implemented ideas.

- Implemented custom context menus. Simply single click an object after enabling its context menu to see the menu appear, the response is handled by an event.

- Added client.PromptForHue to display a hue picker for the client to provide hue input.

- Added client.onClientSpeech event to parse text based commands for your program.

- Added item/mobile.showtext, will display text above the item or mobile.

- Added item/mobile.singleclick, .doubleclick, going to add .target

- Fixed the item/mobile database handling. No more nullreference exceptions on items that exist.

- Injects UOClientDll and is capable of packet handling.

- packet handling uses packet classes, for example: if you receive a packet for a naked mobile, you will get a "Packets.NakedMobile" object with editable properties like "Packet.Name" as a string that you can set then tell the client to handle the packet.

- Right now, packet handling needs to be fast, because while your program is working with the packet, the client is frozen to prevent any other packets from slipping by. Although if you just need information from the packet you can tell the client to continue while you handle that information.

- Keeps track of mobiles and items seperately.

- mobile events: onDeath, onUpdate(status, health,stamina,mana, equipment,position)

- client window control, will implement minimize,maximize, and get window handle, so people can easily implement a "smart always-on-top" similar to razor. Client.close works for now.

- currently only detects "client.exe". Although you can set the client exe name and the client path via: UOAI.ClientExe and UOAI.ClientPath, then start a client and it will be detected.

- macros are currently implemented, although they may or may not work if you download thhe source right now, artaxerxes is doing a huge rewrite of the communication with the injected dll right now.

- custom context menus, for example: if you need to give a special actions menu for single clicking a corpse, you can create a contect menu and apply it to corpse item types, so when the user single clicks the corpse it displays a context menu, when the user chooses an option it calls an event and returns the serial of the item and index of the option chosen. That way you can have your application perform actions depending on the option they chose.

- Target request, in the old uoai targeting was difficult to implement and had to be set up into multiple subs/voids an had to use custom global variables. Ths will be no more. The new system will use target as a function returning the serial of the item or mobile that they select.
"Those who sacrifice liberty for security, deserve neither." Benjamin Franklin
User avatar
megamandos
Guru
 
Posts: 312
Joined: Thu Jan 29, 2009 5:01 am

Re: UOAI2 Status

Postby megamandos on Tue Feb 02, 2010 7:58 pm

Soon I will be adding a wiki for uoai2. The wiki will include example code in vb.net and c#. It will include tips and tricks and snippits and also be used to keep track of changes in the releases.
"Those who sacrifice liberty for security, deserve neither." Benjamin Franklin
User avatar
megamandos
Guru
 
Posts: 312
Joined: Thu Jan 29, 2009 5:01 am


Return to UOAI2 (.NET) Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron