OutdatedOpen source FameBot plugin for KRelay

Posts 1–15 of 80 · Page 1 of 6
Open source FameBot plugin for KRelay
FameBot


I'm pretty sure there are no open source famebots yet, so here you go.

Some features:
  • Simple GUI
  • Cluster finding algorithm to find players in godlands
  • Auto-connect to fullest realm and stopping at the fountains to heal if necessary
  • Autonexus
  • Teleport to targets
  • Customisable options which persist and can be changed through a GUI
  • Mini health bar GUI
  • Keypresses GUI
  • An event log


How to use:
This is a KRelay plugin, so you need the latest version of KRelay and a client which can connect to the proxy server.
You can either download the plugin from this post or from the github repo. I would recommend getting it from the repo as it will always be the most up-to-date.

* Download the plugin
* Once downloaded, put the .dll file in your KRelay plugins folder.
* Open the game.
* Open KRelay.
* Check the event log, if the FameBot didn't automatically bind to the client type '/bind' in game.
* Start using the famebot.

If you want the bot to automatically bind to the client when it is opened change the name of your flash player to 'flash.exe'. (an option to customize the process name is planned but not yet implemented).

Here is a video demonstrating the installation, and a demo of the bot.
When choosing between good quality and upload speed, I chose upload speed. Sorry.



Customization:
These are the options you can find in the config manager. All of these can also be manually changed by editing the famebot_config.xml file which is generated in the KRelay plugins folder.

Autonexus
Self-explanatory. If you want to disable it and use a better one, set it to 0%.

Escape if no targets
If the bot is following a cluster of targets, but that cluster disperses and it can't find another it will go back to the nexus. I highly recommend you leave this option enabled.

Teleport distance
The max distance in game tiles away from the target the player can be before attempting to teleport.

Follow distance
The max distance in game tiles away from the target the player can be before moving towards it. I recommend watching how the bot behaves before tweaking this.

AutoConnect
If enabled, when the bot enters the nexus it will immediately try to connect to the fullest realm.

Find clusters near center
If enabled, the bot will prioritize clusters of players which are closer to the center of the map. There is a known bug which causes unusual behavior when this is disabled. Unless you are just curious, always leave this enabled.

Max distance between points
The max distance in game tiles two players can be from each other before they are no longer part of the same cluster.

Minimum players per cluster
The minimum players required per cluster for the bot to target them.

Ticks between cluster scans
The number of ticks (NewTickPacket) which pass before the bot will evaluate player clusters again. If your CPU isn't very good or KRelay is using a lot of memory with the bot enabled, try turning this up.

The default values for Max distance between players and Minimum players per clusters work quite well. If the bot isn't finding many clusters try turning min. players down to 4.
The clustering algorithm which is used is DBSCAN, so it might be a good idea to look at how it works before changing the settings too much.



Source code and downloads
The source code is located on GitHub and is open source, so feel free to contribute. I can't post links, but the GitHub endpoint is /thomas-crane/famebot

Virus scans:
I can't post links, so idk how to do this otherwise.

(virustotal.com)/en/file/fdc0bf0515f257399ae10f693c2f388cc69c4d3e18808a373d d8a29a46d038d5/analysis/1489835157/
(virusscan.jotti.org)/en-GB/filescanjob/03hjfe43w4
FameBot_mpgh.net.rar29 KB · 1,113 downloads Clean
Looks good, thanks for sharing to the community
I would recommend you to upload the open source files aswell as setup a quick faq soon as some will ask you the same questions over and over
Quote Originally Posted by tienisch View Post
Looks good, thanks for sharing to the community
I would recommend you to upload the open source files aswell as setup a quick faq soon as some will ask you the same questions over and over
Yeah I do need a FAQ and probably some basic documentation. The sln doesn't contain any extra configuration or settings than what is already on the repo (to my knowledge) but I could still upload it if people want.

EDIT: the sln file is actually on the repo, didn't even see it when I replied to this.
Quote Originally Posted by Killer Be Killed View Post
Yeah I do need a FAQ and probably some basic documentation. The sln doesn't contain any extra configuration or settings than what is already on the repo (to my knowledge) but I could still upload it if people want.
Sorry meant just the source files ^^
Quote Originally Posted by tienisch View Post
Sorry meant just the source files ^^
All of the source files are there. From the home page go into the folder "FameBot". All of the subfolders in that folder have .cs files in them. The main file is in "Core" and is called Plugin.cs

If you're interested, the clustering algorithm is in the "Services" folder and is in the D36n4.cs class
Looks polished. Clearly a product of effort.

I don't think I've ever heard anyone record their voice on a video on this forum. Usually everything is just explained by some text on the screen so I found it quite friendly and warm that there's actually speech on it.
Quote Originally Posted by CrazyJani View Post
Looks polished. Clearly a product of effort.

I don't think I've ever heard anyone record their voice on a video on this forum. Usually everything is just explained by some text on the screen so I found it quite friendly and warm that there's actually speech on it.
Thanks!, and I'm glad to hear I find it faster and easier to just use the mic.
Very interested too see how this one turns out!
Seeing how in the video the player sometimes teleported to the beach, you should probably do some distance checking to ensure you only teleport to godlands. PKTINOS' fame bot does this.

Edit: Apparently it already favors clusters near the middle of the map, I didn't read properly.
I think it's very nice of you making it open source so other developers can contribute as well.
Quote Originally Posted by brennanfull View Post
Does this work in the background?
It uses SendMessage to send the keystrokes to the Flashplayer so it indeed works in the background.
This looks quite cool. Nice release!
What rock did you crawl out from under to finally make a release after 7 years?
Posts 1–15 of 80 · Page 1 of 6
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?