Jump to content

`Peter

Members
  • Posts

    73
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by `Peter

  1. You are wrong..., Post a different fix. @Addy, actually this seems like LAG :), so i wouldn't reccomend it. Nevertheless, you can add a different fix ( to block this packets, I am working on it ) :D
  2. Actually no :), i fixed it. It was a problem with the dedicated. :)
  3. Cayote, i think this is bugged + else if (_command.startsWith("aio_minishop")) + { + if (Config.ENABLE_VCAIO_SHOP) + { + InventoryUpdate iup = new InventoryUpdate(); + activeChar.getInventory().reduceAdena("Item", Config.VCAIO_MINISHOP_ADENAS, activeChar, null); + activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null); + activeChar.getInventory().updateDatabase(); + activeChar.sendPacket(iup); + } + } If you have 0 adena, you can still buy the Gold Bar. Here is my fix for that, haven't tested it...( you cannot buy it if you don't have the adena that are needed ). + else if (_command.startsWith("aio_minishop")) + { + if (Config.ENABLE_VCAIO_SHOP) + { + if (activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.VCAIO_MINISHOP_ADENAS) + { + InventoryUpdate iup = new InventoryUpdate(); + activeChar.getInventory().reduceAdena("Item", Config.VCAIO_MINISHOP_ADENAS, activeChar, null); + activeChar.getInventory().addItem("Item", 3470, 1, activeChar, null); + activeChar.getInventory().updateDatabase(); + activeChar.sendPacket(iup); + } + else + { + activeChar.sendMessage("You do not have enough adena to buy this") + } + } EDIT: Tested and working perfectly :)
  4. Is as simple as it can be, what feedback do you want, I really like it, beautifull and nice. Also add, messages when someone do something in AIO, to seem prettier :).
  5. I think i solved it, it was Problem from Dedicated ( Space. )
  6. Hello, i get an error, in Console, ( some times ), when logout, restart. etc. Can someone help me ? in Game Console, and i also get some different in Login Console, I think is freaking small problem, 1-2 lines :) Exception in thread "Thread-9" java.lang.NoClassDefFoundError: net/sf/l2j/logins erver/gameserverpackets/PlayerLogout at net.sf.l2j.loginserver.GameServerThread.onReceivePlayerLogOut(GameSer verThread.java:262) at net.sf.l2j.loginserver.GameServerThread.run(GameServerThread.java:157 ) Caused by: java.lang.ClassNotFoundException: net.sf.l2j.loginserver.gameserverpa ckets.PlayerLogout at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 2 more Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: net/sf/l2j /loginserver/serverpackets/PlayFail$PlayFailReason at net.sf.l2j.loginserver.clientpackets.RequestServerLogin.run(RequestSe rverLogin.java:98) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: net.sf.l2j.loginserver.serverpacket s.PlayFail$PlayFailReason at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 4 more Exception in thread "pool-1-thread-5" java.lang.NoClassDefFoundError: net/sf/l2j /loginserver/serverpackets/PlayFail$PlayFailReason at net.sf.l2j.loginserver.clientpackets.RequestServerLogin.run(RequestSe rverLogin.java:98) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "pool-1-thread-6" java.lang.NoClassDefFoundError: net/sf/l2j /loginserver/serverpackets/PlayFail$PlayFailReason at net.sf.l2j.loginserver.clientpackets.RequestServerLogin.run(RequestSe rverLogin.java:98) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "pool-1-thread-4" java.lang.NoClassDefFoundError: net/sf/l2j /loginserver/serverpackets/PlayFail$PlayFailReason at net.sf.l2j.loginserver.clientpackets.RequestServerLogin.run(RequestSe rverLogin.java:98) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "pool-1-thread-8" java.lang.NoClassDefFoundError: net/sf/l2j /loginserver/serverpackets/PlayFail$PlayFailReason at net.sf.l2j.loginserver.clientpackets.RequestServerLogin.run(RequestSe rverLogin.java:98) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "pool-1-thread-3" java.lang.NoClassDefFoundError: net/sf/l2j /loginserver/serverpackets/PlayFail$PlayFailReason at net.sf.l2j.loginserver.clientpackets.RequestServerLogin.run(RequestSe rverLogin.java:98) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
  7. Actually you are not, obviously because of your inactivity. Anyway, this is shared already since 2008.
  8. hmmm, very nice Share. But also space connsuming ^^
  9. I see this kind of L2J development, is going good. Although you know, you have to do many things before this back will be ready for a " normal " server, and stop adding shits. Thank you.
  10. Really really really, Thank you. Friend :)
  11. Yes I read it, I checked the file ( every <for> closes with </for> maybe there is a typo ) i cannot find it. See this uploaded in pastebin: http://pastebin.com/m478941bb
  12. http://rapidshare.com/files/345936056/0300-0399.xml.html here my friend.
  13. Someone Answer me what is wrong, please.
  14. Hello while i was setting ready my Pack, an unaexceptable error Appeared. I searched if i left any <for> unclosed with </for> but haven't noticed anything ( I checked the files twice ) Someone tell me What's wrong, i would appreciate it. [Fatal Error] 0300-0399.xml:111:5: The element type "for" must be terminated by the matching end-tag "</for>". Error loading file C:\server\gameserver\data\stats\skills\0300-0399.xml org.xml.sax.SAXParseException: The element type "for" must be terminated by the matching end-tag "</for>". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk nown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at net.sf.l2j.gameserver.skills.DocumentBase.parse(DocumentBase.java:106 ) at net.sf.l2j.gameserver.skills.SkillsEngine.loadSkills(SkillsEngine.jav a:95) at net.sf.l2j.gameserver.skills.SkillsEngine.loadAllSkills(SkillsEngine. java:104) at net.sf.l2j.gameserver.datatables.SkillTable.<init>(SkillTable.java:51 ) at net.sf.l2j.gameserver.datatables.SkillTable.getInstance(SkillTable.ja va:44) at net.sf.l2j.gameserver.templates.L2Armor.<init>(L2Armor.java:68) at net.sf.l2j.gameserver.skills.DocumentItem.makeItem(DocumentItem.java: 155) at net.sf.l2j.gameserver.skills.DocumentItem.parseItem(DocumentItem.java :146) at net.sf.l2j.gameserver.skills.DocumentItem.parseDocument(DocumentItem. java:101) at net.sf.l2j.gameserver.skills.DocumentBase.parse(DocumentBase.java:115 ) at net.sf.l2j.gameserver.skills.SkillsEngine.loadData(SkillsEngine.java: 159) at net.sf.l2j.gameserver.skills.SkillsEngine.loadArmors(SkillsEngine.jav a:119) at net.sf.l2j.gameserver.datatables.ItemTable.<init>(ItemTable.java:254) at net.sf.l2j.gameserver.datatables.ItemTable.getInstance(ItemTable.java :191) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:333) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:755) [Fatal Error] 1400-1499.xml:696:6: The element type "for" must be terminated by the matching end-tag "</for>". Error loading file C:\server\gameserver\data\stats\skills\1400-1499.xml org.xml.sax.SAXParseException: The element type "for" must be terminated by the matching end-tag "</for>". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk nown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at net.sf.l2j.gameserver.skills.DocumentBase.parse(DocumentBase.java:106 ) at net.sf.l2j.gameserver.skills.SkillsEngine.loadSkills(SkillsEngine.jav a:95) at net.sf.l2j.gameserver.skills.SkillsEngine.loadAllSkills(SkillsEngine. java:104) at net.sf.l2j.gameserver.datatables.SkillTable.<init>(SkillTable.java:51 ) at net.sf.l2j.gameserver.datatables.SkillTable.getInstance(SkillTable.ja va:44) at net.sf.l2j.gameserver.templates.L2Armor.<init>(L2Armor.java:68) at net.sf.l2j.gameserver.skills.DocumentItem.makeItem(DocumentItem.java: 155) at net.sf.l2j.gameserver.skills.DocumentItem.parseItem(DocumentItem.java :146) at net.sf.l2j.gameserver.skills.DocumentItem.parseDocument(DocumentItem. java:101) at net.sf.l2j.gameserver.skills.DocumentBase.parse(DocumentBase.java:115 ) at net.sf.l2j.gameserver.skills.SkillsEngine.loadData(SkillsEngine.java: 159) at net.sf.l2j.gameserver.skills.SkillsEngine.loadArmors(SkillsEngine.jav a:119) at net.sf.l2j.gameserver.datatables.ItemTable.<init>(ItemTable.java:254) at net.sf.l2j.gameserver.datatables.ItemTable.getInstance(ItemTable.java :191) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:333) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:755)
  15. You might codded this, I don't doubt it. But give credits to one who made it first.
  16. Client says it all, and is already shared in MxC ( Lineage 2 Sections )
  17. Yes, these Loading screens are kinda useful but also harmful ( i think ) it may cause Client Crashes. ( and this is not so good ^^ )
×
×
  • Create New...