JeffShadow90 Posted December 4, 2011 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 11/26/11 Last Seen: December 16, 2011 Share Posted December 4, 2011 Hi. I wanted to know how do I make an item (es.: Giant fly wing) unlimited to the use... I mean that you can use it but it do not dissapear.. you can use it infinite time Thanks Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted November 9, 2021 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 6 hours ago Share Posted November 9, 2021 - Id: 504 AegisName: White_Potion Name: White Potion Type: Delayconsume Buy: 1200 Weight: 150 Script: | percentheal 20,0; If still not working - Id: 504 AegisName: White_Potion Name: White Potion Type: Delayconsume Flags: NoConsume: true Buy: 1200 Weight: 150 Script: | percentheal 20,0; Quote Link to comment Share on other sites More sharing options...
0 Diana Posted April 17, 2021 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Share Posted April 17, 2021 @Emistry Please, there's an update for this topic? Now I can see in yml Type: Delayconsume and I can't make it infinite Quote Link to comment Share on other sites More sharing options...
0 dantoki Posted November 9, 2021 Group: Members Topic Count: 67 Topics Per Day: 0.01 Content Count: 235 Reputation: 42 Joined: 10/21/12 Last Seen: April 5 Share Posted November 9, 2021 On 4/17/2021 at 11:45 AM, Diana said: @Emistry Please, there's an update for this topic? Now I can see in yml Type: Delayconsume and I can't make it infinite @Emistry how to do it on latest item db? bump for this comment Quote Link to comment Share on other sites More sharing options...
0 Start_ Posted November 9, 2021 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 6 hours ago Share Posted November 9, 2021 28 minutes ago, qtdan said: @Emistry how to do it on latest item db? bump for this comment If your item had 'itemskill' that will consume otherwise it will infinite. Quote Link to comment Share on other sites More sharing options...
0 dantoki Posted November 9, 2021 Group: Members Topic Count: 67 Topics Per Day: 0.01 Content Count: 235 Reputation: 42 Joined: 10/21/12 Last Seen: April 5 Share Posted November 9, 2021 14 minutes ago, Start_ said: If your item had 'itemskill' that will consume otherwise it will infinite. can you give me example? - Id: 504 AegisName: White_Potion Name: White Potion Type: Healing Buy: 1200 Weight: 150 Script: | percentheal 20,0; Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 4, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 16 hours ago Share Posted December 4, 2011 try change the Item type to 11 Quote Link to comment Share on other sites More sharing options...
whitesn Posted December 4, 2011 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 193 Reputation: 14 Joined: 12/02/11 Last Seen: October 30, 2018 Share Posted December 4, 2011 (edited) As far I know you should use function. at the item's effect put callfunc "itemfunc"; then put this script on /script/custom/ make new files -> itemfunc.txt The Script function<tab>script<tab>itemfunc<tab>{ //item effect goes here getitem itemID,1; //red = Change to your Item ID's //blue = Change to your previous item's effect } add script_custom.conf npc: npc/custom/itemfunc.txt Correct me if I wrong Edited December 4, 2011 by 2essy2killu Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 4, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 16 hours ago Share Posted December 4, 2011 (edited) As far I know you should use function. at the item's effect put callfunc "itemfunc"; then put this script on /script/custom/ make new files -> itemfunc.txt The Script function<tab>script<tab>itemfunc<tab>{ //item effect goes here getitem itemID,1; //red = Change to your Item ID's //blue = Change to your previous item's effect } Correct me if I wrong rather than using 1 more function... you can just basically add in getitem command at the item_db.txt Anyway..just follow the guide i give in the second post... change the Item Type to 11... Example : Original Red Potion ( 1 Time Usage ) 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Edited Red Potion ( Unlimit Usage ) 501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Edited December 4, 2011 by Emistry Quote Link to comment Share on other sites More sharing options...
whitesn Posted December 4, 2011 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 193 Reputation: 14 Joined: 12/02/11 Last Seen: October 30, 2018 Share Posted December 4, 2011 As far I know you should use function. at the item's effect put callfunc "itemfunc"; then put this script on /script/custom/ make new files -> itemfunc.txt The Script function<tab>script<tab>itemfunc<tab>{ //item effect goes here getitem itemID,1; //red = Change to your Item ID's //blue = Change to your previous item's effect } Correct me if I wrong rather than using 1 more function... you can just basically add in getitem command at the item_db.txt Anyway..just follow the guide i give in the second post... change the Item Type to 11... Example : Original Red Potion ( 1 Time Usage ) 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Edited Red Potion ( Unlimit Usage ) 501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Oh yeah never think of that xD 11 = usable item with unlimited usage ? o.o Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 4, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 16 hours ago Share Posted December 4, 2011 (edited) 11 = usable item with unlimited usage ? o.o Currently....YES ^^ i have test this in my test server Edited December 4, 2011 by Emistry Quote Link to comment Share on other sites More sharing options...
KeiKun Posted December 4, 2011 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: 36 minutes ago Share Posted December 4, 2011 (edited) really? type 11 = unlimited? 601,Wing_Of_Fly,Fly Wing,11,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",1; },{},{} type 0 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(45,65),0; },{},{} EDIT: type 11 when use with pots go unlimited but there is a restriction not all type 11 = unlimited i guess db needs to be updated more~ Edited December 4, 2011 by KeiKun Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 4, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 16 hours ago Share Posted December 4, 2011 really? type 11 = unlimited? 601,Wing_Of_Fly,Fly Wing,11,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",1; },{},{} type 0 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(45,65),0; },{},{} Aw...i didnt wonder about this...>.< seem like this "way" only work for certain type... then use the getitem command to get 1 items again upon used haha~ Quote Link to comment Share on other sites More sharing options...
Angst Posted December 6, 2011 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 97 Reputation: 20 Joined: 11/13/11 Last Seen: February 14, 2023 Share Posted December 6, 2011 Type 11 is used for Scrolls and any item that requires you to click a target. Without a target the item doesn't get deleted thus giving the appearance of unlimited. (Best not to use type 11 with targeted skill or 'itemskill' commands) Quote Link to comment Share on other sites More sharing options...
jTynne Posted December 7, 2011 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Share Posted December 7, 2011 Type 11 is used for Scrolls and any item that requires you to click a target. Without a target the item doesn't get deleted thus giving the appearance of unlimited. (Best not to use type 11 with targeted skill or 'itemskill' commands) +1 Glad someone already covered this. Item type 11 is as Angst has noted: It requires a target to be clicked (originally item type 11 was used for pet tames). Without a target, the item does not get consumed.Confirmed. Quote Link to comment Share on other sites More sharing options...
Question
JeffShadow90
Hi.
I wanted to know how do I make an item (es.: Giant fly wing) unlimited to the use... I mean that you can use it but it do not dissapear.. you can use it infinite time
Thanks
Link to comment
Share on other sites
14 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.