Post: HELP!!! For coding in c# code script for on\off some options
09-12-2013, 06:28 PM #1
Xx-GIPPI-xX
Modding Passion
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU people yesterday i start with RTE modding with c# codes.

And now i can not go on because i not know the exatly script for program my tool.:(

Anyone help me:?:

This is script of my error!

    private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (checkBox1.Checked)

{
byte[] GOD = new byte[] { 0xFF, 0xFF, };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01780D05, GOD)


i successful for god mode with checkbox, but when cancel the "v" in the box the health no reset to default!!

Please reply at me !!

Thanks to all!!1Smile BIGGER thanks to ANERA for teach me some script code in c#
(adsbygoogle = window.adsbygoogle || []).push({});
09-12-2013, 11:21 PM #2
little_legz
SleepinIsCheatin
You have open Parentheses...

The following user thanked little_legz for this useful post:

Xx-GIPPI-xX
09-13-2013, 06:28 AM #3
Xx-GIPPI-xX
Modding Passion
Originally posted by legz View Post
You have open Parentheses...

Thanks for youe help, but i now another problem. Tonight i try coding my first tool and stop at this point
private void checkBox25_CheckedChanged(object sender, EventArgs e)
    {
if(checkBox25.Checked == true) {SetMemory(0x01780D04, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178650C, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178BD14, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0179151C, new byte[] {0x0f, 0xff});}

else if(checkBox25.Checked == false) {SetMemory(0x01780D04, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0178650C, new byte[] { 0x00, 0x00});}

else if(checkBox25.Checked == false) {SetMemory(0x0178BD14, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0179151C, new byte[] {0x00, 0x00 });}
}

When i go disactivate the function (god mode) work to reset default only for client 0 and not for others clients WHY??
If anyone check my code much appreciated. Thanks in advance.
Post belove my code
    namespace TEST2
{
public partial class Form1 : Form
{
public static uint ProcessID;
public static uint[] processIDs;
public static string snresult;
private static string usage;
public static string Info;
public static PS3TMAPI.ConnectStatus connectStatus;
public static string Status;
public static string MemStatus;
public static void SetMemory(uint Address, byte[] Bytes)
{
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, Address, Bytes);
}
private bool checkBox1_Checked;

public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
PS3TMAPI.InitTargetComms();
PS3TMAPI.Connect(0, null);
PS3TMAPI.GetProcessList(0, out processIDs);
ulong uProcess = processIDs[0];
ProcessID = Convert.ToUInt32(uProcess);
PS3TMAPI.ProcessAttach(0, PS3TMAPI.UnitType.PPU, ProcessID);
PS3TMAPI.ProcessContinue(0, ProcessID);
MessageBox.Show("PS3 and Game Attached Successfully !!");
}

private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if(checkBox1.Checked == true) {SetMemory(0x01780D04, new byte[] {0x0f, 0xff});}

else if(checkBox1.Checked == false) {SetMemory(0x01780D04, new byte[] {0x00, 0x00});}
}

private void checkBox26_CheckedChanged(object sender, EventArgs e)
{
if (checkBox26.Checked == true) { SetMemory(0x01CA6498, new byte[] { 0x3f, 0x80, 0x00, 0x00});}

if (checkBox26.Checked == true) { SetMemory(0x01CA64F8, new byte[] { 0x44, 0x79, 0xc0, 0x00 });}

else if (checkBox26.Checked == false) { SetMemory(0x01CA6498, new byte[] { 0x00, 0x00, 0x00, 0x00 });}

else if (checkBox26.Checked == false) { SetMemory(0x01CA64F8, new byte[] { 0x3f, 0x80, 0x00, 0x00 });}
}

private void button2_Click(object sender, EventArgs e)
{
byte[] HOST = new byte[] { 0x3f, 0x80, 0x00, 0x00 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1CCFF58, HOST);
}

private void button3_Click(object sender, EventArgs e)
{
byte[] HOST = new byte[] { 0x45, 0xfa, 0x00, 0x00 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1CCFF58, HOST);
}

private void checkBox25_CheckedChanged(object sender, EventArgs e)
{
if(checkBox25.Checked == true) {SetMemory(0x01780D04, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178650C, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178BD14, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0179151C, new byte[] {0x0f, 0xff});}

else if(checkBox25.Checked == false) {SetMemory(0x01780D04, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0178650C, new byte[] { 0x00, 0x00});}

else if(checkBox25.Checked == false) {SetMemory(0x0178BD14, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0179151C, new byte[] {0x00, 0x00 });}
}

private void checkBox14_CheckedChanged(object sender, EventArgs e)
{
if (checkBox14.Checked == true) { SetMemory(0x0178650C, new byte[] { 0x0f, 0xff }); }

else if (checkBox14.Checked == false) { SetMemory(0x0178650C, new byte[] { 0x00, 0x00 }); }
}

private void checkBox7_CheckedChanged(object sender, EventArgs e)
{
if (checkBox7.Checked == true) { SetMemory(0x0178BD14, new byte[] { 0x0f, 0xff }); }

else if (checkBox7.Checked == false) { SetMemory(0x0178BD14, new byte[] { 0x00, 0x00 }); }
}

private void checkBox21_CheckedChanged(object sender, EventArgs e)
{
if (checkBox21.Checked == true) { SetMemory(0x0179151C, new byte[] { 0x0f, 0xff }); }

else if (checkBox21.Checked == false) { SetMemory(0x0179151C, new byte[] { 0x00, 0x00 }); }
}

private void checkBox27_CheckedChanged(object sender, EventArgs e)
{
if (checkBox27.Checked == true) { SetMemory(0x01780E01, new byte[] { 0x0f }); }

if (checkBox27.Checked == true) { SetMemory(0x01786609, new byte[] { 0x0f }); }

if (checkBox27.Checked == true) { SetMemory(0x0178BE11, new byte[] { 0x0f }); }

if (checkBox27.Checked == true) { SetMemory(0x01791619, new byte[] { 0x0f }); }

else if (checkBox25.Checked == false) { SetMemory(0x01780E01, new byte[] { 0x00 }); }

else if (checkBox25.Checked == false) { SetMemory(0x01786609, new byte[] { 0x00 }); }

else if (checkBox25.Checked == false) { SetMemory(0x0178BE11, new byte[] { 0x00 }); }

else if (checkBox25.Checked == false) { SetMemory(0x01791619, new byte[] { 0x00 }); }
}

private void checkBox28_CheckedChanged(object sender, EventArgs e)
{
if (checkBox28.Checked == true) { SetMemory(0x01C9E3F8, new byte[] { 0x00, 0x00, 0x01, 0x90 }); }

else if (checkBox28.Checked == false) { SetMemory(0x01C9E3F8, new byte[] { 0x00, 0x00, 0x00, 0xbe }); }
}
}


}


Some offset is wrong(example forceHost) i don't know that!!!
09-13-2013, 08:31 AM #4
Originally posted by xX View Post
Thanks for youe help, but i now another problem. Tonight i try coding my first tool and stop at this point
private void checkBox25_CheckedChanged(object sender, EventArgs e)
    {
if(checkBox25.Checked == true) {SetMemory(0x01780D04, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178650C, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178BD14, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0179151C, new byte[] {0x0f, 0xff});}

else if(checkBox25.Checked == false) {SetMemory(0x01780D04, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0178650C, new byte[] { 0x00, 0x00});}

else if(checkBox25.Checked == false) {SetMemory(0x0178BD14, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0179151C, new byte[] {0x00, 0x00 });}
}

When i go disactivate the function (god mode) work to reset default only for client 0 and not for others clients WHY??
If anyone check my code much appreciated. Thanks in advance.
Post belove my code
    namespace TEST2
{
public partial class Form1 : Form
{
public static uint ProcessID;
public static uint[] processIDs;
public static string snresult;
private static string usage;
public static string Info;
public static PS3TMAPI.ConnectStatus connectStatus;
public static string Status;
public static string MemStatus;
public static void SetMemory(uint Address, byte[] Bytes)
{
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, Address, Bytes);
}
private bool checkBox1_Checked;

public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
PS3TMAPI.InitTargetComms();
PS3TMAPI.Connect(0, null);
PS3TMAPI.GetProcessList(0, out processIDs);
ulong uProcess = processIDs[0];
ProcessID = Convert.ToUInt32(uProcess);
PS3TMAPI.ProcessAttach(0, PS3TMAPI.UnitType.PPU, ProcessID);
PS3TMAPI.ProcessContinue(0, ProcessID);
MessageBox.Show("PS3 and Game Attached Successfully !!");
}

private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if(checkBox1.Checked == true) {SetMemory(0x01780D04, new byte[] {0x0f, 0xff});}

else if(checkBox1.Checked == false) {SetMemory(0x01780D04, new byte[] {0x00, 0x00});}
}

private void checkBox26_CheckedChanged(object sender, EventArgs e)
{
if (checkBox26.Checked == true) { SetMemory(0x01CA6498, new byte[] { 0x3f, 0x80, 0x00, 0x00});}

if (checkBox26.Checked == true) { SetMemory(0x01CA64F8, new byte[] { 0x44, 0x79, 0xc0, 0x00 });}

else if (checkBox26.Checked == false) { SetMemory(0x01CA6498, new byte[] { 0x00, 0x00, 0x00, 0x00 });}

else if (checkBox26.Checked == false) { SetMemory(0x01CA64F8, new byte[] { 0x3f, 0x80, 0x00, 0x00 });}
}

private void button2_Click(object sender, EventArgs e)
{
byte[] HOST = new byte[] { 0x3f, 0x80, 0x00, 0x00 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1CCFF58, HOST);
}

private void button3_Click(object sender, EventArgs e)
{
byte[] HOST = new byte[] { 0x45, 0xfa, 0x00, 0x00 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1CCFF58, HOST);
}

private void checkBox25_CheckedChanged(object sender, EventArgs e)
{
if(checkBox25.Checked == true) {SetMemory(0x01780D04, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178650C, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0178BD14, new byte[] {0x0f, 0xff});}

if(checkBox25.Checked == true) {SetMemory(0x0179151C, new byte[] {0x0f, 0xff});}

else if(checkBox25.Checked == false) {SetMemory(0x01780D04, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0178650C, new byte[] { 0x00, 0x00});}

else if(checkBox25.Checked == false) {SetMemory(0x0178BD14, new byte[] { 0x00, 0x00 });}

else if(checkBox25.Checked == false) {SetMemory(0x0179151C, new byte[] {0x00, 0x00 });}
}

private void checkBox14_CheckedChanged(object sender, EventArgs e)
{
if (checkBox14.Checked == true) { SetMemory(0x0178650C, new byte[] { 0x0f, 0xff }); }

else if (checkBox14.Checked == false) { SetMemory(0x0178650C, new byte[] { 0x00, 0x00 }); }
}

private void checkBox7_CheckedChanged(object sender, EventArgs e)
{
if (checkBox7.Checked == true) { SetMemory(0x0178BD14, new byte[] { 0x0f, 0xff }); }

else if (checkBox7.Checked == false) { SetMemory(0x0178BD14, new byte[] { 0x00, 0x00 }); }
}

private void checkBox21_CheckedChanged(object sender, EventArgs e)
{
if (checkBox21.Checked == true) { SetMemory(0x0179151C, new byte[] { 0x0f, 0xff }); }

else if (checkBox21.Checked == false) { SetMemory(0x0179151C, new byte[] { 0x00, 0x00 }); }
}

private void checkBox27_CheckedChanged(object sender, EventArgs e)
{
if (checkBox27.Checked == true) { SetMemory(0x01780E01, new byte[] { 0x0f }); }

if (checkBox27.Checked == true) { SetMemory(0x01786609, new byte[] { 0x0f }); }

if (checkBox27.Checked == true) { SetMemory(0x0178BE11, new byte[] { 0x0f }); }

if (checkBox27.Checked == true) { SetMemory(0x01791619, new byte[] { 0x0f }); }

else if (checkBox25.Checked == false) { SetMemory(0x01780E01, new byte[] { 0x00 }); }

else if (checkBox25.Checked == false) { SetMemory(0x01786609, new byte[] { 0x00 }); }

else if (checkBox25.Checked == false) { SetMemory(0x0178BE11, new byte[] { 0x00 }); }

else if (checkBox25.Checked == false) { SetMemory(0x01791619, new byte[] { 0x00 }); }
}

private void checkBox28_CheckedChanged(object sender, EventArgs e)
{
if (checkBox28.Checked == true) { SetMemory(0x01C9E3F8, new byte[] { 0x00, 0x00, 0x01, 0x90 }); }

else if (checkBox28.Checked == false) { SetMemory(0x01C9E3F8, new byte[] { 0x00, 0x00, 0x00, 0xbe }); }
}
}


}


Some offset is wrong(example forceHost) i don't know that!!!






bro u need have button montitoring
09-13-2013, 08:38 AM #5
Xx-GIPPI-xX
Modding Passion
Originally posted by xX View Post
bro u need have button montitoring


Whats??? You explaine me the code script?? Please!
09-13-2013, 08:51 AM #6
Originally posted by xX View Post
Whats??? You explaine me the code script?? Please!



Cheack out this bro

You must login or register to view this content.
09-14-2013, 12:26 PM #7
Der-Preddy
Save Point
Change if (checkbox.checked) to checkbox.unchecked

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo