Locked Home » Forums » Legacy & Archived » Archived Content » Vanguard » Vanguard Premium Discussions

Adventuring Bot : Vanguard Premium Discussions

Posted: February 9th, 2007
tault_razorwing
Hello,
I thought i start a new topic based on the adventuring bot, there has been much talk about what type of bot people want whether its crafting or adventuring. For my personal preference, i would like to create a adventuring bot because people know how long it takes to lvl when you get to 14+.

So based on the discussion in the link below, i will be creating a bot in ACTool as thats the scripting language i am best at. I am sure there are better ones and that later on there will be better bots out there than the one i will be purposing but tbh for the moment, there are no bots out there and i would like to start of by creating a simple bot.

So here are the parameters i am thinking off:
Screen Res: 1024x768 (Windowed)
Skin Type: Default
Actions: Heal / Buff / Attack
Class: Caster (Maybe Melee later)

As mentioned before, this will only be a simple bot, so if i get anyone saying its crap, i simply will not develop any more for tault. If you think it can be improved then feel free to let me know :)

I have just started, should be ready in an hour or two hopefully lol.

Based on Discussion Here: Register to unlock hidden link

Testing:
Directional: Complete
Movement: Complete
Combat: Complete
CleanUp / Tweaking: In Progress

UPDATE:
I have almost finished the bot, it moves and attacks correctly, i am just working on sorting a few bugs and tweaking it then it will be ready to go.

Requirements:
Step 1) Setup Game Screen Res to 1024x768 (Windowed)
Step 2) Setup Desktop Screen Res to 1280x1024
Step 3) Use Default Vanguard Skin Only
Step 4) Turn on Hot Bar Right via Vanguard Interface (Put all Buffs / Protection Spells in Here - Noted on the Diagram by a 1)
Step 5) Setup Healing Spells (If you have then - Noted on Diagram by a 2)
Step 6) Setup Attack Spells (Either Melee or Combat Spells - Noted on Diagram by a 3)
Step 7) In ACTool Script, you will need to Change Focus Selection, for Focus Damage or Unfocus Mode

Creating the macro took longer than i thought, there is still one or two things still needs to be done to make it more of a afk bot, but in its current state, the macro works, movement, direction, combat and resting. In order to make it more of a solo bot, targetting and searching for mobs will need to be done, not 100% sure how this will be done as you dont want to target and attempt to kill a NPC or high level mob.

I will be releasing screenshot of setup and the macro itself tommorow afternoon, when i have had proper time to test it, who knows, by then someone might of come up with a better bot lol.

UPDATE 12/2/2007:
Based on stigma's code, i am recoding and improving the targetting system. I have also decided to make things slightly more complex too, by having a werid in-game screen res, this will be so that it can support the new DroxUI which i will be changing to.

PC Screen Res: 1280x1024
In-Game Screen Res: 1280x800
Skin Required: DroxUI
Layout: DroxUI Layout 1

New Build:
- 100% Accurate Directional Movement
- DOT Mob Dection
- Distance Dection (within 5m up to 30m away)


Last edited by tault_razorwing on February 12th, 2007, 8:46 am, edited 5 times in total.
Posted: February 9th, 2007
tault_stigma
I appluad that someone finally takes some initiative.

I've developed my own adv bot so far, and it has become quite advanced, so if you want me to help you out in some way, I'l do what I can to help you if you send me a msg. I'm using exclusively autoit to script everything however, so I don't know if you can use my code-snippets directly or what, but let me know and I'l assist in what ways I can.

My two biggest restrictions left so far are:
- Accurate movement around in the world, and the bot recognizing where it is (work in progress)
- Handling of accidental aggro (may not be coded, but I'l see later on if its viable to even atempt it :) )

Before anyone asks, I haven't released my own script because:

1) Its not made for public consumption, and will 90% likely NOT run automatically on your system/character(s) unless you know how to rewrite some parts of the code to fit your own systems/needs
2) Its custom-made for my spesific characters. For any other class, editing of the code would be needed before it would be any use at all.
3) I'm already a paid premium heh... ;)
4) No one else here except razorwing has so far made any public attempt at making something for vanguard, so I don't really feel I'm obligated in any way to put a lot of extra time into making this script usable by the public.

I do however make exceptions to people who try to help themselves. If anyone reading this are trying to multibox or bot using autoit or related scripting languages (and can show me what you have so far), I will gladly release any relevant working code sections I have in the interest of furthering Vanguard scripting projects.

On the note of multiboxing:

I just completed some functions to allow two-way comminication between autoit scripts (that are running on seperate PCs on the same local network). If anyone else is working on multiboxing related scripts, hit me up and I will be glad to share the code.

Similarly I am currently looking for "read-from-log" functionality. I'l probably make this myself If noone else does within reasonable time, but if anyone else has allready developed for autoit, or know how to re-use something from another game (I was unable to find anything on the forums), then PLEASE let me know, and save me a lot of time and effort.

Enough ramblin' from me :)

-Stigma


Last edited by tault_stigma on February 9th, 2007, 1:46 pm, edited 1 time in total.
Posted: February 9th, 2007
tault_stigma
tault_razorwing wrote:Hello,
In order to make it more of a solo bot, targetting and searching for mobs will need to be done, not 100% sure how this will be done as you dont want to target and attempt to kill a NPC or high level mob.
I have some code that handles this, and checks for both level and toughness of a mob before it attacks. As I said i dont know how muhc use my code if for you, but you might be able to translate it or whatever to the programming language your using qith ACtools (never worked with those, so have no idea how it works).

-Stigma
Posted: February 9th, 2007
tault_razorwing
Nice to see someone else is creating bots too, i have spent about 8 hours or more on this macro and i too have the problem with public use, as you clearly mentioned before, the main problem with creating bots is to make it work for any character or system its installed onto.

All i can do is provide the best advise in order to alter the code needed to suit most character needs. Allot time was spent on this and i dont want people to turn around and say its crap or it doesnt work, which of course, you know they will.

From what i have tested so far, it works well with any spell casters but in order to make a bot which will work for any class, it would take alot of time and effort which i dont have. So although this is more of a personal development, i dont mind sharing my knowledge as there currently no public bots out there.

I would be very much intrested in your code stigma, i have used auto it before but struggled abit as its not exactly visual basic coding or designing.

I am sure my code can be adapted to AutoIt with very little time, that way users could edit settings etc...via a user interface rather than the code.

Well i am not sure about anyone else, but i look forward to the release tommorow and i look forward to more bug fixes and tweaking as well as improvements :)
Posted: February 9th, 2007
tault_stigma
The stuff is sent in PM :)
Let me know if you have any questions.

-Stigma
Posted: February 9th, 2007
User avatar
administrator
Total Posts:29891 Joined:2002
Hey just wait for the VG service it should be out next week :)
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 11 guests
Locked