ProjectSWGCore / NGECore2

The ProjectSWG Open Source Core
projectswg.com
GNU Lesser General Public License v3.0
23 stars 70 forks source link

Added "Tasty Dried Critters" Quest #1201

Closed cdmpse closed 9 years ago

cdmpse commented 9 years ago

Did not mean to edit ".project". It looks like "sendQuestAcceptWindow" is sending a completion window instead. Need to finish quest.

lewismorgan commented 9 years ago

Need to have an event script too, see the bib's offer quest event. I made a bit of changes to how the signals are activated, but you will want to call completeActivateTask in it now

cdmpse commented 9 years ago

I wasn't sure which task to add. I tried adding e1, e2, and e3 but it didn't seem to affect anything. I noticed you started with e2 for legacy, but I thought that might not be the first task of the quest. Looking at the entry in questtask, I'm thinking e1 is the one I should since it has a valid waypoint that doesn't point to Byxle, and e2 just has 0, 0, 0... or does it make sense to just add each task?

cdmpse commented 9 years ago

Wouldn't nothing be activated until the "Accept" button is clicked on the quest accept window? I don't know where to put the handleActivateSignal call in the conversation. Also, not sure if this is intended, but in the ShowQuestAcceptWindow class, ObjControllerMessage.SHOW_QUEST_ACCEPT_WINDOW will bring up the correct window instead of ObjControllerMessage.SHOW_QUEST_COMPLETION_WINDOW in the serialize method.

lewismorgan commented 9 years ago

handleActivateSignal has to be called manually. Right now the method will complete the active task but I've since changed how it works now. Also that wasn't intentional :P I fixed it when I did the acceptQuest command. Big update soon, I'm just working on some system messages now.

Anyways, you don't need to have a signal script unless you want one. If you don't have one then you gotta call completeActiveTask.

lewismorgan commented 9 years ago

Also the event you want to use would be the event for wait_for_signal tasks. Waiting for a signal which would be either clicking on NPCs in case of Pall quest, or a conversation like bibs quest.

lewismorgan commented 9 years ago

Quest service has been update, check to make sure that this works. Also, revert your change to .project.

cdmpse commented 9 years ago

Updated. It includes the first conversation with Byxle and leaves you off with the "Tasty Dried Critters" quest. It doesn't seem to be showing the active task in game.

lewismorgan commented 9 years ago

Alright, fix the 2 or so things that I put in then I'll go ahead and see what's up with the active task not showing. It's been doing that for some of the quests that start with comm messages but just skips over it since they're invisible tasks. Haven't found a quest without a comm type that was doing it so far, but you have :)

lewismorgan commented 9 years ago

Alright awesome, I will go ahead and merge this so I can see what's wrong with the active tasks. Thanks.