Jump to content

MarKoM

Members
  • Posts

    27
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by MarKoM

  1. Thanks a lot for this guide! I was searching how to install a server on linux and i finally find yours :D Gratz mate!
  2. Hello guys i got windows 7 and i am trying to play lineage 2 but it doesn't open and it shows me this error: 2012.12.20 08:47:43 OS : Windows Vista 6.1 (Build: 7601) CPU : GenuineIntel PentiumPro-class processor @ 1597 MHz with 3071MB RAM Video : NVIDIA GeForce GT 430 (697) General protection fault! History: XMLUIManager::Init <- XMLUIManager::XMLUIManager <- NConsoleWnd::InitializeXMLUI <- NConsoleWnd::Initialize <- NConsoleWnd::Init <- UGameEngine::Init <- InitEngine I searched on forum and on google but i didn't find anything ... Please help me!!! Thanks in advanced!
  3. Bump! Please someone help me, i am trying so much to find whats the problem is because i have just started understading java please someone with better experience help me. Thanks in advance!
  4. I made them all manually on UPDATE_CHARACTER i add karma=?,fame=?,...... on RESTORE_CHARACTER i add karma,fame,...... I add all this thing statement.setInt(25, getFame()); and change the number of the following +1 And still i get this error i have tried so many different things and nothing... :(
  5. Yes i did all the way it says and add to tables "fame decimical not null default 0" but i get that :( EDIT: I saw that the screen has missed a line here what it say on top: Could not insert char data: java.sql.SQLException: Parameter index out of range (62 > number of parameters, which is 61). Client: Account..... blablabla
  6. Hello guys i am trying to input this code on my L2j Frozen Last Rev(957) Pack http://maxcheaters.com/forum/index.php?topic=140041.0 I do all the things that code says, i have no error when compiling but when i log in and try creat a character i receive this error: Please help me i want this addition SO MUCH! Thanks in advance.
  7. Thanks man for replying i was searching right now the config.java file and found what i was missing :) It seems that i had to input this: loadHexed(); + //Load Custom config + loadCustomConfig(); + Tested and worked. (I am really happy right now xD ) So thanks and please someone lock this topic :) Have a good time.
  8. Hello guys as my title says i am using l2j-frozen pack and i am trying to input a custom property file but i cant even if i do all corectly ( i think ) So let me tell you what i do: I open this: com.l2jfrozen.FService.java // Config Files Paths //=========================================== + //Custom config + public static final String CUSTOM_FILE_DIR = "./config/custom.properties"; Then i open: com.l2jfrozen.Config.java private static final Logger _log = Logger.getLogger(Config.class.getName()); + + public static boolean ALLOW_CUSTOM; + + public static void loadCustomConfig() + { + final String CUSTOM_SETTING= FService.CUSTOM_FILE_DIR; + + try + { + Properties custom = new Properties(); + InputStream is = new FileInputStream(new File(CUSTOM_SETTING)); + custom.load(is); + is.close(); + //============================================================ + ALLOW_CUSTOM = Boolean.parseBoolean(custom.getProperty("AllowCustom", "True")); + + } + catch(Exception e) + { + e.printStackTrace(); + throw new Error("Failed to Load " + CUSTOM_SETTING + " File."); + } + } + And i create the custom.properties at config directory adding the AllowCustom = True in the file, i get no error while compiling and no errors at GameServer but when i log in and try using this custom additions they dont work... Please someone help me... Thanks in advance! PS: Thats an example i add other things just to give you understand what i do :)
  9. Thanks for sharing this with us its reallt nice and useful :)
  10. So is this used on interlude or not? :) I cant really understand from posts... I really like this idea :) hope i can use it on Interlude...
  11. [Hidden post: You need reply to this topic to see it.]
  12. Hello i am trying to apply this patch to l2jfrozen pack and i see that you are missing some staffs :) * A typo to scripts/L2FameManager you are missing the .java * And you have missed the MAX_PERSONAL_FAME_POINTS config Thats all :) Thanks for this awesome share i will soore use it!!
  13. Thank's for sharing man :) Nice dusk icon... :D
  14. Thank's you all guys :) I am trying something new atm when i complete it i will share it with you :)
  15. Hello guys here is an item that when you press it you will get "x" reputation points to your clan...:) I know its nothing special but here is the code: Create a new file at:net.sf.l2j.gameserver.handler.itemhandlers named: CustomRep.java /* * 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.datatables.SkillTable; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser; /** * This class ... * * @version $Revision: 1.0.0.0.0.0 $ $Date: 2005/09/02 19:41:13 $ */ public class CustomRep implements IItemHandler { // Modified by Baghak (Prograsso): Added Firework support private static final int[] ITEM_IDS = { 11000 }; public void useItem(L2PlayableInstance playable, L2ItemInstance item) { if (!(playable instanceof L2PcInstance)) return; // prevent Class cast exception L2PcInstance activeChar = (L2PcInstance) playable; int itemId = item.getItemId(); if (activeChar.isInOlympiadMode()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.inObserverMode()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isSitting()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isAway()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isConfused()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isStunned()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isDead()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isAlikeDead()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isInCombat()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (activeChar.isInJail()) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } if (!activeChar.getFloodProtectors().getFirework().tryPerformAction("firework")) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } /* * Elven Firecracker */ if (itemId == 11000) // elven_firecracker, xml: 2023 { MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, 2023, 1, 1, 0); activeChar.sendPacket(MSU); activeChar.broadcastPacket(MSU); useFw(activeChar, 2023, 1); playable.destroyItem("Consume", item.getObjectId(), 1, null, false); activeChar.getClan().setReputationScore(activeChar.getClan().getReputationScore() +5000, true); activeChar.sendMessage("Grats you have award your clan with 5000 Reputation Points!"); activeChar.broadcastUserInfo(); } } public void useFw(L2PcInstance activeChar, int magicId, int level) { L2Skill skill = SkillTable.getInstance().getInfo(magicId, level); if (skill != null) activeChar.useMagic(skill, false, false); } public int[] getItemIds() { return ITEM_IDS; } } Then go to net.sf.l2j.gameserver.handler.ItemHandler.java Find this line: import net.sf.l2j.gameserver.handler.itemhandlers.CrystalCarol; And after that add this: import net.sf.l2j.gameserver.handler.itemhandlers.CustomRep; Then find this line: registerItemHandler(new CrystalCarol()); And after that add this: registerItemHandler(new CustomRep()); Credits to me :)
  16. dokimaseto mia etsi...:) if (noble.isAio()) { noble.sendMessage("Aio are not allowed to participate to olympiad games."); return false; }
  17. Eyxaristo poli guys emena pados eytiaxe allazodas to id template...:) ixa to idio problem ... EYXARISTO :)
  18. guys exw kai egw to idio problem...:( mipos borite na dosete kana link gia clear system...? epidi exw dokimasi pola alla pali ta idia..:( thnx client:[iL]
  19. Bravo re man! Poli oreo topic me ekanes kai gelasa xD! Pados afto pou les ta perisotera alithevun m exei tixi na leei o allos ston gm tha s klisw ton server ama dn me kaneis Gm kai tus kanun Gm les kai tha ton klisun xD
  20. Thank you very much m8 i will soore use it on my server! Really nice job!!!! :) I was searching for something like this :D
  21. Hello guyz i thought to share a GK for interlude server...:P Here are some picks: http://img717.imageshack.us/img717/2549/shot00001e.jpg[/img] Sorry a mistake had been made with the Npc.sql file just edit it and insert this: INSERT INTO `npc` VALUES ('70004', 31121, 'GateKeeper', 1, 'L2JInfinity', 1, 'Monster.zaken', '16.00', '32.00', '60', 'male', 'L2Teleporter', 40, '858518', '1975', '799.68', '2.45', '60', '57', '73', '76', '35', '80', '4879745', '423589', '7273', '2951', '19762', '1197', '333', '0', '2362', '0', '0', '0', '80', '120', NULL, '0', 1, '12', 'LAST_HIT'); DELETE FROM `spawnlist` WHERE `npc_templateid`='70004'; Download: [move]http://www.megaupload.com/?d=99P6WX9T[/move] Credits to me..:P
  22. Thanks man for the share i need something like this ...:)
  23. Thank you, I will try it on L2j Il pack...:)
  24. I have the same problem with "TheFrostOk" i have red lines at DM.java...:( I have L2j interlude rev:1434...
×
×
  • Create New...