Jump to content

Recommended Posts

  • Active+ Member

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 :)

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Honorable Member

If I'm not wrong the quest_name.__status is the number of the state which get incremented by every quest state but why it is 695801987 I'm not sure.

 

  • Honorable Member

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.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Active+ Member

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

  • Honorable Member
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.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

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.