Taien Posted July 13, 2023 Share Posted July 13, 2023 I have a quest I wrote in A20. At the time it worked. In A21, the quest still works in singleplayer when I give it to myself with givequest, but on my server, the first objective doesn't appear. Here it is on my singleplayer game, working fine: And here it is on my server, after being acquired from a trader: I cannot for the life of me figure out what is broken that's causing it to behave like this. It's like there's a spawnpoint for the quest that's not set or something. But my xpath for the quest is adapted from tier1_buried_supplies, which works fine, and hasn't changed since A20, when it also worked. If anyone sees anything in here that could be causing the problem, or knows some tidbit of information to get quests with RandomGotoNPC locations to work, please let me know: <insertBefore xpath="/quests/quest_list[1]"> <quest id="tier5_find_mythril"> <property name="name_key" value="quest_FindMythril" param1="name"/> <property name="subtitle_key" value="quest_FindMythril_subtitle"/> <property name="description_key" value="quest_FindMythril_description"/> <property name="icon" value="ui_game_symbol_mining"/> <property name="repeatable" value="true"/> <property name="category_key" value="quest"/> <property name="offer_key" value="quest_FindMythril_offer" param1="offer"/> <property name="difficulty" value="medium"/> <property name="difficulty_tier" value="5" param1="difficulty"/> <property name="statement_key" value="quest_FindMythril_statement"/> <property name="response_key" value="quest_FindMythril_response"/> <property name="login_rally_reset" value="true"/> <property name="quest_hints" value="tier5_find_mythril_hint1,tier5_find_mythril_hint2,tier5_find_mythril_hint3" /> <property name="shareable" value="true"/> <property name="reward_choices_count" value="5" /> <property name="completiontype" value="TurnIn"/> <property name="completion_key" value="quest_FindMythril_completion"/> <objective type="RandomGotoNPC" phase="1"> <property name="completion_distance" value="20"/> <property name="distance" value="200-2000"/> <property name="nav_object" value="quest" /> </objective> <objective type="FetchKeep" id="resourceMythrilPowder" value="1000" phase="2"/> <objective type="Craft" id="resourceMythril" value="50" phase="3"/> <objective type="ReturnToNPC"> <property name="phase" value="4"/> <property name="nav_object" value="return_to_trader" /> </objective> <objective type="InteractWithNPC"> <property name="phase" value="4"/> <property name="nav_object" value="return_to_trader" /> </objective> <reward type="Exp" value="5000"/> <reward type="LootItem" id="groupQuestT2SkillMagazineBundle" ischosen="true" isfixed="true" value="4"/> <reward type="LootItem" id="groupQuestWeapons" ischosen="true" isfixed="true" value="5"/> <reward type="LootItem" id="groupQuestArmor,groupQuestMedical" ischosen="true" value="5"/> <reward type="LootItem" id="groupQuestAmmo" ischosen="true" value="5"/> <reward type="LootItem" id="groupQuestTools" ischosen="true" value="5"/> <reward type="LootItem" id="groupQuestSchematics" ischosen="true" value="5"/> <reward type="LootItem" id="groupQuestMods" ischosen="true" value="5"/> <reward type="LootItem" id="groupQuestSteel" ischosen="true"/> <reward type="Item" id="casinoCoin" value="800"/> </quest> </insertBefore> <append xpath="/quests/quest_list[@id='trader_quests']"> <quest id="tier5_find_mythril" /> </append> Link to comment Share on other sites More sharing options...
BFT2020 Posted July 14, 2023 Share Posted July 14, 2023 Is the quest suppose to spawn something at that location like the buried supply quests? I see you have it creating a quest marker at said location, but the rest of the quest is just to find the items and then craft something from it. If you are needing something to spawn in there, the buried supply quests have that part of it in a different area for those quests: <objective type="TreasureChest"> <property name="phase" value="3" /> <property name="block" value="cntBuriedFoodStashChest" param1="container"/> <property name="default_radius" value="5" param1="radius"/> <property name="container_type" value="Supplies"/> <property name="nav_object" value="treasure" /> <property name="direct_nav_object" value="treasure_direct" /> <property name="blocks_per_reduction" value="10" /> <property name="radius_reduction_sound" value="ui_radius_shrink" /> <property name="use_nearby" value="true" /> <property name="explosion_event" value="quest_treasure_explosion_horde" /> </objective> Link to comment Share on other sites More sharing options...
Taien Posted July 15, 2023 Author Share Posted July 15, 2023 No, I don't need it to create something there. The quest just sends them out to a location because that has to be part of the quest for it to work. For some reason, quests don't work without either a RandomGotoNPC or RandomGotoPOI, so I had to have that part in there as far as I could tell. The real goal of the quest is to mine mythril from anywhere, cook it in a forge, and then return to the trader. The problem is that the first phase of the quest isn't working anymore. I suppose I could try removing it to see if the quest will function without it in Alpha 21 (pretty sure it didn't work that way in Alpha 20). I'll let you know. Link to comment Share on other sites More sharing options...
Taien Posted July 15, 2023 Author Share Posted July 15, 2023 Update: Yeah, I tried removing the RandomGotoNPC objective and the quest stopped showing up in trader lists, and I lost my user profile (because I had the quest). Link to comment Share on other sites More sharing options...
BFT2020 Posted July 15, 2023 Share Posted July 15, 2023 Try adding a rally point like they do in the Buried Supplies quests <objective type="RallyPoint"> <property name="start_mode" value="Create"/> <property name="phase" value="2"/> <property name="nav_object" value="rally" /> </objective> Link to comment Share on other sites More sharing options...
NerdScurvy Posted July 29, 2023 Share Posted July 29, 2023 I'm trying to create a challenge quest that is initiated from reading a note, but have the same issue on dedicated servers - no rally point. I've tried adding the RallyPoint section, but it still does not work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now