Results 1 to 7 of 7
  1. #1
    HammerFallCashDrops's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    My Mood
    Amused

    Question Any chance of a trainer tutorial / Help?

    Just idly wondering if anyone would ever be making a tutorial on how to make a trainer so to speak? For instance how to create a basic trainer through Visual Studios or however else; I've been wanting to learn how to make them for a while and tried following older call of duty tutorials yet no luck with infinite Warfare, For instance; I tried doing a button yet for some reason it doesn't work; Was hoping to learn from someone who knows how to etc.

    Here's an example of what I tried and I get an error everytime saying "Constant Expression not representable in type 'integer' Yet I've seen other Videos on them doing it like this:

    Code:
    Public Class Form1
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            Dim ammount As String = TextBox1.Text
            WriteInteger("iw7_ship", &H145BCEE51, ammount)
        End Sub
    End Class
    Not sure if anyone can tell me what's wrong with the Integer; I have a feelings its because the &H is too long by one letter; Because if I remove one digit it works for whatever reason (I'm a noob sorry)

    Thx.

  2. #2
    IkarosIO's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    103
    Reputation
    19
    Thanks
    276
    My Mood
    Sleepy
    Convert your offset to an integer and make your project x64 for the deploy.
    Edit: Also I have no idea what that offset you posted is meant to be, I am getting some weird values from it and not finding any differences when changing the value. Good luck on your trainer op if you have questions or need help feel free to ask me.
    Last edited by IkarosIO; 2 Weeks Ago at 12:54 AM.

  3. The Following User Says Thank You to IkarosIO For This Useful Post:

    HammerFallCashDrops (2 Weeks Ago)

  4. #3
    HammerFallCashDrops's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    Quote Originally Posted by IkarosIO View Post
    Convert your offset to an integer and make your project x64 for the deploy.
    Edit: Also I have no idea what that offset you posted is meant to be, I am getting some weird values from it and not finding any differences when changing the value. Good luck on your trainer op if you have questions or need help feel free to ask me.
    Thanks a ton! The offset itself was just a random one off cheat engine to see if I could get the program to start; Also I was just wondering how would I go about converting the offset to an integer? Pretty new with it all and just wanted to know the basics of how to set it up I know how to do the x64 just not too sure about the offset itself.
    Last edited by HammerFallCashDrops; 2 Weeks Ago at 01:56 AM.

  5. #4
    IkarosIO's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    103
    Reputation
    19
    Thanks
    276
    My Mood
    Sleepy
    Quote Originally Posted by HammerFallCashDrops View Post
    Thanks a ton! The offset itself was just a random one off cheat engine to see if I could get the program to start; Also I was just wondering how would I go about converting the offset to an integer? Pretty new with it all and just wanted to know the basics of how to set it up I know how to do the x64 just not too sure about the offset itself.
    Function hexToInt(ByVal hex)
    Return Convert.ToInt64(hex.ToString, 16)
    End Function

    You can use this function to convert your offsets. Don't include &H.

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

    HammerFallCashDrops (2 Weeks Ago)

  7. #5
    Azsry's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    18
    Reputation
    13
    Thanks
    14
    My Mood
    Happy
    No one's going to mention the fact that he entered a string as an argument where it wants an int?

    Either do (recommended)
    Code:
    Dim ammount As Integer = Convert.ToInt32(TextBox1.Text)
    or (not recommended)
    Code:
    WriteInteger("iw7_ship", &H145BCEE51, Convert.ToInt32(ammount))
    I don't believe Int64 is required here because you're rarely going to need numbers over 2147483647, but if you ever do, use Int64 instead.

    I have a trainer base in C#if you want to see bits and pieces (because VB makes me want to cry).
    Last edited by Azsry; 2 Weeks Ago at 07:16 AM.

  8. The Following User Says Thank You to Azsry For This Useful Post:

    HammerFallCashDrops (2 Weeks Ago)

  9. #6
    HammerFallCashDrops's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    Quote Originally Posted by IkarosIO View Post
    Function hexToInt(ByVal hex)
    Return Convert.ToInt64(hex.ToString, 16)
    End Function

    You can use this function to convert your offsets. Don't include &H.

    Thanks a ton again.

    Quote Originally Posted by Azsry View Post
    No one's going to mention the fact that he entered a string as an argument where it wants an int?

    Either do (recommended)
    Code:
    Dim ammount As Integer = Convert.ToInt32(TextBox1.Text)
    or (not recommended)
    Code:
    WriteInteger("iw7_ship", &H145BCEE51, Convert.ToInt32(ammount))
    I don't believe Int64 is required here because you're rarely going to need numbers over 2147483647, but if you ever do, use Int64 instead.

    I have a trainer base in C#if you want to see bits and pieces (because VB makes me want to cry).
    I'd love to see the trainer base if you have time. Thanks c:

  10. #7
    Eithan1231's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Location
    Australia
    Posts
    1,596
    Reputation
    429
    Thanks
    4,279
    My Mood
    Angelic
    //Assumed solved.



     
    https://www.youtube.com/watch?v=-GcAc0kovUs

Similar Threads

  1. [Help Request] Already tranfered charakter from PS3 to PS4. Any chance to mod now?
    By Robert_Baratheon in forum Grand Theft Auto 5 (GTA V) Help
    Replies: 1
    Last Post: 11-10-2015, 11:58 PM
  2. [Help Request] Any free spawners out there for help??
    By travpilot7 in forum DayZ Help & Requests
    Replies: 3
    Last Post: 08-13-2013, 04:56 PM
  3. [Help Request] SA-MP trainer, need help
    By silentus in forum Visual Basic Programming
    Replies: 8
    Last Post: 02-10-2013, 11:18 PM
  4. [Help Request] Any one mind looking at this? Helping me out a bit?
    By deathrg in forum Minecraft Help
    Replies: 2
    Last Post: 04-01-2012, 05:13 PM
  5. [Help Request] how to use trainers pls help :)
    By Brownie in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 11-04-2011, 06:30 AM