Компил исходников EmuRT

Компил исходников EmuRT 10

Нет прав для скачивания
Url

RainZee

Новичок
Путник
23 Янв 2018
9
1
3
Кто ставил? Отпишите. У меня, при создании нового персонажа, не пускает в игру. Проблема в scripts.jar. Качал не здесь.
 

RainZee

Новичок
Путник
23 Янв 2018
9
1
3
У тебя именно проблема с заходам в игру?Что в логах?
WARN ItemHolder: Not defined item id : 0, or out of range!
java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:53)
at l2p.gameserver.utils.ItemFunctions.addItem(ItemFunctions.java:107)
at services.PvpToExp.onPlayerEnter(PvpToExp.java:99)
at l2p.gameserver.model.actor.listener.PlayerListenerList.onEnter(PlayerListenerList.java:31)
at l2p.gameserver.clientpackets.EnterWorld.runImpl(EnterWorld.java:178)
at l2p.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:41)
at l2p.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:34)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[02:10:49] ERROR Client: IN_GAME IP: 127.0.0.1 Account: 1111 Player : qwe[268486868] - Failed running: [C] EnterWorld - Server Version: Rev 10
java.lang.NullPointerException
at l2p.gameserver.utils.ItemFunctions.addItem(ItemFunctions.java:108)
at services.PvpToExp.onPlayerEnter(PvpToExp.java:99)
at l2p.gameserver.model.actor.listener.PlayerListenerList.onEnter(PlayerListenerList.java:31)
at l2p.gameserver.clientpackets.EnterWorld.runImpl(EnterWorld.java:178)
at l2p.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:41)
at l2p.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:34)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
 

CrazyCort

Знаток
Команда форума
Администратор
7 Апр 2017
659
100
108
WARN ItemHolder: Not defined item id : 0, or out of range!
java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:53)
at l2p.gameserver.utils.ItemFunctions.addItem(ItemFunctions.java:107)
at services.PvpToExp.onPlayerEnter(PvpToExp.java:99)
at l2p.gameserver.model.actor.listener.PlayerListenerList.onEnter(PlayerListenerList.java:31)
at l2p.gameserver.clientpackets.EnterWorld.runImpl(EnterWorld.java:178)
at l2p.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:41)
at l2p.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:34)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[02:10:49] ERROR Client: IN_GAME IP: 127.0.0.1 Account: 1111 Player : qwe[268486868] - Failed running: [C] EnterWorld - Server Version: Rev 10
java.lang.NullPointerException
at l2p.gameserver.utils.ItemFunctions.addItem(ItemFunctions.java:108)
at services.PvpToExp.onPlayerEnter(PvpToExp.java:99)
at l2p.gameserver.model.actor.listener.PlayerListenerList.onEnter(PlayerListenerList.java:31)
at l2p.gameserver.clientpackets.EnterWorld.runImpl(EnterWorld.java:178)
at l2p.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:41)
at l2p.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:34)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Либо править сборку или исходник так проблема с item под ид 0.
1)Заходим в папку libs, находим scripts.jar открываем через WinRar, заходим в папку services, и удаляем PvpToExp.class
2)Через исходник, клас PvpToExp, в методе onPlayerEnter 95 строка добавляет предмет с id '0'
Код:
at l2p.gameserver.utils.ItemFunctions.addItem(ItemFunctions.java:107)
at services.PvpToExp.onPlayerEnter(PvpToExp.java:99)
Выбирайте один из вариантов.
 

RainZee

Новичок
Путник
23 Янв 2018
9
1
3
Либо править сборку или исходник так проблема с item под ид 0.
1)Заходим в папку libs, находим scripts.jar открываем через WinRar, заходим в папку services, и удаляем PvpToExp.class
2)Через исходник, клас PvpToExp, в методе onPlayerEnter 95 строка добавляет предмет с id '0'
Код:
at l2p.gameserver.utils.ItemFunctions.addItem(ItemFunctions.java:107)
at services.PvpToExp.onPlayerEnter(PvpToExp.java:99)
Выбирайте один из вариантов.[/QUOTE
В файле PvpToExp.java
Было так:
public class PvpToExp extends Task implements ScriptFile, OnPlayerEnterListener, OnDeathListener {

private static final Logger _log = LoggerFactory.getLogger(PvpToExp.class);
private static final String NAME = "give_items";
private static final int item_id_prem = 0;
private static final int item_id = 0;

Сделал тупо так:
public class PvpToExp extends Task implements ScriptFile, OnPlayerEnterListener, OnDeathListener {

private static final Logger _log = LoggerFactory.getLogger(PvpToExp.class);
private static final String NAME = "give_items";
private static final int item_id_prem = 57;
private static final int item_id = 57;
Скомпилировал. Заработало. Спасибо ОГРОМНОЕ за помощь!
 

Zili62

Новичок
Путник
25 Янв 2018
11
1
8
30
А я выбрал вариант с изъятием классфайла из архива и тоже всё заработало ,и я так понимаю .java файлы те что уже в скомпиленой сборке ни на что не влияют?
 

Zili62

Новичок
Путник
25 Янв 2018
11
1
8
30
Да , давно не видел на шарных сборках магвена) , в целом удачная по многим показателям гейм плея , из минусов пару мелких по скилам и квестам увидел, и один огромный по фортам\замкам, после захвата нет возможности регнутся на форт\замок другим :D
 

soplo

Прохожий
Путник
12 Янв 2019
15
1
8
41
кто небуть знает как исправить ошибку

Exception in thread "main" java.lang.NullPointerException
at org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast(SystemUtils
.java:1388)
at org.apache.commons.lang3.ClassUtils.isAssignable(ClassUtils.java:594)

at l2p.gameserver.scripts.Scripts.init(Scripts.java:125)
at l2p.gameserver.GameServer.<init>(GameServer.java:187)
at l2p.gameserver.GameServer.main(GameServer.java:354)
 

CrazyCort

Знаток
Команда форума
Администратор
7 Апр 2017
659
100
108
Похоже что то намудрили с gameserver ,желательно увидеть полный лог.
 

soplo

Прохожий
Путник
12 Янв 2019
15
1
8
41
Starting GameServer.

[01:28:28] INFO =================================================
[01:28:28] INFO Revision: ................ Rev 10
[01:28:28] INFO Build date: .............. 2017.05.04 17:49
[01:28:28] INFO Compiler version: ........ 1.8.0_131-b11 (Oracle Corporation)
[01:28:28] INFO =================================================
[01:28:29] INFO Loaded 2 Premium configs
[01:28:29] INFO Loaded 5 Visualized configs
[01:28:29] INFO Abuse: Loaded 18 abuse words.
[01:28:30] INFO IdFactory: Clear characters online status.
[01:28:30] INFO IdFactory: Extracted total 0 used id's.
[01:28:30] INFO IdFactory: 102912 id's available.
[01:28:31] INFO Scripts: Loading...
[01:28:33] INFO Scripts: Loaded 1269 classes.
[01:28:33] INFO Loaded 418 translit entries.
[01:28:33] INFO GameTimeController: initialized. Current time is 14:51 in the d
ay.
[01:28:33] INFO L2World: Creating regions: [256][272][32].
[01:28:33] INFO HtmCache: disabled.
[01:28:33] INFO StringHolder: load strings: 559 for lang: CHINESE
[01:28:33] INFO StringHolder: load strings: 560 for lang: RUSSIAN
[01:28:33] INFO StringHolder: load strings: 559 for lang: ENGLISH
[01:28:53] INFO SkillsEngine: Loaded 66050 skill templates from XML files. Max
id: 90003, max level: 259
[01:29:02] INFO OptionDataHolder: loaded 24975 option data(s) count.
[01:29:13] INFO ItemHolder: loaded 19135 item(s) count.
[01:29:13] INFO ExtractableItems: Initializing
[01:29:13] INFO ExtractableItems: Loaded 403 Extractable.
[01:29:28] INFO NpcHolder: loaded 10474 npc(s) count.
[01:29:30] INFO PetDataTemplateHolder: loaded 52 pet data template(s) count.
[01:29:30] INFO MapRegionManager: loaded 272 map region manager(s) count.
[01:29:30] INFO MapRegionManager: loaded 272 map region manager(s) count.
[01:29:30] INFO StaticObjectHolder: loaded 50 static object(s) count.
[01:29:31] INFO DoorHolder: loaded 1155 door(s) count.
[01:29:31] INFO ZoneHolder: loaded 1174 zone(s) count.
[01:29:34] INFO SpawnHolder: loaded 28931 spawn(s) count.
[01:29:35] INFO InstantZoneHolder: loaded 152 instant zone(s) count.
[01:29:41] INFO AirshipDockHolder: loaded 4 airship dock(s) count.
[01:29:41] INFO SkillAcquireHolder: Not found NORMAL skill learn for class 58
[01:29:41] INFO SkillAcquireHolder: load 56997 normal learns for 103 classes.
[01:29:41] INFO SkillAcquireHolder: load 79 transfer learns for 3 classes.
[01:29:41] INFO SkillAcquireHolder: load 120 transformation learns for 6 races.

[01:29:41] INFO SkillAcquireHolder: load 662 fishing learns for 6 races.
[01:29:41] INFO SkillAcquireHolder: load 72 certification learns.
[01:29:41] INFO SkillAcquireHolder: load 3 collection learns.
[01:29:41] INFO SkillAcquireHolder: load 44 pledge learns.
[01:29:41] INFO SkillAcquireHolder: load 18 sub unit learns.
[01:29:42] INFO SkillTradeHolder: Not found NORMAL skill learn for class 58
[01:29:42] INFO CharTemplateHolder: loaded 206 char template(s) count.
[01:29:42] INFO ResidenceHolder: total size: 83
[01:29:42] INFO ResidenceHolder: - load 21 fortress(s).
[01:29:42] INFO ResidenceHolder: - load 9 dominion(s).
[01:29:42] INFO ResidenceHolder: - load 9 castle(s).
[01:29:42] INFO ResidenceHolder: - load 44 clanhall(s).
[01:29:43] INFO RaidBossSpawnManager: Loaded 0 Statuses
[01:29:43] INFO SevenSigns: Currently in the Competition (Quest Event) period!
[01:29:43] INFO SevenSigns: The Seal of Avarice remains unclaimed.
[01:29:43] INFO SevenSigns: The Seal of Gnosis remains unclaimed.
[01:29:43] INFO SevenSigns: The Seal of Strife remains unclaimed.
[01:29:43] INFO SevenSigns: The Competition this week, if the trend continue, w
ill end with a tie.
[01:29:43] INFO SevenSigns: Next period begins in 6 days, 16 hours and 30 mins.

[01:29:44] INFO EventHolder: loaded 103 event(s) count.
[01:29:44] INFO CubicHolder: loaded 145 cubic(s) count.
[01:29:44] INFO TradeController: Loaded 4 file(s).
[01:29:44] INFO TradeController: Loaded 25069 Items.
[01:29:44] INFO TradeController: Loaded 728 Buylists.
[01:29:44] INFO RecipeController: Loaded 998 Recipes.
[01:29:46] INFO ProductItemTable: Loaded 193 product item on sale.
[01:29:47] INFO HennaHolder: loaded 180 henna(s) count.
[01:29:47] INFO EnchantItemHolder: load 4 enchant scroll(s).
[01:29:47] INFO SoulCrystalHolder: loaded 54 soul crystal(s) count.
[01:29:47] INFO ArmorSetsHolder: loaded 217 armor sets(s) count.
[01:29:47] INFO PetitionGroupHolder: loaded 1 petition group(s) count.
[01:29:47] INFO CrestCache: Loaded 0 crests
[01:29:47] INFO FishTable: Loaded 270 fishes.
[01:29:47] INFO FishTable: Loaded 919 fish rewards.
[01:29:47] INFO SkillTreeTable: Loaded 526 enchanted skills.
[01:29:47] INFO Initializing AugmentationData.
[01:29:47] INFO AugmentationData: 10 bad skill(s) were skipped.
[01:29:47] INFO AugmentationData: Loaded: 52 augmentation stats.
[01:29:47] INFO AugmentationData: Loaded: 24 accessory augmentation stats.
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 0
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 1
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 2
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 3
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 4
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 5
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 6
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 7
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 8
[01:29:47] INFO AugmentationData: Loaded: 17 blue, 106 purple and 54 red skills
for lifeStoneLevel 9
[01:29:47] INFO EnchantHPBonusTable: Loaded bonuses for 6 grades.
[01:29:47] INFO LevelUpData: Loaded 103 Character Level Up Templates.
[01:29:47] INFO PetSkillsTable: Loaded 3031 skills.
[01:29:47] INFO Initializing ItemAuctionManager
Exception in thread "main" java.lang.NullPointerException
at org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast(SystemUtils
.java:1388)
at org.apache.commons.lang3.ClassUtils.isAssignable(ClassUtils.java:594)

at l2p.gameserver.scripts.Scripts.init(Scripts.java:125)
at l2p.gameserver.GameServer.<init>(GameServer.java:187)
at l2p.gameserver.GameServer.main(GameServer.java:354)