AFK LvL Bot

04/12/2008 01:00 jtremblay#181
Quote:
Originally Posted by Slovikas View Post
Hey JT on your last version screen rotation doesn't work. How is it for others? Working?
you have to move the Rappelz window to the upper left corner of the screen and you can NOT move the Bot window. Leave it where it opens. It is important that when the bot changes focus from the Rappelz window to the bot window that the mouse pointer moves over the bot's window. This enables mouse movement for some wierd reason. I had to relocate this keeping users with lower desktop resolutions in mind. I found that this was a problem when I added the 1440x900 support. Unfortunately I am still unable to defeat Hackshield on the x64 Vista OS, so I am unable to test and debug on a 1600x1200 resolution as of yet... sucks too because that was my favorate system to play rappelz on. I am working on debugging a lower recast on the auto-buffs. I have already noticed that my Cleric's buffs and the fireshield on my Kuhma are wearing a minute or two before the recast timer is up.

@partyxboy: I fully agree that using an angel or a blue pixie to heal is a nice idea. I have not experimented much with that though. I do have a blue pixie and I could debug that if I did impliment the idea. I am thinking that could be an option when I make the new GUI that will have user controlled settings. Perhaps I could have a Checkbox for enabling Auto-Healing and a dropdown to select who is the healer, (yourself or pet). The main thing stopping me on the GUI is that I am still learning and I am not too sure how to create a functional GUI. I am just following the example Vyn left me earlier in this thread. Fear not though, once I get a good grasp on making a fresh GUI this thing is going to shoot off like a rocket. I have been working on a multi-tab design with a main instructional tab and a settings tab. I also thought about possibly putting most of the variables in a settings.ini type of file so that your default settings you are comfortable with can be loaded from "go", but again... I am getting ahead of what I know about autoit. I have found most of the debugging issues are related to small issues like wait timers that could be easily adjusted through the use of an external .ini file structure or a settings tweak. I am working on the GUI though.

@Yubari: Thanks, I appreciate any kind words and thanks. My motivation for writing this came from an old friend that wanted to join the game who wanted to catch up to my account quickly. I have had great success running this unattended for many hours, 8-20+, but I fully agree with you. There are risks you take doing that. Everytime you leave your account AFK playing you risk loosing everything you have earned.

On a further note, I will take no credit at all for someone running this AFK for extended periods of time because they just want to level like crazy with no effort. This is meant to allow you to not have to worry about you game while you do something else right next to it... I.E. watch tv, do homework, read the paper, and so on. I modify the code while I watch my two accounts play on both of my laptops. I have also pushed the bot to the extreme just to test its boundaries. So just as an FYI, we already know it is a banable offense so please do not try to play a guilt trip in here if you get banned. We know it can and will happen.

With that in mind.... stay tuned for the next release where I am attempting to change the GUI and release a whole new look to this thing.
04/12/2008 01:04 m00000#182
jtremblay, thanks for the continued info and efforts, and I hope that my suggestions help as well in developing features, but from what you said, I assume there's no way to get around my first suggestions (which is fine).

Cheers!
04/12/2008 01:23 jtremblay#183
Quote:
Originally Posted by m00000 View Post
jtremblay, would also like to thank you for your hard work, and your efforts.

Tool seems to work great, just have some comments on possible improvements (constructive criticism, not in any way meant to be offensive or judgemental!):

1) Is there any way to make it so that the tool doesn't constantly have to keep switching back between the tool and the game, or is that a requirement for the tool to work properly?

2) Is there any way to extend the range of the tool to spot creatures for attack? I ask because I find that, unless you know about a super creature populated spot where respawning takes place frequently, the tool isn't as effective.

3) Is there any way to make it so that your charcter returns to the spot where the script was activated after you kill a specific creature (this might be a solution to request #2, but I thought I'd list it seperately to not confuse the two option).

Cheers! :)
I'm sorry m00000, I somehow did not see your post. The replies come soo fast in this topic.

1) Unfortunately this is the work around to make the mouse movements work through hackshield. It is a neccissary evil.

2) If i understand what you are asking here - you mean having actually be able to read the target's name and intelligently attack only select targets from a list? While this is possible... it is an incredible ammount of work. You would have to define amost every monster in the game with individual (or groups of) pixels. Most of those "super creatures" are aggressive anyhow and will attack you when you are in range. I advise if you are trying to avoid them, then avoid the areas they reside in.

3) Just like option #2... possible, but incredibly difficult. I am sure a script could be written to monitor your bearing and possition on the HUD map in the corner, but then the issue would be training the bot how you want it to react to the map itself. This would also be a task that would take a very long time to write.
04/12/2008 01:55 m00000#184
jtremblay, no need to apologize at all, with the amount of work you're doing, I completely understand :)

As for the suggestions and their implementation, no worries at all, I was actually just curious to see if they were possible, but I could only imagine how much work would have to go into them.

As for the second and third options, I don't think I was clear enough, so I apologize for that.

With #2, I meant to simply make the range for which the bot can see the creatures around you a little wider, because, in my testing, after about 2-3 monsters, the bot just keeps searching and searching, and usually doesn't find any other creatures (even though you can see them on screen) because they're out of the bot's range. I don't know if this has to do with how the bot actually searches and finds the creatures to kill, or if it's the way the game makes creatures visible to the player (in code). Although the idea that you brought up, about targetting specific creatures, is interesting, I agree that that would be beyond the scope of this bot.

And as for #3, I think I envisioned the bot somehow working so that you could stay within the same vicinity so that you end up in a spot where there are creatures that are too strong for your charcter to handle. But, after having thought about it, it's probably better that your character moves around regardless so that using the AFK bot, even while sitting in front of the screen, doesn't become too obvious.

Thanks again for your feedback, and for all your hard work! Looking forward to the next version of the script!
04/12/2008 02:22 jtremblay#185
Quote:
Originally Posted by m00000 View Post
jtremblay, no need to apologize at all, with the amount of work you're doing, I completely understand :)

As for the suggestions and their implementation, no worries at all, I was actually just curious to see if they were possible, but I could only imagine how much work would have to go into them.

As for the second and third options, I don't think I was clear enough, so I apologize for that.

With #2, I meant to simply make the range for which the bot can see the creatures around you a little wider, because, in my testing, after about 2-3 monsters, the bot just keeps searching and searching, and usually doesn't find any other creatures (even though you can see them on screen) because they're out of the bot's range. I don't know if this has to do with how the bot actually searches and finds the creatures to kill, or if it's the way the game makes creatures visible to the player (in code). Although the idea that you brought up, about targetting specific creatures, is interesting, I agree that that would be beyond the scope of this bot.

And as for #3, I think I envisioned the bot somehow working so that you could stay within the same vicinity so that you end up in a spot where there are creatures that are too strong for your charcter to handle. But, after having thought about it, it's probably better that your character moves around regardless so that using the AFK bot, even while sitting in front of the screen, doesn't become too obvious.

Thanks again for your feedback, and for all your hard work! Looking forward to the next version of the script!
The bot technically only sees what it targets. The only method of targeting the bot does is with the TAB key. It presses TAB and checks to see if it has targeted something... then it turns the camera and presses TAB again and checks if it targeted something. It continues this loop until it has found a target, once it has found something it attempts to attack and waits a certain ammount of time before it gives up and presses ESC to start the targeting process all over again (the bot-trap work-around I was working on). Rappelz only allows you to target enemies within a very close range with the TAB key. You can tartget much further with the mouse, but again we are talking some serious coding to tell it to click on an actual target with the mouse, and with this method the bot is searching the entire screen so the results would be incredibly slow... not to mention this would also open up the realm of you unintentionally attacking other players.

Unfortunately, it will not be possible to tell the bot to maintain a certain area without giving it a way of reading the HUD map in the upper right corner, and that would be incredibly difficult.
04/12/2008 03:20 m00000#186
And that right there was a GREAT explanation! Thanks again jtremblay.

I now understand that the targetting is done by the game, so it's a little impossible to widen the field of searching for another creature. I guess I'll have to go adventuring to areas in the game that have a good number of monsters that respawn relatively quickly and in the same relative area.

Cheers!
04/12/2008 03:31 AlphaDream#187
Sorry hab mir nicht alles durch gelesen aber kann man davon schnell gebannt werden oder schaut das aus?
04/12/2008 11:41 master138denis#188
= GUICreate("BxD(code from Vyn) ", 250, 100, 278, 199)
GUISetIcon("C:136.ico")
= GUICtrlCreateLabel("F2-F6: Setze hier skills hin", 10, 40, 392, 17)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
GUICtrlSetColor(-1, 0x000000)
= GUICtrlCreateLabel("F12: Pick Up", 10, 60, 392, 17)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
GUICtrlSetColor(-1, 0x000000)
= GUICtrlCreateLabel("Die folgenden bereiche sollten belegt sein mit:", 10, 0, 392, 17)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
GUICtrlSetColor(-1, 0x000000)
= GUICtrlCreateLabel("F1: Benutze Attacke mit Pet", 10, 20, 392, 17)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
GUICtrlSetColor(-1, 0x000000)
= GUICtrlCreateLabel("Start:Ctrl+Alt+S Exit:Ctrl+Alt+X", 10, 80, 392, 17)
GUICtrlSetFont(-1, 9, 400, 0, "Arial")
GUICtrlSetColor(-1, 0xFF0000)
GUISetState(@SW_SHOW)


hotkeyset("^!s", "_void_BotStarten")

hotkeyset("^!x", "_void_BotStop")

Func _void_BotStarten()
While 1
sleep(50)
ControlSend("Rappelz","","","{Tab}")
sleep(500)
ControlSend("Rappelz","","","{F1}")
sleep(1000)
ControlSend("Rappelz","","","{F2}")
sleep(4000)
ControlSend("Rappelz","","","{F3}")
sleep(4000)
ControlSend("Rappelz","","","{F4}")
sleep(4000)
ControlSend("Rappelz","","","{F5}")
sleep(4000)
ControlSend("Rappelz","","","{F6}")
sleep(10000)
ControlSend("Rappelz","","","{F12}")
sleep(1000)
ControlSend("Rappelz","","","{F12}")
sleep(1000)
ControlSend("Rappelz","","","{F12}")
sleep(1000)
Wend
EndFunc

While 1
Sleep(50)
Wend

Func _void_BotStop()
EXIT
Endfunc




was hat es damit aufsich???

das ist etwas für den minibot aber was soll ich damit ???

*bahnhof*
04/12/2008 13:46 T-Rick#189
das ist ein autoit skript!
und das ding tut nix ANDERES ALS ANGREIFEN WARTEN LOOTEN
ansonsten findest du noch überall kleine .exe dateine die dir das compilen abnehmen und einfach ausgeführt werden müssen.

btw. das ding ist sozusagen die erste version inzwischen kann der bot wesentlich mehr!
04/12/2008 14:01 jtremblay#190
I have fixed some parts of the resolution check... somehow I broke it for Vista 1024x768 in thie initial relase and did not realize it until now.
04/12/2008 15:32 Mombes#191
Big Thanks for this bot works relly great ^^

In V4 have you fixed the problem witht the Rattk and the Chiping ?
Moste the time it dosent Chip the Mobs wehn he attacks with the skill in V2
04/12/2008 16:28 daskenny1#192
die v4 läuft auch nun unert vista x64 ohen probs seit gut einer stu ^^
04/12/2008 18:28 Slovikas#193
JT, I have some suggestion how to make the bot more efectiv:

1.You should change anti-bot system so as it was 3 versions before. Now when the bot targets anti-bot mob he cancels targeting and rotates the screen and then he searches for new target. So if the anti-bot mob is nearest character after screen rotation bot targets anti-bot mob again..

2.Also it where nice if the bot after killing a mob first checks if there are more targets at the currently screen. And only if there isn't anything more to attack then the screen should be rotated.

3. The best thing for bot's efectivity where, if character runs to north or anywhere else when he founds no target after 360* rotating.

So thats all what i could suggest up to now. Don't know if its possible to do such things, but I like your work a lot so I try to help you.
04/12/2008 20:35 master138denis#194
hallo

was heisst press insert?

wo finde ich diese taste???
04/12/2008 21:50 master138denis#195
hallo

wenn ich den bot anmachen will, kommt da so was:

Searching for player status box

was soll ich machen???