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

    • Classic move "its not a virus, all antiviruses are just wrong." The moment someone starts yelling "FIND THE MALICIOUS CODE" and mocking heuristic detection, its usually because there is something shady in there… or they have no clue what heuristic detection even is. If your files was clean, you wouldn’t be this defensive or getting personal.   when half the AV vendors are throwing out names like Trojan.Win32.Kasidet, Trj/Chgt.AD, and Gen:Variant.Tedy.537463, maybe it’s not "heuristics", maybe its just a shady-ass .rar. If there is smoke you don't argue with the smoke detector, you check the kitchen. But hey, maybe they all got paid too, right? 🤷‍♂️ the argue comes down to trusting you (a nobody) versus AV vendors   Popular threat label trojan.tedy Threat categories trojan  Family labels tedy   can i call you Teddy from now on? yes i can Teddy               Dont forget it was not something generic or maybe suspicious it just got detected with its specific version. and not only Teddy's Teddy some others too Kaspersky says Kasidet trojan keylogger, spyware, classic nasty stuff. Bitdefender, GData, VIPRE? Tedy variant, an actual known malware family. Panda, QuickHeal, Sophos, Fortinet everyone sees something dirty in there. But sure, they’re all wrong, and you’re the cybersecurity messiah who cracked the code. You really expect people to believe that 10 independent vendors with zero incentive to conspire against your .rar just happened to flag your file as malware… by accident? Maybe try this next time: instead of uploading garbage and calling people “idiots” when they don’t trust it, just don’t upload malware. Problem solved.
    • https://github.com/gawric/Guide-L2Unity/blob/main/Guide/Pakets/Blowfish/General description.md   Perhaps you will find it useful piece of encryption and decryption code from Acis Interlude   I transferred these methods to Unity c# and everything works fine   https://ibb.co/DHhP0JYr   I think the first 2 bytes are the packet size. Third byte packet id And then the information itself   It's all there in l2j servers  
    • 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
  • Topics

×
×
  • Create New...