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
    125
    Reputation
    19
    Thanks
    1,755
    My Mood
    Inspired
    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; 11-20-2016 at 11:54 PM.

  3. The Following 9 Users Say Thank You to IkarosIO For This Useful Post:

    candypalace (02-13-2017),hackinggod91 (02-13-2017),HammerFallCashDrops (11-21-2016),return_cheats (02-13-2017),ShellRootUser (02-13-2017),uniqueusernamehere (02-13-2017),whispers1234 (02-13-2017),wizard101hacker (02-13-2017),zeyital (02-13-2017)

  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; 11-21-2016 at 12:56 AM.

  5. #4
    IkarosIO's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    125
    Reputation
    19
    Thanks
    1,755
    My Mood
    Inspired
    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 9 Users Say Thank You to IkarosIO For This Useful Post:

    candypalace (02-13-2017),hackinggod91 (02-13-2017),HammerFallCashDrops (11-21-2016),return_cheats (02-13-2017),ShellRootUser (02-13-2017),uniqueusernamehere (02-13-2017),whispers1234 (02-13-2017),wizard101hacker (02-13-2017),zeyital (02-13-2017)

  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; 11-21-2016 at 06:16 AM.

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

    HammerFallCashDrops (11-21-2016)

  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
    Silent's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    5,070
    Reputation
    2172
    Thanks
    8,474
    My Mood
    Bitchy
    //Assumed solved.
    Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!











    dd/mm/yyyy
    Member - 31/01/2015
    Premium - 12/09/2016
    Call of Duty minion - 05/11/2016 - 05/11/2019
    BattleOn minion - 28/02/2017 - 05/11/2019
    Battlefield minion - 30/05/2017 - 05/11/2019
    Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
    Publicist - 07/11/2017 - 02/08/2018
    Cock Sucker - 01/12/2017 - Unknown
    Minion+ - 06/03/2018 - 05/11/2019
    Fortnite minion - 08/05/2018 - 05/11/2019
    Head Publicist - 08/10/2018 - 10/01/2020
    Developer Team - 26/10/2019 - 10/01/2020
    Former Staff - 10/01/2020



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, 10: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, 03:56 PM
  3. [Help Request] SA-MP trainer, need help
    By silentus in forum Visual Basic Programming
    Replies: 8
    Last Post: 02-10-2013, 10: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, 04: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, 05:30 AM