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

    • I need that Gucci stuff in my life 😛
    • It is better if you can trade Adena consistently. About 10 people are expected to continue purchasing. I want it at a rate of 1.5$ per 1kk or offer  me 1kk price.   WTB Tallum Heavy Set / Majesty Heavy Set / Soul bow / Halberd   Discord : nhr0711   DM ME
    • Wtb Account in Scryde With olf +8-10 items +12/14-16-18 Gem lvl 3-5 i pay $$ Revolut,send me your Discord. 
    • Yes i found it later its weird that l2off works that way level 9 it should be the top level. Is anybody who has problem with the boss Core? Because it is moving and i try to fix it
    • New arrivals: Reddit accounts Reddit SelfReg Karma Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 4$ Reddit Karma Old Brute Account | 1+ KARMA | Full access with login: password:cookies: 2$ Reddit SelfReg Old Account | 1+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 3$ Ready Reddit accounts with karma and age for fast promotion of posts and comments! Our store’s Reddit account range includes: ➡ Reddit Karma Brute Account | 1 KARMA | Cookies access only (password may be not working) | The cheapest account | Price from: 1$ ➡ Reddit SelfReg Karma Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 4$ ➡ Reddit Karma Old Brute Account | 1+ KARMA | Full access with login: password:cookies: 2$ ➡ Reddit SelfReg Old Account | 1+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 3$ ➡ Reddit Karma Brute Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 5$ ➡ Reddit Karma Brute Account | 500-1000 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 9$ ➡ Reddit Karma Brute Account | 1000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 15$ ➡ Reddit Karma Brute Account | 2000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 20$ ➡ Reddit Karma Brute Account | 3000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 25$ ➡ Reddit Karma Brute Account | 5000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 35$ ➡ Reddit Karma Brute Account | 10000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 45$ ➡ Reddit Karma Brute Account | 20000 KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 60$ ➡ Reddit Karma Brute Account | 50000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 90$ ➡ Reddit Karma Brute Account | 100000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 149$ Relevant links: Digital goods store (Website): Go Telegram bot for buying Telegram Stars: Go SMM Panel: Go – promotion of your social media accounts. Store Telegram bot: Go Promotions and special offers: 1. Promo code SEPTEMBER2025 (10% discount) for purchases in our store (Website, bot) in September! You can also use promo code for first purchase: SOCNET (15% discount) 2. Get $1 to store balance or 10-20% discount, just write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – you need to post it in our forum thread! 3. Get $1 for the first trial launch of SMM Panel: just open a ticket with subject “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our star-purchase bot! News resources: ➡ Telegram channel: https://t.me/accsforyou_shop✅ ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n✅ ➡ Discord server: https://discord.gg/y9AStFFsrh✅ We are actively looking for suppliers for the following product positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | Geo: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010-2023 years) | Full access via email (possibly with active 2FA password) — Facebook old accounts (2010-2023 years) | Full access via email (possibly with active 2FA password) | With or without friends | Geo: Europe/USA/Asia — Threads accounts | Full access via email (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts Contact us below — let’s discuss terms! We are always open to other partnership offers as well. Contacts and support: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ Email: solomonbog@socnet.store ✅ Also via these contacts you can: — get consultation on bulk purchases — establish partnership (current partners: https://socnet.bgng.io/partners) — become our supplier SocNet — store of digital goods and premium subscriptions ✅
  • Topics

×
×
  • 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