Page 3 of 14 FirstFirst 1234513 ... LastLast
Results 31 to 45 of 201
  1. #31
    TehManifest0r's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    321
    My Mood
    Asleep
    Quote Originally Posted by mathew118 View Post
    TehManifest0r im getting an error on your CustomControl class, Game.State and GameStats, i have unityengine and assembly-csharp refrenced already
    Code:
    using UnityEngine;
    using CodeHatch.Engine.Core.Gaming;
    using CodeHatch.Engine.Behaviours;
    using CodeHatch.UserInterface;
    Put this stuff at the top

  2. #32
    RefsMe's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Posts
    49
    Reputation
    67
    Thanks
    7
    Pretty basic shit bro. Right click error -> resolve.

    It's because you are missing the references for "Game" and "GUIManager":

    Code:
    CodeHatch.Engine.Core.Gaming;
    CodeHatch.UserInterface;

  3. #33
    mathew118's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    133
    Reputation
    10
    Thanks
    2,693
    My Mood
    Inspired
    Guys, i right click the error, there is no resolve, apparently my VS doesn't think its resolvable. The errors are in the Give Item and Fly

    They are baseRect, textField2 and fly

    "The name 'fly' does not exist in the current context"
    right clicked, no resolve option.

    - - - Updated - - -

    Come on guys, help please
    Last edited by mathew118; 03-23-2015 at 10:53 PM.

  4. #34
    RefsMe's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Posts
    49
    Reputation
    67
    Thanks
    7
    Yeah those code's aren't really copy/paste able and im not going to tell someone how to compile the giveAll function lol. You really need to understand even the most basic level of C# if you hope to get anywhere

  5. #35
    mathew118's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    133
    Reputation
    10
    Thanks
    2,693
    My Mood
    Inspired
    I do, i'm not trying to compile the giveAll function, I see what i could do about the textField2, but what about the fly and baseRect
    I'm good at creating my own code, but editing existing code not so much.

    Nobody?
    Last edited by mathew118; 03-23-2015 at 11:09 PM.

  6. #36
    kzq's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    3
    My Mood
    Devilish
    Quote Originally Posted by Jackilous View Post
    Very nice.. but not sure if it was the best idea to share.
    Regardless, thanks for sharing, this will help alot of people out.

    Inb4, "how do i use this???"

    Agreed, but thank god it's not compiled and ready for use

  7. #37
    mathew118's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    133
    Reputation
    10
    Thanks
    2,693
    My Mood
    Inspired
    Quote Originally Posted by RefsMe View Post
    Yeah those code's aren't really copy/paste able and im not going to tell someone how to compile the giveAll function lol. You really need to understand even the most basic level of C# if you hope to get anywhere
    Dude im not some dumbass 12 year old kid, srry if i have no fucking clue what to put in the baseRect object and where the fuck do i get 'fly' from??
    This is a hack forum, stop being an ass and help



    I got godmode and ESP working, just not fly and Item Give
    Last edited by mathew118; 03-23-2015 at 11:34 PM.

  8. #38
    encode's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    963
    Quote Originally Posted by mathew118 View Post
    Dude im not some dumbass 12 year old kid, srry if i have no fucking clue what to put in the baseRect object and where the fuck do i get 'fly' from??
    This is a hack forum, stop being an ass and help



    I got godmode and ESP working, just not fly and Item Give
    Maybe if you go to Unity documantation and search for Rect you could know how its being use, alfo textfield is a String, same for fly god etc, you need to store imputs so you can check to enable or disable it.

    No one care about your age.

    As i said, people so much lazy to search arround.
    ------------------------------------------------------

    Made this little menu for easy item grab:

  9. #39
    RefsMe's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Posts
    49
    Reputation
    67
    Thanks
    7
    fly is a bool in that example

  10. #40
    encode's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    963
    Quote Originally Posted by RefsMe View Post
    fly is a bool in that example
    yup, forget to concatenate in my answer 'same for fly god etc' "as boolean"

  11. #41
    RefsMe's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Posts
    49
    Reputation
    67
    Thanks
    7
    How did you form that list btw? Is there a function to return all items that im too blind to see or did you manually create it?

  12. #42
    kzq's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    3
    My Mood
    Devilish
    Quote Originally Posted by encode View Post


    That's beautiful.

  13. #43
    Fusionez's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    38
    Reputation
    10
    Thanks
    2
    Manifestor as I understand from your comment, is that this doesn't actually call anything right? So where do I write the call functions that is on the first page of this thread, thanks to you I now understand how to hook up the Assembly which is a big step towards meh goal >D. Thank you.

    // I'd like a private chat with you as well It's not about getting this to work, it's simply a personal matter about finally finding someone able to aid me in simple questions to ease my mind about C#.
    Last edited by Fusionez; 03-24-2015 at 01:55 AM.

  14. #44
    inmate59's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    america
    Posts
    147
    Reputation
    10
    Thanks
    10
    My Mood
    Tired
    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
    Trying to hook with the method you provided but I do not understand.

    Right clicking the "CodeHatch.Engine.Core.Gaming Game .cctor()" is only bringing up "Replace all with code", "Create new", and "Edit".

    But, if I hit create new, add OpCode -> "Call", add operand type -> "method reference", and add the operand being my "Update()" method, .NetReflector (With reflexi) does not want to save it! It just reverts back when I close the program. Why is this?

    EDIT* I don't even see a way to save it.
    Last edited by inmate59; 03-24-2015 at 01:29 AM.
    Kiss Kiss MPGH Douche since 2009.

  15. #45
    fiestypickle's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0

    please someone save me :confused:

    Ok i just restarted but not i am getting
    Error 11 The type or namespace name 'i' could not be found (are you missing a using directive or an assembly reference?)

    EDIT: ignore the Snapshot it is my old one
    Attached Thumbnails Attached Thumbnails
    Source for Give all.PNG  

    Last edited by fiestypickle; 03-24-2015 at 01:55 AM.

Page 3 of 14 FirstFirst 1234513 ... LastLast

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