Вот короче в чём проблема, непашет два файла в папке ai/group_template.
Первей файл это warrior_monk.py
При создании моба и послетого как он просит"Снемите пожайлусто оружие", когда я его снимаю мне выдаёт ошибку.
Вот ошибка из ГС:
WARNING [20 ьрщ 17:35:57,406] net.l2emuproject.gameserver.model.quest.Quest.show
Error(): D:\Max\Servera\Gracia Part 2\l2emurt-game-dist\l2emurt-game\dist\data\s
cripts\ai\group_template\warrior_monk.py
Traceback (innermost last):
(no code object) at line 0
TypeError: onAttack() too many arguments; expected 5 got 6
at org.python.core.Py.TypeError(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject._jcallexc(Unknown Source)
at org.python.core.PyObject._jcall(Unknown Source)
at org.python.proxies.main$warrior_monk$15.onAttack(Unknown Source)
at net.l2emuproject.gameserver.model.quest.Quest.notifyAttack(Quest.java
:379)
at net.l2emuproject.gameserver.model.L2Attackable.addDamageHate(L2Attack
able.java:1112)
at net.l2emuproject.gameserver.model.L2Attackable.addDamage(L2Attackable
.java:1010)
at net.l2emuproject.gameserver.model.L2Attackable.reduceCurrentHp(L2Atta
ckable.java:477)
at net.l2emuproject.gameserver.model.L2Character.onHitTimer(L2Character.
java:5459)
at net.l2emuproject.gameserver.model.L2Character$HitTask.run(L2Character
.java:2962)
at net.l2emuproject.util.concurrent.ExecuteWrapper.execute(ExecuteWrappe
r.java:33)
at net.l2emuproject.util.concurrent.ExecuteWrapper.run(ExecuteWrapper.ja
va:14)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Это первая проблема Вторая прикольшей в той же папке только уже файл FeedableBeasts.java:
Вот ошибка которую мне выдал Гс:
----------
1. ERROR in \FeedableBeasts.java (at line 32)
import net.l2emuproject.gameserver.templates.L2NpcTemplate;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import net.l2emuproject.gameserver.templates.L2NpcTemplate cannot be resolve
d
----------
2. ERROR in \FeedableBeasts.java (at line 398)
L2NpcTemplate template = NpcTable.getInstance().getTemplate(nextNpcId);
^^^^^^^^^^^^^
L2NpcTemplate cannot be resolved to a type
----------
2 problems (2 errors)The import net.l2emuproject.gameserver.templates.L2NpcTempl
ate cannot be resolved
L2NpcTemplate cannot be resolved to a type
WARNING [20 ьрщ 17:39:32,440] net.l2emuproject.gameserver.scripting.L2ScriptEngi
neManager.reportScriptFileError(): Failed executing script: D:\Max\Servera\Graci
a Part 2\l2emurt-game-dist\l2emurt-game\dist\data\scripts\ai\group_template\Feed
ableBeasts.java. See FeedableBeasts.java.error.log for details.
Хелп Плиз