• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Page 1 of 2 12 LastLast
    Results 1 to 10 of 11
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ORR's Avatar
      Join Date
      Oct 2012
      Posts
      7
      Thanks (-->)
      0
      Thanks (<--)
      0

      Trainer C# ByteConverter problem

      John Kittz
      I am currently following your tutorial on how to make a trainer in c#, I got everything going good until in video 4 when you were putting in the first timer codes and reach the line: byte [] valueToWrite = ByteConverter.GetByte(AmmoToFill);. When you reachto the end of[I] ByteConverter[/Iand place Dot,] adrop down window appears that gives you the[I] GETBYTE[/] option, but no matter how i try i can't get mine. And if i write it in manually i get;{System.ComponentModel.ByteConverter'does not contain a definition for 'GetByte'.So now the whole trainer is on pause, what can i do to correct it.

      I am using VS 2010 Ultimate. Thank you very much

    2. #2
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      If I remember correctly ctrl+space enables that drop down thingy. I don't think that's the problem for you though. You are probably lacking some classes (haven't included them)
      Trainer C# ByteConverter problem

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ORR's Avatar
      Join Date
      Oct 2012
      Posts
      7
      Thanks (-->)
      0
      Thanks (<--)
      0
      Thank you,but can you tell me which class i may be missing and how can i included them?

    4. #4
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      You are lacking a class which contains GetByte, or you just have implemented it wrong, or doing something wrong. I don't know, I haven't watched that tutorial
      Trainer C# ByteConverter problem

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ORR's Avatar
      Join Date
      Oct 2012
      Posts
      7
      Thanks (-->)
      0
      Thanks (<--)
      0
      THIS IS AS FAR AS I REACH:



      using System;
      using System.Collections.Generic;
      using System.ComponentModel;
      using System.Data;
      using System.Drawing;
      using System.Linq;
      using System.Text;
      using System.Threading.Tasks;
      using System.Windows.Forms;

      using System.Diagnostics;
      using System.Runtime.InteropServices;
      using System.Globalization;
      using System.Threading;

      namespace VirtuaCop_2_Trainer
      {
      public partial class Form1 : Form
      {
      #region Global Variables
      Memory mymemory = new Memory();
      Process[] myprocess;
      bool IsGameavailable = false;

      bool UnlimitedAmmo = false;
      string AmmoPointer = "004CF1AC";
      int[] AmmoOffset = {0*28};
      int AmmoToFill = 6;

      #endregion


      public Form1()
      {
      InitializeComponent();
      }

      private void Form1_Load(object sender, EventArgs e)
      {

      }

      private void button3_Click(object sender, EventArgs e)
      {

      }

      private void UnlimitedAmmoBTN_Click(object sender, EventArgs e)
      {
      if (IsGameavailable)
      {
      if (UnlimitedAmmo)
      {
      UnlimitedAmmo = false;
      UnlimitedAmmoBTN.Text = "1.OFF";
      }
      else
      {
      UnlimitedAmmo = true;
      UnlimitedAmmoBTN.Text = "1.ON";
      }
      }
      }

      private void GameAvailabilityTimer_Tick(object sender, EventArgs e)
      {
      myprocess = Process.GetProcessesByName("VCop2");
      if (myprocess.Length > 0)
      {
      IsGameavailable = true;
      Statuslabel.Text = "Status VCop2 is availalbe";
      }
      else
      {
      IsGameavailable = false;
      Statuslabel.Text = "Status VCop2 is not availalbe";
      }
      }

      private void UpdateCheatTimer_Tick(object sender, EventArgs e)
      {
      if (IsGameavailable)
      {
      #region unlimited Ammo
      if(UnlimitedAmmo)
      {
      mymemory.ReadProcess = myprocess[0];
      mymemory.Open();
      int pointerAddress = HexToDec(AmmoPointer);
      int [] pointerOffset = AmmoOffset;
      int byteswritten;
      byte[] valueToWrite = ByteConverter.GetByte(AmmoToFill);
      string writtenaddress = mymemory.PointerWrite((IntPtr)pointerAddress, valueToWrite, pointerOffset,out byteswritten);
      mymemory.CloseHandle();
      }
      #endregion
      }
      }

      public static string HexToDec(int Dec)
      {
      return Dec.ToString("x");
      }

      public static int HexToDec(string Hex)
      {
      return int.Parse (Hex, NumberStyles.HexNumber);
      }

      }

      }

    6. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ORR's Avatar
      Join Date
      Oct 2012
      Posts
      7
      Thanks (-->)
      0
      Thanks (<--)
      0
      Same problem i tried uninstalling VS 10 Ultimate and reinstalling it to see if it will solve the problem, but it is still the same problem.After i write this line: byte[] valueToWrite = ByteConverter.(The drop down window give me 3 options ONLY, they are : Equals ;ReferanceEquals ; StandardValueCollection.If i am missing a class, can someone please tell me which one. P.S Ialso tried VS 2012 and had the same problem. Thanks in advance:

    7. #7
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      cheapthrill's Avatar
      Join Date
      Aug 2012
      Posts
      3
      Thanks (-->)
      0
      Thanks (<--)
      0
      not sure if you fixed it yet?

      byte[] valueToWrite = ByteConverter.GetByte(AmmoToFill); <----should be ByteConverter.GetBytes

    8. #8
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ORR's Avatar
      Join Date
      Oct 2012
      Posts
      7
      Thanks (-->)
      0
      Thanks (<--)
      0
      Thanks, but still did not work.

    9. #9
      Hacker
      Learning to hack games!
       
      Pawning
       
      Fleep's Avatar
      Join Date
      May 2012
      Posts
      626
      Thanks (-->)
      208
      Thanks (<--)
      727
      Hey there ORR sorry for the late response but this should be your answer.
      Your supposed to be using BITConverter and not BYTEConverter.

      Replace your line of code with this

      [PHP] byte[] valueToWrite = BitConverter.GetBytes(AmmoToFill);[/PHP]
      Also in future please use
      Code:
      code tags
      to wrap your code in.

      Fleep

    10. #10
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ORR's Avatar
      Join Date
      Oct 2012
      Posts
      7
      Thanks (-->)
      0
      Thanks (<--)
      0
      Cheats'n'Trainers
      Thank You Fleep,Thank You Very MUCH.It worked you are TRUELY THE BEST.

    Page 1 of 2 12 LastLast

    Similar Game Hacker Threads

    1. [Help] C# Problem
      By xa84759x in forum Hacking Help
      Replies: 11
      Last Post: 02-07-2015, 02:00 PM
    2. [Help] CE Problem
      By ace0000 in forum GH Tutorials Help
      Replies: 4
      Last Post: 12-25-2013, 10:39 AM
    3. [Trainer+Source]Bioshock Infinite +17 Trainer
      By Syperus in forum Other Game Hacks
      Replies: 14
      Last Post: 05-26-2013, 09:45 PM
    4. Trainer problem
      By skygen in forum Hacking Help
      Replies: 6
      Last Post: 03-13-2013, 07:09 PM
    5. Little Problem!
      By nico0 in forum Visual Basic
      Replies: 9
      Last Post: 07-24-2012, 04:54 AM