-
Posts
8,941 -
Joined
-
Last visited
-
Days Won
25 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by SweeTs
-
Advanced PvP/Pk Name/Title color system.
SweeTs replied to An4rchy's topic in Server Shares & Files [L2J]
It is coded on aCis.. FastMap -> HashMap FastList - > ArraList -
Help Delete Npc From Spawnlist Lv 1-70
SweeTs replied to DanielaSK's question in Request Server Development Help [L2J]
:o -
Google is your friend. :P
-
Help Help Me Whit This Error Plz
SweeTs replied to davidBm's question in Request Server Development Help [L2J]
L2Skill.java 2628 line -
It's core (source) modification and not npc :P
-
Two possibilietes 1 - systemmsg-e.dat file inside system folder - L2FileEdit or 2 - it's hardcoded inside EnterWorld.java - you need sources and remove it via Eclipse
-
So, just make 2 new configs like REQUIRED_ITEM = your id REQUIRED_AMOUNT = 5000 and replace them in the code here if st.getPlayer().isClanLeader() and st.getPlayer().getClan().getLevel() >= 5 and st.getPlayer().getClan().getReputationScore() < NEW_REP_SCORE : if st.getPlayer().isNoble() and count > REQUESTED_AMOUNT: htmltext=event st.getPlayer().getClan().setReputationScore(NEW_REP_SCORE, 5000); st.playSound("ItemSound.quest_finish") st.takeItems(REQUESTED_ITEM,REQUESTED_AMOUNT) REQUESTED_TEM / REQUESTED_AMOUNT => REQUIRED_ITEM / REQUIRED_AMOUNT Should work :P
-
You already changed it REQUESTED_ITEM=5574 REQUESTED_AMOUNT=5000 I don't get your problem :o Btw, when you restart the server your clan lvl stay or get back to previous level or to 0 ? Since.. st.getPlayer().getClan().changeLevel(8) Should be setLevel and not change.. Anyway, that's broken pack, so everything is possible :happyforever: Also, haha this code is funny :happyforever: :happyforever:
-
Too much drama @ MxC those days :troll:
-
Discussion Lf Glory Days, Tauti, Lindivior Pack/build
SweeTs replied to DarkCore's question in Request Server Development Help [L2J]
Take a look here. Dunno if it's still up or so. :P -
Nowadays, it's impossible.. :)
-
Yes, service manager. Check aCis section. Just change imports.
-
Help Create Character Sql Error
SweeTs replied to kryptic's question in Request Server Development Help [L2J]
What have you added ? Look here vitality_points=?,language=? vitality_points,createDate,language Looks like you miss createDate. Also check createDb() method @ L2PcInstance, if all is fine - probably you forgot this part. -
Request Anything Sold For 0 Adena
SweeTs replied to RandomDude's question in Request Server Development Help [L2J]
RequestSellItem.java int price = item.getReferencePrice() / 2; change it to 0 -
So, use frozen forum. There is a patch @ frozen forum for sure. Also, Im award it's not implemented in sources, or maybe it is, dunno rly. You must add new file at eclipse, gameserver.handler.itemhandlers; in here, you have create it.
-
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.
-
Source [Share]L2Jreunion Free Version
SweeTs replied to `NeverMore's topic in Server Shares & Files [L2J]
Maybe compile before use :troll: -
Discussion L2J Interlude (C6) Help
SweeTs replied to milushev's topic in Server Development Discussion [L2J]
Leave them default for local server. -
Discussion L2J Interlude (C6) Help
SweeTs replied to milushev's topic in Server Development Discussion [L2J]
Looks like wrong IP configuration. -
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)
SweeTs replied to povis111's question in Request Server Development Help [L2J]
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)
SweeTs replied to povis111's question in Request Server Development Help [L2J]
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 -
Discussion The Best Java In The Europe
SweeTs replied to nn03's question in Request Server Development Help [L2J]
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. :) -
Discussion The Best Java In The Europe
SweeTs replied to nn03's question in Request Server Development Help [L2J]
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 -
Discussion The Best Java In The Europe
SweeTs replied to nn03's question in Request Server Development Help [L2J]
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.
