Just Another Rappelz Bot

05/28/2008 18:46 golempje#16
Thats a animated Face of the mob in the rappelz game

check options gameplay ^_^
05/28/2008 18:49 m00000#17
golempje, I was pretty sure it was just an option in the game, just didn't know why it was so important for the use of this bot... ;)
05/28/2008 18:59 golempje#18
Cause it can change the possition of the HP bar of the mob on your screen i gues (not sure)
05/28/2008 19:04 loch123#19
sag mal einer wie der bot ist? lohnt es sich?
05/28/2008 19:27 Landa#20
thx for your help..but array2d.au3 doesnt help much. ^^
sorry to say that.

-------------
C:\Dokumente und Einstellungen\UseR\Desktop\JARB.au3(214,26) : ERROR: _ArrayPush(): undefined function.
_ArrayPush($combo,$Combo1)
~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Dokumente und Einstellungen\UseR\Desktop\JARB.au3(218,25) : ERROR: _ArrayAdd(): undefined function.
_ArrayAdd($input,$Input2)
~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Dokumente und Einstellungen\UseR\Desktop\JARB.au3(600,31) : ERROR: _IsPressed(): undefined function.
Until _IsPressed("2E", $dll)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Dokumente und Einstellungen\UseR\Desktop\JARB.au3 - 3 error(s), 0 warning(s)
-------------
05/28/2008 19:43 golempje#21
Got the bot running but it does not attack yet :D


..so in other words...Not usable yet
and since the script was made by someone who can store more then 94329854398 Vars in his head i could use some help :)

cause im not realy advanced with autoit yet

But the main problem is here:

He has his red pixels on a different x/y then i do

(Original)

$coord7 = PixelSearch(($Rsize[2]-545), 30, ($Rsize[2]-335), 70, 0xFF0000, 120)
If @error Then
GUICtrlSetData($F1Label14, "MHP Start error...")
Else
GUICtrlSetData($F1Label14, "MHP Start found...")
$coord8 = PixelSearch( $coord7[0], $coord7[1], ($coord7[0]+220), $coord7[1],0x000000 , 120)
If @error Then
GUICtrlSetData($F1Label14, "MHP End error...")
Else
GUICtrlSetData($F1Label14, "PHP End found...")
EndIf
EndIf

So i uncommanded these lines
$coord7 = PixelSearch(($Rsize[2]-545), 30, ($Rsize[2]-335), 70, 0xFF0000, 120)
$coord8 = PixelSearch( $coord7[0], $coord7[1], ($coord7[0]+220), $coord7[1],0x000000 , 120)

and used my pixiel search script to search for the red pixels myself and have add them to the script:

$coord7[0] = 492
$coord7[1] = 46
$coord8[0] = 692
$coord8[1] = 46

(my red pixel coord's)

:D

But now it doesnt attack anymore like i said

some help would be nice.... but atleast i have seen the bot run
05/28/2008 19:55 m00000#22
Thanks for the info golempje, but I just tested turning on Face Cut and turning it off, and it made no physical difference of where the mob's HP bar was :s

Will post my results of trying the new version asap.
05/28/2008 19:56 golempje#23
download [Only registered and activated users can see links. Click Here To Register...]

and store it in your autoit\include folder

i also added

#include <Array.au3>
#include <Array2.au3>

to the head of the script

to get it to work
05/28/2008 20:12 m00000#24
Ok, new version seems to be working for me, but now I have some new errors lol

So when I start it up, go to settings, press load, press apply, and then select a mob in the game, and press start, it gives me the following:

"Move moust to Character HP start and then press ENTF and Apply to set cords"

First off, wtf is ENTF?

So I have no idea if it's actually taking my inputs or not, but after those prompts, I get the same Line -1 MHP error as before (and this is with Face Cut on). I'm gonna still try a few more things, including MattMT's suggestion of using it with higher lvl mobs (that aren't purple).
05/28/2008 20:17 golempje#25
Yeah i was looking for a ENTF button on my keyboard for 60 minutes aswel today ...realy could not find him...but space or numpad enter seemed to work and then got the same error u got m0000

it has to do with the same problem as the other version (searching for the pixelcolor)

new version same problem..but that pixel get color thing is getting more complex every minute with this guys bot :D

why dont u just let people Click 1 time on the start & end of the hp bar and mp and pet health and mob hp so it grabs the color code + coords

cause its not working like this.
05/28/2008 20:44 hallimasch#26
ENTF is international probalbly DEL or delete key ... sorry national keyboard.

if DEL is pressed some coordinates and a hexadecimal colour code should apear in window. If so press then the test button button. If coordinates and colour is
good mouse shoud move to start and end of bar and you shoud get no error messages. If it doesen't move to the start and to the end of the bar you have to move with mouse to an other point of the bar press DEL again and do test
again. If test is good you can press Apply button.

if you do press Apply or enter without pressing DEL you don't give any coordintes to the bot and it can't work
05/28/2008 20:50 golempje#27
WHEEEE ITS WORKING GREAT

1 simple question:

now that every comp can have different coords that wil also have a effect on the location of the bottrap mob lvl window location

is that working now aswel?!?!?!

just Checked it (WORKING ASWEL)

Great work dude tnx alot


and btw the entf key = delete for other keyboards tnx for the help ^^
05/28/2008 21:18 hallimasch#28
Quote:
Originally Posted by golempje View Post
WHEEEE ITS WORKING GREAT

now that every comp can have different coords that wil also have a effect on the location of the bottrap mob lvl window location

is that working now aswel?!?!?!

just Checked it (WORKING ASWEL)

Great work dude tnx alot


and btw the entf key = delete for other keyboards tnx for the help ^^
the bottrap lvl postion is very unprecise coded ... so it should work
more easy on different machiens, but hp,.., bars need to be exact and it seems that position and colour is different on different pc, which i could not test. Maybe i do later on some savin option for bar coordinates and colours
so you dont have to do searching every time you start bot again.

Hopfully some people get compile also running so that i dont have to do all
developement and bugfixing alone.
05/28/2008 21:37 golempje#29
ah cmon its not that hard to get it to work or compile it ..just changed the loot delay a bit was a bit to fast..only problem was the thing with the coords but since thats solved now in the new version


Realy nice job dude tnx for sharing this bot

just let is store the color coords into the settings file so it reads it the next time u use it
05/28/2008 22:43 m00000#30
Thanks for the info on the del key, that part worked perfectly :)

As for the rest of the script, I still get the same Line -1 error. I'm pretty sure that you're right about it being because it can't read the monster hp bar or whatever, and I tried editing and recompiling using some different co-ords, but it doesn't want to see to catch.

Great work regardless :)