Jump to content

eScz

Members
  • Posts

    19
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by eScz

  1. Hi guys,

     

    I'm trying to adapt baggos code for .epic on acis rev 401.

    But in game when i write .epic i get this console error.

    Image

     

    This is the original code Pastebin

    And this is a part of code should i have to edit/adapt somehow to  "work". pastebin

     

    One of problems start at line 54 on original code, in rev 401 i dont find RaidBossSpawnManager and getRespawntime.

     

    I appreciate any kind of help. I'm newbye.
  2. 4 hours ago, Tryskell said:

    As said Melron, HeroManager.getInstance().isActiveHero is a sublayer of isHero and verify if the hero is actually a real one.

    The "valid hero" state unlocks when you reach the NPC and pick the title.

    Also, requesting my help while using "rusacis" is a "foutage de gueule", at best (in french, I let you translate) and also a outright lie from yourself (they - and you - don't base on free rev 401).

     

    I’m not using “rusacis”. I have free version of 401.

    Thank you for the answer.

    Thanks @IcathiaLord for the solution.

     

     

  3. 11 hours ago, @IcathiaLord said:

    Inventory.java

     

    find:

    // Can't equip item if you are in shop mod or hero item and you're not hero.
    if (((Player) getOwner()).isInStoreMode() || (item.isHeroItem() && !HeroManager.getInstance().isActiveHero(getOwnerId())))
    return;
    			

     

    replace with:

    // Can't equip item if you are in shop mod or hero item and you're not hero.
    if (((Player) getOwner()).isInStoreMode() || (!((Player) getOwner()).isHero() && item.isHeroItem()))
    return;

     

     

     

    Also find:

    // If the item is an hero item and inventory's owner is a player who isn't an hero, then set it to inventory.
    if (getOwner() instanceof Player && item.isHeroItem() && !HeroManager.getInstance().isActiveHero(getOwnerId()))
    item.setLocation(ItemLocation.INVENTORY);

     

    replace with:

    // If the item is an hero item and inventory's owner is a player who isn't an hero, then set it to inventory.
    if (getOwner() instanceof Player && !((Player) getOwner()).isHero() && item.isHeroItem())
    item.setLocation(ItemLocation.INVENTORY);

     

    In rev 401 1st line doesen't exist, take a look Check!

     

    I replaced only the 2nd one, but still can't equip hero weapons. This situation broke my brain..

     

     

    EDIT: I foud 1st line in PCInventory.java. Actually it works. Thx @IcathiaLord

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock