Since I now use now a more direct way to manipulate rappelz I publish my
AutoIt bot here. Don’t expect it running on other operate system than windows
xp with rappelz at 1024x768 window mode, without getting your fingers dirty and
analysing the sources. Beside this feel free to manipulate sources.
#Edited
changed sources a little bit due to missing #includes
added array2.au3
#Edited2
Moved coord configuration in Settings menu and they are saved to
JARBSettings.txt now, so that you now have to do configuration only
once. Made moving as optional in Settings, Misc.
integrated Ctrl + alt + X exit bot function and
sleep to 500 for the loot.
added a pause hotkey
----
Some advice for the configuration:
In general use sligthly longer ct than skills have, cause
you have little delay (ping...) until commands reach server
so if you put ct too low your skill gets cancelled and you
could get hang at ctrl, alt, ... down...
Prefer Fx over alt-Fx over shift-Fx over ctrl-Fx
Prefer healing between battles over healing during battle
Prefer pots over spells during battle
Start slowly with fewer skills and build logic step by step
by fine tuning the settings.
Ergebnis: 4/32 (12.5%)
Laden der Serverinformationen...
Ihre Datei wartet momentan auf Position: ___.
Geschätzte Startzeit is zwischen ___ und ___ .
Dieses Fenster bis zum Abschluss des Scans nicht schließen.
Der Scanner, welcher momentan Ihre Datei bearbeitet ist momentan gestoppt. Wir warten einige Sekunden um Ihr Ergebnis zu erstellen.
Falls Sie längern als fünf Minuten warten, versenden Sie bitte die Datei erneut.
Ihre Datei wird momentan von VirusTotal überprüft,
Ergebnisse werden sofort nach der Generierung angezeigt.
Filter Drucken der Ergebnisse
Datei existiert nicht oder dessen Lebensdauer wurde überschritten
Dienst momentan gestoppt. Ihre Datei befindet sich in der Warteschlange (position: ). Diese wird abgearbeitet, wenn der Dienst wieder startet.
SIe können auf einen automatischen reload der homepage warten, oder ihre email in das untere formular eintragen. Klicken Sie auf "Anfragen", damit das System sie benachrichtigt wenn die Überprüfung abgeschlossen ist.
Email:
Hmmmm...looks good...i'll try it out tonight and let you know. Meanwhile, do you mind posting some features that it has ? (For those who cannot read scripts) :P
Meanwhile, do you mind posting some features that it has ? (For those who cannot read scripts) :P
Features:
--------------------------------------------------------------------------------------
*fights monsters in tab range
*turns the camera view
*moves in square
*variable skill settings with cool down time, cast time and recast time
*preattack: skills used once in battle (mainly for pulling)
*attack: skills / chips used continualy regarding to cool down time until monster is dead
*looting
*character and pet healing during and between battle
*pot use during and between battle
*pet res
*buffing with detection of aggressive Mobs
*sitting at specified amount of Mana or/and Health with detection of aggressive Mobs
*botdetection by bot lvl
*ks avoidance by health of monster
---------------------------------------------------------------------------------------
Usage:
---------------------------------------------------------------------------------------
start rapplez, log in and walk to farming place
start bot
configure or load settings and apply them
target mob (to get red bar) and if your mana, health is full press start button
---------------------------------------------------------------------------------------
screen:
---------------------------------------------------------------------------------------
And the bot window says, beside "Action": MHP Start Error
EDIt#2: Just confirmed, I get the same error with XP, same settings as you :s
As I said I haven’t tested it with different operating systems
and at the time i did the bot I optimised it for my pc.
The error says that it didn’t find the start point of the
monster hp bar. This can either be because you don't use
face cut (easy to fix) or more likely that vista has different border size
of the windows than xp (more difficult to fix).
in the source code it is here line 798
$coord7 = PixelSearch(($Rsize[2]-545), 30, ($Rsize[2]-335), 70, 0xFF0000, 120)
If @error Then
GUICtrlSetData($F1Label14, "MHP Start error...")
you have to adjust the values 545,30, 335, 70 which is read like
go to the left of the rappelz window then go - 545 pixel to the right
and 30 pixel down, here start looking for red colour until you reach the point
left of the window and 335 to the right and 70 down. If you find a red falue
use this coordinate as starting point for the monster hp bar if not error
To fix the error you have to change the falues in source and build a new exe.
hmm other idea ... have you clicked / target a monster before starting bot,
because after pressing start button the bot trys to find the red bar of the
monster and if there is no target you also get a error
What does "face cut" mean? And as I said in my second note, I got the same error on my XP machine, so I don't think it's a Vista error. I also made sure, as you pointed out on the bot itself, to select a monster before pressing start. Should I also try it without selecting a monster? Could this have anything to do the bot trap mechanism in your bot, since the monster I selected was only like lvl 16 and my char is r2?
Let me know what you think bro, as I don't really know how to edit your bot and I don't want to mess anything up.
apparently the bot trap function works like this...
it checks if the mob you're targetting is purple (level) if it is, it's a bot trap...probably it expects you to farm properly. that happened to me as well...used a lvl 40 to try it out with lvl 18 mobs and every mob it detected is as a bot trap...try it out with same level mobs
i did another bot trap function when i was coding my own bot...basically takes a screenshot of the level of mob as a bmp and it searches that bmp file against the current screen..if it finds it...it's a bottrap...worked well..dunno if it was too slow to compare tho. I might as well continue doing the bot with the help of hamlisch source..we'll see...but anyway try the above and let me know bro
Try this one, it lets you set coordinates of bars manually.
Quote:
Originally Posted by m00000
Hey hallimasch!
Let me know what you think bro, as I don't really know how to edit your bot and I don't want to mess anything up.
Cheers!
pfft you can't mess anything just play with the source and if your changes are
good publish here ... that's philosophy of doing open source
cheers
#Edited
I have done the initializing for the bars more custom now:
Read colours and x,y coordinates of startingpoint of bars
with ENTF(DEL or DELETE depends on keyboard),
afterwards TEST until mouse position for
start and end point is good then press Apply...
This should help the one who have trouble initalizing the bot.
Expect several trys (ENTF, Test, ENTF, Test...)untill it works,
because nearly every pixel in bar has a slightly different colour.
Let me know if this works for the one with trouble
and i changed some #includes in source cause on your pc
as you dont have global parth in system settings like me
which schould help with compiling.
Also let me know if this helps.
get the same error... with both versions ...running windowed 1024/768
and im using face cuts in rappelz
Windows xp pro
Version1:
Line -1:
Error: subscript used with non-Array variable
Bot reads: PHP end found
Version2:
Line -1:
Error subscript used with non-Array variable
Bot reads: MHP start error
Running the source code:
JARB.au3 (215) : ==> Unknown function name
_ArrayPush($combo,$Combo1)
^ ERROR
$Combo refers to the GuiCTRLcombobox i do have the guicombobox.au3 in my autoit\include folder so it should be no problem there ..and i downloaded the Array2.au3 file and placed it in autoit/include
searched for a shade or red pixel on the screen and changed the line of the script (798)
script code:
;================================================= ===================
$coord = PixelSearch( 400, 30, 690, 53, 0xFF0000, 120 )
If Not @error Then
MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
EndIf
;small search for red pixel script in the screen area x400 y30 upto 690,53 in the red range
;upto 120 shades
;for the people who dont understand autoit ^^
;================================================= ===================
returned the following for me: 490 , 44
But when i want to recompile the script it tells me:
JARB.au3 (214) : ==> Unknown function name.:
_ArrayPush($combo,$Combo1)
^ ERROR
Can someone please tell me what "face cuts" are? lol
hallimasch, thanks for the new vers bro, will test it out, but since golempje already did and got an error with both, I'm not expecting much... also, there's no need to mock me, and while the open source philosophy is to edit and fix, that applies to those who know what they're doing to help the community... I think I'm helping by letting you know that I get an error, because JT's bot works perfectly for me, so I could have just avoided commenting at all...
Besides, if I have the same settings as you, I shouldn't have to edit anything to get it to work...
MattMT, thanks for the info bro, that's what I thought may have been wrong, so I'll test out the theory and let you know what I find