Author Message

lambatti

pl
Posts: 31

Location: Poland
Occupation:
Age:
V$:
#1   2013-11-11 14:17          
So..in java pack 2.2.1 is City.java. If I go to 675 line i see this:

How to delete this without crash SLRR?

adnan54

br
Posts: 289

Location: Brazil
Occupation: student
Age: 24
V$:
#2   2013-11-11 16:35          
Try to put a "/*" before of the "if (statusTxt)"
and a */ after of the "}" below the "statusTxt.changeText( txt );"

public void	refreshStatus()
	{
		/* (statusTxt)
		if (player.car)
		{
			String txt;
			if( GameLogic.gameMode == GameLogic.GM_QUICKRACE || GameLogic.gameMode == GameLogic.GM_FREERIDE )
			{
				txt = player.name;
			}
			else
			{
				int	ranking = (GameLogic.CLUBMEMBERS-(GameLogic.findRacer(player)-GameLogic.CLUBMEMBERS*player.club));
				txt = player.name + "  " + player.club + "/" + ranking + "  $" + player.money + " >" + player.getPrestigeString();
			}

			//if (config.majomParade)
			{
				if (player.car && player.car.chassis)
  				txt = txt + " riding a " + player.car.chassis.vehicleName;
			}
			statusTxt.changeText( txt );
		}*/
	}
Something wrong is not right.

lambatti

pl
Posts: 31

Location: Poland
Occupation:
Age:
V$:
#3   2013-11-11 16:44          
!Script error
Thread: THRD-RUNVMI Ljava.game.SplashScreen;.handleEvent
Error: parse error (2)

java.game.OptionsDialog:show (line:233)
java.game.MainMenuDialog:show (line:195)
java.game.MainMenu:enter (line:18)
java.game.GameLogic:changeActiveSection (line:679)
java.game.SplashScreen:osdCommand (line:47)
java.game.SplashScreen:handleEvent (line:35)

:(

@EDIT: WORKING <3

This post was edited by lambatti (2013-11-11 17:00, ago)