Post: C# Client list help

09-06-2015, 08:55 PM #1
WiseMonkey
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); Yo whatsup i was working on a tool for bo2 and i got my client list setup and im wondering how to enable a function with on and off in the context menu strip.

i'm new to making tools and was curious how to enable and disable a mod in the client list i used a tutorial on how to make it.

This may be incorrect but for godmode i have:

byte[] godmode = new byte[] { 0xFF, 0xFF };
PS3.SetMemory((0xE03CAA + (uint)dataGridView1.CurrentRow.Index * 0x3700), godmode);

How would i be able to enable and disable it with the on and off buttons in the context menu strip?

Would i use a if or true and false statement? I'm new to programming and i'm willing to learn. I thought bo2 would be a good way to learn some basics.

Heres my menu strip setup: You must login or register to view this content.

Any advise is useful
(adsbygoogle = window.adsbygoogle || []).push({});
1 thanks
LovleyPurpz
09-06-2015, 09:12 PM #2
CrEaTiiOn_LiMiT
Do a barrel roll!
God mode on :

int client = dataGridView1.CurrentRow.Index; //the client
PS3.SetMemory(OFFSET YOU WANT GOES HERE + Client interval * (uint)client, new byte[] { 0xFF }); //godmode


Godmode off:


int client = dataGridView1.CurrentRow.Index; //the client
PS3.SetMemory(OFFSET YOU WANT GOES HERE + Client interval * (uint)client, new byte[] { 0x00 }); //godmode off
1 thanks
WiseMonkey
09-07-2015, 02:26 AM #3
WiseMonkey
Little One
Originally posted by LiMiT View Post
God mode on :

int client = dataGridView1.CurrentRow.Index; //the client
PS3.SetMemory(OFFSET YOU WANT GOES HERE + Client interval * (uint)client, new byte[] { 0xFF }); //godmode


Godmode off:


int client = dataGridView1.CurrentRow.Index; //the client
PS3.SetMemory(OFFSET YOU WANT GOES HERE + Client interval * (uint)client, new byte[] { 0x00 }); //godmode off


Thanks bro im just learning the basics im not really familiar well with C# yet :p
1 thanks
LovleyPurpz
09-07-2015, 02:44 AM #4
jwm614
NextGenUpdate Elite
Originally posted by WiseMonkey View Post
Yo whatsup i was working on a tool for bo2 and i got my client list setup and im wondering how to enable a function with on and off in the context menu strip.

i'm new to making tools and was curious how to enable and disable a mod in the client list i used a tutorial on how to make it.

This may be incorrect but for godmode i have:

byte[] godmode = new byte[] { 0xFF, 0xFF };
PS3.SetMemory((0xE03CAA + (uint)dataGridView1.CurrentRow.Index * 0x3700), godmode);

How would i be able to enable and disable it with the on and off buttons in the context menu strip?

Would i use a if or true and false statement? I'm new to programming and i'm willing to learn. I thought bo2 would be a good way to learn some basics.

Heres my menu strip setup: You must login or register to view this content.

Any advise is useful


You must login or register to view this content.
1 thanks
WiseMonkey
09-07-2015, 12:57 PM #5
Adrian
Adrian is back!
Originally posted by WiseMonkey View Post
Thanks bro im just learning the basics im not really familiar well with C# yet :p


Question has been answered.

-Thread Closed.
1 thanks
WiseMonkey

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo