Jump to content

`Peter

Members
  • Posts

    73
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by `Peter

  1. Oh come on you are not serious. Are you gonna floodprotect the movebackwardtolocation? Players use it ALL the -beep-ing time.

     

    Floodprotecting it is the most stupid thing i've ever heard.. Imo should be locked.

    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. 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 :)

  3. 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)
    

  4. XML is a strict standard. Such things are FORBIDDEN and will NEVER be allowed in XML (in contrary to HTML):

      <enchant1for>
      <for>
        <effect count="1" name="Buff" time="1200" val="0" stackOrder="#ench1mp" stackType="MPregen">
           <mul stat="maxMp" order="0x30" val="#ench1mp">
             <using kind="Bow"/>
           </mul>
        </effect>
      </enchant1for>
      </for>

     

    Also, randomly stashing '</add>' will not do any good, so ditch such things:

      <for>
        <effect name="Buff" time="10800" count="1" val="0">
          <add order="0x40" stat="reflectDam" val="20"/>
        </effect>
        </add>
      </for>
      <enchant1for>
        <effect name="Buff" time="#ench1time" count="1" val="0">
          <add order="0x40" stat="reflectDam" val="20"/>
        </effect>
        </add>
      </enchant1for>

     

    'cond' is not a child node of 'for'!.. It's in same hierarchy level, so such things are invalid:

      <for>
        <cond><using kind="Bow"/></cond>
      </for>

     

    Another example of hierarchy ignorance:

        <effect count="1" name="Stun" time="3" val="0"/>
          <using kind="Shield"/>

     

    And here's the valid file: http://pastebin.com/m4494630

    Really really really, Thank you. Friend :)

  5. rofl read what it says....

     

    [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>".

     

     

    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

  6. 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)
    

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock