Finding memory values? menu

User Tag List

Page 4 of 7 FirstFirst 1234567 LastLast
Results 46 to 60 of 92
  1. #46
    Maddin1803's Avatar Member
    Reputation
    25
    Join Date
    Mar 2012
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i dont have heartstoned installed here, just look through the directoys for a outputlog.txt or something

    Finding memory values?
  2. #47
    Movali's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's Hearthstone/HearthstoneData/output_log.txt.
    You should see a message like: Loading <yourdll> and maybe some error after that

  3. #48
    hankerspace's Avatar Sergeant
    Reputation
    18
    Join Date
    Sep 2012
    Posts
    23
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Indeed, the output is called 'output_log' in Heartstone_data subfolder.

    And i understood my misstake : i forgot to copy my custom dll into heartstone folder ... Stupid misstake.

    I will begin my developpement now.

    Thanks.

  4. #49
    overture2112's Avatar Active Member
    Reputation
    27
    Join Date
    Aug 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was trying to implement a way to compile and run scripts at runtime (eg. "run foo.cs" in cheatmgr console) but it can't find System.CodeDom.Compiler. Based on some web searches, it seems by default Unity compiles against a subset of .NET and thus it's not included.

    Does anyone with more experience know if there's a way around this?

  5. #50
    hankerspace's Avatar Sergeant
    Reputation
    18
    Join Date
    Sep 2012
    Posts
    23
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am currently trying to play a card.

    I have used maddin's sample : function playcard(Card).

    The right card is passed as a parameter, the whole function seems to be executed but thread could crash...

    When not any card can be played, custom dll use button "next ruen" but when a card can be played, i have some logs indicating which card is currently played but nothing happends ... And then thread isnt execute anymore...

    Is your helperclass working righ ?

    Thanks

  6. #51
    Maddin1803's Avatar Member
    Reputation
    25
    Join Date
    Mar 2012
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Iam unsure if the class is uptodate , but Even then its highly hackish :-) try to catch the exception which is Killing the Thread , should at least Give you a starting Point

  7. #52
    hankerspace's Avatar Sergeant
    Reputation
    18
    Join Date
    Sep 2012
    Posts
    23
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, right.

    Do you have some advises on how find right workflow to use to do some actions ?

    Is it only by searching in decompialted dll ?

    Thanks

  8. #53
    Maddin1803's Avatar Member
    Reputation
    25
    Join Date
    Mar 2012
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, you need to read and read, and then read a bit more
    After a while you get a good Feeling how they code.

    @overture

    What benefit do you see in this approach ?
    Dont get me wrong, i see some benefits, but iam unsure if they are worth the hassle.
    I guess i would first try to copy the .net framework dlls, identify the right one, and alter namespaces and references.
    After that i would try to conviniece Unity to load them.
    Unsure how good this would work, but i dont see a problem with this approach, could be worth a try.

    BUT

    Are you gainig enough advantage to make it worth the work? Especial as there is sooomuch work todo which is more important then in process compilation

    As a workaround for the moment i would suggest.
    Build a Pluginsystem, which is loading in the mainloop of you injected dll, every dll which he thinks isnt loaded yet. Or use some sort of IO and a seconde process. Push source into a file, let theProcess check for the File and Compile.

  9. #54
    overture2112's Avatar Active Member
    Reputation
    27
    Join Date
    Aug 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Maddin1803 View Post
    What benefit do you see in this approach ?
    The idea was to make experimentation quick and easy.

    In the end, I did something similar to your suggestion. A filesystem watcher looks for changes to any plugin DLLs in a set directory and additionally I can manually execute them with the cheatmgr console. Since I cannot load a different version of the same dll, I use mono.cecil to modify the assemblies (change name, etc), launch the plugin in it's own thread, and kill the thread corresponding to the old version of the plugin, if there is one.

    The end result is a one-click solution (just hit rebuild) and I can immediately see the results in game.

    Things I have working:
    • playing minions
    • attacking (a bit poor and sometimes crashes; probably related to attacking enemy hero, delays between attacks, or invalid attacks)
    • switching to practice screen and launching game versus AI


    Things still figuring out:
    • how to get deck IDs for the various practice AIs [EDIT: solved]
    • how to figure out if a minion can attack (card.GetEntity().CanAttack() seems to be whether that card can /ever/ attack and thus is true for all minions I've tested)
    Last edited by overture2112; 01-24-2014 at 03:28 PM.

  10. #55
    viperbot's Avatar Contributor
    Reputation
    104
    Join Date
    Jan 2012
    Posts
    599
    Thanks G/R
    2/54
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Wow, that is a great start. I have been having problems with the missing framework commands like System.IO.File. it just is not loaded in Unity it seems.
    Last edited by viperbot; 01-25-2014 at 03:35 AM.
    ]

  11. #56
    overture2112's Avatar Active Member
    Reputation
    27
    Join Date
    Aug 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    git repo

    Originally Posted by viperbot View Post
    @overture2112, feel freee to share some of your code/tricks that you have gotten to work.
    Sure. Here's a git repo https://github.com/sigmundnetski/Sigmund

    It'll play through a few turns but probably crash before finishing a game (much sooner if your deck has minions that require targets when you drop them into play or other things that aren't supported). That said, hopefully this accelerates anyone who was interested but maybe couldn't get the basics working.


    Note: I mostly spend my time in functional languages and rarely deal with .NET, so I might mess around with doing some plugins in F# later.

  12. #57
    Maddin1803's Avatar Member
    Reputation
    25
    Join Date
    Mar 2012
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Realy nice work!
    Thanks for sharing.

    We both use pretty much the same design for loading new plugins

    @Viperbot iam not aware that such a thing exists, is the execution of this code throwing any exception ?

  13. #58
    viperbot's Avatar Contributor
    Reputation
    104
    Join Date
    Jan 2012
    Posts
    599
    Thanks G/R
    2/54
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    No, I just could not get this command to work:

    System.IO.File.WriteAllText(@"C:\tesths.txt", "test");

    It seems like its a bug in unity3d specific to this version, as on the unity forums others have had similiar issues with it.
    ]

  14. #59
    hankerspace's Avatar Sergeant
    Reputation
    18
    Join Date
    Sep 2012
    Posts
    23
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have some issues while a DoNetworkResponse. Sometimes it works, sometimes not ... Have you any idea why ?

    Edit : found, just await a little bit longer before calling this function.

    But it looks like some cards are "crash cards", once i try to attack with, game just crash (a murlock for example), strange...

    Edit 2 : Found, its when a battlecry dont need any target (such as target ennemy hero), The crash occurs at next attack with this char.
    Last edited by hankerspace; 01-25-2014 at 12:36 PM.

  15. #60
    BlackOpal182's Avatar Corporal
    Reputation
    2
    Join Date
    Jun 2013
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    overture2112, I tried your app and it works great! However, how do I listen/monitor the log output statements you have?

Page 4 of 7 FirstFirst 1234567 LastLast

Similar Threads

  1. [Tool] Is the use of Ovale memory values with button spamming against the eula?
    By cassrgs in forum World of Warcraft Bots and Programs
    Replies: 4
    Last Post: 01-31-2014, 01:12 AM
  2. [Question] How to find K Value
    By adapa in forum WoW Memory Editing
    Replies: 8
    Last Post: 08-04-2011, 05:02 PM
  3. need some help on finding memory stuff and check my current offsets
    By freitag in forum Age of Conan Exploits|Hacks
    Replies: 70
    Last Post: 11-21-2009, 02:56 PM
  4. CE Teleport Value Finding
    By Ednasil in forum World of Warcraft Bots and Programs
    Replies: 23
    Last Post: 01-08-2007, 12:05 PM
  5. How do you find memory offsets in the game?
    By koalaz2004 in forum World of Warcraft General
    Replies: 0
    Last Post: 08-18-2006, 09:40 PM
All times are GMT -5. The time now is 01:19 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search