Post: Client p c#
03-05-2016, 07:34 PM #1
xCap10
Keeper
(adsbygoogle = window.adsbygoogle || []).push({}); close !
Last edited by xCap10 ; 05-15-2016 at 05:44 AM. Reason: close
03-05-2016, 11:53 PM #2
Winter
Purple God
Originally posted by xCap10 View Post
I am host but i can't give mod for clients list working only for client0 !


A, Wrong section.
B, What game are you referring to?
C, Who's tool/menu are you using?
03-06-2016, 02:37 AM #3
xCap10
Keeper
black ops1, my new tool C# PS3LIB
03-06-2016, 06:40 AM #4
CyberNomadic
Web Developer
Originally posted by xCap10 View Post
black ops1, my new tool C# PS3LIB


We need to see your code!
03-06-2016, 11:01 AM #5
Winter
Purple God
Originally posted by xCap10 View Post
black ops1, my new tool C# PS3LIB


I'm going to guess you're not multiplying the address you're using.
Normally you do (address + (0x2A38 * clientNum)), that is in the case of it being a playerstate address.
What address are you attempting to use?
03-07-2016, 03:46 AM #6
xCap10
Keeper
return.ps3.Extension.ReadaString(0x139784C+ 0x2A38(* (uint)ClientNum));
In black ops1 i used thais code
what its should like
i got client name but can't mode else client0
03-07-2016, 04:02 AM #7
Winter
Purple God
Originally posted by xCap10 View Post
return.ps3.Extension.ReadaString(0x139784C+ 0x2A38(* (uint)ClientNum));
In black ops1 i used thais code
what its should like
i got client name but can't mode else client0


    
string getClientName(uint clientNum) {
return PS3.Extesion.ReadString(0x139784C + (0x2a38 * ClientNum));
}

//use string name = getClientName(0); with 0 being the clieentNum.


This should work fine

The following user thanked Winter for this useful post:

xCap10
03-07-2016, 05:33 AM #8
xCap10
Keeper
no i changed steal noy working

public string GetNames(int ClientNum)
{
byte[] buffer = new byte[20];
ps3.GetMemory(0x139784C + 0x2A38 * (uint)ClientNum,buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
return ps3.Extension.ReadString(0x139784C + 0x2A38 * (uint)ClientNum);
03-07-2016, 02:42 PM #9
Specter
Pro Memer
Originally posted by xCap10 View Post
no i changed steal noy working

public string GetNames(int ClientNum)
{
byte[] buffer = new byte[20];
ps3.GetMemory(0x139784C + 0x2A38 * (uint)ClientNum,buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
return ps3.Extension.ReadString(0x139784C + 0x2A38 * (uint)ClientNum);


I didn't completely look over the code but why do you have two return statements in your function? You should only have one, unless you have conditional returns, but that doesn't seem to be the case.

The following user thanked Specter for this useful post:

xCap10
03-07-2016, 09:36 PM #10
Winter
Purple God
Originally posted by Specter View Post
I didn't completely look over the code but why do you have two return statements in your function? You should only have one, unless you have conditional returns, but that doesn't seem to be the case.


Specter, if he's unable to use what I gave him with an example then he's not worth helping.

The following user thanked Winter for this useful post:

xCap10

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo