Forums » Community Projects
How can I get mission info?
I'd like to update my plod plugin to automatically create the nav routes and trade items by parsing the mission log. However, the MissionLogPanel.log table doesn't seem to be updated consistently (only advanced combat practice seems to update it).
Does anyone know how I can go about getting the info for Hive Skirmishes and Trade missions?
Does anyone know how I can go about getting the info for Hive Skirmishes and Trade missions?
Here's an excerpt from my error.log after accepting an escort mission. You can probably find something similar in one of the skirmishes.
------------------------
Event: MISSION_QUESTION_OPEN - Data:
Escort a convoy to Arta Caelestis B-7. Rewards for killing aggressors, and profit sharing contingent on staying with the convoy.
Accept
Decline
Event: TRANSACTION_COMPLETED - Data:
43
Event: MISSION_ADDED - Data:
2138
Event: MISSION_UPDATED - Data:
2138
Event: TRANSACTION_COMPLETED - Data:
44
Event: CHAT_MSG_MISSION - Data:
missionid=2138,msg="Welcome! You are the first veteran on the job, so we'll get going as soon as you leave the station",name=""
Event: CHAT_MSG_SECTORD_MISSION - Data:
missionid=0,msg="We're heading out now. Your course has been set for Arta Caelestis B-7"
[Sun Jan 23 17:54:47 2011] We're heading out now. Your course has been set for Arta Caelestis B-7
Event: CHAT_MSG_MISSION - Data:
missionid=2138,msg="<hudtext>We're heading out now. Your course has been set for Arta Caelestis B-7</hudtext>",name=""
Event: NAVROUTE_CHANGED - Data:
5986
[Sun Jan 23 17:54:48 2011] *** You are now a member of the group.
Event: CHAT_MSG_SERVER - Data:
msg="You are now a member of the group."
Event: GROUP_SELF_JOINED - Data:
Event: PLAYER_ENTERED_SECTOR - Data:
30557774
Event: HUD_HIDE - Data:
Event: LEAVING_STATION - Data:
-----------------------------
------------------------
Event: MISSION_QUESTION_OPEN - Data:
Escort a convoy to Arta Caelestis B-7. Rewards for killing aggressors, and profit sharing contingent on staying with the convoy.
Accept
Decline
Event: TRANSACTION_COMPLETED - Data:
43
Event: MISSION_ADDED - Data:
2138
Event: MISSION_UPDATED - Data:
2138
Event: TRANSACTION_COMPLETED - Data:
44
Event: CHAT_MSG_MISSION - Data:
missionid=2138,msg="Welcome! You are the first veteran on the job, so we'll get going as soon as you leave the station",name=""
Event: CHAT_MSG_SECTORD_MISSION - Data:
missionid=0,msg="We're heading out now. Your course has been set for Arta Caelestis B-7"
[Sun Jan 23 17:54:47 2011] We're heading out now. Your course has been set for Arta Caelestis B-7
Event: CHAT_MSG_MISSION - Data:
missionid=2138,msg="<hudtext>We're heading out now. Your course has been set for Arta Caelestis B-7</hudtext>",name=""
Event: NAVROUTE_CHANGED - Data:
5986
[Sun Jan 23 17:54:48 2011] *** You are now a member of the group.
Event: CHAT_MSG_SERVER - Data:
msg="You are now a member of the group."
Event: GROUP_SELF_JOINED - Data:
Event: PLAYER_ENTERED_SECTOR - Data:
30557774
Event: HUD_HIDE - Data:
Event: LEAVING_STATION - Data:
-----------------------------
Is there any way to read that from the API, though?
I thought they had the io module disabled and all the other examples I've looked at that read data all use the system notes.
I thought they had the io module disabled and all the other examples I've looked at that read data all use the system notes.
You'll need to use RegisterEvent to get access to the data from events.
The log tables and CHAT_MSG_MISSION event isn't called consistently with missions. The missions I'm interested in tracking are not called. I'm going to suggest consistency in the suggestions forum.