You are viewing our Forum Archives. To view or take place in current topics click here.
#11. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
its the devkit ++ it makes it run too many things and cant debug, HMU on skype and ill give you one that doesnt bug out all the time
#12. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
or jsut make a new class then delete EVERYTHING ( even namespace) and put this :


using System;
using System.Text;
using XRPCLib;
namespace XRPCPlusPlus
{
public static class XRPCExtensions
{
private static byte[] myBuff = new byte[32];
private static uint outInt;
private static uint uTemp32;
private static ushort uTemp16;
private static ulong uTemp64;
private static short Temp16;
private static int Temp32;
private static long Temp64;
public static sbyte ReadSByte(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 1u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
return (sbyte)XRPCExtensions.myBuff[0];
}
public static bool ReadBool(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 1u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
return XRPCExtensions.myBuff[0] != 0;
}
public static short ReadInt16(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 2u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
Array.Reverse(XRPCExtensions.myBuff, 0, 2);
return BitConverter.ToInt16(XRPCExtensions.myBuff, 0);
}
public static int ReadInt32(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 4u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
Array.Reverse(XRPCExtensions.myBuff, 0, 4);
return BitConverter.ToInt32(XRPCExtensions.myBuff, 0);
}
public static long ReadInt64(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 8u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
Array.Reverse(XRPCExtensions.myBuff, 0, 8);
return BitConverter.ToInt64(XRPCExtensions.myBuff, 0);
}
public static byte ReadByte(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 1u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
return XRPCExtensions.myBuff[0];
}
public static ushort ReadUInt16(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 2u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
Array.Reverse(XRPCExtensions.myBuff, 0, 2);
return BitConverter.ToUInt16(XRPCExtensions.myBuff, 0);
}
public static uint ReadUInt32(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 4u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
Array.Reverse(XRPCExtensions.myBuff, 0, 4);
return BitConverter.ToUInt32(XRPCExtensions.myBuff, 0);
}
public static ulong ReadUInt64(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 8u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
Array.Reverse(XRPCExtensions.myBuff, 0, 8);
return BitConverter.ToUInt64(XRPCExtensions.myBuff, 0);
}
public static float ReadFloat(this XRPC xpc, uint Offset)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, 4u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
Array.Reverse(XRPCExtensions.myBuff, 0, 4);
return BitConverter.ToSingle(XRPCExtensions.myBuff, 0);
}
public static string ReadString(this XRPC xpc, uint Offset, byte[] readBuffer)
{
xpc.xbCon.DebugTarget.GetMemory(Offset, (uint)readBuffer.Length, readBuffer, out XRPCExtensions.outInt);
string arg_34_0 = new string(Encoding.ASCII.GetChars(readBuffer));
char[] separator = new char[1];
return arg_34_0.Split(separator)[0];
}
public static string ReadString(this XRPC xpc, uint Offset)
{
return xpc.ReadString(Offset, XRPCExtensions.myBuff);
}
public static void WriteSByte(this XRPC xpc, uint Offset, sbyte input)
{
XRPCExtensions.myBuff[0] = (byte)input;
xpc.xbCon.DebugTarget.SetMemory(Offset, 1u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}

public static void WriteInt16(this XRPC xpc, uint Offset, short input)
{
BitConverter.GetBytes(input).CopyTo(XRPCExtensions.myBuff, 0);
Array.Reverse(XRPCExtensions.myBuff, 0, 2);
xpc.xbCon.DebugTarget.SetMemory(Offset, 2u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void WriteInt32(this XRPC xpc, uint Offset, int input)
{
BitConverter.GetBytes(input).CopyTo(XRPCExtensions.myBuff, 0);
Array.Reverse(XRPCExtensions.myBuff, 0, 4);
xpc.xbCon.DebugTarget.SetMemory(Offset, 4u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void WriteInt64(this XRPC xpc, uint Offset, long input)
{
BitConverter.GetBytes(input).CopyTo(XRPCExtensions.myBuff, 0);
Array.Reverse(XRPCExtensions.myBuff, 0, 8);
xpc.xbCon.DebugTarget.SetMemory(Offset, 8u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void WriteByte(this XRPC xpc, uint Offset, byte input)
{
XRPCExtensions.myBuff[0] = input;
xpc.xbCon.DebugTarget.SetMemory(Offset, 1u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void WriteUInt16(this XRPC xpc, uint Offset, ushort input)
{
BitConverter.GetBytes(input).CopyTo(XRPCExtensions.myBuff, 0);
Array.Reverse(XRPCExtensions.myBuff, 0, 2);
xpc.xbCon.DebugTarget.SetMemory(Offset, 2u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void WriteUInt32(this XRPC xpc, uint Offset, uint input)
{
BitConverter.GetBytes(input).CopyTo(XRPCExtensions.myBuff, 0);
Array.Reverse(XRPCExtensions.myBuff, 0, 4);
xpc.xbCon.DebugTarget.SetMemory(Offset, 4u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void WriteUInt64(this XRPC xpc, uint Offset, ulong input)
{
BitConverter.GetBytes(input).CopyTo(XRPCExtensions.myBuff, 0);
Array.Reverse(XRPCExtensions.myBuff, 0, 8);
xpc.xbCon.DebugTarget.SetMemory(Offset, 8u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void WriteFloat(this XRPC xpc, uint Offset, float input)
{
BitConverter.GetBytes(input).CopyTo(XRPCExtensions.myBuff, 0);
Array.Reverse(XRPCExtensions.myBuff, 0, 4);
xpc.xbCon.DebugTarget.SetMemory(Offset, 4u, XRPCExtensions.myBuff, out XRPCExtensions.outInt);
}
public static void XOR_Uint16(this XRPC xpc, uint Offset, ushort input)
{
XRPCExtensions.uTemp16 = xpc.ReadUInt16(Offset);
XRPCExtensions.uTemp16 ^= input;
xpc.WriteUInt16(Offset, input);
}
public static void XOR_UInt32(this XRPC xpc, uint Offset, uint input)
{
XRPCExtensions.uTemp32 = xpc.ReadUInt32(Offset);
XRPCExtensions.uTemp32 ^= input;
xpc.WriteUInt32(Offset, XRPCExtensions.uTemp32);
}
public static void XOR_UInt64(this XRPC xpc, uint Offset, ulong input)
{
XRPCExtensions.uTemp64 = xpc.ReadUInt64(Offset);
XRPCExtensions.uTemp64 ^= input;
xpc.WriteUInt64(Offset, XRPCExtensions.uTemp64);
}
public static void XOR_Int16(this XRPC xpc, uint Offset, short input)
{
XRPCExtensions.Temp16 = xpc.ReadInt16(Offset);
XRPCExtensions.Temp16 ^= input;
xpc.WriteInt16(Offset, XRPCExtensions.Temp16);
}
public static void XOR_Int32(this XRPC xpc, uint Offset, int input)
{
XRPCExtensions.Temp32 = xpc.ReadInt32(Offset);
XRPCExtensions.Temp32 ^= input;
xpc.WriteInt32(Offset, XRPCExtensions.Temp32);
}
public static void XOR_Int64(this XRPC xpc, uint Offset, long input)
{
XRPCExtensions.Temp64 = xpc.ReadInt64(Offset);
XRPCExtensions.Temp64 ^= input;
xpc.WriteInt64(Offset, XRPCExtensions.Temp64);
}
public static void AND_UInt16(this XRPC xpc, uint Offset, ushort input)
{
XRPCExtensions.uTemp16 = xpc.ReadUInt16(Offset);
XRPCExtensions.uTemp16 &= input;
xpc.WriteUInt16(Offset, XRPCExtensions.uTemp16);
}
public static void AND_UInt32(this XRPC xpc, uint Offset, uint input)
{
XRPCExtensions.uTemp32 = xpc.ReadUInt32(Offset);
XRPCExtensions.uTemp32 &= input;
xpc.WriteUInt32(Offset, XRPCExtensions.uTemp32);
}
public static void AND_UInt64(this XRPC xpc, uint Offset, ulong input)
{
XRPCExtensions.uTemp64 = xpc.ReadUInt64(Offset);
XRPCExtensions.uTemp64 &= input;
xpc.WriteUInt64(Offset, XRPCExtensions.uTemp64);
}
public static void AND_Int16(this XRPC xpc, uint Offset, short input)
{
XRPCExtensions.Temp16 = xpc.ReadInt16(Offset);
XRPCExtensions.Temp16 &= input;
xpc.WriteInt16(Offset, XRPCExtensions.Temp16);
}
public static void AND_Int32(this XRPC xpc, uint Offset, int input)
{
XRPCExtensions.Temp32 = xpc.ReadInt32(Offset);
XRPCExtensions.Temp32 &= input;
xpc.WriteInt32(Offset, XRPCExtensions.Temp32);
}
public static void AND_Int64(this XRPC xpc, uint Offset, long input)
{
XRPCExtensions.Temp64 = xpc.ReadInt64(Offset);
XRPCExtensions.Temp64 &= input;
xpc.WriteInt64(Offset, XRPCExtensions.Temp64);
}
public static void OR_UInt16(this XRPC xpc, uint Offset, ushort input)
{
XRPCExtensions.uTemp16 = xpc.ReadUInt16(Offset);
XRPCExtensions.uTemp16 |= input;
xpc.WriteUInt16(Offset, XRPCExtensions.uTemp16);
}
public static void OR_UInt32(this XRPC xpc, uint Offset, uint input)
{
XRPCExtensions.uTemp32 = xpc.ReadUInt32(Offset);
XRPCExtensions.uTemp32 |= input;
xpc.WriteUInt32(Offset, XRPCExtensions.uTemp32);
}
public static void OR_UInt64(this XRPC xpc, uint Offset, ulong input)
{
XRPCExtensions.uTemp64 = xpc.ReadUInt64(Offset);
XRPCExtensions.uTemp64 |= input;
xpc.WriteUInt64(Offset, XRPCExtensions.uTemp64);
}
public static void OR_Int16(this XRPC xpc, uint Offset, short input)
{
XRPCExtensions.Temp16 = xpc.ReadInt16(Offset);
XRPCExtensions.Temp16 |= input;
xpc.WriteInt16(Offset, XRPCExtensions.Temp16);
}
public static void OR_Int32(this XRPC xpc, uint Offset, int input)
{
XRPCExtensions.Temp32 = xpc.ReadInt32(Offset);
XRPCExtensions.Temp32 |= input;
xpc.WriteInt32(Offset, XRPCExtensions.Temp32);
}
public static void OR_Int64(this XRPC xpc, uint Offset, long input)
{
XRPCExtensions.Temp64 = xpc.ReadInt64(Offset);
XRPCExtensions.Temp64 |= input;
xpc.WriteInt64(Offset, XRPCExtensions.Temp64);
}
}
}
#13. Posted:
sparks2709
  • Challenger
Status: Offline
Joined: Nov 02, 201113Year Member
Posts: 112
Reputation Power: 4
Status: Offline
Joined: Nov 02, 201113Year Member
Posts: 112
Reputation Power: 4
try removing "Using Xdevkit;" from the form u are trying to open
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.