crazyarashi Posted December 7, 2020 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
Gorder Posted December 13, 2020 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
lzm Posted December 22, 2020 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
botka4aet Posted February 20, 2021 Posted February 20, 2021 Update your rathena - https://github.com/rathena/rathena/pull/4195 Quote
lzm Posted May 16, 2021 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
MyNoobScriptz Posted June 28, 2021 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
kalabasa Posted September 15, 2023 Posted September 15, 2023 Same. it does not delete the item. Quote
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.