Post: Set stat all clients
10-20-2016, 09:26 PM #1
-JM-
Space Ninja
(adsbygoogle = window.adsbygoogle || []).push({}); I found that bo1 uses SendServerCommand("N %d value")
to set some stats but I don't think is uses the stat id as I got the stat id for bo1 0x90DD is prestige I been dumping the Sendservercommand and I realy don't get the %d

who ever wants to help I got most of client_t and Playerstate_s and stat id and I got most functions I see one place in client_t where there's the prestige value in a snapshot else the prestige value is in userinfo which I got the SV_getuserinfo and SV_setuserinfo

I got even SendMessagetoclient I mapped the fuck out
if you got an idea I'll help

Skype:Jo-Milk
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked -JM- for this useful post:

RakzMods
10-20-2016, 09:48 PM #2
RakzMods
Bounty hunter
Originally posted by JM
I found that bo1 uses SendServerCommand("N %d value")
to set some stats but I don't think is uses the stat id as I got the stat id for bo1 0x90DD is prestige I been dumping the Sendservercommand and I realy don't get the %d

who ever wants to help I got most of client_t and Playerstate_s and stat id and I got most functions I see one place in client_t where there's the prestige value in a snapshot else the prestige value is in userinfo which I got the SV_getuserinfo and SV_setuserinfo

I got even SendMessagetoclient I mapped the fuck out
if you got an idea I'll help

Skype:Jo-Milk


Would help if I knew what you were talking about. But great find anyways.

The following user thanked RakzMods for this useful post:

LaRip8
10-21-2016, 03:20 PM #3
SC58
Former Staff
    
void SetClientUInt32Stat(int clientNum, const char *statName, uint32_t value)
{
ddlState_t searchState;
DDL_MoveTo(LiveStats_GetRootDDLState(), &searchState, 2, "PlayerStatsList", statName);
SV_SetClientDIntStat(clientNum, &searchState, value);
}

uint32_t GetClientUInt32Stat(int clientNum, const char *statName)
{
ddlState_t searchState;
DDL_MoveTo(LiveStats_GetRootDDLState(), &searchState, 2, "PlayerStatsList", statName);
return SV_GetClientDIntStat(clientNum, &searchState);
}

void SetClientRankAndCodPoints(int clientNum, uint32_t rankXp, uint32_t codPoints)
{
SetClientUInt32Stat(clientNum, "RANKXP", rankXp);
SetClientUInt32Stat(clientNum, "CODPOINTS", codPoints);
}

The following 4 users say thank you to SC58 for this useful post:

-JM-, BullyWiiPlaza, CallMeDex, TheGreenPlanet
10-23-2016, 10:19 PM #4
-JM-
Space Ninja
it works but you need to prestige for it to stick
10-24-2016, 07:28 AM #5
Miyata
Gym leader
I know a friend who got it working somewhat on xbox
its got limits though as hes unable to edit certain things plus he has to leave and have it migrate host to you in order for it to stick
10-25-2016, 12:53 AM #6
-JM-
Space Ninja
Originally posted by Miyata View Post
I know a friend who got it working somewhat on xbox
its got limits though as hes unable to edit certain things plus he has to leave and have it migrate host to you in order for it to stick


was your friend doing negative xp?
or really made the rank change
11-11-2016, 02:09 PM #7
TylerMods
Do a barrel roll!
If you may a tool using this man.. please please please don't make it so people can just derank full lobbies. Enstone messed up that on mw3. Causes me to by policy fix people accounts I mod for free and yea if you are a recovery service guy thn you know

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo