Jump to content
×
×
  • Create New...
  • 0

How can I read and understand the status of a quest for a character?


Mind Rapist

Question

Hello guys it's been a while since I visited the forum :P

Today I have an easy to answer question (hopefully) about a database table.

I want to learn how to understand when a quest is incomplete or completed by looking the records at player.quest

What I know about this table is:

  • dwPID = pid of the character
  • szName = the name of the quest given by the system (e.g: collect_quest_lv30)
  • szState = the state of the quest given by the LUA file according to the steps completed

What I need to learn:

  • What is lValue? Does it have to do something about what I want to learn?
  • How can I know if a Biologist quest (or generaly a quest) is incomplete, started or completed based on what I see in the row (row e.g: dwPID: 1, szName: collect_quest_lv30, szState: _status, lValue: 695801987)

I appreciate any help on the topic and a big thanks to the responders :)

Link to comment
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

every state is saved inside the state folder inside object, if you want to know if a quest is complete, compare the actual state you see in the quest table to what you see in the state file.

👑 Premium International Lua Developer 👑

 My service topic: https://bit.ly/2UPly54

 

Ignorant people have the obligation to compensate their ignorance by paying whoever helps them.

Syreldar

Link to comment
  • 0
Just now, Mind Rapist said:

Thank you for responding guys :) As I see object table is about land purchasing and buildings on it but I think I got it so thanks again :) Btw @Syreldar do you watch Mr. Robot? :P

Of course i do.

👑 Premium International Lua Developer 👑

 My service topic: https://bit.ly/2UPly54

 

Ignorant people have the obligation to compensate their ignorance by paying whoever helps them.

Syreldar

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.