You are viewing our Forum Archives. To view or take place in current topics click here.
Need Help with MW2 Pre-Game GT Changer | C#
Posted:

Need Help with MW2 Pre-Game GT Changer | C#Posted:

EchoRGH
  • Ladder Climber
Status: Offline
Joined: Aug 03, 201311Year Member
Posts: 308
Reputation Power: 11
Status: Offline
Joined: Aug 03, 201311Year Member
Posts: 308
Reputation Power: 11
I need help with my Pre-Game GT changer. I can debug it, which means there are no errors within the code. However, when I try to use it I get this error:
[ Register or Signin to view external links. ]




The code I have:
        public uint Gamertag(int clientID)
        {
            return (getPlayerState(clientID) + 0x3290);
        }

        private byte[] gamertag;
        public void getbytesforgt(string GT)
        {
            byte[] bytes = new ASCIIEncoding().GetBytes(GT);
            gamertag = bytes;
        }
        //public void SetGamertag(int Client, string GamerTag)
        //{
          //  getbytesforgt(GamerTag);
            //uint num;
            //Jtag.xbCon.DebugTarget.SetMemory(Gamertag(Client), (uint)gamertag.Length, gamertag, out num);
        //}

        public void SetGamertag(int Client, string GamerTag)
        {
            Jtag.SetMemory(getPlayerState(Client) + 0x44, Encoding.ASCII.GetBytes("" + textBox3.Text));
        }
       
        private void flowButton18_Click(object sender, EventArgs e)
        {
            for (int i = 0; i < 18 /*or getClients() for a more accurate number*/; i++)
                    SetGamertag(i, textBox3.Text);
        }
I have the // there because it did not work with that code and I did not want to delete it. I tried with different code and it still did not work. This is the ONLY MW2 item I cannot get to work. Any help?
#2. Posted:
QKQ
  • Junior Member
Status: Offline
Joined: Apr 20, 201410Year Member
Posts: 80
Reputation Power: 4
Status: Offline
Joined: Apr 20, 201410Year Member
Posts: 80
Reputation Power: 4
I've never seen inside a JTAG's dev system, woah let me know if you do some free lobbies ;)
#3. Posted:
EchoRGH
  • Ladder Climber
Status: Offline
Joined: Aug 03, 201311Year Member
Posts: 308
Reputation Power: 11
Status: Offline
Joined: Aug 03, 201311Year Member
Posts: 308
Reputation Power: 11
Trysonn wrote I've never seen inside a JTAG's dev system, woah let me know if you do some free lobbies ;)
This is not inside he dev system. This is part of the C# coding for a program on the computer. I do free lobbies but not at the moment.
#4. Posted:
DOLLARxHD
  • Junior Member
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 61
Reputation Power: 2
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 61
Reputation Power: 2
Why are you using playerstate to set it in pregame?
#5. Posted:
FlareLobbies
  • New Member
Status: Offline
Joined: Apr 09, 201311Year Member
Posts: 48
Reputation Power: 1
Status: Offline
Joined: Apr 09, 201311Year Member
Posts: 48
Reputation Power: 1
I don't think your meant to set it with playerstate that would be ingame. Try this
Jtag.SetMemory(Gamertag_Pregame_Offset, System.Text.Encoding.ASCII.GetBytes(textBox1.Text));
#6. Posted:
Venix
  • Challenger
Status: Offline
Joined: Jul 07, 201212Year Member
Posts: 134
Reputation Power: 5
Status: Offline
Joined: Jul 07, 201212Year Member
Posts: 134
Reputation Power: 5
Trysonn wrote I've never seen inside a JTAG's dev system, woah let me know if you do some free lobbies ;)

I do free lobbies on mw2 if that's what your asking!
#7. Posted:
IGoogleTwitter
  • New Member
Status: Offline
Joined: May 01, 201410Year Member
Posts: 16
Reputation Power: 0
Status: Offline
Joined: May 01, 201410Year Member
Posts: 16
Reputation Power: 0
Echo_Gaming wrote I need help with my Pre-Game GT changer. I can debug it, which means there are no errors within the code. However, when I try to use it I get this error:
[ Register or Signin to view external links. ]




The code I have:
        public uint Gamertag(int clientID)
        {
            return (getPlayerState(clientID) + 0x3290);
        }

        private byte[] gamertag;
        public void getbytesforgt(string GT)
        {
            byte[] bytes = new ASCIIEncoding().GetBytes(GT);
            gamertag = bytes;
        }
        //public void SetGamertag(int Client, string GamerTag)
        //{
          //  getbytesforgt(GamerTag);
            //uint num;
            //Jtag.xbCon.DebugTarget.SetMemory(Gamertag(Client), (uint)gamertag.Length, gamertag, out num);
        //}

        public void SetGamertag(int Client, string GamerTag)
        {
            Jtag.SetMemory(getPlayerState(Client) + 0x44, Encoding.ASCII.GetBytes("" + textBox3.Text));
        }
       
        private void flowButton18_Click(object sender, EventArgs e)
        {
            for (int i = 0; i < 18 /*or getClients() for a more accurate number*/; i++)
                    SetGamertag(i, textBox3.Text);
        }
I have the // there because it did not work with that code and I did not want to delete it. I tried with different code and it still did not work. This is the ONLY MW2 item I cannot get to work. Any help?

it should look like this
public void SetGamertag(int Client)
{
Jtag.SetMemory(getPlayerState(Client) + 0x44, Encoding.ASCII.GetBytes("" + textBox1.Text));
}
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.