JT's Rappelz Bot

04/18/2008 08:35 Shortylaforge#76
@JT:
1. Great Work JT!!

2. Could U add an ini file or something like that to declare Bot Traps manual (like Rappelz Client in German)? Something what is reading by the bot when it is loading?

3. Another nice feature: Left Mouse klick as Global Var if the bot turns around a few times (Something in the ini file?) without spotting a mob. Is this possible?
04/18/2008 10:57 jtremblay#77
Quote:
Originally Posted by superstar655 View Post
Megaloceros

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

MoonRabbit

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

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

Kukuri

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

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

Tamias

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

Hope im doing it right :p (Rappelz is running at 1024 x 768)

BTW how is it 'reading' the name since when i use the bot next to a Moon Rabbit / Megaloceros it does the same thing as the old script.
It is not "reading" the name as of yet. I am working on "how" I am going to make it read the names. Currently it is only doing a few pixel tests at different locations and compairing them to a common database. As soon as I come up with a concrete naming system the bot will be able to read. The main problem is teaching the bot the entire alphabet and also teaching it how to read it. There are some letters that are much bigger than others, so it also has to understand the seperation between them. My windows XP machine is having a Rappelz problem at the moment, so I am unable to verify that this works as of yet.

*edit*
you will know if this is working - obvious difference
The old system is still in place for the bot-traps i have not added.
04/18/2008 12:04 jtremblay#78
Quote:
Originally Posted by aresdraco View Post
Hi, why do i have the next problem i have already read all the post here and ppl never answer, when you start the bot, it works propertly, but after killing the first move it use ALT + TAB switching between window, and not allowing to rotate the camear, any idea?
you have moved the bot window? If you move the bot window the camera rotate will not work. A really slow computer could also possibly be a problem.
04/18/2008 12:21 superstar655#79
btw is that how u want the bmp pics? dont rly want to do heaps of them and then find out its wrong :P
04/18/2008 12:46 Alenos#80
Hey JT it's great what uve done with the anti bots although now wat would be usefull is when it spots a moon rabit etc (anti bot) it usually stays right there next to you and is usually the only thing your char will target untill the game loggs you out.
>>>>my solution<<<<
i think when it spots 1 it should run in any direction so it can actualy target a normal mob.

i notice it stilll runs NW because its misclicking the creature

btw why do my f4 f5 f6 etc buffs go on the creature anyways there self buffs so i think there should be an option if ur actually buffing the pet and ur self or just one.
for example: when i start the bot it buffs me and then it tries to click the pet and misses and runs NW and buffs me a second time.
but anyway yeah it tries to click the pet but misses :[

all in all good script still =]
04/18/2008 12:52 meilleur#81
hi all, why this bot not work with me, when i start him it only make "searching for player statut box" and do nothing iam playing in US server
pls help me
04/18/2008 12:56 superstar655#82
Quote:
Originally Posted by meilleur View Post
hi all, why this bot not work with me, when i start him it only make "searching for player statut box" and do nothing iam playing in US server
pls help me
Put the rappelz window at the top left corner. Also make sure u dont move the bot window.... leave it where it opens.
04/18/2008 13:52 borsumov#83
Quote:
Originally Posted by superstar655 View Post
Put the rappelz window at the top left corner. Also make sure u dont move the bot window.... leave it where it opens.
Yes this helps in my case (and for others :) )
04/18/2008 14:05 hallimasch#84
Quote:
Originally Posted by jtremblay View Post
The mouse is not a very accurate way of moving it since it moves a different ammount every time.
in fact the mouse and rotation is very precise if you do some
calculations:

just read out the window size of "Rappelz" then move
to for example 1/2 of the screen height. Then the movement
to the screen width is proportional to the rotation angle.

for example rotation 45 degree is 0.25 * window width,
90 degree is 0.5 * window width, 270 degree is 0.75 *
screen width 360 degree is 1 * window width.
additional hint: the window has a border....^^

[snipp]

$seppel = WinGetPos ("Rappelz")

'turn 45 degree.........................................
WinActivate("whatever")
sleep(200)
MouseMove((0.5 * seppel[2]), (0 * seppel[3]), 0)
sleep(200)
MouseDown("right")
MouseMove((0.5 * seppel[2]), (0.25 * seppel[2]), 0)
MouseUp("right")
WinActivate("Rappelz")
sleep(1000)
'turn 45 degree.........................................
'move............................................. ......
ControlClick("Rappelz","","","left", 1, (0.2 * seppel[3]), (0.5 * seppel[2]), 0))
'move............................................. ......

[snapp]
04/18/2008 16:38 Shortylaforge#85
They've shreddered my Acc.

:eek:


Just from the beginning... ;/

No way to reactivate em!!
04/18/2008 19:04 jtremblay#86
Quote:
Originally Posted by hallimasch View Post
in fact the mouse and rotation is very precise if you do some
calculations:

just read out the window size of "Rappelz" then move
to for example 1/2 of the screen height. Then the movement
to the screen width is proportional to the rotation angle.

for example rotation 45 degree is 0.25 * window width,
90 degree is 0.5 * window width, 270 degree is 0.75 *
screen width 360 degree is 1 * window width.
additional hint: the window has a border....^^

[snipp]

= WinGetPos ("Rappelz")

'turn 45 degree.........................................
WinActivate("whatever")
sleep(200)
MouseMove((0.5 * seppel[2]), (0 * seppel[3]), 0)
sleep(200)
MouseDown("right")
MouseMove((0.5 * seppel[2]), (0.25 * seppel[2]), 0)
MouseUp("right")
WinActivate("Rappelz")
sleep(1000)
'turn 45 degree.........................................
'move............................................. ......
ControlClick("Rappelz","","","left", 1, (0.2 * seppel[3]), (0.5 * seppel[2]), 0))
'move............................................. ......

[snapp]
The mouse movements are different on every machine. CPU lag causes most of the inaccuracies. Between my three machines none of them turn the same ammount. It is all because of how you have to trick hackshield by switching windows to get the mouse movement in. I imagine when autoit makes something that can get through hackshiled with mouse movements something like this will be more accurate, but for now there is no way to create an accurate system of movement.

You are right by saying the mouse movements themselves would be flawless and in the same places everytime, but the window change is what messes everything up. Every computer will take a different ammount of time to switch to, and reactivate the Rappelz window.
04/18/2008 19:09 jtremblay#87
Check the main page... I have a true beta project posted. Vx.x...

Thanks to T-Rick

I have rid the script of having to find the player status box
I have added a pixelsearch function and completely re-written how the game locates the target box, and I have also re-written how the bot assigns varriables.
I have repaired some of the bot-trap detection script for Moon Rabbit... it was giving a false possitive to Hungry Hairy Yeti.
04/18/2008 19:13 jtremblay#88
Quote:
Originally Posted by superstar655 View Post
btw is that how u want the bmp pics? dont rly want to do heaps of them and then find out its wrong :P
for some strange reason - even as .bmp pictures the colors are off... Everyone hold your pictures until I figure this out. I am actually taking serious strides towards actually teaching the bot how to read. This was part of the reasoning behind the latest beta...
04/18/2008 19:15 jtremblay#89
Quote:
Originally Posted by Shortylaforge View Post
They've shreddered my Acc.

:eek:


Just from the beginning... ;/

No way to reactivate em!!
I feel your pain...

Setup a free e-mail account and open a new Rappelz account.
04/18/2008 20:06 jtremblay#90
Vx.x1 - bugfixes regarding tooltips messing up the bot's targeting feature.