-
Публикаций
13 -
Зарегистрирован
-
Посещение
-
Отзывы
0%
Репутация
-3Информация о SHIN3
-
Звание
Только пришел
Посетители профиля
3094 просмотра профиля
-
Добрый день,подскажите какие файлы отвечают за протокол клиента в папке system Т.е. мне нужно к примеру слить папки system с разными протоколами ,какие файлы не трогать что бы не изменить протоколы клиента..
-
Спасибо за расписанный мануал) Я думал тоже за основу взять исходы от balancera(тот же l2fortress)так как у них открыт репозиторий и есть доступ ко всем коммитам с описанием.Сперва скачал исходы l2fortress именно с3 и начал переберать коммиты все что выше с3 и подгонять под с3 , но понял что это довольно долго и решил разузнать про даунгрейд
-
Добрый вечер.Подскажите каким методом осуществляется даунгрейд исходов?Насколько это сложно и затратно....
-
Добрый вечер.Суть проблемы : При бафе мобов персонаж не флагается.Добавил такие коммиты в L2Character.java: @@ -4713,6 +4713,7 @@ activeChar.checkPvP(player); } } + // mobs will hate on debuff if(player instanceof L2Attackable) { ((L2Attackable)player).addDamageHate(this, 1, 1); @@ -4720,6 +4721,9 @@ } else { + // mobs will hate if this. will buff mob's attaker + if (target instanceof L2PcInstance) activeChar.onBuff(((L2PcInstance)target),1); + if(player instanceof L2PcInstance) { if(((L2PcInstance)player).getPvpFlag() > 0 || ((L2PcInstance)player).getKarma() > 0) И в L2PcInstance.java: @@ -609,7 +609,7 @@ public void onBuff(L2PcInstance target,int aggro) { for(L2Character monster : getEnemyList(target)) { ((L2Attackable)monster).addDamageHate(this,0,aggro);} } // make enemy's list for player Подскажите что не так...
-
init: [mkdir] Created dir: D:\fix\build [mkdir] Created dir: D:\fix\build\classes [mkdir] Created dir: D:\fix\build\dist compile: [javac] D:\fix\build.xml:67: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 757 source files to D:\fix\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:37: warning: '_' used as an identifier [javac] private static final String _ = "\t"; [javac] ^ [javac] (use of '_' as an identifier might not be supported in releases after Java SE [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:42: warning: '_' used as an identifier [javac] output.append(_); [javac] ^ [javac] (use of '_' as an identifier might not be supported in releases after Java SE [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:44: warning: '_' used as an identifier [javac] output.append(_); [javac] ^ [javac] (use of '_' as an identifier might not be supported in releases after Java SE [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:46: warning: '_' used as an identifier [javac] output.append(_); [javac] ^ [javac] (use of '_' as an identifier might not be supported in releases after Java SE [javac] D:\fix\java\net\sf\l2j\FileLogFormatter.java:48: warning: '_' used as an identifier [javac] output.append(_); [javac] ^ [javac] (use of '_' as an identifier might not be supported in releases after Java SE [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:318: error: cannot find symbol [javac] private L2Alliance _alliance; [javac] ^ [javac] symbol: class L2Alliance [javac] location: class L2PcInstance [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:3457: error: cannot find symbol [javac] public void setAlliance(L2Alliance alliance) [javac] ^ [javac] symbol: class L2Alliance [javac] location: class L2PcInstance [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:3472: error: cannot find symbol [javac] public L2Alliance getAlliance() [javac] ^ [javac] symbol: class L2Alliance [javac] location: class L2PcInstance [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Skill.java:1129: warning: [cast] redundant cast to L2Character [javac] targetList.add((L2Character)targ); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Object.java:463: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Object.java:473: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onActionShift(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:418: warning: [rawtypes] found raw type: Future [javac] private Future _regTask; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:525: warning: [rawtypes] found raw type: Future [javac] private Future _skillCast; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:2972: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] JBForth.events.onKill(this, (L2PcInstance)killer); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Character.java:5319: warning: [rawtypes] found raw type: Future [javac] private Future _PvPRegTask; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:383: warning: [rawtypes] found raw type: Future [javac] private Future _taskAutoSoulShot = null; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:1880: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:2561: warning: [cast] redundant cast to int [javac] int karmaLost = (int)Math.round(Config.KARMA_LOST_BASE * getLevel()*getLevel()/100); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:4068: error: cannot find symbol [javac] player.setAlliance(ClanTable.getInstance().getAlliance(allyId)); [javac] ^ [javac] symbol: method getAlliance(int) [javac] location: class ClanTable [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5983: error: cannot find symbol [javac] if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0)) [javac] ^ [javac] symbol: method getWarList() [javac] location: class L2Clan [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5983: error: cannot find symbol [javac] if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0)) [javac] ^ [javac] symbol: method getWarList() [javac] location: class L2Clan [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5984: error: cannot find symbol [javac] if (getClan().getWarList().contains(id)) return 1; [javac] ^ [javac] symbol: method getWarList() [javac] location: class L2Clan [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5997: error: cannot find symbol [javac] if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0)) [javac] ^ [javac] symbol: method getWarList() [javac] location: class L2Clan [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PcInstance.java:5997: error: cannot find symbol [javac] if ((getClan().getWarList() != null)&&(getClan().getWarList().size() > 0)) [javac] ^ [javac] symbol: method getWarList() [javac] location: class L2Clan [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2ItemInstance.java:323: warning: [rawtypes] found raw type: Enum [javac] public Enum getItemType() [javac] ^ [javac] missing type arguments for generic class Enum<E> [javac] where E is a type-variable: [javac] E extends Enum<E> declared in class Enum [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2ItemInstance.java:418: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Summon.java:52: warning: [rawtypes] found raw type: Future [javac] protected Future _decayTask; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Summon.java:111: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Radar.java:71: warning: [overrides] Class L2Radar.RadarMarker overrides equals, but neither it nor any superclass overrides hashCode method [javac] public class RadarMarker [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\templates\L2Item.java:127: warning: [rawtypes] found raw type: Enum [javac] public final Enum type; [javac] ^ [javac] missing type arguments for generic class Enum<E> [javac] where E is a type-variable: [javac] E extends Enum<E> declared in class Enum [javac] D:\fix\java\net\sf\l2j\gameserver\templates\L2Item.java:150: warning: [rawtypes] found raw type: Enum [javac] protected L2Item(Enum type, StatsSet set) [javac] ^ [javac] missing type arguments for generic class Enum<E> [javac] where E is a type-variable: [javac] E extends Enum<E> declared in class Enum [javac] D:\fix\java\net\sf\l2j\gameserver\templates\L2Item.java:173: warning: [rawtypes] found raw type: Enum [javac] public Enum getItemType() [javac] ^ [javac] missing type arguments for generic class Enum<E> [javac] where E is a type-variable: [javac] E extends Enum<E> declared in class Enum [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2CubicInstance.java:56: warning: [rawtypes] found raw type: Future [javac] private Future _disappearTask; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2CubicInstance.java:57: warning: [rawtypes] found raw type: Future [javac] private Future _actionTask; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2NpcInstance.java:77: warning: [rawtypes] found raw type: Future [javac] private Future _decayTask; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2NpcInstance.java:362: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2NpcInstance.java:469: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onActionShift(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\waypoint\WayPointNode.java:107: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\UserVar.java:30: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] Word w = JBForth.core.dict.get(name); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\UserVar.java:43: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] Word w = JBForth.core.dict.get(name); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\ai\AbstractAI.java:120: warning: [rawtypes] found raw type: Future [javac] protected Future _follow_task = null; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DropData.java:31: warning: [overrides] Class L2DropData overrides equals, but neither it nor any superclass overrides hashCode method [javac] public class L2DropData [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Effect.java:150: warning: [rawtypes] found raw type: ScheduledFuture [javac] private ScheduledFuture _currentFuture; [javac] ^ [javac] missing type arguments for generic class ScheduledFuture<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface ScheduledFuture [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Effect.java:457: warning: [rawtypes] found raw type: ScheduledFuture [javac] ScheduledFuture future = _currentFuture; [javac] ^ [javac] missing type arguments for generic class ScheduledFuture<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface ScheduledFuture [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Effect.java:472: warning: [rawtypes] found raw type: ScheduledFuture [javac] ScheduledFuture future = _currentFuture; [javac] ^ [javac] missing type arguments for generic class ScheduledFuture<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface ScheduledFuture [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:34: warning: [rawtypes] found raw type: Class [javac] public final Class _func; [javac] ^ [javac] missing type arguments for generic class Class<T> [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:35: warning: [rawtypes] found raw type: Constructor [javac] public final Constructor _constructor; [javac] ^ [javac] missing type arguments for generic class Constructor<T> [javac] where T is a type-variable: [javac] T extends Object declared in class Constructor [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:54: warning: [rawtypes] found raw type: Class [javac] new Class[]{ [javac] ^ [javac] missing type arguments for generic class Class<T> [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] D:\fix\java\net\sf\l2j\gameserver\skills\FuncTemplate.java:53: warning: [unchecked] unchecked call to getConstructor(Class<?>...) as a member of the raw type Class [javac] _constructor = _func.getConstructor( [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] D:\fix\java\net\sf\l2j\gameserver\skills\EffectTemplate.java:38: warning: [rawtypes] found raw type: Class [javac] private final Class _func; [javac] ^ [javac] missing type arguments for generic class Class<T> [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] D:\fix\java\net\sf\l2j\gameserver\skills\EffectTemplate.java:39: warning: [rawtypes] found raw type: Constructor [javac] private final Constructor _constructor; [javac] ^ [javac] missing type arguments for generic class Constructor<T> [javac] where T is a type-variable: [javac] T extends Object declared in class Constructor [javac] D:\fix\java\net\sf\l2j\gameserver\skills\EffectTemplate.java:76: warning: [unchecked] unchecked call to getConstructor(Class<?>...) as a member of the raw type Class [javac] try { _constructor = _func.getConstructor(Env.class, EffectTemplate.class); } [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] D:\fix\java\net\sf\l2j\gameserver\templates\StatsSet.java:334: warning: [rawtypes] found raw type: Enum [javac] public void set(String name, Enum value) [javac] ^ [javac] missing type arguments for generic class Enum<E> [javac] where E is a type-variable: [javac] E extends Enum<E> declared in class Enum [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:167: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] current.set(core.dict); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:168: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] context.set(core.dict); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:171: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] s_o.add(core.dict); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:223: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] return core.dict.get(word_name); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:228: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] return core.dict.get(word_name) != null; [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:275: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] Word w = core.dict.get(word_name); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:462: warning: [rawtypes] found raw type: Class [javac] Class elementType = oldArray.getClass().getComponentType(); [javac] ^ [javac] missing type arguments for generic class Class<T> [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:572: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] try { ((Memory.xvalue)core.dict.get(name)).set(this, value); } [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:579: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] try { ret = get(((Memory.xvalue)core.dict.get(name)).addr); } [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:586: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression [javac] try { ((Memory.xvalue)first_instance.core.dict.get(name)).set(first_instance, value); } [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:586: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] try { ((Memory.xvalue)first_instance.core.dict.get(name)).set(first_instance, value); } [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:593: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression [javac] try { ret = first_instance.get(((Memory.xvalue)first_instance.core.dict.get(name)).addr); } [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\JBForth.java:593: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] try { ret = first_instance.get(((Memory.xvalue)first_instance.core.dict.get(name)).addr); } [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Word.java:56: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression [javac] ((Word)jbf.data[jbf.ws.wp++]).exec(jbf); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Word.java:60: warning: [static] static variable should be qualified by type name, JBForth, instead of by an expression [javac] String cur_name = (jbf.ws != null) ? rname(jbf.data[jbf.ws.wp-1]) : "<no name>"; [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\ClientThread.java:74: warning: [rawtypes] found raw type: ScheduledFuture [javac] final ScheduledFuture _autoSaveInDB; [javac] ^ [javac] missing type arguments for generic class ScheduledFuture<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface ScheduledFuture [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Spawn.java:87: warning: [rawtypes] found raw type: Constructor [javac] private Constructor _constructor; [javac] ^ [javac] missing type arguments for generic class Constructor<T> [javac] where T is a type-variable: [javac] T extends Object declared in class Constructor [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Castle.java:229: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] for (L2PcInstance player : L2World.getInstance().getAllPlayers()) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Events.java:122: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] Word handler = JBForth.core.dict.get(name); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Events.java:138: warning: [static] static variable should be qualified by type name, JBCore, instead of by an expression [javac] Word handler = JBForth.core.dict.get(name); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\lib\jbf\Dict.java:25: warning: [rawtypes] found raw type: ConcurrentHashMap [javac] public ConcurrentHashMap showWords() [javac] ^ [javac] missing type arguments for generic class ConcurrentHashMap<K,V> [javac] where K,V are type-variables: [javac] K extends Object declared in class ConcurrentHashMap [javac] V extends Object declared in class ConcurrentHashMap [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PetInstance.java:69: warning: [rawtypes] found raw type: Future [javac] private Future _feedTask; [javac] ^ [javac] missing type arguments for generic class Future<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface Future [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2PetInstance.java:176: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DoorInstance.java:55: warning: [rawtypes] found raw type: ScheduledFuture [javac] private ScheduledFuture _autoActionTask; [javac] ^ [javac] missing type arguments for generic class ScheduledFuture<V> [javac] where V is a type-variable: [javac] V extends Object declared in interface ScheduledFuture [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DoorInstance.java:294: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2DoorInstance.java:335: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onActionShift(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:551: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] for (L2PcInstance player : L2World.getInstance().getAllPlayers()) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:644: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] for (L2PcInstance player : L2World.getInstance().getAllPlayers()) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:662: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] for (L2PcInstance player : L2World.getInstance().getAllPlayers()) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:681: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] for (L2PcInstance player : L2World.getInstance().getAllPlayers()) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:700: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] for (L2PcInstance player : L2World.getInstance().getAllPlayers()) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2Siege.java:717: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] for (L2PcInstance player : L2World.getInstance().getAllPlayers()) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\model\L2ArtefactInstance.java:83: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] if(JBForth.events.onAction(player, this)) [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\MapRegionTable.java:279: warning: [static] static method should be qualified by type name, Events, instead of by an expression [javac] Location loc = JBForth.events.onEscape(player); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\SelectorThread.java:106: warning: [rawtypes] found raw type: HashMap [javac] HashMap clients = new HashMap(); [javac] ^ [javac] missing type arguments for generic class HashMap<K,V> [javac] where K,V are type-variables: [javac] K extends Object declared in class HashMap [javac] V extends Object declared in class HashMap [javac] D:\fix\java\net\sf\l2j\gameserver\SelectorThread.java:106: warning: [rawtypes] found raw type: HashMap [javac] HashMap clients = new HashMap(); [javac] ^ [javac] missing type arguments for generic class HashMap<K,V> [javac] where K,V are type-variables: [javac] K extends Object declared in class HashMap [javac] V extends Object declared in class HashMap [javac] D:\fix\java\net\sf\l2j\gameserver\ItemTable.java:73: warning: [rawtypes] found raw type: ConcurrentHashMap [javac] private static ConcurrentHashMap _item_handlers; [javac] ^ [javac] missing type arguments for generic class ConcurrentHashMap<K,V> [javac] where K,V are type-variables: [javac] K extends Object declared in class ConcurrentHashMap [javac] V extends Object declared in class ConcurrentHashMap [javac] D:\fix\java\net\sf\l2j\gameserver\ItemTable.java:75: warning: [rawtypes] found raw type: ConcurrentHashMap [javac] public static final ConcurrentHashMap getItemHandlers() [javac] ^ [javac] missing type arguments for generic class ConcurrentHashMap<K,V> [javac] where K,V are type-variables: [javac] K extends Object declared in class ConcurrentHashMap [javac] V extends Object declared in class ConcurrentHashMap [javac] D:\fix\java\net\sf\l2j\gameserver\ItemTable.java:80: warning: [rawtypes] found raw type: ConcurrentHashMap [javac] public static final void setItemHandlers(ConcurrentHashMap map) [javac] ^ [javac] missing type arguments for generic class ConcurrentHashMap<K,V> [javac] where K,V are type-variables: [javac] K extends Object declared in class ConcurrentHashMap [javac] V extends Object declared in class ConcurrentHashMap [javac] D:\fix\java\net\sf\l2j\gameserver\Shutdown.java:311: warning: [static] static variable should be qualified by type name, GameServer, instead of by an expression [javac] Server.gameServer.jbf.execp("on-server-stop"); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\Shutdown.java:379: warning: [rawtypes] found raw type: ArrayList [javac] ArrayList guards = L2CastleGuardInstance._castleGuards; [javac] ^ [javac] missing type arguments for generic class ArrayList<E> [javac] where E is a type-variable: [javac] E extends Object declared in class ArrayList [javac] D:\fix\java\net\sf\l2j\gameserver\Shutdown.java:401: warning: [static] static variable should be qualified by type name, GameServer, instead of by an expression [javac] Server.gameServer.jbf.execp("on-server-end"); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:196: warning: [static] static method should be qualified by type name, JBForth, instead of by an expression [javac] Word wt = _jbf.find_word("telnet_"+word); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:197: warning: [static] static method should be qualified by type name, JBForth, instead of by an expression [javac] Word wa = _jbf.find_word("admin_"+word); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:219: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] playerCount = L2World.getInstance().getAllPlayers().size(); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:220: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] objectCount = L2World.getInstance().getAllVisibleObjects().size(); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:235: warning: [rawtypes] found raw type: ConcurrentHashMap [javac] ConcurrentHashMap map = L2World.getInstance().getAllVisibleObjects(); [javac] ^ [javac] missing type arguments for generic class ConcurrentHashMap<K,V> [javac] where K,V are type-variables: [javac] K extends Object declared in class ConcurrentHashMap [javac] V extends Object declared in class ConcurrentHashMap [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:235: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] ConcurrentHashMap map = L2World.getInstance().getAllVisibleObjects(); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:318: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] L2PcInstance reciever = L2World.getInstance().getPlayer(name); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:388: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] L2PcInstance player = L2World.getInstance().getPlayer(_usrCommand); [javac] ^ [javac] D:\fix\java\net\sf\l2j\status\StatusThread.java:406: warning: [static] static method should be qualified by type name, L2World, instead of by an expression [javac] L2PcInstance player = L2World.getInstance().getPlayer(_usrCommand); [javac] ^ [javac] D:\fix\java\net\sf\l2j\gameserver\Item.java:42: warning: [rawtypes] found raw type: Enum [javac] public Enum type; [javac] ^ [javac] missing type arguments for generic class Enum<E> [javac] where E is a type-variable: [javac] E extends Enum<E> declared in class Enum [javac] Note: Some input files additionally use unchecked or unsafe operations. [javac] 9 errors [javac] 100 warnings BUILD FAILED D:\fix\build.xml:67: Compile failed; see the compiler error output for details. Total time: 8 seconds
-
Добрый день.Подскажите ,после добавления\редактирования коммитов в исходах не могу собрать(компильнуть) сборку,после ред. коммитов нужно менять что-то в build.xml.Или в чем может быть ошибка ,дайте направление куда смотреть.
-
Добрый вечер ув. форумчане ,хочу ознакомиться с Java .Знаний у меня в программировании нет,но очень хочу преобрести Посоветуйте книгу для новичка по Java на рус. языке.Кто как изучал данный язык программирования ,что посоветуете? Заранее спасибо
-
Добрый день,ищу исходы от ит.су; Кто может поделиться,буду благодарен. Заранее спасибо
-
Если я в кфг пропишу CharId персонажа которому я хочу дать права ГМа,то он получит ацес лвл 100 то есть он получит полные права админа ,а не гма
-
game\config\administration\gm_access.properties Этот файл? # ============================================ # # Вход администратора в игру # # ============================================ # # 1 - Невидимость # 2 - Неуязвимость # 3 - Отказ сообщений # 4 - Регистарция gmlist # 5 - Анонс игрокам о входе GMStartupInvisible = true GMStartupInvulnerable = true GMStartupSilence = false GMStartupAutoList = false ShowGMLogin = false # ============================================ # # Права администратора # # ============================================ # # Каждый имеет права администратора # По умолчанию: false EverybodyHasAdminRights = false # Включить проверку кондишенов для Gm'a # По умолчанию: false GmItemRestriction = false # Уровень максимальной заточки предмета # По умолчанию: 65535 GMMaxEnchant = 65535 # Время респавна для созданных Gm'ом NPC # По умолчанию: 60 (сек) StandardRespawnDelay = 60 # Активировать журнал действий админа # По умолчанию: true GMAudit = true # ============================================ # # Цвета ника, титула Gm'a # # ============================================ # # Цвет ника для Gm'a # По умолчанию: 00FF33 GmNameColor = 004400 # Цвет титула для Gm'a # По умолчанию: FF0000 GmTitleColor = 008800
-
В каком файлике?И куда этот файлик пихать? +Мне нужно выдать права GM'a тоесть что-бы у Гма был доступ не ко всем командам в админке.
-
Добрый день ,подскажите как выдать права GM'а игроку,так как в бд в таблице "Characters" нету строки "acces_level" P.S права админа себе выдал через CharID админа который лежал в сборке. L2jlovely 6.3