You are viewing our Forum Archives. To view or take place in current topics click here.
getplayerstate c# help
Posted:

getplayerstate c# helpPosted:

Lemonsss
  • New Member
Status: Offline
Joined: Oct 20, 201311Year Member
Posts: 21
Reputation Power: 0
Status: Offline
Joined: Oct 20, 201311Year Member
Posts: 21
Reputation Power: 0
can someone show me what i have to add and where. i need to include getPlaterState to my c# xrpc tool so i can add more functions.
preview of tool so far:
[ Register or Signin to view external links. ]
#2. Posted:
Nissan
  • Ultra Gifter
Status: Offline
Joined: Sep 20, 201212Year Member
Posts: 2,136
Reputation Power: 312
Status: Offline
Joined: Sep 20, 201212Year Member
Posts: 2,136
Reputation Power: 312
here :
public uint getPlayerState(int clientIndex)
        {
            if (Jtag.activeConnection)
            {
                uint num;
                byte[] data = new byte[4];
                Jtag.xbCon.DebugTarget.GetMemory((uint)((-2098186752 + (clientIndex * 640)) + 0x158), 4, data, out num);
                Array.Reverse(data);
                return BitConverter.ToUInt32(data, 0);
            }
            return 0;
        }
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.