AION NA 4.7.5 Adding items from other patches

Results 1 to 10 of 10
  1. #1
    Apprentice Zetsuken is offline
    MemberRank
    Jun 2022 Join Date
    11Posts

    sad AION NA 4.7.5 Adding items from other patches

    Hello,

    I am stuck at trying to add items from other patches, for example adding 160010273 (Stalwart Dandi Form Candy). But i've noticed it was already added to the file item_template.xml in AC-Game\data\static_data\items as well as the client's item.pak.

    Because it shows it's added I've tried the command //add 160010273 but it says "The id is incorrect: 160010273". I did also try adding it through the admin/gm console as well but that spits out the same error above.

    Is there something else i'm missing that i'm not aware of?

    PS: i did checkout the other forums regarding similar topic but I didn't find them useful.
    Referring to:
    - https://forum.ragezone.com/f590/look...files-1204635/
    - https://forum.ragezone.com/f590/add-...4-7-a-1024879/

    Thanks in advance!


  2. #2
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    Re: AION NA 4.7.5 Adding items from other patches

    There is only so much candy a client can handle, he is upset because you won't feed him broccoli and other nutritional foods.

    On a serious note, I'd advise against doing this, it only creates more problems for your client and also the emulator, and I don't think you're allowed to modify the client that much(It's beyond the scope of what you should be doing with an aion client)

  3. #3
    "One day at a time" Robyson is offline
    [VIP] MemberRank
    Sep 2013 Join Date
    TzionLocation
    1,857Posts

    Re: AION NA 4.7.5 Adding items from other patches

    @Zetsuken see, in my 4.3 i can use this item,
    maybe it's a problem with your client.


  4. #4
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    Re: AION NA 4.7.5 Adding items from other patches

    Quote Originally Posted by Robson26 View Post
    @Zetsuken see, in my 4.3 i can use this item,
    maybe it's a problem with your client.
    I guess the client holds an internal list of item ids and regardless of whether the item pak has the id or the server item list xml has the id, the client still can't recognize it because it thinks it doesn't exist? I guess some things would also require animations, models etc.. it's not just the item id, it's the entire design of the item or effect, right? My knowledge about the client is limited, but that's my logical guess from a software engineers point of view. Please do share more info if you know more about it, I find it fascinating :)
    Last edited by StingerOne; 21-06-22 at 12:33 PM.

  5. #5
    "One day at a time" Robyson is offline
    [VIP] MemberRank
    Sep 2013 Join Date
    TzionLocation
    1,857Posts

    Re: AION NA 4.7.5 Adding items from other patches

    Quote Originally Posted by StingerOne View Post
    I guess the client holds an internal list of item ids and regardless of whether the item pak has the id or the server item list xml has the id, the client still can't recognize it because it thinks it doesn't exist? I guess some things would also require animations, models etc.. it's not just the item id, it's the entire design of the item or effect, right? My knowledge about the client is limited, but that's my logical guess from a software engineers point of view. Please do share more info if you know more about it, I find it fascinating :)
    Yes this can happen, sometimes i also came across some modified clients
    i had problems with some items and i couldn't add them.

  6. #6
    Apprentice Zetsuken is offline
    MemberRank
    Jun 2022 Join Date
    11Posts

    Re: AION NA 4.7.5 Adding items from other patches

    Quote Originally Posted by StingerOne View Post
    I guess the client holds an internal list of item ids and regardless of whether the item pak has the id or the server item list xml has the id, the client still can't recognize it because it thinks it doesn't exist? I guess some things would also require animations, models etc.. it's not just the item id, it's the entire design of the item or effect, right? My knowledge about the client is limited, but that's my logical guess from a software engineers point of view. Please do share more info if you know more about it, I find it fascinating :)
    Super weird but now its working on mine now as well..
    But currently i am now trying to see if i can add 160010475 (Strengthened Nimble Fennec Fox Form Candy). but i'm getting an error when loading up GS

    2022-06-21 05:33:40,302 Error at [line=391, column=68951429]: null
    2022-06-21 05:33:40,306 Critical Error - Thread: main terminated abnormaly: java.lang.Error: java.lang.reflect.InvocationTargetException
    java.lang.Error: java.lang.reflect.InvocationTargetException
    at com.aionemu.gameserver.dataholders.loadingutils.XmlValidationHandler.handleEvent(Unknown Source) ~[AC-Game.jar:na]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.JaxBeanInfo.invokeUnmarshallCallback(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.JaxBeanInfo.invokeAfterUnmarshalMethod(Unknown Source) ~[na:1.7.0_79] at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.fireAfterUnmarshal(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StructureLoader.leaveElement(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.endElement(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.endElement(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.endElement(Unknown Source) ~[na:1.7.0_79]
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown Source) ~[na:1.7.0_79]
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) ~[na:1.7.0_79]
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) ~[na:1.7.0_79]
    at com.aionemu.gameserver.dataholders.loadingutils.XmlDataLoader.loadStaticData(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager.<init>(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager.<init>(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager$SingletonHolder.<clinit>(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager.getInstance(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.GameServer.main(Unknown Source) ~[AC-Game.jar:na]Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[na:na]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_79]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_79] ... 26 common frames omittedCaused by: java.lang.ArrayIndexOutOfBoundsException: 17
    at com.aionemu.gameserver.model.templates.item.ItemTemplate.afterUnmarshal(Unknown Source) ~[AC-Game.jar:na] ... 29 common frames omitted

  7. #7
    Apprentice Zetsuken is offline
    MemberRank
    Jun 2022 Join Date
    11Posts

    Re: AION NA 4.7.5 Adding items from other patches

    Quote Originally Posted by Robson26 View Post
    Yes this can happen, sometimes i also came across some modified clients
    i had problems with some items and i couldn't add them.
    Can u assist me in explaining how to add items?

  8. #8
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    Re: AION NA 4.7.5 Adding items from other patches

    Quote Originally Posted by Zetsuken View Post
    Super weird but now its working on mine now as well..
    But currently i am now trying to see if i can add 160010475 (Strengthened Nimble Fennec Fox Form Candy). but i'm getting an error when loading up GS

    2022-06-21 05:33:40,302 Error at [line=391, column=68951429]: null
    2022-06-21 05:33:40,306 Critical Error - Thread: main terminated abnormaly: java.lang.Error: java.lang.reflect.InvocationTargetException
    java.lang.Error: java.lang.reflect.InvocationTargetException
    at com.aionemu.gameserver.dataholders.loadingutils.XmlValidationHandler.handleEvent(Unknown Source) ~[AC-Game.jar:na]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.JaxBeanInfo.invokeUnmarshallCallback(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.JaxBeanInfo.invokeAfterUnmarshalMethod(Unknown Source) ~[na:1.7.0_79] at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.fireAfterUnmarshal(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StructureLoader.leaveElement(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.endElement(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.endElement(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.endElement(Unknown Source) ~[na:1.7.0_79]
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source) ~[na:1.7.0_79]
    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown Source) ~[na:1.7.0_79]
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) ~[na:1.7.0_79]
    at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) ~[na:1.7.0_79]
    at com.aionemu.gameserver.dataholders.loadingutils.XmlDataLoader.loadStaticData(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager.<init>(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager.<init>(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager$SingletonHolder.<clinit>(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.dataholders.DataManager.getInstance(Unknown Source) ~[AC-Game.jar:na]
    at com.aionemu.gameserver.GameServer.main(Unknown Source) ~[AC-Game.jar:na]Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[na:na]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_79]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_79] ... 26 common frames omittedCaused by: java.lang.ArrayIndexOutOfBoundsException: 17
    at com.aionemu.gameserver.model.templates.item.ItemTemplate.afterUnmarshal(Unknown Source) ~[AC-Game.jar:na] ... 29 common frames omitted
    Looks like an error with your xml. Check it and run it again.

  9. #9
    Apprentice Zetsuken is offline
    MemberRank
    Jun 2022 Join Date
    11Posts

    Re: AION NA 4.7.5 Adding items from other patches

    Quote Originally Posted by StingerOne View Post
    Looks like an error with your xml. Check it and run it again.
    I think i am just not adding the item correctly, can u explain how to?

  10. #10
    Proficient Member StingerOne is offline
    MemberRank
    Aug 2021 Join Date
    AltgardLocation
    160Posts

    Re: AION NA 4.7.5 Adding items from other patches

    Quote Originally Posted by Zetsuken View Post
    I think i am just not adding the item correctly, can u explain how to?
    I suspect an error in your xml failing to parse. Make sure you have correctly formatted the xml with your new data and all tags are closed properly as well as the attribute quotes. You'll notice the errors are XML related so your first step is to check your markup to make sure it's proper. If you still can't figure it out, post the xml you're trying to add as well as some xml around it.

    https://docs.oracle.com/javase/7/docs/api/javax/xml/bind/Unmarshaller.html

    specifically this..

    2022-06-21 05:33:40,302 Error at [line=391, column=68951429]: null

    at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_79] ... 26 common frames omittedCaused by: java.lang.ArrayIndexOutOfBoundsException: 17
    at com.aionemu.gameserver.model.templates.item.ItemTemplate.afterUnmarshal(Unknown Source) ~[AC-Game.jar:na] ... 29 common frames omitted





Advertisement