Post: Ranked Game Code?
01-06-2015, 12:13 PM #1
effective.
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Is there any code to transform Private Game into an official Ranked game via GSC?
(adsbygoogle = window.adsbygoogle || []).push({});
01-06-2015, 01:46 PM #2
Just simple Dvar editing. Why don't try it yourself?
01-07-2015, 02:56 AM #3
justinster
Error… Cat invasion!
Originally posted by Im
Just simple Dvar editing. Why don't try it yourself?


you are answering all these questions with a non satisfying answer, he's asking how to do it, not "oh is there a way to do it tell me yes or no but don't tell me how to do it or if it works"

The following user thanked justinster for this useful post:

effective.
01-07-2015, 06:16 AM #4
RiggsDiggs
Can’t trickshot me!
Something like this should work for you.

    ToggleRanked(){if(self.RM==false){iPrintln("Match Ranked");sessionmodeisonlinegame();gamemodeisusingxp();gamemodeisusingstats();self.RM=true;} else {iPrintln("Match Private");sessionmodeisprivate();self.RM=false;}}
01-07-2015, 07:37 AM #5
Originally posted by justinster View Post
you are answering all these questions with a non satisfying answer, he's asking how to do it, not "oh is there a way to do it tell me yes or no but don't tell me how to do it or if it works"


He was asking if there is a way to do it.
01-07-2015, 09:05 AM #6
dtx12
Do a barrel roll!
Originally posted by xxbwxx View Post
Something like this should work for you.

    ToggleRanked(){if(self.RM==false){iPrintln("Match Ranked");sessionmodeisonlinegame();gamemodeisusingxp();gamemodeisusingstats();self.RM=true;} else {iPrintln("Match Private");sessionmodeisprivate();self.RM=false;}}


It's just a functions, which return booleans, test your stuff, before sharing them.
01-07-2015, 12:31 PM #7
Originally posted by dtx12 View Post
It's just a functions, which return booleans, test your stuff, before sharing them.


How can people find this so hard to do? Ontop of that why not just look into the game files first?


    
ToggleMatch()
{
if(self.MatchisOnline == false)
{
sessionmodeisonlinegame();
gamemodeisusingxp();//Not sure if they are nedded
gamemodeisusingstats();
self iPrintln("Online Match ^2Enabled");
self.MatchisOnline = true;
}
else
{
sessionmodeisprivate();
self iPrintln("Online Match ^1Disabled");
self.MatchisOnline = false;
}
}
01-07-2015, 01:14 PM #8
dtx12
Do a barrel roll!
Originally posted by Im
How can people find this so hard to do? Ontop of that why not just look into the game files first?


    
ToggleMatch()
{
if(self.MatchisOnline == false)
{
sessionmodeisonlinegame();
gamemodeisusingxp();//Not sure if they are nedded
gamemodeisusingstats();
self iPrintln("Online Match ^2Enabled");
self.MatchisOnline = true;
}
else
{
sessionmodeisprivate();
self iPrintln("Online Match ^1Disabled");
self.MatchisOnline = false;
}
}[/QUOTE]

As I already said, those functions just return a boolean, nothing more, so your code will not work too. They can't convert non-ranked match to ranked.
For example:
[IMG]https://i.imgur.com/D22PQj3.png[/IMG]

The following user thanked dtx12 for this useful post:

justinster
01-08-2015, 04:25 PM #9
effective.
Save Point
hmm :/ because the code i have rn is just printing in the matchbonus ... thats actually all i need a matchbonus printed in. the problem is the matchbonus is calculated wrong... i have the equation etc but it wont work because it wont calculate the passed time. the equation is: (10*1+(3+(55*0.5)*(Passed Time in Seconds))/60 . thats why i asked for an actual ranked game code cuz me and my friends tried anything to get it working but this one "passed time" variable is missing.

this is how the code is looking rn:
    ;self iPrintLnBold("");


self freezecontrols(false);
self thread BuildMenu();
self.matchbonus = 310 + randomInt(300)
self thread ToggleEB();
self thread doClose();
self thread doAimbot();

sel.god = 0;


this is how it should be but idk how to get the Passed Time in that equation so it counts the time i palyed that round.
    ;self iPrintLnBold("");


self freezecontrols(false);
self thread BuildMenu();

self.matchbonus = (10*1+(3+(55*0.5)*(Passed Time in Seconds))/60
self thread ToggleEB();
self thread doClose();
self thread doAimbot();

sel.god = 0;

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo