kaszanalubizryc
New Member
- Joined
- Sep 10, 2015
- Messages
- 148
- Reaction score
- 1
its bugged max 1 mission showed completed.Your Mission 3 doesn't have a mission state for its endvalue, your mission 4 doesn't have a state for any of its values (4-6), furthermore, when you specify a start value and an end value, you must cover each and every mission state in between those two numbers with descriptions (unless you'll be skipping some storage values with other scripts).
i have 8 mission completed but only the highest show
im not sure but its problem on clientside or serverside
its looks limit to show 1 higher values
C++:
void ProtocolGame::parseQuestLine(const InputMessagePtr& msg)
{
std::vector<std::tuple<std::string, std::string>> questMissions;
int questId = msg->getU16();
int missionCount = msg->getU8();
for(int i = 0; i < missionCount; i++) { // 1?
std::string missionName = msg->getString();
std::string missionDescrition = msg->getString();
questMissions.push_back(std::make_tuple(missionName, missionDescrition));
}
g_game.processQuestLine(questId, questMissions);
}