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.
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.
Fix your equip handler.
[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) {
nothing works :\
May I ask for edit? I just need that fix for done :\ please (if u can I guess)
I have this now:
May I see any little edit from you for fix this problem?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; }
![]()
Last edited by Almog Morovati; 14-03-15 at 05:19 PM.
"Nothing works".
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.
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: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..PHP Code:if (GameConstants.isKatara(source.getItemId()) || source.getItemId() / 10000 == 135 || source.getItemId() == 1098000) {
dst = (byte) -10; //shield slot
}
Oh and maybe, just an idea, i barely know what i'm doing most of the time,
But try to write enableactions.