Показать сообщение отдельно
Старый 29.03.2008, 11:45   #1
Novichok8
Местный
 
Регистрация: 24.12.2007
Адрес: Россия(СССР)
Сообщений: 987
Отправить сообщение для Novichok8 с помощью ICQ Отправить сообщение для Novichok8 с помощью Skype™
По умолчанию ошибки явы при компиляции файлов класса для ил2

сюда буду выкладывать файлы для ил2
обьясните что не правельно он выдает 100 ошибак
1 Декомпилирывал ява декомпиляром
код
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: TYPHOON1B.java

package com.maddox.il2.objects.air;

import com.maddox.il2.fm.*;
import com.maddox.rts.Finger;
import com.maddox.rts.Property;
import com.maddox.util.HashMapInt;
import java.util.ArrayList;

// Referenced classes of package com.maddox.il2.objects.air:
// TEMPEST, PaintSchemeFMPar05, NetAircraft, Aircraft

public class TYPHOON1B extends TEMPEST
{

public TYPHOON1B()
{
}

public void _onAircraftLoadedvV()
{
m_FMFlightModel.m_EIEnginesInterface.m_enginesaMot or[0]._doSetKillControlAfterburnervV();
super._onAircraftLoadedvV();
}

static Class _mthclass$(String s)
{
Class class1;
try
{
class1 = Class.forName(s);
}
catch(ClassNotFoundException classnotfoundexception)
{
throw new NoClassDefFoundError(classnotfoundexception.getMes sage());
}
return class1;
}

static Class _class$StringClass(String s)
{
try
{
return Class.forName(s);
}
catch(ClassNotFoundException classnotfoundexception)
{
throw new NoClassDefFoundError(classnotfoundexception.getMes sage());
}
}

static
{
Class class1 = com.maddox.il2.objects.air.TYPHOON1B.class;
new NetAircraft.SPAWN(class1);
Property.set(class1, "iconFar_shortClassName", "Typhoon");
Property.set(class1, "meshName", "3DO/Plane/TempestMkV(Multi1)/hier.him");
Property.set(class1, "PaintScheme", new PaintSchemeFMPar05());
Property.set(class1, "meshName_gb", "3DO/Plane/TempestMkV(GB)/hier.him");
Property.set(class1, "PaintScheme_gb", new PaintSchemeFMPar05());
Property.set(class1, "yearService", 1942F);
Property.set(class1, "yearExpired", 1946.5F);
Property.set(class1, "FlightModel", "FlightModels/TempestMkV.fmd");
Property.set(class1, "cockpitClass", new Class[] {
com.maddox.il2.objects.air.CockpitTemp5.class
});
Property.set(class1, "LOSElevation", 0.93655F);
Aircraft._weaponTriggersRegisterClassIV(class1, new int[] {
1, 1, 1, 1, 9, 9, 9, 9, 3, 3,
9, 9, 2, 2, 2, 2, 2, 2, 2, 2
});
Aircraft._weaponHooksRegisterClassStringV(class1, new String[] {
"_CANNON01", "_CANNON02", "_CANNON03", "_CANNON04", "_ExternalDev01", "_ExternalDev02", "_ExternalDev03", "_ExternalDev04", "_ExternalBomb01", "_ExternalBomb02",
"_ExternalDev05", "_ExternalDev06", "_ExternalRock01", "_ExternalRock02", "_ExternalRock03", "_ExternalRock04", "_ExternalRock05", "_ExternalRock06", "_ExternalRock07", "_ExternalRock08"
});
try
{
ArrayList arraylist = new ArrayList();
Property.set(class1, "weaponsList", arraylist);
HashMapInt hashmapint = new HashMapInt();
Property.set(class1, "weaponsMap", hashmapint);
byte byte0 = 20;
String s = "default";
Aircraft._WeaponSlot a_lweaponslot[] = new Aircraft._WeaponSlot[byte0];
a_lweaponslot[0] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[1] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[2] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[3] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[4] = null;
a_lweaponslot[5] = null;
a_lweaponslot[6] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN1", 1);
a_lweaponslot[7] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN2", 1);
for(int i = 8; i < byte0; i++)
a_lweaponslot[i] = null;

arraylist.add(s);
hashmapint.put(Finger._IntStringI(s), a_lweaponslot);
s = "light";
a_lweaponslot = new Aircraft._WeaponSlot[byte0];
a_lweaponslot[0] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[1] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[2] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[3] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
for(int j = 4; j < byte0; j++)
a_lweaponslot[j] = null;

arraylist.add(s);
hashmapint.put(Finger._IntStringI(s), a_lweaponslot);
s = "2x500";
a_lweaponslot = new Aircraft._WeaponSlot[byte0];
a_lweaponslot[0] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[1] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[2] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[3] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[4] = null;
a_lweaponslot[5] = null;
a_lweaponslot[6] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN1", 1);
a_lweaponslot[7] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN2", 1);
a_lweaponslot[8] = new Aircraft._WeaponSlot(3, "BombGun500lbs", 1);
a_lweaponslot[9] = new Aircraft._WeaponSlot(3, "BombGun500lbs", 1);
for(int k = 10; k < byte0; k++)
a_lweaponslot[k] = null;

arraylist.add(s);
hashmapint.put(Finger._IntStringI(s), a_lweaponslot);
s = "2x1000";
a_lweaponslot = new Aircraft._WeaponSlot[byte0];
a_lweaponslot[0] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[1] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[2] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[3] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[4] = null;
a_lweaponslot[5] = null;
a_lweaponslot[6] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN1", 1);
a_lweaponslot[7] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN2", 1);
a_lweaponslot[8] = new Aircraft._WeaponSlot(3, "BombGun1000lbs", 1);
a_lweaponslot[9] = new Aircraft._WeaponSlot(3, "BombGun1000lbs", 1);
for(int l = 10; l < byte0; l++)
a_lweaponslot[l] = null;

arraylist.add(s);
hashmapint.put(Finger._IntStringI(s), a_lweaponslot);
s = "8x5";
a_lweaponslot = new Aircraft._WeaponSlot[byte0];
a_lweaponslot[0] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[1] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[2] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[3] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
for(int i1 = 4; i1 < 10; i1++)
a_lweaponslot[i1] = null;

a_lweaponslot[10] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN3", 1);
a_lweaponslot[11] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN4", 1);
for(int j1 = 12; j1 < byte0; j1++)
a_lweaponslot[j1] = new Aircraft._WeaponSlot(2, "RocketGunHVAR5BEAU", 1);

arraylist.add(s);
hashmapint.put(Finger._IntStringI(s), a_lweaponslot);
s = "2xdt";
a_lweaponslot = new Aircraft._WeaponSlot[byte0];
a_lweaponslot[0] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[1] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[2] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[3] = new Aircraft._WeaponSlot(1, "MGunHispanoMkIk", 140);
a_lweaponslot[4] = new Aircraft._WeaponSlot(9, "FuelTankGun_TankTempest", 1);
a_lweaponslot[5] = new Aircraft._WeaponSlot(9, "FuelTankGun_TankTempest", 1);
a_lweaponslot[6] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN1", 1);
a_lweaponslot[7] = new Aircraft._WeaponSlot(9, "PylonTEMPESTPLN2", 1);
for(int k1 = 8; k1 < byte0; k1++)
a_lweaponslot[k1] = null;

arraylist.add(s);
hashmapint.put(Finger._IntStringI(s), a_lweaponslot);
s = "none";
a_lweaponslot = new Aircraft._WeaponSlot[byte0];
for(int l1 = 0; l1 < byte0; l1++)
a_lweaponslot[l1] = null;

arraylist.add(s);
hashmapint.put(Finger._IntStringI(s), a_lweaponslot);
}
catch(Exception exception) { }
}
}
Novichok8 вне форума   Ответить с цитированием