Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz
You last visited: Today at 05:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



AFK LvL Bot

Discussion on AFK LvL Bot within the Rappelz forum part of the MMORPGs category.

Closed Thread
 
Old 04/10/2008, 23:34   #166
 
elite*gold: 0
Join Date: Jan 2008
Posts: 51
Received Thanks: 6
On my PC the game keeps minimizing and showeing the bot window,then,maximize againg,then choose a target,then minimize,then show bot window,then maximize,then chose mmonster.....
dombol is offline  
Old 04/10/2008, 23:51   #167
 
elite*gold: 0
Join Date: Mar 2008
Posts: 4
Received Thanks: 5
Awesome Script you got there :D

Well i saw your script and i just could not resist but to join this forum
I have been running the latest script but i am having some problems

When i use attack with creature my orc is faster then me so he attacks first and gets killed

Sometimes the script would not chip creatures because they are too far so he runs closer but then he overwrites the chip command by pressing the attack button so the monster does not get chipped

Now the good news

I have a script that i found and i will share it with you so you can use it and make your script better or maybe make the script i found work because i was unable to do so
The script was made for program called "SCAR" so it will not work with autoit but i am sure its written in Pascal.

I would also like to ask you if you would be so kind of releasing your script source.
I would not use it for my benefit in any way or release it as mine.
I am very interested in learning how you made your bot and it would really help if i could look at the script.

Thank you very much for the great script you have made.
Attached Files
File Type: rar rappelz_bot_scar.rar (10.2 KB, 97 views)
djkee is offline  
Old 04/11/2008, 00:55   #168
 
elite*gold: 0
Join Date: Apr 2008
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by jtremblay View Post
Post the code and I will see if I can integrate it in one of the future releses. My only problem with that is currently I am trying to debug all of the features that I have included, and I would have to re-write the entire bot's core to change its method of handling colors. Every if and while statement in the bot has a Pixelgetcolor statement in it, so it would be a very daunting task. All of the possition variables are defined in the beggining of the bot, like possitions of the F keys and such. I was actually about to write the resolution detection script over the next few days and try to add support for more than one resolution. I kinda fixed the multiple OS problem by finding the more common colors between the two and using it to my advantage. I have several ideas that I have on the back-burner for color handling and like I have said before, I want to get close to perfection out of the current script before I play with that. I want to make sure that the current IF and WHILE loops are doing what they are supposed to do before I mess with thier logic.

here is an example of the multi OS healing script...

If = 1 Then
If PixelGetColor(,) <> 2379018 Then ; Win XP
If PixelGetColor(,) <> 2379274 Then ; Vista
If PixelGetColor(,) <> 0 Then
ToolTip("Healing Yourself", ,)
ControlClick("Rappelz", "", "", "left", 1,, ) ; Selects yourself
Sleep(500)
ControlClick("Rappelz", "", "", "left", 1,, )
Sleep(4000)
ControlSend("Rappelz", "", "", "{ESC}")
Sleep(500)
EndIf
EndIf
EndIf
EndIf
ok thats different to what i have. I used a bit of your old code you posted hope you dnt mind, thanks goes out to you jtremblay.......

Func Start()
WinActivate("Rappelz")
Sleep(2000)
; My global pixel information
$000PlayerHP = PixelGetColor (12, 54)
$025PlayerHP = PixelGetColor (57, 54)
$050PlayerHP = PixelGetColor (107, 54)
$075PlayerHP = PixelGetColor (157, 54)
$100PlayerHP = PixelGetColor (206, 54)
$TargetMob = PixelGetColor (490, 10) ; target window open
$TargetMobHP = PixelGetColor (685, 26) ; monster max HP
$temp1 = PixelGetColor (490, 10)
$temp2 = PixelGetColor (685, 26)
Do
.....
.....
.....
If $Heal1 = 1 Then

$temp1 = PixelGetColor (107, 54)
$temp2 = PixelGetColor (685, 26)
If $temp1 <> $050PlayerHP And $temp2 <> $025PlayerHP Then ; between 25% and 50% health

basically wot iv done is have a mob targeted as u start the bot it will take pixel information store them as a global as use this information as a reference throughout the program. so your not actually puttin the pixel information in the program urself.

ok i know some of u have pixies running around with u and its good having it heal you so heres some more code i use. Hope its helpful to you jtremblay....

ControlSend("Rappelz", "", "", "{Alt down}1{Alt up}")

Have fun
partyxboy is offline  
Old 04/11/2008, 01:07   #169
 
elite*gold: 0
Join Date: Apr 2008
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by djkee View Post
Well i saw your script and i just could not resist but to join this forum
I have been running the latest script but i am having some problems

When i use attack with creature my orc is faster then me so he attacks first and gets killed

Sometimes the script would not chip creatures because they are too far so he runs closer but then he overwrites the chip command by pressing the attack button so the monster does not get chipped

Now the good news

I have a script that i found and i will share it with you so you can use it and make your script better or maybe make the script i found work because i was unable to do so
The script was made for program called "SCAR" so it will not work with autoit but i am sure its written in Pascal.

I would also like to ask you if you would be so kind of releasing your script source.
I would not use it for my benefit in any way or release it as mine.
I am very interested in learning how you made your bot and it would really help if i could look at the script.

Thank you very much for the great script you have made.
The problem with releasing script information is b4 u know it everyones got it, yes thats all the lazy ppl and it gets blocked by hackshield. On the other hand it gives a better understanding of whats going on and in the end alot of input to make it better as a whole. Me personally dnt like to release large scripts but would pefer to release smaller versions and help people understand that way. i learn't from my lessons i use to release alot of scripts on the Actools forum and now its blocked and dead. Up to jtremblay tho.
partyxboy is offline  
Old 04/11/2008, 14:11   #170
 
elite*gold: 0
Join Date: Jul 2007
Posts: 292
Received Thanks: 580
I am not going to release the whole script unless I decide to abandon it. I posted the original script because it was a slight modification of Vyn's script. Now that it is a major modification, and more of a unique structure, I will only post pieces of it to explain why my script does what it does.

@djkee: I have included a ranged attack function that attacks the mob 2 seconds before it sends the pet on it... an idea would be to make that your character attack by (him/her)self with the pulling/ranged function (F9 key), then set F1 for attack with pet. This way your character will attack two seconds before it uses force chips and sicking your pet on it. I am too busy trying to perfect my own script, so at this time I will not have much interest in fixing someone elses mess. Hell I am still trying to figure out why my script is being blocked by hackshield on the Vista x64 OS but not Vista and XP x86 OSs.

Today I am working on resolutions and timing on buff recasts. I think i am going to add in functions that actually count the miliseconds of delay on every loop of the script. then I will set an actual value in minutes on the loop. This will allow me to set the recast of the buffloop more accurately. I am also going to rewrite the gui sometime in the near future, but that is going to be after I completely figure out the resolution script I am writing.

I assume by the lack of feedback that the script is running a lot better now??? Mine ran over 20 hours straight without dieing. I was very impressed. Stay tuned for more in the near future.
jtremblay is offline  
Old 04/11/2008, 14:12   #171
 
elite*gold: 0
Join Date: Apr 2008
Posts: 3
Received Thanks: 0
I've got the same problem like dombol. Client and Bot perform an infinite minimize/maximize loop. Searching and selecting Mobs works, but the Attack doesn't.
I already tested out different desktop resolutions while keeping the client-window@1024*768. Couldn't fix the problem :/

Vista 32 bit
ahoi is offline  
Old 04/11/2008, 14:18   #172
 
elite*gold: 0
Join Date: Jul 2007
Posts: 292
Received Thanks: 580
Quote:
Originally Posted by partyxboy View Post
ok thats different to what i have. I used a bit of your old code you posted hope you dnt mind, thanks goes out to you jtremblay.......

Func Start()
WinActivate("Rappelz")
Sleep(2000)
; My global pixel information
$000PlayerHP = PixelGetColor (12, 54)
$025PlayerHP = PixelGetColor (57, 54)
$050PlayerHP = PixelGetColor (107, 54)
$075PlayerHP = PixelGetColor (157, 54)
$100PlayerHP = PixelGetColor (206, 54)
= PixelGetColor (490, 10) ; target window open
= PixelGetColor (685, 26) ; monster max HP
= PixelGetColor (490, 10)
= PixelGetColor (685, 26)
Do
.....
.....
.....
If = 1 Then

= PixelGetColor (107, 54)
= PixelGetColor (685, 26)
If <> $050PlayerHP And <> $025PlayerHP Then ; between 25% and 50% health

basically wot iv done is have a mob targeted as u start the bot it will take pixel information store them as a global as use this information as a reference throughout the program. so your not actually puttin the pixel information in the program urself.

ok i know some of u have pixies running around with u and its good having it heal you so heres some more code i use. Hope its helpful to you jtremblay....

ControlSend("Rappelz", "", "", "{Alt down}1{Alt up}")

Have fun
I never thought about doing it like that... that makes my whole day of getting color info and cataloging points where the values were not 0 sound like a waste of time. I might have to use that approach if I have any more color problems. I already have the coordinates of everything, and I already have all of the variable functions being assigned. It would nto be too much work to just change them over.
jtremblay is offline  
Old 04/11/2008, 15:47   #173
 
elite*gold: 0
Join Date: Jul 2007
Posts: 292
Received Thanks: 580
Quote:
Originally Posted by ahoi View Post
I've got the same problem like dombol. Client and Bot perform an infinite minimize/maximize loop. Searching and selecting Mobs works, but the Attack doesn't.
I already tested out different desktop resolutions while keeping the client-window@1024*768. Couldn't fix the problem :/

Vista 32 bit
perhaps a setting in Vista OS that minimizes processes when you change focus to another??? I am not sure. I am playing on:

Vista Ultimate x64 (currently does not work at all)
Desktop system on 1920x1200 desktop resolution

Vista Premium x86 (32 bit - Works perfect for me)
Windows XP Home x86 (32 bit - works the same as Vista 32 bit)
both are laptop PCs on 1440x900 desktop resolutions

I will do some research and see if there is something I can find on this topic.
jtremblay is offline  
Old 04/11/2008, 16:34   #174
 
elite*gold: 0
Join Date: Apr 2008
Posts: 3
Received Thanks: 0
Hrm, a restart of the Client after changing the Desktop-Resolution to your 1440x900 solves the prob. Runs well now. Thx.
ahoi is offline  
Old 04/11/2008, 17:25   #175
 
elite*gold: 0
Join Date: Jul 2007
Posts: 292
Received Thanks: 580
Added smart resolution detection - only works on 1024x768 and 1440x900. You still must run windowed docking the game in the upper left corner of the screen. Do not move the bot window - it must be where it opens on the screen for the camera turns to work properly.

I rewrote the auto-buff timer code. It now counts the miliseconds of delay while the bot is running. This allows a near perfect calculation of time since the last buff had been cast. There is a While loop that can run for a very long time in the script (waiting to target a new enemy) and this would not affect the old buffloop... meaning it was possible for your buffs to wear if it took the bot a really long time to find a new target. Then it would not recast right away since in the bot's mind you only went one cycle instead of 10. This also meant the old system would recast your buffs within a few short minutes if you could kill 10 enemies in that small time period. The new buffloop calculations calculate the delay in each cycle of the loop meaning the most enemies you will ever fight without buffs is 1, and you do not have to worry about the bot spamming buffs if you are killing enemies really fast.

Enjoy - same thing as the last release... two slightly different bots - one does not use F9.
Attached Files
File Type: zip JT Beta V3.zip (714.8 KB, 109 views)
jtremblay is offline  
Thanks
5 Users
Old 04/11/2008, 18:26   #176
 
elite*gold: 0
Join Date: Apr 2008
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by jtremblay View Post
I never thought about doing it like that... that makes my whole day of getting color info and cataloging points where the values were not 0 sound like a waste of time. I might have to use that approach if I have any more color problems. I already have the coordinates of everything, and I already have all of the variable functions being assigned. It would nto be too much work to just change them over.

Glad i could give you some different ideas, have you thought anymore about the pet side of things, id like to here your input/ideas if you have any
partyxboy is offline  
Old 04/11/2008, 22:25   #177
 
elite*gold: 0
Join Date: Jan 2008
Posts: 21
Received Thanks: 10
Hey JT on your last version screen rotation doesn't work. How is it for others? Working?
Slovikas is offline  
Old 04/11/2008, 22:42   #178
 
Yubari's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 517
Received Thanks: 63
Forgot to thank you for the awesome work youre doing, I know it's really tough to write such a script especially if Hackshield is blocking anything else you could use to make a bot.

Anyways, I doubt this bot will run for let's say a night, but it's really a bless if you want to smoke a cigarette and don't stop farming, just activate the bot and let it do some work while you take a shower or whatever.
I would also suggest that you don't let this bot run for an extended period of time, because it's really obvious what you're doing when you see it from outside.

Keep up the good work
Yubari is offline  
Old 04/12/2008, 00:50   #179
 
elite*gold: 0
Join Date: Jan 2008
Posts: 8
Received Thanks: 0
hi
jedesmal wenn ich ins spiel gehe und bot starte bufft der mein char duch aber sobald der ein mob anvisiert hat schmeist der mich ununterbrochen hinternander aufm desktop und wieder zurück. weis jemand da vielicht weiter ?

danke
sirto007 is offline  
Old 04/12/2008, 00:51   #180
 
elite*gold: 0
Join Date: Apr 2008
Posts: 208
Received Thanks: 37
Question

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!
m00000 is offline  
Closed Thread




All times are GMT +1. The time now is 05:09.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.