Onairda Posted September 17, 2023 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 177 Reputation: 9 Joined: 12/30/16 Last Seen: 55 minutes ago Share Posted September 17, 2023 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 Quote Link to comment Share on other sites More sharing options...
0 Winterfox Posted September 17, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 93 Joined: 06/30/18 Last Seen: November 27, 2024 Share Posted September 17, 2023 (edited) 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 September 17, 2023 by Winterfox Quote Link to comment Share on other sites More sharing options...
0 AceofSpades Posted September 17, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 114 Reputation: 6 Joined: 03/02/18 Last Seen: 3 hours ago Share Posted September 17, 2023 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 Quote Link to comment Share on other sites More sharing options...
0 Onairda Posted September 18, 2023 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 177 Reputation: 9 Joined: 12/30/16 Last Seen: 55 minutes ago Author Share Posted September 18, 2023 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 Quote Link to comment Share on other sites More sharing options...
Question
Onairda
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.