Help| Can't equip [DUAL BLADE] Items ExiledMS

Results 1 to 14 of 14
  1. #1
    Enthusiast Almog Morovati is offline
    MemberRank
    Mar 2015 Join Date
    42Posts

    shout Help| Can't equip [DUAL BLADE] Items ExiledMS

    Good evening,

    [117]
    Every time when I try equip db items, an message is showing - " You can't get anymore items "


    Help me much as you can please.

    thank you.


  2. #2
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Fix your equip handler.

  3. #3
    Enthusiast Almog Morovati is offline
    MemberRank
    Mar 2015 Join Date
    42Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Fraysa View Post
    Fix your equip handler.
    is that fine is I'll replace the Equip file with another?
    tnx alot for help.

  4. #4
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Almog Morovati View Post
    is that fine is I'll replace the Equip file with another?
    tnx alot for help.
    No, that's not what I said. I said to fix the handler.

  5. #5
    Enthusiast Almog Morovati is offline
    MemberRank
    Mar 2015 Join Date
    42Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Fraysa View Post
    No, that's not what I said. I said to fix the handler.
    Im sorry for this
    Where may I fine the equip handler.

  6. #6
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Almog Morovati View Post
    Im sorry for this
    Where may I fine the equip handler.
    I don't know, this is OdinMS, it could be anywhere. But use your brain. Should be one of the ChannelServer's handlers.

  7. #7
    Enthusiast Almog Morovati is offline
    MemberRank
    Mar 2015 Join Date
    42Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Fraysa View Post
    I don't know, this is OdinMS, it could be anywhere. But use your brain. Should be one of the ChannelServer's handlers.
    oh..
    you mean one of the channelserver.java(this file)? or one of the handlers in channel folder?

  8. #8
    Account Upgraded | Title Enabled! SuperLol is offline
    MemberRank
    Jun 2010 Join Date
    801Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    [12:16:53 PM] Some Pro Guy: yo manb
    [12:16:54 PM] Some Pro Guy: http://forum.ragezone.com/f566/help-...blade-1055750/
    [12:16:59 PM] Some Pro Guy: fraysa's posts are so trash
    [12:17:01 PM] Some Pro Guy: shitposts
    [12:17:02 PM] Some Pro Guy: spam
    [12:17:22 PM] Some Noob Guy: LOL
    [12:18:04 PM] Some Pro Guy: http://forum.ragezone.com/f566/help-...0/#post8368987
    [12:18:08 PM] Some Pro Guy: like uhhhhhhhhhhhhhhhhhhh
    [12:18:13 PM] Some Pro Guy: of course you know you fucking cunt
    [12:18:18 PM] Some Pro Guy: every odinms fork is structured the same way
    [12:18:24 PM] Some Pro Guy: and you worked on an odinms fork too
    [12:18:35 PM] Some Pro Guy: and the second half of his sentence
    [12:18:40 PM] Some Pro Guy: doesn't even answer the question LOL
    [12:18:46 PM] Some Pro Guy: literally spam
    [12:19:26 PM] Some Noob Guy: nice
    [12:19:29 PM] Some Noob Guy: i guessed superlol password
    [12:19:32 PM] Some Pro Guy: NICE

    Anyway it's in one of the handlers in the channel folder. I don't know the exact source but it's probably one of those Lithium ones so it might be in inventoryhandler or something.

    I think it's in MapleInventoryManipulator or something though (in server folder). Probably the equip method

  9. #9
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by SuperLol View Post
    [12:16:53 PM] Some Pro Guy: yo manb
    [12:16:54 PM] Some Pro Guy: http://forum.ragezone.com/f566/help-...blade-1055750/
    [12:16:59 PM] Some Pro Guy: fraysa's posts are so trash
    [12:17:01 PM] Some Pro Guy: shitposts
    [12:17:02 PM] Some Pro Guy: spam
    [12:17:22 PM] Some Noob Guy: LOL
    [12:18:04 PM] Some Pro Guy: http://forum.ragezone.com/f566/help-...0/#post8368987
    [12:18:08 PM] Some Pro Guy: like uhhhhhhhhhhhhhhhhhhh
    [12:18:13 PM] Some Pro Guy: of course you know you fucking cunt
    [12:18:18 PM] Some Pro Guy: every odinms fork is structured the same way
    [12:18:24 PM] Some Pro Guy: and you worked on an odinms fork too
    [12:18:35 PM] Some Pro Guy: and the second half of his sentence
    [12:18:40 PM] Some Pro Guy: doesn't even answer the question LOL
    [12:18:46 PM] Some Pro Guy: literally spam
    [12:19:26 PM] Some Noob Guy: nice
    [12:19:29 PM] Some Noob Guy: i guessed superlol password
    [12:19:32 PM] Some Pro Guy: NICE

    Anyway it's in one of the handlers in the channel folder. I don't know the exact source but it's probably one of those Lithium ones so it might be in inventoryhandler or something.

    I think it's in MapleInventoryManipulator or something though (in server folder). Probably the equip method
    hi atleast u talkin about me x))

    EDIT: Okay, no more trash posts. It's just that I wanted this guy to try before spoonfeeding him. Anyways - navigate to 'MapleInventoryManipulator.java' like @SuperLol mentioned, which is located in the server package. There is a method called 'equip', navigate to it.

    This is where you should be looking:

    Code:
            } else if (dst == -11) {
    

  10. #10
    Enthusiast Almog Morovati is offline
    MemberRank
    Mar 2015 Join Date
    42Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Fraysa View Post
    hi atleast u talkin about me x))

    EDIT: Okay, no more trash posts. It's just that I wanted this guy to try before spoonfeeding him. Anyways - navigate to 'MapleInventoryManipulator.java' like @SuperLol mentioned, which is located in the server package. There is a method called 'equip', navigate to it.

    This is where you should be looking:

    Code:
            } else if (dst == -11) {
    
    nothing works :\
    May I ask for edit? I just need that fix for done :\ please (if u can I guess)
    I have this now:

    Code:
    final Map<String, Integer> stats = ii.getEquipStats(source.getItemId());
    
    
            if (GameConstants.isWeapon(source.getItemId()) && dst != -10 && dst != -11) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
            if (GameConstants.isKatara(source.getItemId()) || source.getItemId() / 10000 == 135 || source.getItemId() == 1098000) {
                dst = (byte) -10; //shield slot
            }
            if (stats == null) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
            if (dst > -1200 && dst < -999 && !GameConstants.isEvanDragonItem(source.getItemId()) && !GameConstants.isMechanicItem(source.getItemId())) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            } else if ((dst <= -1200 || (dst >= -999 && dst < -99)) && !stats.containsKey("cash")) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            } else if (dst <= -1300 && c.getPlayer().getAndroid() == null) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
            if (!ii.canEquip(stats, source.getItemId(), chr.getLevel(), chr.getJob(), chr.getFame(), statst.getTotalStr(), statst.getTotalDex(), statst.getTotalLuk(), statst.getTotalInt(), c.getPlayer().getStat().levelBonus)) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
            if (dst == (GameConstants.GMS ? -18 : -23) && !GameConstants.isMountItemAvailable(source.getItemId(), c.getPlayer().getJob())) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
            if (dst == (GameConstants.GMS ? -118 : -123) && source.getItemId() / 10000 != 190) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
            if (dst == (GameConstants.GMS ? -59 : -55)) { // Pendant
                MapleQuestStatus stat = c.getPlayer().getQuestNoAdd(MapleQuest.getInstance(GameConstants.PENDANT_SLOT));
                if (stat == null || stat.getCustomData() == null || Long.parseLong(stat.getCustomData()) < System.currentTimeMillis()) {
                    c.getSession().write(CWvsContext.enableActions());
                    return;
                }
            }
            if (GameConstants.isEvanDragonItem(source.getItemId()) && (chr.getJob() < 2200 || chr.getJob() > 2218)) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
    
    
            if (GameConstants.isMechanicItem(source.getItemId()) && (chr.getJob() < 3500 || chr.getJob() > 3512)) {
                c.getSession().write(CWvsContext.enableActions());
                return;
            }
    May I see any little edit from you for fix this problem?
    Last edited by Almog Morovati; 14-03-15 at 05:19 PM.

  11. #11
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    "Nothing works".

    If you actually tried to read the code, debug the server and understand why this is happening you'd succeed.

  12. #12
    Enthusiast Almog Morovati is offline
    MemberRank
    Mar 2015 Join Date
    42Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Fraysa View Post
    "Nothing works".
    Fraysa,

    If you actually tried to read the code, debug the server and understand why this is happening you'd succeed.
    I am sorry for annoyig you, very appreciate that you're to let me learn that and not just copy the code.
    But... I realy do not know how fix this, I know it sounds badly, just missing tips.
    I wish you'll tell me the correct line to fix this.
    Any, thanks alot.

    Alot of regards.

  13. #13
    Enthusiast Almog Morovati is offline
    MemberRank
    Mar 2015 Join Date
    42Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Please help.
    Is that be ok if I'kk chane WZ file from higher version?

  14. #14
    (O_o(o_O(O_O)o_O)O_o) Novak is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    1,120Posts

    Re: Help| Can't equip [DUAL BLADE] Items ExiledMS

    Quote Originally Posted by Almog Morovati View Post
    Please help.
    Is that be ok if I'kk chane WZ file from higher version?
    WZ files have nothing to do with it.
    The problem is in the equip handler.

    Take another look at:
    PHP Code:
    if (GameConstants.isKatara(source.getItemId()) || source.getItemId() / 10000 == 135 || source.getItemId() == 1098000) {
                
    dst = (byte) -10//shield slot
            

    And maybe look at other items that go in the shield slot, and see how they are done. Honoustly, not many people (including me) will now how to exactly solve it. The trick is to just see how it's done at other locations, see what's different, and try to handle things the same way. Problem could be related to multiple things, for all i know, it's just a new katana with a new itemid..

    Oh and maybe, just an idea, i barely know what i'm doing most of the time,
    But try to write enableactions.



Advertisement