Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public uint ReadUInt(uint address)
- {
- byte[] buff = new byte[4]; //declaring buff as byte, and byte buff = 4 bytes long [4]
- PS3.GetMemory(address, buff);// Ps3.Getmemory(youraddress, buff) which buff = 4 bytes long
- Array.Reverse(buff); // reverses the 4 bytes from array, so
- uint val = BitConverter.ToUInt32(buff, 0); //Converts buff from byte to Uint32
- return val;//val = your output :D
- }
- //entry = 0x104F7320
- //player.data name = entry + 0x1488
- //so PS3.Extension.WriteString(set the 4 grabbed bytes @ (0x104F7320) + 0x1488)
- //PS3.Extension.WriteString(ReadUint(0x104F7320) + 0x1488));
- void ChangeName(string name)
- {
- //or PS3.Extension.WriteString(Ps3.Extension.ReadUint32(playerdata.name), name);
- PS3.Extension.WriteString(ReadUint(0x104F7320) + 0x1488));
- //PS3.Extension.Writestring -->>> (Run ReadUint "Gets Pointer for"(address) + "adds difference" 0x1488));
- }
- private void flowButton5_Click(object sender, EventArgs e)
- {
- ChangeName("Thanks to badluckbrian!");
- //PS3.Extension.Writestring(address, yourstring/text);
- }
- ///THANKS BLB (:D)
- ///Credits: badluckbrian, BaSs_HaXoR, and Lanander23/Outsider
- ///http://i.imgur.com/cP6Xh.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement