You are viewing our Forum Archives. To view or take place in current topics click here.
Help??? C# Error?? (+REP) Mw3
Posted:
Help??? C# Error?? (+REP) Mw3Posted:
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
#2. Posted:
Status: Offline
Joined: Nov 02, 201113Year Member
Posts: 112
Reputation Power: 4
Status: Offline
Joined: Nov 02, 201113Year Member
Posts: 112
Reputation Power: 4
it doesn't recognise what they are so u need to define them
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Dec 22, 201113Year Member
Posts: 2,821
Reputation Power: 143
Status: Offline
Joined: Dec 22, 201113Year Member
Posts: 2,821
Reputation Power: 143
You need to define the code bro
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Aug 31, 201212Year Member
Posts: 1,553
Reputation Power: 65
Status: Offline
Joined: Aug 31, 201212Year Member
Posts: 1,553
Reputation Power: 65
LMFAO. You forgot your identifier for the statement.
(i.e. Jtag.xbCon.etc.)
For clientID you need to define clientID in your void, like so.
(i.e. Jtag.xbCon.etc.)
For clientID you need to define clientID in your void, like so.
private void Botch(int clientID)
{
//your stuff
}
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
i did that and i still get the error
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Aug 31, 201212Year Member
Posts: 1,553
Reputation Power: 65
Status: Offline
Joined: Aug 31, 201212Year Member
Posts: 1,553
Reputation Power: 65
Rgh-Xp-Lobby wrote i did that and i still get the error
Maybe show me? And also, tell me what you are trying to do. I'm good, but not good enough to tell from offsets
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
Show me where you define the variable clientID
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
Botch wroteRgh-Xp-Lobby wrote i did that and i still get the error
Maybe show me? And also, tell me what you are trying to do. I'm good, but not good enough to tell from offsets
its the Walking AC130 code this is what i ave thats it
private void button3_Click_1(object sender, EventArgs e)
{
uint num;
byte[] buffer = new byte[3];
buffer[2] = 0x6a;
byte[] data = buffer;
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x141, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x275, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x371, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x43d, 3, data, out num);
}
}
}
and then im getting this [ Register or Signin to view external links. ]
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
Status: Offline
Joined: Jan 27, 201311Year Member
Posts: 562
Reputation Power: 24
sparks2709 wrote it doesn't recognise what they are so u need to define them
Yes i no that lol how do i define them?? or what is the code to define them
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Aug 31, 201212Year Member
Posts: 1,553
Reputation Power: 65
Status: Offline
Joined: Aug 31, 201212Year Member
Posts: 1,553
Reputation Power: 65
Rgh-Xp-Lobby wroteBotch wroteRgh-Xp-Lobby wrote i did that and i still get the error
Maybe show me? And also, tell me what you are trying to do. I'm good, but not good enough to tell from offsets
its the Walking AC130 code this is what i ave thats it
private void button3_Click_1(object sender, EventArgs e)
{
uint num;
byte[] buffer = new byte[3];
buffer[2] = 0x6a;
byte[] data = buffer;
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x141, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x275, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x371, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x43d, 3, data, out num);
}
}
}
and then im getting this [ Register or Signin to view external links. ]
You don't have clientID defined, and as I said before you need to add Jtag instead of this. Unless you are using more then one class, 'this' is pointless.
Here is what you want to do.
private void AC130()
{
int clientID = Convert.ToInt32(numericUpDown1.Value)//for clients
uint num;
byte[] buffer = new byte[3];
buffer[2] = 0x6a;
byte[] data = buffer;
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x141, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x275, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x371, 3, data, out num);
this.xbCon.DebugTarget.SetMemory(this.getClientState(clientID) + 0x43d, 3, data, out num);
}
private void button3_Click(object sender, EventArgs e)
{
AC130();
}
Or something along those lines. I whipped that up in a couple seconds, so don't paste that directly in, but use it like a guideline until you get it work ;)
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.