Crafting bot

05/29/2013 00:40 breadwolf#1
I made a crafting bot (and some minor scripts) for myself to use, but a couple friends asked me for a copy and I ended up deciding to just put a nice GUI on it and make it available to anyone.

It's hosted on my brand new and completely bare website - [Only registered and activated users can see links. Click Here To Register...]
I'll start putting up some other stuff over the coming week or two, like logging into your account every hour and invoking, anti-afk in BGs, and such. These are pretty small by comparison, but I think many may still find them useful.

It's totally free and needs no registration of any sort, although I did throw a donate button up on the site if you really like it. I made this account just for the shameless plug, so please contact me through my own site if you have questions or commets.

Also, the bot does ask for you login info to connect to gateway. I'm working on adding an option for manual logon (didn't need this for myself) for those that may be distrustful (can't really blame you). If you don't want to enter you pass, just check back in a couple days and I'll hopefully have manual logon by then.

I'll be adding some bots and such for other games too. I'll put up my BreadChant bot for Diablo2, for example. Those that have played hardcore may have heard of it. There's also an old fishing bot for WoW and other similar small-scale projects.

Cheers!
05/29/2013 07:21 Yezeadriel#2
Virustotal Link: [Only registered and activated users can see links. Click Here To Register...]

0/32
05/29/2013 14:00 Pitbull1982#3
he will not work for me... when i start open the firefox, i say whitch charakter und the programm crashed
05/29/2013 14:15 snoopy456#4
" Like logging into your account..." :s ... weird
05/29/2013 14:25 Pitbull1982#5
This is the message that i become

: Starting tasks
: Found 0 tasks in progress
: Found 0 completed tasks. Collecting reward.
: Rewards collected
: Found 0 available slots for new tasks
: Couldn't find any tasks, something looks wrong
: Tasks crashed. Sleeping and restarting
05/29/2013 17:05 breadwolf#6
Pitbull, can you describe what happens in firefox? Does it login, does it choose your character, does it go to the professions screen? The log is saying that it's expecting to be on your professions screen and it's looking for how many tasks you have running, finished or open, but it can't find any at all. So either your character doesn't have professions yet, or it's not getting to that page correctly.
05/29/2013 17:56 TheSameFame#7
Can you make a tutorial? I dont understand how its work...
05/29/2013 18:08 breadwolf#8
I'll make a youtube video tonight when I get off work showing how to set it up.

Basically, you add a new account (or multiple accounts, if you have more than 1). For that account you fill in the account handle and login info (user/pass). The account tab also shows you a log of what's going on with this account when the bot is running.

Then you add a character. Put in the character's name and fill out the tasks you want him to do. For tasks you pick the profession (leadership, platesmithing, tailoring, etc), fill in the task name (for example: gather iron ore. Can be partial name like "gather iron", as long as the gateway search finds it), and fill in the assets you want to use for the task (for gathering iron ore you'd probably put "miner" as a required asset and no optionals. If you have higher quality guys you could put in "master platesmith" or something).

When you fill out a task it puts it into your global list of tasks that you can assign to any character. This way you don't have to enter the same task several times for different characters, you just make it once and then assign it to anyone you want. So once you've made your task, assign it to your character and that's pretty much it. Save your config so you don't have to fill everything out again and then hit "Start".

Like I said though, I'll make a quick video showing how to set it up and get going and put it up on youtube in about 10 hours or so.
05/29/2013 18:19 TheSameFame#9
Hmm they dont select the character and thats the log:

Starting a brand new run
Starting a brand new run
Entering user name/pass
X: Going to professions screen
X: Starting tasks
X: Found 0 tasks in progress
X: Found 0 completed tasks. Collecting reward.
X: Rewards collected
X: Found 0 available slots for new tasks
X: Couldn't find any tasks, something looks wrong
X: Tasks crashed. Sleeping and restarting
05/29/2013 18:52 breadwolf#10
Do you have the right handle for the account? This isn't the same as the account name that you use to login. This is what shows up whenever you see "character@handle". Like if you go to the gateway and select a character, look in the address bar at the top. It should say something like:
[Only registered and activated users can see links. Click Here To Register...]
You need to enter the part that's "MyHandle".
You also see these in game on everyone's character unless you turn it off in options, I believe.
05/29/2013 18:54 uidlucidatl#11
I have to say I would be much more inclined to try it if you released the source code to reassure you're not farming account login information. Nothing against you... but the requirement for credentials is sketchy, at best.
05/29/2013 19:01 TheSameFame#12
Hmm now they select my character but he dont select a task.
Profession: Mailsmithing
Task: Gather High quality Iron Ore
Main Assets: Blacksmith

Log:
Starting a brand new run
Entering user name/pass
X: Going to professions screen
X: Starting tasks
X: Found 0 tasks in progress
X: Found 0 completed tasks. Collecting reward.
X: Rewards collected
X: Found 0 available slots for new tasks
X: Couldn't find any tasks, something looks wrong
X: Tasks crashed. Sleeping and restarting
05/29/2013 19:28 breadwolf#13
SameFame:
It's saying that it can't see any tasks on the page. Is it actually going to your professions page? Like, when it's saying "Found 0 tasks in progress", are you looking at the page where you see what tasks are in progress, collect finished ones, and so on?

uidlucidatl:
I agree and completely understand. Frankly, the main reason I don't want to release code is that I'm hoping to get some donations and hence I want to keep the code branded with my website and name. In my experience, it is not uncommon for some people to just go change a couple strings and start passing things off as their own work. Whether or not I'll even get anything I have absolutely no idea, this is the first time I'm doing this (as in, accepting donations. I've released stuff before open source). It's entirely possible that I'll get nothing and I might as well just release this open source, but I at least want to try first.
I know advanced bots (like Viper) actually charge a subscription fee to even get access to the executables, and I'm pretty sure they aren't releasing any code either. Of course they do have an established reputation, so people generally are willing to trust them. My only claim to minor fame is the Diablo 2 chanter bot I've released before. You can google "BreadChant" and I'm sure you'll get some results. It's a few years old now, but AFAIK people are still using it.

The best thing I can offer for now is to add manual log on, where the bot will wait for you to enter credentials into the browser and then will continue. I'll try and add it tonight, it really shouldn't take long, but it also won't be quite as reliable for long duration runs. If the browser crashes, or you get disconnected somehow, then it will stop because it obviously won't be able to log back in.
Well, and you'll have to trust the antiviruses that the bot isn't keylogging your logins, naturally.

edit: Oh yes, and I fully support and encourage blocking the jar from any sort of internet access with firewalls to provide some measure of confidence that it won't send any information out. The bot directly drives a local firefox instance using Selenium and needs no connection to the internet itself (only the browser does). You are also welcome to completely block any address besides the neverwinter gateway. I can actually add an option to load custom firefox profiles, which you could customize to restrict access to the gateway only, if that's something a few people would be interested in.
05/29/2013 19:34 TheSameFame#14
Yeah i'am on the professions page. There are 5 slots for tasks, but the bot dont enter a task. 5 free slots without a reward or anything, they are empty.
05/29/2013 19:41 breadwolf#15
Hmm... what's your firefox version? I'll have to test when I get home and see what's going on.
Oh, and everything is in English, right? I know elitepvpers has lots of germans, but I don't even know if you can customize the gateway to use other languages. I haven't even considered multi-language support, to be honest.