crazyarashi Posted December 7, 2020 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: Yesterday at 08:40 AM Share Posted December 7, 2020 View File Equipment Recycle NPC A recycle NPC that uses the shop interface.Changing the rewards .reward_id = 501; .reward_point$ = "#KAFRAPOINT"; Adding a recyclable equipment. /* *=============================================================================| * .@r = Refine | .@b = Bonus =| * list_add("<Equip ID>,<Value>{,<Starting .@r for .@b>,.@b1:.@b2:.@b3:..."); =| *=============================================================================| * Cotton_Shirt w/ +8 Starting .@r bonus =| * .@r = 8 : 1 Bonus Item/Point =| * .@r = 9 : 5 Bonus Item/Point =| * .@r >= 10 : 7 Bonus Item/Point. =| *=============================================================================| * list_add(2301,8,"1:5:7"); =| ==============================================================================| */ function list_create { //= Remove samples and add here. list_add(2301,10,8,"1:5:7"); //Cotton_Shirt list_add(1201,10,7,"1:2:3:4:5"); //Knife list_add(2504,5); //Muffler_ return; } Submitter crazyarashi Submitted 12/07/2020 Category Utilities Video Content Author crazyarashi 1 1 Quote Link to comment Share on other sites More sharing options...
Gidz Cross Posted December 8, 2020 Group: Members Topic Count: 133 Topics Per Day: 0.03 Content Count: 686 Reputation: 89 Joined: 04/07/14 Last Seen: Yesterday at 08:18 AM Share Posted December 8, 2020 Wow! thank you so much! Quote Link to comment Share on other sites More sharing options...
Gorder Posted December 13, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 31 Reputation: 0 Joined: 01/11/18 Last Seen: 6 hours ago Share Posted December 13, 2020 Hi crazyarashi, I tried the script but the function uniqueid_delitem is missing. Where do i find it? Sorry I didn't see the link earlier. Found the download link: https://github.com/rathena/rathena/pull/4195/files Quote Link to comment Share on other sites More sharing options...
lzm Posted December 22, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 08/12/17 Last Seen: 7 hours ago Share Posted December 22, 2020 The script working great, getting this message when sell more than one same item to NPC [Error]: buildin_uniqueid_delitem: Item not found (unique_id=644356763549787). [Debug]: Source (NPC): equipment_recycle at prontera (206,185) Quote Link to comment Share on other sites More sharing options...
Akbare Posted February 20, 2021 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Share Posted February 20, 2021 im get error sir Quote Link to comment Share on other sites More sharing options...
botka4aet Posted February 20, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 211 Reputation: 17 Joined: 12/23/11 Last Seen: June 11, 2024 Share Posted February 20, 2021 Update your rathena - https://github.com/rathena/rathena/pull/4195 Quote Link to comment Share on other sites More sharing options...
lzm Posted May 16, 2021 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 08/12/17 Last Seen: 7 hours ago Share Posted May 16, 2021 Hi, I think the script need an update, the PR #4195 got some update earlier and now gives error [Warning]: Unexpected type for argument 1. Expected string. [Debug]: Data: variable name='@sold_uniqueid' index=0 [Debug]: Function: uniqueid_delitem [Debug]: Source (NPC): Recycler at prontera (163,188) [Error]: buildin_uniqueid_delitem: unknown item (unique_id=0). Quote Link to comment Share on other sites More sharing options...
MyNoobScriptz Posted June 28, 2021 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 76 Reputation: 3 Joined: 05/01/15 Last Seen: April 9 Share Posted June 28, 2021 On 5/16/2021 at 5:39 PM, lzm said: Hi, I think the script need an update, the PR #4195 got some update earlier and now gives error [Warning]: Unexpected type for argument 1. Expected string. [Debug]: Data: variable name='@sold_uniqueid' index=0 [Debug]: Function: uniqueid_delitem [Debug]: Source (NPC): Recycler at prontera (163,188) [Error]: buildin_uniqueid_delitem: unknown item (unique_id=0). i got same error like you, item not deleted Quote Link to comment Share on other sites More sharing options...
kalabasa Posted September 15, 2023 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Share Posted September 15, 2023 Same. it does not delete the item. Quote Link to comment Share on other sites More sharing options...
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.