how o fix revolutionary cube , enlightining cube and white awakening stamp?

Results 1 to 7 of 7
  1. #1
    Newbie mixtapon is offline
    MemberRank
    Dec 2010 Join Date
    11Posts

    Support how o fix revolutionary cube , enlightining cube and white awakening stamp?

    hi guys

    I hope you can help me fix the function of these items "dont work" u_U


  2. #2
    Grand Master sunnyboy is offline
    Grand MasterRank
    Mar 2010 Join Date
    6,108Posts

    Re: how o fix revolutionary cube , enlightining cube and white awakening stamp?

    add a case for usecashitem and code them

    dont ask how plz

  3. #3
    Newbie mixtapon is offline
    MemberRank
    Dec 2010 Join Date
    11Posts

    Re: how o fix revolutionary cube , enlightining cube and white awakening stamp?

    I need your help again, what happens is that this item should put 4 or 5 line to the item but when an item that has 3 lines, I can not use this item White awakening stamp

    I leave the code that adds

    -Code-
    inventoryhandler.java

    case 5062300: { //White awakening Stamp
    if (c.getPlayer().getLevel() < 100) {
    c.getPlayer().dropMessage(1, "You may not use this until level 100.");
    } else {
    final Item item = c.getPlayer().getInventory(MapleInventoryType.EQUIP).getItem((byte) slea.readInt());
    if (item != null && c.getPlayer().getInventory(MapleInventoryType.USE).getNumFreeSlot() >= 1) {
    final Equip eq = (Equip) item;
    if (eq.getState() >= 17) {
    eq.renewPotential(3);
    c.getPlayer().getMap().broadcastMessage(CField.showPotentialReset(false, c.getPlayer().getId(), true, itemId));
    c.getSession().write(InventoryPacket.scrolledItem(toUse, item, false, true));
    c.getPlayer().forceReAddItem_NoUpdate(item, MapleInventoryType.EQUIP);
    MapleInventoryManipulator.addById(c, 2430481, (short) 1, "Cube" + " on " + FileoutputUtil.CurrentReadable_Date());
    used = true;
    } else {
    c.getPlayer().dropMessage(5, "This item's Potential cannot be reset.");
    }
    } else {
    c.getPlayer().getMap().broadcastMessage(CField.showPotentialReset(false, c.getPlayer().getId(), false, itemId));
    }
    }
    break;
    }


    Equip.java

    public void renewPotential(int type) { // 0 = normal miracle cube, 1 = premium, 2 = epic pot scroll, 3 = super 4 = Enligntening 5 = white awakening Stamp 6 = revolutionary cube
    final int rank = type == 2 ? -18 : (Randomizer.nextInt(100) < 4 && getState() != (type == 3 ? 20 : 19) ? -(getState() + 1) : -(getState())); // 4 % chance to up 1 tier
    setPotential1(rank);
    if (getPotential3() > 0) {
    setPotential2(rank); // put back old 3rd line
    } else {
    switch (type) {
    case 1: // premium-> suppose to be 25%
    setPotential2(Randomizer.nextInt(10) == 0 ? rank : 0); //1/10 chance of 3 line
    break;
    case 2: // epic pot
    setPotential2(Randomizer.nextInt(10) <= 1 ? rank : 0); //2/10 chance of 3 line
    break;
    case 3: // super
    setPotential2(Randomizer.nextInt(10) <= 2 ? rank : 0); //3/10 chance of 3 line
    break;
    case 4: // Enlightening cube
    setPotential2(Randomizer.nextInt(10) <= 3 ? rank : 0); //3/10 chance of 3 line
    break;
    case 5: // white stamp
    setPotential2(Randomizer.nextInt(10) <= 2 ? rank : 0); //3/10 chance of 3 line
    break;
    default:
    setPotential2(0);
    break;
    }
    }
    if (getPotential4() > 0) {
    setPotential3(rank); // put back old 4th line
    } else if (type == 3) { // super
    setPotential3(Randomizer.nextInt(100) <= 2 ? rank : 0); // 3/100 to get 4 lines
    } else if (type == 5) { // stamp
    setPotential3(Randomizer.nextInt(100) <= 2 ? rank : 0); // 3/100 to get 4 lines
    } else { // premium cannot get 3 lines.
    setPotential3(0); //just set it theoretically
    }
    if (getPotential5() > 0) {
    setPotential4(rank); // put back old 5th line
    } else if (type == 3) { // super
    setPotential4(Randomizer.nextInt(100) <= 1 ? rank : 0); // 2/100 to get 5 lines
    } else if (type == 5) { // white estamp
    setPotential4(Randomizer.nextInt(100) <= 1 ? rank : 0); // 3/100 to get 5 lines
    } else {
    setPotential4(0); //just set it theoretically
    }
    setPotential5(0); //just set it theoretically
    }


    need help guys? :s

  4. #4
    Grand Master sunnyboy is offline
    Grand MasterRank
    Mar 2010 Join Date
    6,108Posts

    Re: how o fix revolutionary cube , enlightining cube and white awakening stamp?

    YOu make no sense to me

    Add case itemid:

    add under what item does and then do same for white stamp w/e

    If you're v112+, you have no 4or 5L. Want 4 or 5L go v111

  5. #5
    Newbie mixtapon1 is offline
    MemberRank
    Sep 2012 Join Date
    7Posts

    Re: how o fix revolutionary cube , enlightining cube and white awakening stamp?

    but i have v116!

    i hae 4 or 5L?

    help?

    How I can fix this item so that you can give 4L and 5L?
    can you help me please?

  6. #6
    Moongran Saii is offline
    Grand MasterRank
    Jan 2012 Join Date
    510Posts

    Re: how o fix revolutionary cube , enlightining cube and white awakening stamp?

    nexon removed the visibility of 4th and 5th line in v112. you cannot fix it.
    if you use a source that had 5 lines(like lithium) your items will still get them, but they wont be visible

  7. #7
    Newbie mixtapon1 is offline
    MemberRank
    Sep 2012 Join Date
    7Posts

    Re: how o fix revolutionary cube , enlightining cube and white awakening stamp?

    ohh!! dammm NEXON XD!!! jejeje okthanks bro for Information



Advertisement