Everything posted by SweeTs
-
Anything Sold For 0 Adena
RequestSellItem.java int price = item.getReferencePrice() / 2; change it to 0
- Help With Item
-
Help With Item
Depend what pack he use. There may be not such config. Anyway. About clan rep item. You have to create new item handler /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.handler.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.L2Playable; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUse; public class ClanItem implements IItemHandler { @Override public void useItem(L2Playable playable, L2ItemInstance item, boolean forceUse) { if (!(playable instanceof L2PcInstance)) return; final L2PcInstance activeChar = (L2PcInstance) playable; if (activeChar.getClan() == null) return; if (!activeChar.isClanLeader()) { activeChar.sendMessage("Only clan leader can use it."); return; } activeChar.getClan().addReputationScore(500); activeChar.getClan().broadcastClanStatus(); activeChar.sendMessage("Your clans reputation score has been increased."); MagicSkillUse MSU = new MagicSkillUse(activeChar, activeChar, 2024, 1, 1, 0); activeChar.broadcastPacket(MSU); activeChar.destroyItem("Consume", item.getObjectId(), 1, null, true); } } Then register it inside Itemhandler.java Go to xml folder, to the item that you want and change its handler to ClanItem.
-
[Share]L2Jreunion Free Version
Maybe compile before use :troll:
-
L2J Interlude (C6) Help
Leave them default for local server.
-
L2J Interlude (C6) Help
Looks like wrong IP configuration.
-
Error In Patch.
Show me how looks like your "Index: ...." Also, you can do it manually, even if it's huge.. Its gonna take awhile, but if it's the only way.. :P After you manage to fix the patch, you will split into 2 patches, which can't be applied cuz of errors, and second part which can be applied w/o problem :) Reply here or in pm/skype. As you want, so I could help :D
-
L2Gameserverpacket For Clan War Title Icon(Double Fist)
Yes, then I added the relation for the fists change controlled @ L2PcInstance :) Anyway, what's your idea? :P
-
L2Gameserverpacket For Clan War Title Icon(Double Fist)
I guess you're right. It's about _relation and its sending info via UserInfo.java For example // 0x40 leader rights // siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader) writeD(_relation); I guess the same with dat fist. Somehow.. :D public static final int RELATION_MUTUAL_WAR = 0x08000; // double fist public static final int RELATION_1SIDED_WAR = 0x10000; // single fist Check L2PcInstance for the use @ public int getRelation(L2PcInstance target) if (getClan().isAtWarWith(target.getClan().getClanId())) result |= RelationChanged.RELATION_MUTUAL_WAR; Boom, double fist :P
-
The Best Java In The Europe
Whatever you wish, all packs got its problems :P Check the sources, the logic and see which more fits your style. As I said, all depends of your servers gameplay, test both packs and pick the one which is more 'fixed' for you. :)
-
The Best Java In The Europe
Interlude - frozen (custom shit inside) or aCis (clean, retail like) and hellas Above chronicles - L2jServer - generally, check L2Packs & Files section, there is some nice with extra mods and 'fixes' :D
-
The Best Java In The Europe
There isn't the best 'java in the europe'. There is more or less buggy. With more retail like things or with more customs :P Depends on what you looking for.
-
'illegal' Action
Will hurt or not, who cares. He will lose the access to the updates and he will get the ban, I hope so. Thanks Justice, can be locked. :)
-
'illegal' Action
Indeed, but when I find him he will lose his acces @ aCis forum :D
-
'illegal' Action
I just get mad and I'm gonna find this guy :)
-
'illegal' Action
Please delete this reply as soon as possible. Also, warn this guy. http://www.maxcheaters.com/topic/173747-l2gold-project-interlude-full-package/?p=2312645
-
[Report] Threads That Need To Be Locked
http://www.maxcheaters.com/topic/173733-clan-hall-manager/
-
Clan Hall Manager
Your welcome :P
- [L2Sandora Upgrade > H5] More Info Soon!
-
Dev To Help Me With Tvt
Gods, stop creating the same topic over and over again between sections ! http://www.maxcheaters.com/topic/173734-lf-a-dev-to-help-with-tvt-asap/?do=findComment&comment=2312242
-
[Report] Wrong Section Topics/Titles or Undigs
http://www.maxcheaters.com/topic/173734-lf-a-dev-to-help-with-tvt-asap/ The same topic just in other section :Rage: http://www.maxcheaters.com/topic/173735-lf-dev-to-help-me-with-tvt/?p=2312200
-
Lf A Dev To Help With Tvt! Asap
What does it have with client section? :D Anyway, just tell us what is your problem, so we could help you.
-
Clan Hall Manager
Yup, he wanted the location of the file in order to change htm :D
-
Clan Hall Manager
This, auction.htm is the main htm visible on the picture. About the creating new npc, its pointless. Since its gonna use the same htm (L2Auctioneer type) :P
- Error In Patch.