Ninja Posted August 18, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Share Posted August 18, 2015 Hi, as the title says, is there a way to do this? Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 20, 2015 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 20, 2015 This ? https://github.com/rathena/rathena/blob/master/conf/log_athena.conf#L16 then check your picklog table Quote Link to comment Share on other sites More sharing options...
Ninja Posted August 21, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted August 21, 2015 This ? https://github.com/rathena/rathena/blob/master/conf/log_athena.conf#L16 then check your picklog table thanks! how about detecting the event that somebody buys something? is there such a thing? Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 21, 2015 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 21, 2015 What do you mean? something like trigger an event when someone buying? buying on npc or player? Quote Link to comment Share on other sites More sharing options...
Ninja Posted August 21, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted August 21, 2015 Yes. Like OnPcLoginEvent and the likes. Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 21, 2015 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 21, 2015 Well you can use callshop and OnBuyItem or OnSellItem to trigger an event on a specific npc shop https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6252 Quote Link to comment Share on other sites More sharing options...
Ninja Posted August 22, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted August 22, 2015 Well you can use callshop and OnBuyItem or OnSellItem to trigger an event on a specific npc shop https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6252 but this one only recognizes the ones that use npcshop* right? Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 22, 2015 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 22, 2015 Yes you need to attach the shop https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6321 callshop "your shop name",0; npcshopattach "your shop name"; Just read the doc about it Quote Link to comment Share on other sites More sharing options...
Ninja Posted August 22, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted August 22, 2015 Yes you need to attach the shop https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6321 callshop "your shop name",0; npcshopattach "your shop name"; Just read the doc about it Yep, did. But my problem is about just anything that's being bought via an npc shop (shop script and not via callshop) and also vend Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 22, 2015 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted August 22, 2015 So you need a source mod to trigger an event everytime someone buy something (I pass I suck in source mod). Another way should be checking the log table occasionally but it would be inefficient. Quote Link to comment Share on other sites More sharing options...
Ninja Posted August 22, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted August 22, 2015 So you need a source mod to trigger an event everytime someone buy something (I pass I suck in source mod). Another way should be checking the log table occasionally but it would be inefficient. I see. Hahaha then I think I'm at the wrong side of the forums. THanks for the heads up though. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 22, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 10 hours ago Share Posted August 22, 2015 This ? https://github.com/rathena/rathena/blob/master/conf/log_athena.conf#L16 then check your picklog table the picklog stored everything you need. item that sold / buy from npc shop. as well as the map too. just enable the log features as stated by Capuche. Quote Link to comment Share on other sites More sharing options...
Ninja Posted August 23, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted August 23, 2015 Alright. I think I can find my way around knowing that. Quote Link to comment Share on other sites More sharing options...
Question
Ninja
Hi,
as the title says, is there a way to do this?
Link to comment
Share on other sites
12 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.