Post: [ C# ] FPS / Set Any Level scripts [ 1.9 ]
02-27-2015, 04:30 AM #1
BISOON
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({});
Hi NGU


I hope all of u are doing well


in this thread i'll share my FPS / Set Any Level scripts to help friendly noobs and i hope that's will be useful Smile



FPS



    
public class FPS
{
public static uint FPS_Enable = 0x4AFF73, //Enable with 0x01
FPS_Size = 0x4AFECC,
FPS_X = 0x4AFED0,
FPS_Y = 0x4AFED4,
FPS_Text = 0x7Ad4f4;
}


//Enable / Disable
public static void FPS(bool True)
{
if (tru)
{
PS3.SetMemory(FPS.FPS_Enable, new byte[] { 0x01 });
}
else
{
PS3.SetMemory(FPS.FPS_Enable, new byte[] { 0x00 });
}


// custom
public static void SetFPS(string txt , float X, float Y)
{
PS3.Extension.WriteString(FPS.FPS_Text, txt);
PS3.Extension.WriteFloat(FPS.FPS_X, X);
PS3.Extension.WriteFloat(FPS.FPS_Y, Y);
}



EX :
    
FPS(true); /* On */
//Or
FPS(false); /* Off */

SetFPS("BISOON", 90,100)





Set Any Level :

    

uint XP_Offset = 0x29f6611; // 1.9

public static void SetLevel(int newLevel)
{
int[] xp = { 800, 2000, 3300, 5300, 7900, 11000, 14900, 19300, 24300, 30100, 36700, 44100, 52300,61300,71100, 81700, 93100, 105300,118300 , 132100, 146700,162100, 178300, 195300, 213100, 231700, 251100, 271300, 292300, 314100,
337100, 361300, 386700, 413300,441100, 470100, 500300, 531700, 564300,
598100, 633100, 669300, 706700, 745300, 785100, 826100, 868300, 911700,
958300, 1002100 };

byte[] newXp = BitConverter.GetBytes(Convert.ToInt32(xp[newLevel - 2]));
PS3.Extension.WriteBytes(XP_Offset , newXp);

}



EX :
    
SetLevel((int)numericUpDown1.Value);
or
SetLevel(50);




credits : swaqq -- Offset Smile
Last edited by BISOON ; 02-27-2015 at 03:32 PM.

The following 5 users say thank you to BISOON for this useful post:

Antonio96C, Full-Evil, Hunter926, mariokilla23, Xx-GIPPI-xX
03-19-2015, 02:58 AM #11
Thanks thats awesome man!!!1!!!! !1!!!! Gaspseb5594

The following user thanked Sheldon Cooper for this useful post:

BISOON

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo