Page 1 of 4

RFO Bots - Hunting Bot

Posted: November 19th, 2007, 8:25 pm
by danzar
*** read bottom "quotes" for the lastest updates ***

This is my beta bot for RF Online. Its a real rough bot program. It works but need to know a few thngs before hand.
You can use it one of two ways.

1. from the normal point of view and it will scan the visable area that you define.
2. you can do the over head view and scan a whole area inside of thae define area there.

******Verson 2.0****

>How this bot works<
It scans the area that you choose for a active target. Once it finds one it clicks
it and then begins to attack it.. then it loots for
4 hits.

***************************************************************
Mouse speed = the speed the mouse will move across the screen.



Begin X is the starting and return spot for the mouse ot start at on X
Begin Y is the starting and return spot for the mouse to start at on Y

End X is the furthest point it will go to.
End Y is the furthest point it will go to.



There are 2 running hotkeys

F12= a 9 second pause. ( so if you need to do somethign real fast)
F11 = Starts bot (for maiunly when you are full screen)
F10= stop bot (this hotkey is still bugged so keep that in mind)



***************************************************************


Also if you would liek to test the file for viruses or such this is a nice virus check site Register to unlock hidden link.

Register to unlock hidden link
1-08-08 v2
Completly recoded the program in C++ because of a system crash.

-All setup info is the same.
-hotkeys are -f10 to stop/f11 to start/f12 to pause 9 sec-
-the mouse speed you can play with i have made it alot faster for searching. just mess with it to get what works for you, I can get it down to 10 and still work 99% of the time.

-to stop the bot you must be outside of the searching for mob part.
If you want to stop at that point you must pause it and close the program down.(going to fix)

Let me know what the out come of the testing is so i can fix any buggs

thanks danzar

12-23-07 v1.5e
Took out the support of using skill while in attack( they are looping wrong fixxing for next update)
Added new mouse,movment function to see if i could speed up the mouse screen search ( this needs testing by players)
11-30-07 v1.5d
fixxed the re hunting of mob while still have one targeted.
and a looping issue for the stopping of the bot.
11-30-07 v1.5c
small update on some code and a minor fix to an error on the attack skills.
11-29-07 v1.5b
. Added another attack skill option. ( waiting for testing from users before adding more)
.cleaned up the stop function so its not as buggy. you now can restart the bot after you stop it without it totaly restarting the program.
.some items cleaned up in code.
11-28-07 v1.5 **reupdated.
Ok the new things that are added that need testing.
Attack skills option
Buff option.
Also the hotkeys has changed to
F10 = to run bot without hitting start bot button
F11 =9sec pause
F12 = exit/restart of Bot

Things new and fixxed
* the bot now know the diffence from players and monster.
* bot knows Mob's health and will start looking for another monster after its done with current target. (this in turn KIlled the kill timer)

Things still to fix.
* the bot's exit function is really rough.
* need more features
* serveral small things

Please post and let me know if you encounter any problems.

thanks
Danzar
11-22-07 v1.3
I redid the need code to kill the need for autoitx3.dll. So there is no need to reg the dll or should be have an error from the need of it.

***Added a test beta botton for testing a offset for ingame cusor over mob.
the botton explains when used.



Download from the Gforge xunleashed server. Register to unlock hidden link

Posted: November 20th, 2007, 10:49 am
by Tault_admin
awesome bot. 1k to you and moved to confirmed

Posted: November 20th, 2007, 7:11 pm
by fashadowz
Hmm, this just doesn't seem to work for me. As soon as I run it, I get the error screen. I've registered the DLL, not too sure what I am doing wrong.

Which framework do you need?

Posted: November 20th, 2007, 7:16 pm
by Tault_admin
2.0 i would think.

Posted: November 20th, 2007, 7:48 pm
by fashadowz
Yea, I am using 2.0, I even tried 3.0 =|. Here is a screenshot of the error.

Register to unlock hidden image


Error signature

EventType : clr20r3 P1 : rf-monkey.exe P2 : 1.0.0.0 P3 : 473f82d0
P4 : rf-monkey P5 : 1.0.0.0 P6 : 473f82d0 P7 : 49 P8 : e
P9 : system.io.filenotfoundexception

Posted: November 20th, 2007, 9:33 pm
by danzar
Looking into it asap


fashadowz message me I need someone to test the fixxes on if you want to help me. everything runs fine on my VMware machine.

Posted: November 20th, 2007, 11:44 pm
by fashadowz
k.

I tried it on virtual windows, same outcome =(.

Posted: November 21st, 2007, 11:33 am
by lalela
fashadowz wrote:Yea, I am using 2.0, I even tried 3.0 =|. Here is a screenshot of the error.

Error signature

EventType : clr20r3 P1 : rf-monkey.exe P2 : 1.0.0.0 P3 : 473f82d0
P4 : rf-monkey P5 : 1.0.0.0 P6 : 473f82d0 P7 : 49 P8 : e
P9 : system.io.filenotfoundexception
Exactly the same error here.

Posted: November 21st, 2007, 1:58 pm
by danzar
Yea I am working with fashadowz to iron out the problem. I think I have it . I have updated the download to the lastest test. let me know how it goes.. i have to put it into a install format for the clickonce stuff of .Net so after the first time you run it the icon is in the start menu. i havent made a desktop icon yet in the program.

Posted: November 21st, 2007, 9:55 pm
by zippyman
danzar wrote:Yea I am working with fashadowz to iron out the problem. I think I have it . I have updated the download to the lastest test. let me know how it goes.. i have to put it into a install format for the clickonce stuff of .Net so after the first time you run it the icon is in the start menu. i havent made a desktop icon yet in the program.
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)

SOURCES
Deployment url : file:///C:/Documents%20and%20Settings/Kdosi/Plocha/RF-Monkey/RF-Monkey_1_0_0_3.application

IDENTITIES
Deployment Identity : RF-Monkey.application, Version=1.0.0.3, Culture=neutral, PublicKeyToken=a38fd062f64c35c4, processorArchitecture=msil

APPLICATION SUMMARY
* Installable application.

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Documents and Settings/Kdosi/Plocha/RF-Monkey/RF-Monkey_1_0_0_3/RF-Monkey.exe.manifest did not succeed.
+ Could not find a part of the path 'C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3\RF-Monkey.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3\RF-Monkey.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3\RF-Monkey.exe.manifest'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [22.11.2007 6:55:35] : Activation of C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3.application has started.
* [22.11.2007 6:55:35] : Processing of deployment manifest has successfully completed.
* [22.11.2007 6:55:35] : Installation of the application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [22.11.2007 6:55:35] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///C:/Documents and Settings/Kdosi/Plocha/RF-Monkey/RF-Monkey_1_0_0_3/RF-Monkey.exe.manifest did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3\RF-Monkey.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3\RF-Monkey.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.WrappedGetResponseCallback(Object state)
--- Inner Exception ---
System.IO.DirectoryNotFoundException
- Could not find a part of the path 'C:\Documents and Settings\Kdosi\Plocha\RF-Monkey\RF-Monkey_1_0_0_3\RF-Monkey.exe.manifest'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

Posted: November 22nd, 2007, 12:20 am
by danzar
The problem is with the autoitx3.dll. i had 2 people test it for me. I turned all reference of the autoitx3.dll off in the program and it runs liek a dream. so i need to do one of 2 things. Write the methods for what i was using the dll for or figure out why the error was come from the refence. eather, eather way i will have it out thursday night.

sorry for the issuse...
But thats why its beta

danzar :))

Posted: November 22nd, 2007, 3:03 pm
by fashadowz
It works woot, somehow it doesn't attack for me =|.

Posted: November 22nd, 2007, 3:22 pm
by lalela
fashadowz wrote:It works woot, somehow it doesn't attack for me =|.
Same here. Does it have to be on fullscreen?

Posted: November 22nd, 2007, 4:16 pm
by danzar
Ok help me know whats happening.. I use it on a windowed game just because it dont have focus on it yet.

When the program is scanning the screen does it stop when it comes over a mob or does it stop at all or it does ??

Posted: November 22nd, 2007, 4:28 pm
by fashadowz
It doesn't stop just keeps going.