Hearthstone micromacro help/advice...stuff

For any other game that doesn't have its own section.
Post Reply
Message
Author
User avatar
gez1k
Posts: 2
Joined: Fri Apr 25, 2014 11:27 am

Hearthstone micromacro help/advice...stuff

#1 Post by gez1k » Fri Apr 25, 2014 11:34 am

Hey everyone, long time viewer, first time poster :P

I've been a user of rombot for a while, as well as rock5's hack and I appreciate the work you have put into the code.

I would like to learn the language and thought I could start by looking at the game Hearthstone, a card game by Blizzard.

There are currently 2(?) bots available for this game, both are paid programs, I believe bots should be free. So what I would like to know is this, what do you think a bot for this game should do? and where would be the best place to learn the language?

I might be trying to run before I can walk here, but I tend to do better on projects if I have to push myself a bit :P

I look forward to your responses,

gez1k

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Hearthstone micromacro help/advice...stuff

#2 Post by Administrator » Fri Apr 25, 2014 12:29 pm

You can learn about Lua at lua.org. You can find all the related information for MicroMacro on the wiki.

Be aware that some major changes are coming for MicroMacro 2. The whole design is changing and so it'll likely be quite difficult to port when the new version is released publicly. However, it would still be fine for a learning project.

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Hearthstone micromacro help/advice...stuff

#3 Post by BlubBlab » Fri Apr 25, 2014 12:59 pm

1.)I think the best start is here: http://www.solarstrike.net/phpBB3/viewt ... =21&t=2580
The first think you must do is find the addresses of the game.
Things you need from that are HP, Mana or Rage or whatever, target pointer, xyz coordinates.

2.)You must very likely dump down rombot until it is compatible with your game.

The last couple of days I wanted to start making a bot for another game DSO Drakensang Online same here you can pay bots.
I'm thinking about of a more generic bot framework at the moment the problem with that it would be very complicated because you need meta description of: the movement behaviour, the skill use, how getting infos about the skills, is it 2d or 3d, do you need face the target yourself.

Okay I think that's it but who had that kind of time^^ and I'm also don't know what admin is planning with MM 2.0

I did say that because I have the feeling those abo pay bots using something similar even so the goldsellers have bots up and running in games that released only a few hours before.(Like ESO)

EDIT: Okay Admin posted while I was writing admin ? Can you say what are the biggest changes will be in MM 2.0?
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Hearthstone micromacro help/advice...stuff

#4 Post by Administrator » Fri Apr 25, 2014 2:50 pm

MM2 will be moving to an event-based system, and will pass control back to the C process in between function calls. As such, things like long while loops should not be used where avoidable. Keyboard/mouse functions now rely on hardware polling between logic cycles and all the code is written in C/C++ instead of half Lua for performance reasons. The whole internal structure has been completely rewritten so that it is easier to maintain, more stable, has better performance, and is just quicker to implement new functionality. Gamepads are supported (up to 15, up to 32 buttons and 6 axis each). You can also use Ncurses functions for more advanced interface options. We've even got working buttons you can click in the UI!

Here's a mockup screenshot: http://www.solarstrike.net/phpBB3/downl ... &mode=view
We've got more interesting things working but I can't be bothered to blank out potentially sensitive information, and it really isn't that interesting to look at anyways.

You can track progress here: https://code.google.com/p/micromacro/source/list

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Hearthstone micromacro help/advice...stuff

#5 Post by lisa » Fri Apr 25, 2014 5:35 pm

gez1k wrote:Hey everyone, long time viewer, first time poster :P

I've been a user of rombot for a while, as well as rock5's hack and I appreciate the work you have put into the code.

I would like to learn the language and thought I could start by looking at the game Hearthstone, a card game by Blizzard.

I might be trying to run before I can walk here, but I tend to do better on projects if I have to push myself a bit :P
If you are mainly looking at learning LUA then I would start with making userfunctions for RoMBot, maybe try improving some that already exist and work from there. Starting a new bot on a game all by yourself is a huge project.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Hearthstone micromacro help/advice...stuff

#6 Post by rock5 » Fri Apr 25, 2014 9:16 pm

I'm with Lisa on this. Of course the problem with writing a userfunction is you need to think of something to program. The way I learnt Lua was a multi step process. First I followed the topics here, then I started asking questions, then I started making suggestions, then I started offering solutions with my suggestions. And as my knowledge grew I used it to help others, where I could, saving the Administrator the need to answer every single simple question. Eventually Administrator made me a Dev and now I work on the rombot itself.

But if you come up with an idea for a userfunction, especially if it's at your skill level, then that would be a great way to focus your efforts.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Hearthstone micromacro help/advice...stuff

#7 Post by lisa » Sat Apr 26, 2014 2:56 am

I think a key benefit to doing a userfunction to start off is you can ask for help here and there, if you asked me why something wasn't working in another game I would struggle to help you without actually installing the game myself and I probably wouldn't be in a hurry to do that =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
gez1k
Posts: 2
Joined: Fri Apr 25, 2014 11:27 am

Re: Hearthstone micromacro help/advice...stuff

#8 Post by gez1k » Wed Apr 30, 2014 3:33 am

Thank you all for your replies, I written a few waypoint scripts for RoM, nothing fancy, and can edit them in notepad. I'll have a look at the other sections of the forum here, and if I come up with something I'll share :)

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Hearthstone micromacro help/advice...stuff

#9 Post by lisa » Wed Apr 30, 2014 6:12 am

get youreself Notepad++, you won't regret it =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests