Ice Bear Posted February 16, 2013 Posted February 16, 2013 Item Crafter NPC This NPC Requires Specific Amount of Items to Craft One Item by a % chance to sucess or fail For Example You Need to Sacrifice 10 Golds 10 TCG 10 Red Potion To Recieve 1 Poring Coin by 10% chances Only If AnyOne Like To Help Me Here Thanks ) Quote
Emistry Posted April 4, 2013 Posted April 4, 2013 like this ? http://pastebin.com/raw.php?i=W4UXJLw9 OnInit: // craft settings .craft_rate = 50; setarray .item_id,607,608; setarray .item_amount,1,2; .item_id_size = getarraysize( .item_id ); // item gain .craft_gain = 7539; end; 1 Quote
0 blakbord Posted April 18, 2020 Posted April 18, 2020 (edited) sir @Emistry can I make a request for this script? 1. I want to add more items to craft (ex. custom shield, boots, etc..) 2. need a payment.. and then when it failed to craft, the payment increases.. 3. it will increase amount of the item needed when failed also.. I know this is too much.. Edited April 18, 2020 by blakbord i need to add some question Quote
nanakiwurtz Posted February 16, 2013 Posted February 16, 2013 prontera,1,2,3 script Coin Crafter 49,{ mes "[ Coin Crafter ]"; mes "Hello there!"; mes "I can help you to craft a ^0000FFPoring Coin^000000, but with only 10% chance of success."; mes "Do you want to continue?"; next; menu "Yes",Craft,"No",Quit; Craft: if((countitem(7227)>=10) && (countitem(969)>=10) && (countitem(501)>=10)) { delitem 7227,10; delitem 969,10; delitem 501,10; mes "[ Coin Crafter ]"; if(rand(100)<10) { mes "Here you are!"; getitem 7539,1; next; mes "[ Coin Crafter ]"; mes "Do you want me to craft some more?"; next; menu "Yes",Craft,"No",Quit; } else { mes "I'm sorry, but I have failed to craft the Poring Coin."; mes " "; mes "Do you want me to try again?"; next; menu "Yes",Craft,"No",Quit; } mes "[ Coin Crafter ]"; mes "I need these things:"; mes "^FF000010x Golds"; mes "10x TCG"; mes "10x Red Potions^000000"; next; Quit: mes "[ Coin Crafter ]"; mes "Come and see me again!"; close; } Quote
hexor9 Posted April 4, 2013 Posted April 4, 2013 how about making this npc lots of item can craft with different requirements (like setting array)and announce when success craftedand also the crafted item get the name of the crafter sorry bad english Quote
hexor9 Posted April 4, 2013 Posted April 4, 2013 (edited) that is not crafting there is no percent rate on there! and also effect of like casting skills when crafting i will try this thanks emistry please help me also here http://rathena.org/board/topic/81011-any-one-can-edit-this-script/#entry191637 On 4/5/2013 at 2:52 AM, Emistry said: like this ? http://pastebin.com/raw.php?i=W4UXJLw9 OnInit: // craft settings .craft_rate = 50; setarray .item_id,607,608; setarray .item_amount,1,2; .item_id_size = getarraysize( .item_id ); // item gain .craft_gain = 7539; end; My problem is the crafted item removed the slot i add an item with slot and when i success in crafted the slot of the item is remove Edited April 4, 2013 by hexor9 Quote
Emistry Posted April 6, 2013 Posted April 6, 2013 item that have "player name" are not suppose to have any item slots. Quote
hexor9 Posted April 6, 2013 Posted April 6, 2013 how i can remove that dont have named of crafter Quote
Emistry Posted April 6, 2013 Posted April 6, 2013 how i can remove that dont have named of crafter hmm ? elaborate your request or problems in details... Quote
hexor9 Posted April 6, 2013 Posted April 6, 2013 how i will make this npc crafter not crafting a item with the name of a crafter or i removing the crafter named when success so the // item gain .craft_gain = 7539; HAVE SLOT Quote
Emistry Posted April 6, 2013 Posted April 6, 2013 change getnameditem( .craft_gain,strcharinfo(0) ); to getitem .craft_gain,1; Quote
Question
Ice Bear
Item Crafter NPC
This NPC Requires Specific Amount of Items to Craft One Item by a % chance to sucess or fail
For Example
You Need to Sacrifice
10 Golds
10 TCG
10 Red Potion
To Recieve 1 Poring Coin by 10% chances Only
If AnyOne Like To Help Me Here Thanks
)
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.