Forum
Questions, builds, help and the odd argument. The mods and guides are out front.
im making a drag rim and tyre pack and is giving me some problems on tyres
it gives me an error like:
Syntax error: 15x19_1 at line 7
File name 15x19_1.java
Folder name BB93_Drag
pre
i highlighted the line 7 in orange, ive not found any error, so if someone can enlighten me on what the hell is happening would be great 🙂
setRenderType(render_types[21]);
SetupTyre(485.0, 40.0, 15.0, rim.rim_width, tcDRAGRADIAL);
super.updatevariables();
change it to 24 or 26 as in your default render type
not sure if that the reason for the error
ok, i'll try asap and let you know, many thanks 🙂
Added 53 minutes later:
Edited as you said, still wont work
ERROR: !syntax error in file parts\zBB93_Drag\scripts\src\15x19_1.java at line 7
pre
Added 7 minutes later:
is weird, because i tried using a normal tyre java and it still gives me that error, as if the game didnt like the name or something
come in skype
Any help with this??
--
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.block.block_inline.Block_Inline_OHC at partsscriptsenginepartblockblock_inline)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.block.Block_Inline at partsscriptsenginepartblock)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.Crankshaft at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.ReciprocatingEnginePart at partsscriptsenginepartslidingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.Flywheel at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.Clutch at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.Transmission at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.ConnectingRod at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.Piston at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.cylinderhead.DOHC_CylinderHead at partsscriptsenginepartslidingenginepartreciprocatingenginepartcylinderhead)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.CylinderHead at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.camshaft.DOHC_Camshaft at partsscriptsenginepartslidingenginepartreciprocatingenginepartcamshaft)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.slidingenginepart.reciprocatingenginepart.Camshaft at partsscriptsenginepartslidingenginepartreciprocatingenginepart)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.airfueldeliverysystem.IntakeManifold at partsscriptsenginepartairfueldeliverysystem)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.airfueldeliverysystem.FuelInjectorSystem at partsscriptsenginepartairfueldeliverysystem)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.airfueldeliverysystem.charger.TurboCharger at partsscriptsenginepartairfueldeliverysystemcharger)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.airfueldeliverysystem.Charger at partsscriptsenginepartairfueldeliverysystem)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.block.block_vee.Block_Vee_OHC at partsscriptsenginepartblockblock_vee)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.block.Block_Vee at partsscriptsenginepartblock)
!Package conflict: multiple packages placed at the same location (java.game.parts.enginepart.airfueldeliverysystem.AirFilter at partsscriptsenginepartairfueldeliverysystem)
!Script error
Thread: THRD-RUNVMI Dummy.handleEvent
Error: Thread::evalName: null.methodcall()
java.game.parts.Part:load (line:149)
java.game.parts.bodypart.Chassis:load (line:254)
java.game.parts.Part:createFromFile (line:117)
java.game.Vehicle:load (line:480)
java.game.MainMenuDialog:osdCommand (line:832)
java.render.osd.Gadget:sendMessage (line:211)
java.render.osd.Button:click (line:31)
java.render.Group:handleEvent (line:178)
!Package conflict: multiple packages placed at the same location ( at carsracersBmw_540i_datascripts)
!Script error
Thread: THRD-RUNVMI Dummy.handleEvent
Error: Thread::evalName: null.methodcall()
java.game.InventoryItem_Part:<init> (line:29)
java.game.Inventory:addItem (line:72)
java.game.Inventory:load (line:274)
java.game.GameLogic:load (line:977)
java.game.MainMenuDialog:osdCommand (line:959)
java.render.osd.Gadget:sendMessage (line:211)
java.render.osd.Button:click (line:31)
java.render.Group:handleEvent (line:178)
!Script error
Thread: THRD-RUNVMI Dummy.handleEvent
Error: script error
java.game.Garage:osdCommand (line:1209)
java.render.osd.Gadget:sendMessage (line:211)
java.render.osd.Button:click (line:31)
java.render.Group:handleEvent (line:178)
remove what you added. 90% the mod has problems or it is not copatible with your game version. However i think it is impossible to fix that
my peanut brain couldn't solve this problem.. so I'll let your massive brains to solve this. 😃
!JVM::compileSource: recompilation needed of "parts\engines\Baiern_Emer\scripts\src\Baiern_Kraftwerk_clutch.java" but source not exists
!JVM::compileSource: file not found: "parts\engines\Baiern_Emer\scripts\src\Baiern_Kraftwerk_clutch.java"
!JavaMachine::loadClass: failed to load parts\engines\Baiern_Emer\scripts\Baiern_Kraftwerk_clutch.class
!Script error
Thread: THRD-RUNVMI Dummy.handleEvent
Error: Thread::run: [illegal methodcall] null.currentPrice() type:Ljava.game.parts.Part;
java.game.InventoryItem_Part:getPrice (line:92)
java.game.InventoryItem_Folder:getPrice (line:59)
java.game.CatalogInventory:update (line:1922)
java.game.Catalog:collectObjectsStep (line:342)
java.game.Catalog:collectObjectsEnd (line:247)
java.game.Catalog:osdCommand (line:1761)
java.render.osd.Gadget:sendMessage (line:211)
java.render.osd.Button:click (line:31)
java.render.Group:handleEvent (line:178)
I have NO IDEA what happend for those java files! but just tell me what could I do for those 'small' problems. π
Thanks,
John
get a fresh version and put the whole folder back in your current game
Okay, thank you Jesus! π
Need help, can you guys tell me what to do?
!Package conflict: multiple packages placed at the same location ( at parts\Wheels_Pack_20\scripts)
!Class not found: java.game.parts.rgearpart.reciprocatingrgearpart.brake.DiscBrake2 in file "java.game.Catalog" at line 297
!JVM::getClass: class "java.game.parts.rgearpart.reciprocatingrgearpart.brake.DiscBrake2" not found in file "java.game.Catalog" at line 297
!Class not found: java.game.parts.rgearpart.reciprocatingrgearpart.brake.DiscBrake2 in file "java.game.Catalog" at line 297
!JVM::getClass: class "java.game.parts.rgearpart.reciprocatingrgearpart.brake.DiscBrake2" not found in file "java.game.Catalog" at line 297
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_22_18 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_23_17 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_24_16 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_25_19 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_26_18 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_27_17 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_28_16 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_29_19 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_30_18 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_31_17 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_32_16 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_33_19 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_34_18 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_35_17 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location (java.game.parts.hq_rims6.rim_36_16 at parts\hq_rims8\scripts)
!Package conflict: multiple packages placed at the same location ( at parts\POR_930Turbo_Rims\scripts)
For the wheels pack 20, Take a look at the face java files and make sure this is at the very top of each package java.game.parts.Wheels_Pack_20; I would just take out the disc brakes mod if you can. For the hq rims, check the javas again and this is the line that is at the top of all my hq rim javas package java.game.cars; For the porsche, go to the rim java and make sure this line is at the very top package java.game.cars; That should do it, worked for me. Report back if you have any issues
So this is the face1 java for the Wheels pack 20
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 Face1 extends Wheel
{
float f_offset, default_offset, old_offset, diameter, width;
public Face1 ( int id )
{
name = "BMW F13 M6 wheel";
rim_type = rtFACTORY;
diameter = 20.0;
width = 11.0;
default_offset = 0.0;
f_offset = default_offset;
SetupWheel( diameter, width, default_offset);
description = "Adjustable Offset - Paintable";
}
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, -75.0, 75.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 );
}
}
}
Do i change the "package java.game.cars;" to "package java.game.parts.Wheels_Pack_20;" ?? or what did you mean?. Because i suck in these things?
Yup, Make sure you do that to all the faces and tire javas
any clue about how deflector script works?
# 'F bumper' deflector #
wing 4 0.000000000 -0.011711400 -0.053232300 0.000000000 0.091492500 -0.688041000 12.042195000 -0.250 0.666
Added 3 hours 31 minutes later:
damn guys, chill with answers!! too much stuff to read -_-
I think it increase downforce or balance of the car