Aion-5.8(by_G-Robson26)

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    "One day at a time" Robyson is offline
    [VIP] MemberRank
    Sep 2013 Join Date
    TzionLocation
    1,863Posts

    Re: Aion-5.8(by_G-Robson26)

    Quote Originally Posted by selgro View Post
    Hello
    Does anyone know the solution to the above mentioned problem?
    Is necessary check the file LootGroupRules and all files associated with it on source code.
    Last edited by Robyson; 06-11-20 at 11:22 PM.

  2. #17
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts

    Re: Aion-5.8(by_G-Robson26)

    Hello I think I found a bug but I have no src to fix it. It's about the file gameserver \ model \ team2 \ common \ legacy \ LootGroupRules.java

    The file looks like this:

    public class LootGroupRules {
    private LootRuleType lootRule;

    private LootDistribution autodistribution
    private int common_item_above;
    private int superior_item_above;
    private int heroic_item_above;
    private int fabled_item_above;
    private int ethernal_item_above;
    private int misc;
    private int nrMisc;

    private int nrRoundRobin;

    private FastList<DropItem> itemsToBeDistributed = new FastList();

    public LootGroupRules() {
    this.lootRule = LootRuleType.ROUNDROBIN;
    this.autodistribution = LootDistribution.ROLL_DICE;
    this.common_item_above = 0;
    this.superior_item_above = 2;
    this.heroic_item_above = 2;
    this.fabled_item_above = 2;
    this.ethernal_item_above = 2;
    }

    public LootGroupRules(LootRuleType lootRule, LootDistribution autodistribution, int commonItemAbove, int superiorItemAbove, int heroicItemAbove, int fabledItemAbove, int ethernalItemAbove, int misc) {
    this.lootRule = lootRule;
    this.autodistribution = autodistribution;
    this.misc = misc;
    this.common_item_above = commonItemAbove;
    this.superior_item_above = superiorItemAbove;
    this.heroic_item_above = heroicItemAbove;
    this.fabled_item_above = fabledItemAbove;
    this.ethernal_item_above = ethernalItemAbove;
    }

    public boolean getQualityRule(ItemQuality quality) {
    switch (quality) {
    case COMMON:
    return (this.common_item_above != 0);
    case RARE:
    return (this.superior_item_above != 0);
    case LEGEND:
    return (this.heroic_item_above != 0);
    case UNIQUE:
    return (this.fabled_item_above != 0);
    case MYTHIC:
    return (this.ethernal_item_above != 0);
    case EPIC:
    return true;
    }
    return false;
    }


    There is no rool in this file for MYTHIC, it should look like this public class LootGroupRules

    public class LootGroupRules {

    private LootRuleType lootRule;
    private LootDistribution autodistribution;
    private int common_item_above;
    private int superior_item_above;
    private int heroic_item_above;
    private int fabled_item_above;
    private int ethernal_item_above;
    private int mythic_item_above;
    private int misc;
    private int nrMisc;
    private int nrRoundRobin;
    private FastList<DropItem> itemsToBeDistributed = new FastList<DropItem>();

    public LootGroupRules() {
    lootRule = LootRuleType.ROUNDROBIN;
    autodistribution = LootDistribution.ROLL_DICE;
    common_item_above = 0;
    superior_item_above = 2;
    heroic_item_above = 2;
    fabled_item_above = 2;
    ethernal_item_above = 2;
    mythic_item_above = 2;
    }

    public LootGroupRules(LootRuleType lootRule, LootDistribution autodistribution, int commonItemAbove, int superiorItemAbove, int heroicItemAbove, int fabledItemAbove, int ethernalItemAbove, int mythicItemAbove, int misc) {
    super();
    this.lootRule = lootRule;
    this.autodistribution = autodistribution;
    this.misc = misc;
    common_item_above = commonItemAbove;
    superior_item_above = superiorItemAbove;
    heroic_item_above = heroicItemAbove;
    fabled_item_above = fabledItemAbove;
    ethernal_item_above = ethernalItemAbove;
    mythic_item_above = mythicItemAbove;

    }

    /**
    * @param quality
    * @return
    */
    public boolean getQualityRule(ItemQuality quality) {
    switch (quality) {
    case COMMON: // White
    return common_item_above != 0;
    case RARE: // Green
    return superior_item_above != 0;
    case LEGEND: // Blue
    return heroic_item_above != 0;
    case UNIQUE: // Yellow
    return fabled_item_above != 0;
    case EPIC: // Orange
    return ethernal_item_above != 0;
    case MYTHIC: // Purple
    return mythic_item_above != 0;
    default:
    break;
    }
    return false;
    }

    If I'm wrong, please correct me, if it would be possible to get src, I could check if it works.

  3. #18
    "One day at a time" Robyson is offline
    [VIP] MemberRank
    Sep 2013 Join Date
    TzionLocation
    1,863Posts

    Re: Aion-5.8(by_G-Robson26)

    Sorry but that doesn't solve, i will check on free time.
    You tested my last update??? i think not.
    Understand it's not just that file.

  4. #19
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts

    Re: Aion-5.8(by_G-Robson26)

    Quote Originally Posted by Robson26 View Post
    Sorry but that doesn't solve, i will check on free time.
    You tested my last update??? i think not.
    Understand it's not just that file.
    I tested and the situation is the same

  5. #20
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts
    Hi Still no one knows anything what could be causing such a mistake when it comes to the group roll.
    -------
    Hi Still no one anything about the group roll bug. Where to find it to fix?
    -------
    The problem is solved you can close the topic.
    Last edited by PyroSamurai; 22-11-20 at 02:49 PM. Reason: multi-post, solution must be posted for thread to close



Page 2 of 2 FirstFirst 12

Advertisement