Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
xp value problems
#11
I'd recommend to put the original code from _rank.gsc.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#12
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?
Reply

#13
(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
Reply

#14
(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 );
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.