Jump to content
  • 0

acis-rev(401) Gameserver error Question


Question

Posted (edited)

Hi to all DEVELOPERS i have these two errors.. can any one help me? where am i doing wrong and i have these two errors? acis pack rev(401)

 

i passed the xml files normally.. and  i passed them on the system etcitemsgrp and armorgrp

 

[Fatal Error] :1:1: Content is not allowed in prolog.
Error loading file .\data\xml\items\armors
org.xml.sax.SAXParseException; systemId: file:/C:/Users/USER/Desktop/acis%20401/gameserver/./data/xml/items/armors/; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)
        at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
        at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
        at net.sf.l2j.gameserver.data.DocumentBase.parse(DocumentBase.java:86)
        at net.sf.l2j.gameserver.data.DocumentItem.parse(DocumentItem.java:18)
        at net.sf.l2j.gameserver.data.xml.ItemData.load(ItemData.java:46)
        at net.sf.l2j.gameserver.data.xml.ItemData.<init>(ItemData.java:26)
        at net.sf.l2j.gameserver.data.xml.ItemData$SingletonHolder.<clinit>(ItemData.java:93)
        at net.sf.l2j.gameserver.data.xml.ItemData.getInstance(ItemData.java:88)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:160)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:115)
[Fatal Error] :1:1: Content is not allowed in prolog.
Error loading file .\data\xml\items\etcitems
org.xml.sax.SAXParseException; systemId: file:/C:/Users/USER/Desktop/acis%20401/gameserver/./data/xml/items/etcitems/; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)
        at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
        at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
        at net.sf.l2j.gameserver.data.DocumentBase.parse(DocumentBase.java:86)
        at net.sf.l2j.gameserver.data.DocumentItem.parse(DocumentItem.java:18)
        at net.sf.l2j.gameserver.data.xml.ItemData.load(ItemData.java:46)
        at net.sf.l2j.gameserver.data.xml.ItemData.<init>(ItemData.java:26)
        at net.sf.l2j.gameserver.data.xml.ItemData$SingletonHolder.<clinit>(ItemData.java:93)
        at net.sf.l2j.gameserver.data.xml.ItemData.getInstance(ItemData.java:88)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:160)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:115)

 

Edited by Vision

12 answers to this question

Recommended Posts

  • 0
Posted (edited)
20 hours ago, andy1984 said:

show xml of etcitems

@andy1984

<?xml version="1.0" encoding="UTF-8"?>
<list>

        <item id="9500" type="EtcItem" name="Star Ornament">
        <set name="material" val="PAPER" />
        <set name="price" val="1" />
        <set name="is_stackable" val="true" />    
    </item>
    
        <item id="9501" type="EtcItem" name="Event Coin Lv.1">
        <set name="material" val="PAPER" />
        <set name="price" val="1" />
        <set name="is_stackable" val="true" />    
    </item>
    
        <item id="9502" type="EtcItem" name="Tournament Point's Lv.1">
        <set name="material" val="PAPER" />
        <set name="price" val="1" />
        <set name="is_stackable" val="true" />
    </item>
    
        <item id="9503" type="EtcItem" name="Ticket Donate">
        <set name="material" val="PAPER" />
        <set name="price" val="1" />
        <set name="is_stackable" val="true" />    
    </item>
    
    <item id="9504" type="EtcItem" name="Noblesse Status">
        <set name="default_action" val="skill_reduce" />
        <set name="material" val="PAPER" />
        <set name="weight" val="120" />
        <set name="equip_reuse_delay" val="30" />        
        <set name="price" val="500000" />
        <set name="handler" val="NoblesItem" />
        <set name="is_stackable" val="true" />    
    </item>

</list>

19 hours ago, splicho said:

It literally tells you where the error is 

 

[Fatal Error] :1:1: Content is not allowed in prolog.
Error loading file .\data\xml\items\armors
org.xml.sax.SAXParseException; systemId: file:/C:/Users/USER/Desktop/acis%20401/gameserver/./data/xml/items/armors/; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

 

@splicho Can you tell me the solution because i dont know..and Im learning now slowly

Edited by DocuWin
  • 0
Posted (edited)
On 11/4/2022 at 7:21 PM, DocuWin said:

[spoiler]Hi to all DEVELOPERS i have these two errors.. can any one help me? where am i doing wrong and i have these two errors? acis pack rev(401)

 

i passed the xml files normally.. and  i passed them on the system etcitemsgrp and armorgrp

 

[Fatal Error] :1:1: Content is not allowed in prolog.
Error loading file .\data\xml\items\armors
org.xml.sax.SAXParseException; systemId: file:/C:/Users/USER/Desktop/acis%20401/gameserver/./data/xml/items/armors/; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)
        at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
        at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
        at net.sf.l2j.gameserver.data.DocumentBase.parse(DocumentBase.java:86)
        at net.sf.l2j.gameserver.data.DocumentItem.parse(DocumentItem.java:18)
        at net.sf.l2j.gameserver.data.xml.ItemData.load(ItemData.java:46)
        at net.sf.l2j.gameserver.data.xml.ItemData.<init>(ItemData.java:26)
        at net.sf.l2j.gameserver.data.xml.ItemData$SingletonHolder.<clinit>(ItemData.java:93)
        at net.sf.l2j.gameserver.data.xml.ItemData.getInstance(ItemData.java:88)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:160)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:115)
[Fatal Error] :1:1: Content is not allowed in prolog.
Error loading file .\data\xml\items\etcitems
org.xml.sax.SAXParseException; systemId: file:/C:/Users/USER/Desktop/acis%20401/gameserver/./data/xml/items/etcitems/; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)
        at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
        at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
        at net.sf.l2j.gameserver.data.DocumentBase.parse(DocumentBase.java:86)
        at net.sf.l2j.gameserver.data.DocumentItem.parse(DocumentItem.java:18)
        at net.sf.l2j.gameserver.data.xml.ItemData.load(ItemData.java:46)
        at net.sf.l2j.gameserver.data.xml.ItemData.<init>(ItemData.java:26)
        at net.sf.l2j.gameserver.data.xml.ItemData$SingletonHolder.<clinit>(ItemData.java:93)
        at net.sf.l2j.gameserver.data.xml.ItemData.getInstance(ItemData.java:88)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:160)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:115)[/spoiler]

 

DOMParser cannot access read. 

- Try to run in the root of the disk.

- Check encoding.
- Remove the % from the name.(I did not work with this library, but there is a chance of influence.) I prefer jdom2

Edited by Psygrammator
  • 0
Posted (edited)

Yours:

 

 <item id="9504" type="EtcItem" name="Noblesse Status">
        <set name="default_action" val="skill_reduce" />
        <set name="material" val="PAPER" />
        <set name="weight" val="120" />
        <set name="equip_reuse_delay" val="30" />        
        <set name="price" val="500000" />
        <set name="handler" val="NoblesItem" />
        <set name="is_stackable" val="true" />    
    </item>

 

 

Try to use this one:

<?xml version="1.0" encoding="UTF-8"?>
<list>

    <item id="9504" type="EtcItem" name="Noblesse Item">
        <set name="material" val="PAPER" />
        <set name="price" val="10000" />
        <set name="is_stackable" val="true" />
        <set name="is_tradable" val="true" />
        <set name="is_dropable" val="false" />
        <set name="is_sellable" val="false" />
        <set name="handler" val="NoblesItem"/>
  </item>
</list>

 

Use this item alone without any item on this xml and try..

Edited by 'Baggos'
  • 0
Posted
On 11/7/2022 at 2:54 PM, &#x27;Baggos&#x27; said:

Yours:

 

 <item id="9504" type="EtcItem" name="Noblesse Status">
        <set name="default_action" val="skill_reduce" />
        <set name="material" val="PAPER" />
        <set name="weight" val="120" />
        <set name="equip_reuse_delay" val="30" />        
        <set name="price" val="500000" />
        <set name="handler" val="NoblesItem" />
        <set name="is_stackable" val="true" />    
    </item>

 

 

Try to use this one:

<?xml version="1.0" encoding="UTF-8"?>
<list>

    <item id="9504" type="EtcItem" name="Noblesse Item">
        <set name="material" val="PAPER" />
        <set name="price" val="10000" />
        <set name="is_stackable" val="true" />
        <set name="is_tradable" val="true" />
        <set name="is_dropable" val="false" />
        <set name="is_sellable" val="false" />
        <set name="handler" val="NoblesItem"/>
  </item>
</list>

 

Use this item alone without any item on this xml and try..

 

@'Baggos' ekana auto pou mou eipes alla otan mpika sto game kai ekana create item mou lei (This item doesnt exist)

to erwtima einai twra pws mporw na perasw auta ta items sto source? epidei den exw idea kai twra mathenw siga siga

  • 0
Posted
40 minutes ago, DocuWin said:

 

@'Baggos' ekana auto pou mou eipes alla otan mpika sto game kai ekana create item mou lei (This item doesnt exist)

to erwtima einai twra pws mporw na perasw auta ta items sto source? epidei den exw idea kai twra mathenw siga siga

<set name="handler" val="NoblesItem"/>

Για να χρησιμοποιηθεί το παραπάνω, θα πρέπει να υπάρχει στο project, κώδικας για το noblesse item. Έχεις κάτι τέτοιο?

Δεν είναι ανάγκη να τα περάσεις τα item(datapack) στα source, αν είναι για προσωπική σου χρήση. Ωστόσο, θα πρέπει να έχεις τα source του project, το Eclipse και java-jdk.

  • 0
Posted
48 minutes ago, DocuWin said:

 

@'Baggos' ekana auto pou mou eipes alla otan mpika sto game kai ekana create item mou lei (This item doesnt exist)

to erwtima einai twra pws mporw na perasw auta ta items sto source? epidei den exw idea kai twra mathenw siga siga

 

pws ksereis katarxas oti mporei na mpei me aplo copy paste?

katalaveneis oti ta XML sou prepei na ta ftiaxneis monos sou ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hello, I’m working on decrypting the Init packet that the server sends to the client during login. This packet is treated specially and contains the Blowfish keys used to encrypt and decrypt subsequent packets. Although it isn’t encrypted irreversibly and should be reversible, I haven’t succeeded yet. My goal is to extract the Blowfish key to decrypt certain client packets without disrupting the normal session flow. I can inject a DLL to sniff the packets, and with that I plan to develop a module that extends the client’s functionality. For example, after logging in, this module would capture all the data the client receives (character data, etc.). Additionally, it could listen for real-time server events, enabling integrations with Discord SDKs or other systems, thereby expanding Lineage 2’s capabilities. Init packet(0x00) LoginServer. Currently in the java Cores I checked there is no decode function for this package, only encript.
    • whats password from the archivie ?
    • All that shit are false positives of the vanganth cliext, sources are well and who sell it is a big scammer
    • Information Selling a premium Lineage 2 High Five (L2J) project with active development, available by subscription. Includes Git support and access to compiled or full source code. Ideal for serious server owners seeking stability and performance, uniqueness and well-done features.   General Project Specifications: JDK Version: 23 -> 24 Chronicle: HighFive Structure: Core & Datapack merged into a single project Database: MariaDB Database Driver: HicariCP GIT Website: gitlab.com   Features include (but are not limited to):   1. Tournament Single & Party (Check Youtube Video) 2. Faction (Check Youtube Video) 3. Event Engine (Check Youtube Video) 4. Sell Buff System (Check Youtube Video) 5. Start UP System (Check Youtube Video) 6. User Panel 7. Visual - Dress me System 8. Donate Store 9. Automatic Farm System (Check Youtube Video) 10. Captcha (Anti-BOT) (Check Youtube Video) 11. Auction (Check Youtube Video) 12. Vote (API) 13. Admin Real Time Balance (Check Youtube Video) 14. Achievements (Check Youtube Video) 15. Daily Mission (Check Youtube Video) 16. A.I. Bot (Check Youtube Video) 17. Rebirth 18. Daily Reward  19. Skill Tree - Ability System 20. Craft System 21. Twitch Automatic Reward (Check Youtube Video) 22. Quiz Game (Check Youtube Video) 23. Automatic Item Enchant (Check Youtube Video) 24. Secondary Auth Using Google Authenticator (Check Youtube Video) 25. Gm Shop - Gatekeeper - Scheme Buffer   How to get Access (Payment Subscription): To get Access you either pay monthly subscription to GIT for source or Compiled. Project is currently active and has at least 1-2 commit / day.  Clients in both Compiled & Source subscription can request features or any addon in already existing mods inside discord.   Price per Month (Source) in GIT: 250 Eur Price per Month (Compiled) in GIT: 100 Eur   Contact: To get Access or ask further information join discord  https://discord.gg/gKAsAhJNuq      
  • Topics

×
×
  • Create New...