VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

Fixes-GameCrashes-o...
 
Notifications
Clear all

[Sticky] Fixes-GameCrashes-other help

1,960 Posts
313 Users
0 Reactions
1.4 M Views
IceD
 IceD
(@iced_245)
Noble Member
Joined: 16 years ago
Posts: 1080
 

You need to do a new vt.java to compile in in vt.class or modify it if the sources are included. if i remember right
this should be the line to modify in vt java. vmd.prevalence = 100.0;



   
ReplyQuote
Pedro_Takumi
(@pedro_takumi_1471)
Trusted Member
Joined: 15 years ago
Posts: 50
 

that's what i thought, i need to do a new java since the original ones are not included, the car only has class files
thanks for the help 😃



   
ReplyQuote
Back_in_Black
(@back_in_black_896)
Honorable Member
Joined: 15 years ago
Posts: 524
 

I have a Problem, i installed SLRR today, buyed me a car and wanted to buy suspensions..
But there are just the rear right and rear left suspensions.. (from the adjustable one's)
i don't find the front left and front right ones.. anyone know why?.. :/



   
ReplyQuote
Pedro_Takumi
(@pedro_takumi_1471)
Trusted Member
Joined: 15 years ago
Posts: 50
 

just a question out of curiosity, did someone managed to fix the shadows on 230LE so it doesn't crash with high poly car's like diego did with stage 1??

Added 2 minutes later:

i added adjustable offset to the old "JDM pack 2.0" available on gom, if moderators allow and anyone needs please tell me i will upload it



   
ReplyQuote
Mario
(@mario_582)
Member Moderator
Joined: 16 years ago
Posts: 641
Topic starter  

PM Diego what files you need and check if they work with 230

Back_in_Black try GSM or Mrsir suspension



   
ReplyQuote
Pedro_Takumi
(@pedro_takumi_1471)
Trusted Member
Joined: 15 years ago
Posts: 50
 

# Mario :
PM Diego what files you need and check if they work with 230

Back_in_Black try GSM or Mrsir suspension

thanks Mr Mario

i haven't had any answer so far, still trying to see what needs to be done to fix it

Added 1 hour later:

how do i track down this error in the res_ban of 230 LE ??

objects.rpk 0x000001c6



   
ReplyQuote
Mario
(@mario_582)
Member Moderator
Joined: 16 years ago
Posts: 641
Topic starter  

Can be everything - city object/nativeobject, but why res_ban. Whats says the error.log



   
ReplyQuote
JAG
 JAG
(@jag_74)
Trusted Member
Joined: 17 years ago
Posts: 77
 

One source of res_ban is a car's main.cfgs. Believe it or not, but if the stockparts list in the main.cfg and the stockparts list in the java for any of a car's model are different, it shows up in the res_ban.

For example:
Let's say you modify the stockparts list in the Baiern_Coupesport.java (class) so it comes with GTIII parts, but don't change the stockparts list in the main_Coupesort.cfg. The Baiern will now appear in the res_ban.

I discovered this while working on my Zed. Once I made the stockparts lists in each model's main.cfg and java match, the car stopped appearing in the res_ban.



   
ReplyQuote
Mario
(@mario_582)
Member Moderator
Joined: 16 years ago
Posts: 641
Topic starter  

Good to know

Added 5 hours 55 minutes later:

to Daniel
you need this line

	catalog_view_ypr = new Ypr( [color=#4E9A06]0.00[/color], [color=#204A87]0.00[/color], 0.00 );


rotate left n right
rotate up n down

To rotate the rim in the catalog you need to paste this line in the java

package java.game.cars;

import java.render.osd.;
import java.io.
;
import java.util.;
import java.util.resource.
;
import java.game.;
import java.game.parts.rgearpart.reciprocatingrgearpart.
;

public class advan extends Wheel
{
float f_offset, default_offset, old_offset, diameter, width;

public advan ( int id )
{
	name = "ADVAN RGII 19in";

	rim_type = rtFACTORY;
	diameter = 19.0;
	width = 11.0;
	default_offset = 0.0;
	f_offset = default_offset;
	SetupWheel( diameter, width, default_offset);
	
	description = "Variable offset";

	[color=#4E9A06]catalog_view_ypr = new Ypr( 0.00, 0.00, 0.00 );[/color]
}


public void load( File saveGame )
{
	super.load( saveGame );

	int	save_ver = saveGame.readInt();

	if (save_ver >= 1)
	{
		f_offset = saveGame.readFloat();
		setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );
	}
}

}



   
ReplyQuote
Pedro_Takumi
(@pedro_takumi_1471)
Trusted Member
Joined: 15 years ago
Posts: 50
 

# Mario :
Can be everything - city object/nativeobject, but why res_ban. Whats says the error.log

hello again, thanks to all for helping out but i can still see whats wrong, i think its shadows, but i haven't been able to fix it. about res_ban, for no special reason , just because the game crashes without any error log.
i only have one car installed, high poly Celica for testing purposes



   
ReplyQuote
Mario
(@mario_582)
Member Moderator
Joined: 16 years ago
Posts: 641
Topic starter  

The game crash only on city or ?



   
ReplyQuote
Pedro_Takumi
(@pedro_takumi_1471)
Trusted Member
Joined: 15 years ago
Posts: 50
 

Has requested by users i uploaded the JDMPACK 2.0 with new java for adjustable offset

i request to moderators to see if everything is ok and in compliance with the forum regulations

http://www.mediafire.com/?ajd2rjezxxer26k

Added 1 minute later:

only on city, roc works perfectly so everything else, im guessing shadows but i could not fix it with some of Diegos files, im certainty doing something wrong

Added 4 minutes later:

😃 230LE is giving this challenge, my 221 mwm diego works fine, i just use it to pre test mods for errors than i convert them manually or via borat but i only have that celica to test the 230Le for erros



   
ReplyQuote
Mario
(@mario_582)
Member Moderator
Joined: 16 years ago
Posts: 641
Topic starter  

Good work with the offset🙂

Here properly working offset java if need
now the specs does not change after car repair


package java.game.cars;

import java.render.osd.;
import java.io.
;
import java.util.;
import java.util.resource.
;
import java.game.;
import java.game.parts.rgearpart.reciprocatingrgearpart.
;

public class NAME extends Wheel
{
float f_offset, default_offset, old_offset, diameter, width;

public NAME( int id )
{
	name = "NAME";

	rim_type = rtFACTORY;
	diameter = 19.0;
	width = 11.0;
	default_offset = 0.0;
	f_offset = default_offset;
	SetupWheel( diameter, width, default_offset);
	
	description = "Variable offset";
}

public void load( File saveGame )
{
	super.load( saveGame );

	int	save_ver = saveGame.readInt();

	if (save_ver >= 1)
	{
		f_offset = saveGame.readFloat();
		setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );
	}
}

public void save( File saveGame )
{
	super.save( saveGame );

	int	save_ver = 2;

	saveGame.write( save_ver );
	if (save_ver >= 1)
	{
		saveGame.write( f_offset );
	}
}

public int isTuneable()
{
	return true;
}

public void buildTuningMenu( Menu m )
{
	old_offset = f_offset;

	m.addItem( "Offset", 1, f_offset, -105.0, 65.0, 1.1, null ).printValue("   %1.1f");
	
	m.addItem( "Reset to factory defaults",			0);	//this should always be with cmd=0
	
	GameLogic.player.car.wakeUp();
}

public void endTuningSession( int cancelled )
{
	if( cancelled )
	{
		f_offset = old_offset;
	}
	else
	{
		if (f_offset != old_offset)
			GameLogic.spendTime(5*60);
		getCar_LocalVersion();
		if (the_car)
			the_car.forceUpdate();
	}
}

public void handleMessage( Event m )
{
	if( m.cmd == 0 )
	{
		f_offset = default_offset;
		m.gadget.osd.findGadget( this, 1 ).setValue( default_offset );
		setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );
	}
	else
	if( m.cmd == 1 )
	{
		f_offset = ((Slider)m.gadget).value;
		((Slider)m.gadget).changeVLabelText( Float.toString(f_offset, "   %1.1f"));
		setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );
	}	
}

public void updatevariables()
{
	super.updatevariables();
	setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );	
}	

}



   
ReplyQuote
Franco
(@franco_4)
Member Admin
Joined: 17 years ago
Posts: 774
 

awesome, i'll give it a try



   
ReplyQuote
Pedro_Takumi
(@pedro_takumi_1471)
Trusted Member
Joined: 15 years ago
Posts: 50
 

nice, gonna test it too 🙂

Added 33 minutes later:

about 230LE its the shadows all right, i dont have a clue how to fix it, i cant even convert the objects rpk to rbd, its gives errors, what a shame 🙁



   
ReplyQuote
Page 3 / 131
Share: