Archbot - Archlord Duel Bot Beta

08/10/2009 01:16 fragmaster#1
Archlord - Multi Bot Beta 1.1
With Pathfinder Waypoints Beta

.Net - Programmed by Fragmaster with thanks to _Villain_ for help with code.

When not using waypoints Archlord window can be minimised. If using waypoints you must use the F10 view and not minimise Archlord window, the window does not have to be in focus just has to be open so that gfx are updated.


Process (used to specify Archlord process to control)

Multiple instances of this bot can be run with each one controling a seperate Archlord toon. To use multi bots duplicate and rename alefclient.exe that is located in the Archlord directory.

ie. alefclient2.exe Process = alefclient2
alefclient3.exe Process = alefclient3 etc.

Standard launching of Archlord uses - alefclient


Waypoints (You must use F10 view and not minimize AL window)

To enable Waypoints you must tick 'Use Waypoints' checkbox and make sure the Archlord Screen resolution you are using has been selected in the 'AL Screen Res' box.

To use waypoints you must first create Revival Waypoint & Grinding Waypoint files and have them loaded. You do not need to be in F10 view to create the waypoint files.

If Starting the Bot from Town and running to grind spot using revival waypoints you must have 'Start in Town' checkbox ticked, otherwise if you are allready at the grinding location have 'Start in Town' unticked.


Revival Waypoints (Used for traveling from spawn point to grinding spot)

To make new Revival waypoint file click the Make Revivel Waypoints button. The first location you choose as the start point should be accessible without obsticles from the spawn area within town. When at location press OK on the message box to save that location, repeat process untill your at the location you want to begin grinding then press Cancel on the message box to finalise creation of the rivival point file.


Grinding Waypoints (Used for moving arround the grinding area)

Create the grinding waypoints in the same way as the revival points. Create multiple waypoints arround the location you wish to grind, this makes it so that if you run out of targets at the current location or have killed the specified number of mobs, instead of rotating 180 the bot will run to the next grinding point. Keep the grinding waypoints within the area you wish to grind.


When You Die (Used when using Waypoints)

This enables you to choose one of six different options to carry out in the event that the bot dies.

Options 2 and 5 will only be carried out if bot has more than 50 Health pots & 50 Mana pots, or until the number of revival times has been met as stated in 'Revivals b4 Close'

1. Do Nothing
As it says do nothing, you die and lie there.

2. Spawn In Town & Return to Grind Spot
Bot will respawn in town and then run back to grinding location using the selected revival waypoints.

3. Spawn In Town & Exit Archlord
Bot will respawn in town and then Archlord will Exit.

4. Exit Archlord
Archlord will Exit when you die.

5. Use Resurection Orb
Bot will use resurection / reverse orb to respawn at current location.

6. Spawn In Town & Dont Exit
Bot will respawn in town and do nothing.


Exit AL if Bots Dies (used when not using waypoints)

If bot dies Archlord will exit.


Attack & Buff Skills

Used to set up the buttons and times of both Attack and Buff skills. The tickbox must be checked for that skill to be used.


Ransack etc.

Bot will ransack if enabled using the defined button & quickbar.


Target

Define the number of mobs to target and attack each with one skill before running though all attack skills.


Next Grinding Waypoint

Define how many mobs to kill before either going to next grinding waypoint (using waypoints) or rotating 180 degrees (not using waypoints).


Auto Loot

Automatically pick up loot if no party


Fighting Boss (used if fighting Boss or Ellemental Mob)
If not checked bots will auto target a new target after 8 itterations of attack skills (this is usually enough to kill a normal mob). Stops bot getting stuck with no target. If fighting a Boss or Elle tick this to stop auto targeting another mob before current target is dead.

After 40 attempts at finding a mob uncessesfully bot will auto turn 180 degrees or run to next grinding waypoint (if using waypoints)


Vista run as Admin











======================= Previous Version ===========================================

Archbot - Archlord Duel Bot Beta 1.0

.Net - Programmed by Fragmaster with thanks to _Villain_ for help with code.

Single or duel bot use. For duel bot 2 instances of Archlord are required.


Bot 1 load Archlord normaly or run alefclient.exe

Bot 2 make a copy of alefclient.exe called alefclient2.exe use alefclient2.exe to launch second instance of Archlord.

To use both bots make sure 'Enable Bot Two' is checked.

Attack & Buff Skills are straight forward.

Ransack - Both bots will ransack if selected using the same button & quickbar.

Num Mobs to target b4 Attack
- num mobs to target & attack b4 using all attacks.

Kill b4 turn - mobs to kill before bot rotates 180 degrees

Auto Loot - automatically pick up loot if no party

Exit AL if both Bots Die - If both bots die close Archlord, if only one bot runing will only close that Archlord

Bot 1 & Bot 2 Fighting Boss - If not checked bots will auto target a new target after 8 itterations of attack skills. Stop bot getting stuck with no target. If fighting a Boss check to disable the auto target after 8 itterations of selected bot.

After 40 attempts at finding a mob uncessesfully bot will auto turn 180 degrees and continue.

Vista I run with both instances of Archlord as Admin & Archbot as Admin.


This is a BETA so any comments or bugs please let me know.

Oh works with both instances of AL & Bot minimized aswell


.
08/13/2009 18:58 goldlegendz.com#2
wow good job man!!!!!!!! i will pm you with some stuff
08/14/2009 09:01 goldlegendz.com#3
can we please have a guide abt usage PLS
08/14/2009 20:53 goldlegendz.com#4
can we pls have source code??? in 1 week i will release full memory bot
08/14/2009 22:40 fragmaster#5
Im currently making a version that uses one bot for one process, as in each instance of the bot u can specify the process of the AL client u want it to control. This will make it so u could have more than the limited 2 of this version.

Im also making it so you can run the bot and AL minimised without waypoint info ie. works like this version put bot in place and set it grinding and it rotates every few kills.
Or if you leave the windows open (doesnt have to be front window but cant be minimized) you can create and use revival waypoints and grinding waypoints meaning the bot can run to grinding location and then instead of rotate 180 after so many kills it goes to next grind spot. If dies can run back etc.

If i can suss out how to make the mouse click the centre of a minimized window (or if someone else knows) i can make the waypoint AL windows run minimized. At the moment if u minimize the window even though the camera goes to new location the mouseclick registers at the same location as last click before minimizing.
08/14/2009 23:30 _Villain_#6
Quote:
Originally Posted by fragmaster View Post
If i can suss out how to make the mouse click the centre of a minimized window (or if someone else knows) i can make the waypoint AL windows run minimized. At the moment if u minimize the window even though the camera goes to new location the mouseclick registers at the same location as last click before minimizing.
i think i sent u that in the first pm! the mouse click only.
Code:
        [DllImport("User32.Dll")]
        static extern bool PostMessage(IntPtr hWnd, uint msg, uint wParam, uint lParam);

public void mouseClick(Point targetPoint, bool leftButton/*false for right button click*/)
        {
            uint wparam = 0;
            uint lparam = 0;
            if (leftButton)
            {
                wparam = 0x00000001;
                lparam = ((uint)targetPoint.y << 16) | (uint)targetPoint.x; //x to the lower word, y to the higher
                PostMessage(targetProcess.MainWindowHandle, WM_LBUTTONDOWN, wparam, lparam);
                PostMessage(targetProcess.MainWindowHandle, WM_LBUTTONUP, wparam, lparam);
            }
            else
            { //right click to pass through targets, so u dont click on mobs by mistake
                wparam = 0x00000002;
                lparam = ((uint)targetPoint.y << 16) | (uint)targetPoint.x; //x to the lower word, y to the higher
                PostMessage(targetProcess.MainWindowHandle, WM_RBUTTONDOWN, wparam, lparam);
                PostMessage(targetProcess.MainWindowHandle, WM_RBUTTONUP, wparam, lparam);
            }


            //   Thread.Sleep(200);
            // return true;
        }
Point is a simple class i use in different apps for integer screen coords.
Code:
public class Point
        {
            public int x;
            public int y;
            public Point(int x, int y)
            {
                this.x = x;
                this.y = y;
            }
            public Point()
            {
                x = 0;
                y = 0;
            }
            public override String ToString()
            {
                return "(" + x + "," + y + ")";
            }
        }
the common consts:
Code:
        const uint WM_LBUTTONDOWN = 0x0201;
        const uint WM_LBUTTONUP = 0x0202;
        const uint WM_RBUTTONUP = 0x0205;
        const uint WM_RBUTTONDOWN = 0x0204;
this clicks the window even minimized and inactive (if u want to move to a point ingame, you can use left click or right click twice so it wont hit any selectable object....)

though creating a path is more complicated than that.....

check my base pointers post, i think i created a post there of the idea of how to!! that doesnt need packets or code injection.... but u need some math knowledge to do it so u can create the proper mapping between screen coordinates and ingame 3D coordinates....

ya... it takes sometime and research as well, but you learn alot about coding and c# (if u were new or coding in a previous language before for instance).
08/14/2009 23:57 goldlegendz.com#7
tell me guys what do u need to make skills memory detected?

i wanna help. at least with research
08/15/2009 02:52 fragmaster#8
Pathfinding isn't a prob, store the coordinates of the toons pos X,Y,Z at intervals along the path, move the camera to those positions and in F10 view centre click window and then toon runs to that location.

All works fine with the window open (doesnt have to be in focus) but if i minimize the window the camera moves to correct position but the center click registers at the last location clicked when the window was open.

Toon at pos1 - cam move to pos2, centre click - toon starts running to pos2, minimize window - toon gets to pos2 - cam moves to pos3, centre click - toon runs to pos1. :/


@ goldlegendz.com _Villain_ did a really kewl post with info on finding the memory addresses and static pointers needed to locate them everytime. [Only registered and activated users can see links. Click Here To Register...] search for cheat engine - I learnt how to get the addresses from their webby and by doing the tutorials included witht the app. I cant think of any more addresses i need off hand, for me this is a C# learnin experience by redoing the Archbot i made a couple of years ago as Archlordman using AutoIt, but with a bit more functionality.
08/15/2009 15:08 fragmaster#9
Using vista aero theme i can see the AL window gfx do not get updated when the window is minimized. It keeps the last frame rendered so when click centre it clicks centre of that frame.
Anyone know how to force a window to update the gfx of a current frame to what it would be if the window was open?
08/18/2009 01:24 fragmaster#10
New Version Added
08/18/2009 11:15 goldlegendz.com#11
good job my friend. i am currently hiring some c#/c++ coders to develop a memory/packet bot i hope i will get them soon enough but first i wanna see what happens in next eppisode
08/19/2009 01:45 Palmatex#12
Scan:

Code:
a-squared	4.5.0.24	2009.08.19	-
AhnLab-V3	5.0.0.2	2009.08.18	-
AntiVir	7.9.1.3	2009.08.18	-
Antiy-AVL	2.0.3.7	2009.08.18	-
Authentium	5.1.2.4	2009.08.18	-
Avast	4.8.1335.0	2009.08.18	-
AVG	8.5.0.406	2009.08.18	-
BitDefender	7.2	2009.08.19	-
CAT-QuickHeal	10.00	2009.08.18	-
ClamAV	0.94.1	2009.08.18	-
Comodo	2016	2009.08.19	-
DrWeb	5.0.0.12182	2009.08.19	-
eSafe	7.0.17.0	2009.08.18	-
eTrust-Vet	31.6.6685	2009.08.18	-
F-Prot	4.4.4.56	2009.08.18	-
F-Secure	8.0.14470.0	2009.08.18	-
Fortinet	3.120.0.0	2009.08.18	-
GData	19	2009.08.19	-
Ikarus	T3.1.1.68.0	2009.08.19	-
Jiangmin	11.0.800	2009.08.18	-
K7AntiVirus	7.10.821	2009.08.18	-
Kaspersky	7.0.0.125	2009.08.19	-
McAfee	5713	2009.08.18	-
McAfee+Artemis	5713	2009.08.18	-
McAfee-GW-Edition	6.8.5	2009.08.19	-
Microsoft	1.4903	2009.08.18	-
NOD32	4346	2009.08.18	-
Norman	6.01.09	2009.08.18	-
nProtect	2009.1.8.0	2009.08.18	-
Panda	10.0.0.14	2009.08.18	-
PCTools	4.4.2.0	2009.08.18	-
Prevx	3.0	2009.08.19	-
Rising	21.43.14.00	2009.08.18	-
Sophos	4.44.0	2009.08.19	-
Sunbelt	3.2.1858.2	2009.08.19	-
Symantec	1.4.4.12	2009.08.19	-
TheHacker	6.3.4.3.383	2009.08.13	-
TrendMicro	8.950.0.1094	2009.08.18	-
VBA32	3.12.10.9	2009.08.19	-
ViRobot	2009.8.18.1889	2009.08.18	-
VirusBuster	4.6.5.0	2009.08.18	-
08/19/2009 05:52 goldlegendz.com#13
i didnt even bother to do that, some ppl in this forum would never upload virus
08/19/2009 10:31 ts61fa#14
yup as goldlegendz.com said TY very much for this ,the waypoint option seems very usefull/cool thx :)
08/19/2009 12:28 Vintage-Demon#15
hi looks like this is a nice bot but I'm having some problems becouse when I open the bot I see all empty.

I cant see any description on all keys.

I have .Net Framework 3.5

same happen with Multibot.

can any1 tell me what is the problem here?

or if maybe you all see the bot as I see?

[Only registered and activated users can see links. Click Here To Register...]