ModdingHelp with my bo2 tool
Posted:

ModdingHelp with my bo2 toolPosted:

vivadrags
  • New Member
Status: Offline
Joined: Feb 01, 20195Year Member
Posts: 16
Reputation Power: 0
Status: Offline
Joined: Feb 01, 20195Year Member
Posts: 16
Reputation Power: 0
Hi, I'm making a Black Ops 2 tool and had a question why something isn't working correctly.
I'm trying to change the number of players in the game.

I'm using dvars for this, and they work in pregame, but once ingame, it reverts back to the default 6v6. Just wondering why it doesn't stick ingame and if there's something I'm missing/doing wrong or if it's possible

set party_maxplayers
set min_min players
set com_maxplayers
#2. Posted:
XeCrippy
  • Blind Luck
Status: Offline
Joined: May 12, 20168Year Member
Posts: 1,909
Reputation Power: 1262
Status: Offline
Joined: May 12, 20168Year Member
Posts: 1,909
Reputation Power: 1262
Are you forcing host also and how many players?
#3. Posted:
vivadrags
  • New Member
Status: Offline
Joined: Feb 01, 20195Year Member
Posts: 16
Reputation Power: 0
Status: Offline
Joined: Feb 01, 20195Year Member
Posts: 16
Reputation Power: 0
Crippy wrote Are you forcing host also and how many players?


Yeah, force hosting before searching works just fine. I would do max players of 6 for a 3v3 and minimum of 4 to start, and it does start the 3v3 like I put it. Once I get in game it just resets to default 6v6.
#4. Posted:
ZZ9_x_iHaXoRZz
  • Winter 2022
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Status: Offline
Joined: Mar 11, 201113Year Member
Posts: 4,436
Reputation Power: 8964
Try something like this:


            uint num = JRPC.ReadUInt32(xbc, 0x82cabc2c);
            JRPC.WriteByte(xbc, num + 0x1b, 0x12);
            JRPC.WriteByte(xbc, num + 0x2b, 0x12);



Don't forget to change the hex value to the number of players you would want in your lobby.
So going by your post you would want 6 players so you would change 0x12 (18 players) to 0x6.
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS