Jump to content
  • 0

Buy And Sell in NPC


Onairda

Question


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

Do we have a table in the database where we can track all the bought and sold items in the NPC?

 

I am talking for the whole NPC inside the Ragnarok.

 

I don't need a custom script to manually insert it in the database I want the default NPC script used inside the game.

 

like the tool dealer, if someone buys and sells items to the tool dealer it will be recorded.

 

 

thank you

 

 

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  232
  • Reputation:   86
  • Joined:  06/30/18
  • Last Seen:  

If you have logging enabled, you can check the picklog table for rows where type is S.

// 0x00000010 - (S) Log NPC transactions (buy/sell)

For details, check log_athena.conf. The logging part is directly at the beginning of the file.

Edited by Winterfox
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   6
  • Joined:  03/02/18
  • Last Seen:  

1 hour ago, G-RO said:

Do we have a table in the database where we can track all the bought and sold items in the NPC?

 

I am talking for the whole NPC inside the Ragnarok.

 

I don't need a custom script to manually insert it in the database I want the default NPC script used inside the game.

 

like the tool dealer, if someone buys and sells items to the tool dealer it will be recorded.

 

 

thank you

 

 

 

 

then learn how to apply the queryl_sql guide here, you need to learn and understand how to apply it on your npc

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

7 hours ago, AceofSpades said:

then learn how to apply the queryl_sql guide here, you need to learn and understand how to apply it on your npc

hahaha, thanks for replying 😄. but this is not what i asked 😄.

 

5 hours ago, Winterfox said:

If you have logging enabled, you can check the picklog table for rows where type is S.

// 0x00000010 - (S) Log NPC transactions (buy/sell)

For details, check log_athena.conf. The logging part is directly at the beginning of the file.

Thank you so much Winterfox, this what I need ❤️

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...