Damon Posted April 6, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 32 Reputation: 1 Joined: 12/07/11 Last Seen: August 17, 2019 Share Posted April 6, 2012 Hi Someone have a restock script pls ? ;D Thx Quote Link to comment Share on other sites More sharing options...
Flaid Posted April 6, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 398 Reputation: 140 Joined: 01/04/12 Last Seen: February 19, 2022 Share Posted April 6, 2012 What exactly is a restock script? Quote Link to comment Share on other sites More sharing options...
Damon Posted April 6, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 32 Reputation: 1 Joined: 12/07/11 Last Seen: August 17, 2019 Author Share Posted April 6, 2012 you configure/save item and number and when you use the npc, he will give you the Item do you need. Example, i configure for need 150 white pot when i restock. if i have 55 white pot on my storage, restock give me 95. Quote Link to comment Share on other sites More sharing options...
Joseph Posted April 7, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share Posted April 7, 2012 When does the restock take place? Quote Link to comment Share on other sites More sharing options...
Damon Posted April 7, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 32 Reputation: 1 Joined: 12/07/11 Last Seen: August 17, 2019 Author Share Posted April 7, 2012 when you decide . Quote Link to comment Share on other sites More sharing options...
Emistry Posted April 11, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 13 hours ago Share Posted April 11, 2012 put this line in your NPC getitem 501, 150 - countitem(501); Quote Link to comment Share on other sites More sharing options...
Brian Posted April 11, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted April 11, 2012 Example, i configure for need 150 white pot when i restock. if i have 55 white pot on my storage, restock give me 95. Do you get these items for free, or pay zeny? Quote Link to comment Share on other sites More sharing options...
Lighta Posted April 11, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted April 11, 2012 he want to autoretrieve a list of item from storage to inventory. You recording a list of item, then when you click retock your inventory item amount will be set to the recorded one. Ex : you recorded 150 whitepot. Have 20 on yourself, he will fetch 130 from storage and set them to inventory, ofc if you don't have enough it'd fail or give what he can. Instead if you have 190 on self, he will stock the extra 40 on storage. Ok this said, all you need to do to realise this Deamon is to put storage function into script interface and manipulate them. Quote Link to comment Share on other sites More sharing options...
none Posted April 16, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 84 Reputation: 1 Joined: 11/14/11 Last Seen: January 19, 2016 Share Posted April 16, 2012 Do you know how to do this ? Quote Link to comment Share on other sites More sharing options...
Note Posted January 26, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 24 Reputation: 2 Joined: 09/11/12 Last Seen: May 6, 2013 Share Posted January 26, 2013 +1, this would be very nice. Quote Link to comment Share on other sites More sharing options...
Azul Destino Posted January 27, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 59 Reputation: 7 Joined: 03/13/12 Last Seen: June 23, 2021 Share Posted January 27, 2013 +1 to this Quote Link to comment Share on other sites More sharing options...
Linkin Park Posted January 27, 2013 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 227 Reputation: 11 Joined: 11/16/11 Last Seen: November 7, 2015 Share Posted January 27, 2013 I think this? http://rathena.org/board/files/file/2769-restock-onpcconsumeevent/ Quote Link to comment Share on other sites More sharing options...
Question
Damon
Hi
Someone have a restock script pls ? ;D
Thx
Link to comment
Share on other sites
11 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.