I really loved to program and enhance it. But I stopped playing this game a few weeks ago and therefore I don´t really want to keep programming it.
The full sourcecode for this program can be downloaded here:
http://www.megafileupload.com/en/fil...onBot-rar.html
You can do with it whatever you want. The best would of course be to keep it updated and post it here or in a separate thread, however you can do what you want.
I tried to keep the whole sourcecode as easy as possible and as structured as possible. However, since I did not plan to release it, the comments are in german. If you have any questions about any part of the code, just post it here and I will tell you what certain parts of the code do.
-------------------------------------------------------------------------------------------
Hey guys
I would like to make this little bot public and hope you enjoy it
Features
- This bot will automaticly start your profession-jobs/take the rewards/restart them through the gateway
- It can start any profession, no matter how many and which assets you need for it
- You can chose the optional assets you want the bot to take for each profession-job
- It does not require any login information
- Very detailed runlog
- Buildin-browser, therefore this bot can work completly minimized/in background
More about the buildin-browser: geckofx - An open-source component for embedding Mozilla Gecko (Firefox) in .NET applications. - Google Project Hosting
Special features
- The browser starts a new session every time you open the bot. This allows you to open/bot as many accounts/characters as you want with no problems
- You dont need any special browsers, versions or any browser at all. The buildin-browser is the same for everybody
If you have a question about any feature, how to use something or anything else, feel free to ask here
Screenshots:
Video:
-----------------------------------------------------------------------------------------------------------------------
FAQ
Code:
1. In case of errors
2. Starting the Bot
3. Using the assets you would like to
4. Disabling the annoying accountguard
1. In case of errors
1. Paste your config here (remember to remove char@acc)
2. Paste your log
3. Add anything else you think thats helpful
2. Starting the Bot
When you entered all your information, loaded the settings, you can start the bot. After you hit "Start", the bot will wait until it recognizes the profession menu. So you either go to the professionmenu in the bot before or after you hit start (doesnt matter), then it should start automaticly
3. Using the assets you would like to
The bot will detect the number of required and the number of optional slots for each profession you want to start. It will then read in the assets you wrote in the textbox (Has to be: "asset:asset:asset"). It will then take those assets for the optional slots.
4. Disabling the annoying accountguard
Originally Posted by
weedyweedpacker
you can easily disable it.
You have to go to champions online or star trek online to be able to change it.
Easiest way is to go to
https://my.perfectworld.com/account/co
(you can not do it using the neverwinter part of the site)
Login with your perfect world account and go to "account guard" below "profile".
Just follow the steps and you will be able to disable account guard.
I have done it and it doesnt ask for the codes anymore.
-----------------------------------------------------------------------------------------------------------------------
Changelog
Code:
V1.3.2
Major changes:
-added full support for the new profession "Alchemy"
Minor changes:
-added Leatherworking_Tier1_Leather_Boots_1
-added current url of the browser. pretty useful
V1.3.1
Major changes:
-Reduced the memory usage over all, still a problem though
-Reduced the cpu taken by the bot a lot
The new method will now let the whole program "sleep" for a while
Pro: Very low cpu usage Con: The Interface will now sometimes seem to be a bit laggy while the bot runs
(I might work on that, but it runs very smoothly this way)
Minor changes:
-Fixed a crash that would occur if there were more optional slots than given assets
-Removed some things that were logged. There won´t be logspam anymore
-Added Leatherworking_Tier1_Leather_Shirt_1
-Added a simple check, so you do not forget to enter charname@account at the beginning
V1.3.0
Major changes:
- Added Delays to everything. The bot will do everything a bit slower now, however
this should give the gateway more time to react and reduce errors/bugs in general
Furthermore now it will be easier for you to see what the bot does and therefore easier to
recognize why something fails
- The normal log will now inform you about any step, very detailed. It should be easy for you to see
what the bot does and therefore, if something fails, it should be very easy to find out why
- The bot will no longer select required workers. They get autofilled by the gateway, I see no reason
to not use this feature. The assetslot of the bot will now be used for optional slots only
- The cpu/memory usage should be much better now - please report your experience with those
Minor changes:
- You can now edit the tasks/assets/jobs while the bot is running
- You can now only activate slots that follow after an activated slot (If you want to activate slot5, slot 1-4
have to be activated). Its not possible to start a job at a chosen slot (not possible in the gateway),
the job will start on the next open slot. Therefore if you only want to run slot 1 and 3 the bot will bug.
Removed stuff:
- Removed Shortcut for Workmode (was useless imo)
- Removed detailed log and error log
V1.2.3
- Removed the anti-afk function for testing. Please report your experience:
Do you disconnect?
How is the memory leak now?
- The process should now correctly end it self when you click the "X" or hit the "End" button:
Please report your experience with that. Let me know if you still have processes of the bot running after you closed it
V1.2.2
- Fixed the "bot is running since" - display: it should no longer show negative numbers
- Changed "Safe settings" to "Save settings"
- Added buttons to activate/deactivate the autoscrollfunction of the logs
- You should now be able to change professiondetails if the bot is interrupted
- The process should not run anymore if you press "End" (there were some reports that the task still runs)
- Time for "Anti-afk"-function has been increased by 400%
- Bot will now clear the slots at a new job, before selecting the assets:
This could fix the error that the bot sometimes cant find an asset - please report your experiences with that
V1.2.1
- Trying to fix the bug that slot doesnt get restarted after reward was taken:
I have a function to remember already used slots to make sure they arent double found when selection goes fast
However if this is the reason of the bug, it should give you the error "The found asset should already be in use" in the detailed log
- Slots that couldnt get started will not be turned off anymore. Bot will try to start them again:
However, this can result in an endlessloop, please report if you get endlessloops with that
- Added shortcut Strg+W for workmode
- Changed the color of the main buttons
- Added some statistics in the "Information" tab like, total rewards taken, rewards per slot and time since program started
- Addes Ctrl+a function for all logs
V1.2
- Detailed log added
- Changed the logincheck to check for professionsite, it will no longer search your char@acc in the html code. This should fix the error that the bot sometimes doesnt start at all if it couldnt find your char@acc because of case-sensitive
- added "On Work"-Button (if klick, title changes, icon changes, program goes to tray instead of taskbar)
- Added a fix to the stuck after taking reward - the bot should no longer endlessloop if taking a task reward takes long
- Interrupt button added
V1.1.2
- Fixed a little doublecheck for the characterdetection, bot should no longer end itself if you start it outside of the charactermenu
V1.1
- Fixed a bug which would make the bot fail to start a slot if it didnt had optional slots
-----------------------------------------------------------------------------------------------------------------------
Downloadlink of the newst version:
Newest update: 22.06.2013
V1.3.2
Mirror1: http://www.file-upload.net/download-...1.3.2.rar.html
Mirror2: http://www.megafileupload.com/en/fil...1-3-2-rar.html