Jump to content
Sign in to follow this  
PastorPanda

Ошибка при загрузке скрипта .bot

Recommended Posts

Всем привет! Ребят.
Возможно кто-то знает как исправить эти ошибки?

Дабы сиё чудо заработало нормально.

Спойлер

1. ERROR in /Bot.java (at line 129)
    player.setAutoFarmNow(true);
           ^^^^^^^^^^^^^^
The method setAutoFarmNow(boolean) is undefined for the type L2PcInstance
----------
2. ERROR in /Bot.java (at line 143)
    player.setAutoFarmNow(false);
           ^^^^^^^^^^^^^^
The method setAutoFarmNow(boolean) is undefined for the type L2PcInstance
----------
3. ERROR in /Bot.java (at line 268)
    player.useMagicBot(skill, false, isMage);
           ^^^^^^^^^^^
The method useMagicBot(L2Skill, boolean, boolean) is undefined for the type L2PcInstance
----------
4. ERROR in /Bot.java (at line 273)
    player.useMagicBot(skill, false, isMage);    
           ^^^^^^^^^^^
The method useMagicBot(L2Skill, boolean, boolean) is undefined for the type L2PcInstance
----------
4 problems (4 errors)
The method useMagicBot(net.sf.l2j.gameserver.model.L2Skill, boolean, boolean) is undefined for the type net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
The method useMagicBot(net.sf.l2j.gameserver.model.L2Skill, boolean, boolean) is undefined for the type net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
The method setAutoFarmNow(boolean) is undefined for the type net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
The method setAutoFarmNow(boolean) is undefined for the type net.sf.l2j.gameserver.model.actor.instance.L2PcInstance

 

Share this post


Link to post
Share on other sites

Это не в скрипте править нужно, а добавлять поддержку в ядре, или же в скрипте, но убрать вызов отсутствующих методов/заменить на аналогичные, но вероятно это повлечёт за собой дальнейшие проблемы 

Share this post


Link to post
Share on other sites

Методы которые вы пытаетесь вызвать, не существует в классе L2PcInstance

Что-же за мамонта вы используете?

Share this post


Link to post
Share on other sites
27 минут назад, Saltfire сказал:

Методы которые вы пытаетесь вызвать, не существует в классе L2PcInstance

Что-же за мамонта вы используете?

Подозреваю что люцера1,7, ловели или что то шляпоподобное.

Share this post


Link to post
Share on other sites
2 часа назад, Saltfire сказал:

Методы которые вы пытаетесь вызвать, не существует в классе L2PcInstance

Что-же за мамонта вы используете?

Ну как, всё того же мамонта Pwsoft.

Ядро правда старое.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...