Page 14 of 14 FirstFirst ... 4121314
Results 196 to 201 of 201
  1. #196
    Neppuu's Avatar
    Join Date
    Apr 2015
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    Please make a tutorial for this. I dont know how to do? I dont know how to use visual studio.

    - - - Updated - - -

    Quote Originally Posted by TehManifest0r View Post
    1) Download Visual Studio
    2) Make a new class
    3) Bare minimum, put this stuff in there
    4) Get JustDecompile with "Assembly Editor" plugin (free) or .NET Reflector with Reflexil
    5) Open RoK's Assembly-CSharp.dll
    6) Find a point in the code that you want to hook, and (using reflexil) right click -> add operation -> call method reference -> find method in your compiled class.
    7) Save dll and run game
    8) Have fun

    I use Game's static constructor because it is only called once.

    Load GameObject with: (credits to someone somewhere)
    Code:
            public static void Load()
            {
                GameObject gameObject = new GameObject();
                gameObject.AddComponent<CustomControl>();
                Object.DontDestroyOnLoad(gameObject);
            }
    CustomControl class
    Code:
        internal class CustomControl : MonoBehaviour
        {
        
            private void Start()
            {
                    // initialize variables here
                    // this is where I populate my menu
            }
    
            private void Update()
            {
                    // called every frame (I think)
            }
    
            private void OnGUI()
            {
                    if (Game.State == GameState.Playing)
                {
                    if (GUIManager.CurrentCategory != GUIManager.MenuSystemCategories.System)
                    {
                        // currently playing, do hacks
                    }
                    else
                    {
                        // in pause/system menu, show menu
                        // here you could use a unity button that, when pressed, calls code posted earlier
                    }
                }
            }
    
        }
    I was in the same position as most of you when I started. I didn't have any clue of what to do, and I was stuck with public hacks and elitist users running their mouths about how they "did that sooooo long ago" or "already have ESP 2.0 max". I'm trying not to be like them, but I don't really want to release a compiled version because all the lazy noobs will use it as well. With the info in this post you should be up and running in no time. It's for pretty much any Unity game, the hardest part is hooking your DLL

    See showthread.php?t=846668
    showthread.php?t=841892
    showthread.php?t=846210
    different game but it will all be similar because it's all Unity


    Hey can you do a tutorial please? I need a tutorial.
    Last edited by Neppuu; 06-21-2015 at 07:19 AM.

  2. #197
    Heracles421's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    I really don't get why people don't do any research... Can you please, for FS, PLEASE, check the date of that post....
    And if you haven't noticed, there's a whole tutorial on how to do that stuff, which won't work because Alpha 15 was released a few days ago, and it was created for Alpha 14.

  3. #198
    maelker's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    52
    Reputation
    26
    Thanks
    331
    My Mood
    Chatty
    I have a error in visual basic with baseRect (The name " baseRect " does not exist in the current context) how fix it ?

    EDIT: FIX
    Last edited by maelker; 06-24-2015 at 09:48 AM.

  4. #199
    Etzgu69's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    1
    So how can I make the flyhack working with visual studio Pls pictures or something
    And also, my visual studio says: "Error 1: The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)"

    And same error with codehatch.

    I want to fly xD

    What to doooo
    Last edited by Etzgu69; 06-25-2015 at 09:25 AM.

  5. #200
    maelker's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    52
    Reputation
    26
    Thanks
    331
    My Mood
    Chatty
    You just need to add references

  6. The Following User Says Thank You to maelker For This Useful Post:

    AltairSKV (06-27-2015)

  7. #201
    AltairSKV's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by maelker View Post
    You just need to add references
    how? need little tutorial please, massage me.

Page 14 of 14 FirstFirst ... 4121314

Similar Threads

  1. [Info] Reign Of Kings Hack
    By Kunii in forum Reign Of Kings Discussions & Help
    Replies: 43
    Last Post: 05-30-2015, 07:49 PM
  2. [Info] Reign of Kings Hack v1.0.1 - By Jackilous (Godmode and Fly)
    By Jackilous in forum Reign Of Kings Discussions & Help
    Replies: 121
    Last Post: 05-04-2015, 04:56 PM
  3. [Discussion] Reign of Kings Inventory Addresses - Cheat Engine
    By TheGamingBoris in forum Reign Of Kings Discussions & Help
    Replies: 7
    Last Post: 03-22-2015, 07:36 PM
  4. [Solved] How to use CE on Reign of Kings?
    By KaboomXX in forum Reign Of Kings Discussions & Help
    Replies: 10
    Last Post: 03-21-2015, 09:23 AM
  5. [Request] Reign of Kings!
    By goldenstyle in forum Hack Requests
    Replies: 0
    Last Post: 03-15-2015, 07:22 AM

Tags for this Thread