As you can see in the attached screenshots, the quests work beautifully.
Wow, so cool!
I recently added Katalam to my lacal 5.8 server (i am using
https://forum.ragezone.com/threads/aion-5-8-emulator-improvement-community-project.1217684/ server side and NotAion 5.8 client btw), also planning to add Danaria, and I'm currently trying to make those quests work too for Katalam.
I have extracted quest.pak files from 4.6 EuroAion client and there's something i don't understand, where exactly is the file that is responsible for attaching quests to npcs? Or how quests are attached to npcs? What is the logic? I can see logic behind how trade/purchase lists are attached through a separate .xml file. But i cannot find it.
And how did you managed to add quests to npcs in Katalam?
UPD: I found the file that applying quests to npcs, it appears to be on a server side, and it's called katalam.xml, so i took this file from GigatR00n's server side and pasted it in the data\static_data\quest_script_data folder. I also found all the quests i could find from quest_data.xml from GigatR00n's AC-Game\data\static_data\quest_data and pasted it into my file. Tried to start a server and got this error:
Code:
02:42:31.335 INFO [main]: - ##### Start Loading Static Data 5.8 #####
02:42:41.384 ERROR[main]: - Error at [line=649, column=170818410]: cvc-complex-type.3.2.2: Attribute 'category_name' is not allowed to appear in element 'quest'.
02:42:41.389 ERROR[main]: - Critical Error - Thread: main terminated abnormaly: java.lang.Error: org.xml.sax.SAXParseException; lineNumber: 649; columnNumber: 170818410; cvc-complex-type.3.2.2: Attribute 'category_name' is not allowed to appear in element 'quest'.
What the hell?
There's no 'category_name' in quest_data.xml in line 649, i only added Katalam quests at the end of a file, before that i had aт extra </quest> tag on a 60k+ line, but Game Emu Console, told exactly the right line. But not now:
I tried to validate xml against .xsd schema and what i got is this:
"Type BonusType is not declared or is not a simpleType", AI suggested to run this:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- Definition of BonusType as a simpleType -->
<xs:simpleType name="BonusType">
<xs:restriction base="xs:string">
<!-- Add any additional restrictions or facets here if needed -->
</xs:restriction>
</xs:simpleType>
<!-- Include other schemas and elements as before -->
<xs:include schemaLocation="../global_types.xsd"/>
<xs:include schemaLocation="../import.xsd"/>
<xs:include schemaLocation="../items/item_groups.xsd"/>
<xs:element name="quests" type="Quests"/>
<xs:complexType name="Quests">
<!-- ... rest of your Quests definition ... -->
</xs:complexType>
<!-- ... rest of your schema definition ... -->
<xs:complexType name="QuestBonuses">
<xs:attribute name="type" type="BonusType" use="required"/>
<xs:attribute name="level" type="xs:int" use="optional"/>
<xs:attribute name="skill" type="xs:int" use="optional"/>
</xs:complexType>
Then i got 'The "include" element cannot be in this location' after Validating once more, and just got tired of constantly dealing with errors, pasted redacted file into a data\static_data\quest_data and got the same line 649 error with redacted file.
Any bright ideas please??