Post: i need help with ip grabber
02-29-2016, 11:00 AM #1
Jtv
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); i have my codes and offsets set idk how to code it is what im using

for (int i = 0; i < 0x18; i++)
{
byte[] buffer = new byte[0x269180c];
PS3.GetMemory(Variables.GrabIp, buffer);
string str = Methods.ByteArrayToString(buffer);
if (!listBox1.Items.Contains(str))
listBox1.Items.Add(str);
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Jtv for this useful post:

CallMeDex
02-29-2016, 01:26 PM #2
XxBlud23xX
< ^ > < ^ >
Originally posted by Jvance33 View Post
i have my codes and offsets set idk how to code it is what im using

for (int i = 0; i < 0x18; i++)
{
byte[] buffer = new byte[0x269180c];
PS3.GetMemory(Variables.GrabIp, buffer);
string str = Methods.ByteArrayToString(buffer);
if (!listBox1.Items.Contains(str))
listBox1.Items.Add(str);
}


:/ the code provides the controls necessary to accomplish this task, you need a list box and a control to set this.
02-29-2016, 01:34 PM #3
Jtv
Bounty hunter
Originally posted by DEXBLUD23 View Post
:/ the code provides the controls necessary to accomplish this task, you need a list box and a control to set this.

alright i got that stuff but it wont put ips
02-29-2016, 03:04 PM #4
XxBlud23xX
< ^ > < ^ >
Originally posted by Jvance33 View Post
i have my codes and offsets set idk how to code it is what im using

for (int i = 0; i < 0x18; i++)
{
byte[] buffer = new byte[0x269180c];
PS3.GetMemory(Variables.GrabIp, buffer);
string str = Methods.ByteArrayToString(buffer);
if (!listBox1.Items.Contains(str))
listBox1.Items.Add(str);
}


Now that I look at it why are you setting the memory address as byte ? I'm at school now so I can't test this or look at my own function. If you go to my bo2 tool thread you can download my v1 source and it has a ip grabber in it.
02-29-2016, 06:51 PM #5
B777x
Hurah!
Originally posted by Jvance33 View Post
i have my codes and offsets set idk how to code it is what im using

for (int i = 0; i < 0x18; i++)
{
byte[] buffer = new byte[0x269180c];
PS3.GetMemory(Variables.GrabIp, buffer);
string str = Methods.ByteArrayToString(buffer);
if (!listBox1.Items.Contains(str))
listBox1.Items.Add(str);
}


this is the correct code
    byte[] buffer = new byte[0x10];
PS3.GetMemory(0x269180C, buffer);
string ipaddress = Encoding.ASCII.GetString(buffer);
if (!listBox1.Items.Contains(ipaddress))
listBox1.Items.Add(ipaddress);
02-29-2016, 07:06 PM #6
Jtv
Bounty hunter
Originally posted by B777x View Post
this is the correct code
    byte[] buffer = new byte[0x10];
PS3.GetMemory(0x269180C, buffer);
string ipaddress = Encoding.ASCII.GetString(buffer);
if (!listBox1.Items.Contains(ipaddress))
listBox1.Items.Add(ipaddress);



will this work b777x
02-29-2016, 07:30 PM #7
Jtv
Bounty hunter
alright do i put it the button to get ips Correct
02-29-2016, 09:43 PM #8
B777x
Hurah!
Originally posted by Jvance33 View Post
alright do i put it the button to get ips Correct


you should use it in timer because that code gets only one ip address
03-01-2016, 12:07 AM #9
Jtv
Bounty hunter
Originally posted by B777x View Post
you should use it in timer because that code gets only one ip address


so I should put in da the timer Instead of button to grap
03-01-2016, 12:17 AM #10
Jtv
Bounty hunter
Originally posted by B777x View Post
you should use it in timer because that code gets only one ip address


but how would I get ips then if it put it in da timer

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo