Forum
Questions, builds, help and the odd argument. The mods and guides are out front.
I got an error that might happen to know what mod (an own made sohc head for original engines) that causes the game to crash at the tyres section (?) and I would like to know why it does so. Should I maybe change the ID´s for the mod´s parts?
have you got a error report?
!Package conflict: multiple packages placed at the same location ( at parts\Cyl_head\scripts)
!Package conflict: multiple packages placed at the same location (java.game.cars.camshaft_drive_belt at parts\Cyl_head\scripts)
check its header package which must be like "package java.game.parts.FOLDER_NAME_WITHOUT_SPACES;" also public class and public which must use the same name as the file
Strange thing is that it´s neither of what you described as I can find in the .javas
Added 22 hours 45 minutes later:
How it looks like in the file that the error.log has a complaint at:
package java.game.parts.Cyl_head;
import java.util.*;
import java.util.resource.*;
import java.game.*;
import java.game.parts.*;
import java.game.cars.*;
public class camshaft_drive_belt extends EnginePart
{
public camshaft_drive_belt( int id )
{
super( id );
Added 2 minutes later:
As far as I can see, there is nothing that I can see at this that would have been indicating on the lines being wrong and still it acts weird....
you are missing some import
Added 1 minute later:
no ok i checked it is fine, try leaving a space between package and import
Oh heheheh The .java doesn´t have as seen at the post that the space between the "package" and the "import" is missing. That´s weird it disappeared when I tried to post the text here as seen in the file. I reinstalled the game to see if it works fine (the mod itself) and it doesn´t seem to be faulty scripted. It must have been something up with the game.... :/