|
You last visited: Today at 22:57
Advertisement
Searching for an idea...auto back to spot
Discussion on Searching for an idea...auto back to spot within the Archlord forum part of the MMORPGs category.
05/06/2009, 23:05
|
#1
|
elite*gold: 0
Join Date: May 2009
Posts: 125
Received Thanks: 153
|
Searching for an idea...auto back to spot
Hi all,
i am working on a bot atm with pixel detection.
So far i managed to get those things running:
a) recognize mob & mob's hp
b) using skills untill mob's hp = 0
c) using buff when it expire
d) auto reconnect
etc.
All is working except i can't figure it out how to make "auto back to spot"
when u die or get pked.
Anyone has an idea how to do it only by detecting colur?
|
|
|
05/07/2009, 13:29
|
#2
|
elite*gold: 14
Join Date: Dec 2008
Posts: 763
Received Thanks: 146
|
I don't know much about it, but, could you try and say "when my chars health = 0" - press revive and then record yourself running back to the stop?
Just the way I might aproach something like that 
Hope it helps.
|
|
|
05/07/2009, 13:54
|
#3
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Hello amakrkr. Yes, this is possible and very easy. When you die, you check the coordinates, lets say these are 200,200. Press the revive button, and send packets to the client saying the character should walk to the coordinates.
If that is outscreen, you can just divide the X & Y coordinate, lets say by 2, therefore tell the client to walk there, so the character gets at coordinate 100, 100. Therefore you tell the client to walk to 200,200.
Goodluck, PM me if you want futher help where I can also give out my MSN.
Regards Emme
|
|
|
05/07/2009, 14:23
|
#4
|
elite*gold: 0
Join Date: May 2009
Posts: 125
Received Thanks: 153
|
@EmmeTheCoder: hehe yea i know with packets would be a lot easier
but problem is that i am working on pixel detection bot only :P
So far i came up with the mini map solution.
And it goes like this.
If char hp=0 then
check for 2 pixels where that "u have died box" should be.
If both pixels are there click and u spawn in the city.
After that u click ur way to specific teleporter.
Select location and teleport.
Now you are on battle field and here comes a tricky part.
I have to manually insert mouse clicks on mini map so i reach the spot i want to afk in.
I know its messy and time consuming but it works .... kinda :P
Btw for packet type bot. Are those packets encrypted? And what type of protection game uses (i started playing it like 1 week ago so i dont know much about it).
|
|
|
05/07/2009, 18:26
|
#5
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
I think those packets are encrypted, but shouldn't be all too hard to decrypt.
|
|
|
05/08/2009, 16:15
|
#6
|
elite*gold: 0
Join Date: May 2009
Posts: 9
Received Thanks: 0
|
see my research packets thread for movement packets-
Not possible right now. Best solution would for you to have preplanned clickable routes dependant on resolution. It would be hard but doable.
|
|
|
05/08/2009, 18:54
|
#7
|
elite*gold: 0
Join Date: May 2005
Posts: 256
Received Thanks: 553
|
Yeah the packets are encrypted and every packet got a timestamp + sequence value (1 2 3 4 ... etc.). Just resending the same movementpackets wont do the job.
The easiest and most realistic method would be some small memory reverse engineering for the player camera x, z, y axis + camera x, z, y rotation. So your bot can easly change them to place the camera exactly to the middle of the bot waypoint. (so your bot only needs to leftclick on the middle of the screen)
So my advise for you:
1. Learn to work with Cheatengine (use the included tutorial)
2. After you learned to defeat DMA, search the Memoryaddresses to the player camera structure (pointer path)
3. Learn to include memory reading & writing in your scripting / programming language (almost every script/programming language works, of course even autoIt)
4. Your waypoint System exists by setting the camera x, z, y axis + rotation and leftclicking in the middle of the screen
hf i hope this helps
|
|
|
05/08/2009, 19:01
|
#8
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Or, do the easiest way, skip the auto 'go-back'. Just code a autopotter, since you already done Mob's HP figuring out character's HP should be no problem at all. When a character has FullHealth/3 a pot should be taken.
If the character run out of pots, he disconnect, and you can throw a Console.Beep(x,x) in C# to inform the botter that the character is logged out and he need to get back to city to buy new pots.
Hope it works out for you!
Regards Emme
|
|
|
05/08/2009, 20:23
|
#9
|
elite*gold: 0
Join Date: Apr 2009
Posts: 279
Received Thanks: 214
|
Quote:
Originally Posted by amakrkr
Hi all,
i am working on a bot atm with pixel detection.
So far i managed to get those things running:
a) recognize mob & mob's hp
b) using skills untill mob's hp = 0
c) using buff when it expire
d) auto reconnect
etc.
All is working except i can't figure it out how to make "auto back to spot"
when u die or get pked.
Anyone has an idea how to do it only by detecting colur?
|
hi. would like to start by saying good luck with your bot. and that we are working on (nearly compleate) a bot like this.
as you are working with pixel it can be very simple. yes time consuming but simple. we do belive however we have made a much simple'r way. and once the bot is compleat we will publish the source code for other programmers. so if you wish we will PM you when compleate
|
|
|
05/08/2009, 22:27
|
#10
|
elite*gold: 0
Join Date: May 2009
Posts: 125
Received Thanks: 153
|
Quote:
Originally Posted by InfinityBoT
hi. would like to start by saying good luck with your bot. and that we are working on (nearly compleate) a bot like this.
as you are working with pixel it can be very simple. yes time consuming but simple. we do belive however we have made a much simple'r way. and once the bot is compleat we will publish the source code for other programmers. so if you wish we will PM you when compleate
|
Wah  thats so nice out of you and i know you will release you advance bot sometime this month.
@Othere who posted your ideas thx.
Atm i am using pre-click defined auto back to spot.
But i think the best idea right now would really be using game memory to manipulate with camera.
If i had at least one point (respawn point) that i could use as a constant, thats allways the same (same coordinates) i would had 0 problems but i can't atm...
Anyway i will try to update how my work is progressing and of course source code when it will be a little bit commented and sorted out.
Thx
|
|
|
05/08/2009, 22:34
|
#11
|
elite*gold: 0
Join Date: May 2009
Posts: 125
Received Thanks: 153
|
Quote:
Originally Posted by EmmeTheCoder
Or, do the easiest way, skip the auto 'go-back'. Just code a autopotter, since you already done Mob's HP figuring out character's HP should be no problem at all. When a character has FullHealth/3 a pot should be taken.
If the character run out of pots, he disconnect, and you can throw a Console.Beep(x,x) in C# to inform the botter that the character is logged out and he need to get back to city to buy new pots.
Hope it works out for you!
Regards Emme
|
Problem is that someone will PK you during ur AFK training :P
|
|
|
05/09/2009, 16:26
|
#12
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Then do a foreach loop every 60 second seeing if there's any player except you in the area, if it is you foreach loop every 5 second seeing if there's any player attacking you.
|
|
|
 |
Similar Threads
|
searching powerlvl spot at jangan cave?
10/19/2009 - Silkroad Online - 8 Replies
searching powerlvl spot at jangan cave?
any safe powerllv spot in jangan cave?
|
Searching Plvl Spot at 85/87 Mobs
12/10/2008 - Silkroad Online - 5 Replies
Hi
I`m searching a good powerlvl spot at 85/87 mobs in rock mountain.
I have search in the forum but there isnt a good spot...
I have this spot but he is not so good....
http://www.bilder-space.de/show.php?file=04.12x2t wMkJl2HufBC1.jpg
Thx
|
[Request] Searching for people for my idea!
07/25/2008 - Conquer Online 2 - 13 Replies
Hey i was thinking about making a website with the newest news of Conquer Online 2.0 about updates and the newest scams that people are using and realy everything about conquer news ^^ but the only problem is well i can make a website and i can keep it updated but its boring when i do it alone so that is stupid and that is why i wanna make a team of mmhhmmm 5 people or something do u guys know what i mean?
People that i must have: ^^
1. Website Designer (im the website desginer)
2. I need...
|
All times are GMT +1. The time now is 22:59.
|
|