ItsMods

Full Version: xp value problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'd recommend to put the original code from _rank.gsc.
Could someone test it in the repzclient ? im not at home and i dont have a laptop here.
if i use the original code will the xp be like online? Yellow and right values?
(08-16-2014, 11:35)Yamato Wrote: [ -> ]
(08-16-2014, 09:44)rvyASVP Wrote: [ -> ]Here u go

BTW i have to say that it is a private match mod so the xp look like online ^^

I couldnt find anything, there are many files, try removing this part of _rank.gsc and see if the problem dissapears.

Code:
        if ( getDvar( "g_gametype" ) == "sd" ) {

            if (self.PubXP == 0) {
                registerScoreInfo( "kill", 500 ); // private match
                registerScoreInfo( "headshot", 0 );
            } else {
                registerScoreInfo( "kill", 500 ); // public match
                registerScoreInfo( "headshot", 1000 );
            }
            
        } else {
            registerScoreInfo( "kill", 100 );
            registerScoreInfo( "headshot", 50 );
            registerScoreInfo( "assist", 20 );
            registerScoreInfo( "suicide", 0 );
            registerScoreInfo( "teamkill", 0 );
        }

if i delete this i get 50 as ep not 500 or even 1000 or 1050

i think its not that problem but idk what else

EDIT: In the following rounds i didnt even get xp nothing poped up when i killed someone
(08-16-2014, 21:30)rvyASVP Wrote: [ -> ]
(08-16-2014, 11:35)Yamato Wrote: [ -> ]
(08-16-2014, 09:44)rvyASVP Wrote: [ -> ]Here u go

BTW i have to say that it is a private match mod so the xp look like online ^^

I couldnt find anything, there are many files, try removing this part of _rank.gsc and see if the problem dissapears.

Code:
        if ( getDvar( "g_gametype" ) == "sd" ) {

            if (self.PubXP == 0) {
                registerScoreInfo( "kill", 500 ); // private match
                registerScoreInfo( "headshot", 0 );
            } else {
                registerScoreInfo( "kill", 500 ); // public match
                registerScoreInfo( "headshot", 1000 );
            }
            
        } else {
            registerScoreInfo( "kill", 100 );
            registerScoreInfo( "headshot", 50 );
            registerScoreInfo( "assist", 20 );
            registerScoreInfo( "suicide", 0 );
            registerScoreInfo( "teamkill", 0 );
        }

if i delete this i get 50 as ep not 500 or even 1000 or 1050

i think its not that problem but idk what else

EDIT: In the following rounds i didnt even get xp nothing poped up when i killed someone

Well, leave just this in that area of _rank.gsc

Code:
registerScoreInfo( "kill", 100 );
            registerScoreInfo( "headshot", 50 );
            registerScoreInfo( "assist", 20 );
            registerScoreInfo( "suicide", 0 );
            registerScoreInfo( "teamkill", 0 );
Pages: 1 2