Register for your free account! | Forgot your password?

You last visited: Today at 09:02

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

Advertisement



HearthstoneBot

Discussion on HearthstoneBot within the Hearthstone forum part of the Other Online Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 8
Received Thanks: 0
HearthstoneBot

Announcing HearthstoneBot, a derivative of Bot of Stone.

HearthstoneBot is open source, the repository can be found at;
*
Pull requests, patches, tickets, ect., are VERY welcome!

Missing a feature? Found a bug? Wanna impact development?
- Head over to the ticket tracker at;
*
Vote your favorite ticket, and the development focus will be on that!

HearthstoneBot focuses on AI custom-ability via AI scripts written in Lua.
If you develop a customization to the default AI scripts (or an AI from scratch), please do share it.

This project is controlled via a command line interface, i.e. there is NO GUI.
Also the project relies on mono, however this is distributed with the bot in the zip-file.

The current release can be downloaded here;
*

Changelog:
* v1.0 - Now packed with mono, for easier adaption.
* v1.1 - Fixed 'LoaderCommandline.bat' and removed Helper.lua
* v1.2 - Removed mono dependency
* v1.3 - Minions will now only try to attack, if they're able to.

---------------------------------------------------------------------------------

Current capabilities of the bot (subject to change);
1. Drop minions (no target battlecries)
2. Get rid of tanks
3. Attack hero

---------------------------------------------------------------------------------

Run 'LoaderCommandline.exe' from cmd, in order to get the help menu.
Typical usage will be;

* Run "LoaderCommandline.exe --set_hs_path="C:\Program Files (x86)\Hearthstone""
* Open Battlenet
* Run "LoaderCommandline.exe --regen_inject inject"
* Wait for the command to be done indicated by the message; "Ready to launch Hearthstone"
* Launch Hearthstone
* Wait for Heartstone to be booted
* Run "LoaderCommandline.exe startbot"
* Bot should start up automatically, and join a non-ranked player match.
skeenia is offline  
Old 03/13/2014, 04:08   #2
 
elite*gold: 0
Join Date: Mar 2014
Posts: 11
Received Thanks: 0
Hey skeen, I tried messing around with the files with the first release and 1.0 (packed with mono), and found out that I had to copy and paste the assembly.dll file from the first release to the current one because Loadercommandline.exe --regen_inject inject gives me an error:

Error: Unsuccessfull injection file creation (Error code = 1)
Check the injector log file (logs/injector.log)
orlandofua is offline  
Old 03/13/2014, 10:07   #3
 
tatchan1304's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 173
Received Thanks: 56
Did everything successfully. The mono cmd says "Ready to launch Hearthstone", I click Play and the Hearthstone window appears but in Black screen and then not responding -> Forced close
tatchan1304 is offline  
Old 03/13/2014, 10:55   #4
 
elite*gold: 0
Join Date: Mar 2014
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by tatchan1304 View Post
Did everything successfully. The mono cmd says "Ready to launch Hearthstone", I click Play and the Hearthstone window appears but in Black screen and then not responding -> Forced close
Can you post the logs you get from this?

Quote:
Originally Posted by orlandofua View Post
Hey skeen, I tried messing around with the files with the first release and 1.0 (packed with mono), and found out that I had to copy and paste the assembly.dll file from the first release to the current one because Loadercommandline.exe --regen_inject inject gives me an error:

Error: Unsuccessfull injection file creation (Error code = 1)
Check the injector log file (logs/injector.log)
Does the logs/injector.log file exist, and if so can you post the contents? - Also this may be a issue related to mono, not being existent where it's expected.

I'm currently working on getting rid of the mono dependency.
skeenia is offline  
Old 03/13/2014, 11:20   #5
 
elite*gold: 0
Join Date: Mar 2014
Posts: 11
Received Thanks: 0
Here:

Also when I run loadercommandline.bat, it shows this and fails to create the injection file:

And everytime I queue for something I get the "playful sprites" error. How do we fix this?
orlandofua is offline  
Old 03/13/2014, 11:58   #6
 
elite*gold: 0
Join Date: Mar 2014
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by orlandofua View Post
Here:

Also when I run loadercommandline.bat, it shows this and fails to create the injection file:

And everytime I queue for something I get the "playful sprites" error. How do we fix this?
Both of these issues were results of the mono dependency, this should be fixed as of v1.2, would you mind testing, that this is the case?
skeenia is offline  
Old 03/13/2014, 12:08   #7
 
tatchan1304's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 173
Received Thanks: 56
I don't see the logs anywhere, there's only 1 file "Do not erase" in the logs folder. If you're talking about the mono cmd, it says nothing except for "Ready to launch hearthstone".

Here's the screenshot.
Attached Images
File Type: jpg Untitled.jpg (221.7 KB, 49 views)
tatchan1304 is offline  
Old 03/13/2014, 12:27   #8
 
elite*gold: 0
Join Date: Mar 2014
Posts: 11
Received Thanks: 0
I just tested it out and I still got the "playful sprites" error.

This is the contents(near-end) of API.log:
orlandofua is offline  
Old 03/13/2014, 12:27   #9
 
elite*gold: 0
Join Date: Mar 2014
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by tatchan1304 View Post
I don't see the logs anywhere, there's only 1 file "Do not erase" in the logs folder. If you're talking about the mono cmd, it says nothing except for "Ready to launch hearthstone".

Here's the screenshot.
In this case, there should be a log file in %HEARTHSTONEFOLDER%/Logs/API.log
Can you confirm if this file exists?

Quote:
Originally Posted by orlandofua View Post
I just tested it out and I still got the "playful sprites" error.

This is the contents(near-end) of API.log:
Right double queuing, I'll have to look into this soon. Thanks for reporting. I've created a ticket for this.
skeenia is offline  
Old 03/13/2014, 12:29   #10
 
elite*gold: 0
Join Date: Mar 2014
Posts: 11
Received Thanks: 0
No problem. It's the least I can do.
orlandofua is offline  
Old 03/13/2014, 13:52   #11
 
tatchan1304's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 173
Received Thanks: 56
There's nothing in the Logs folder. It's like the bot hasn't even run
tatchan1304 is offline  
Old 03/13/2014, 14:09   #12
 
elite*gold: 0
Join Date: Mar 2014
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by tatchan1304 View Post
There's nothing in the Logs folder. It's like the bot hasn't even run
Can you confirm this is still an issue as of v1.3? - Because it does indeed seem like the Bot never booted.
skeenia is offline  
Old 03/13/2014, 14:16   #13
 
tatchan1304's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 173
Received Thanks: 56
Yea it's still an issue as of v1.3, deleted everything in hearthstone folder except Data folder and reupdated it to make sure it's not because of the Hearthstone itself.

On a side note, Botofstone injection works fine for me without issues.
Attached Images
File Type: jpg Untitled.jpg (212.4 KB, 34 views)
tatchan1304 is offline  
Old 03/13/2014, 14:51   #14
 
elite*gold: 0
Join Date: Mar 2014
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by tatchan1304 View Post
Yea it's still an issue as of v1.3, deleted everything in hearthstone folder except Data folder and reupdated it to make sure it's not because of the Hearthstone itself.

On a side note, Botofstone injection works fine for me without issues.
This does seem weird indeed! It seems that the files are injected, however loading them crashes the application. This is most likely a dll related error.
Have you tried to erase the "%HEARTHSTONEPATH%/Hearthstone_Data/Managed" folder, and let the patcher reapply it?
skeenia is offline  
Old 03/13/2014, 15:38   #15
 
tatchan1304's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 173
Received Thanks: 56
Yea I deleted everything including Managed folder, only left out the Data folder (1gb folder) for it to repatch before trying the bot. I think it's a dll related error. When the new patch just came, the botofstone got into some pink screen errors as well so we had to delete the Assembly-CSharp.orig.dll and path files in the botofstone folder.
tatchan1304 is offline  
Reply




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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.