playniks Posted January 30, 2024 Group: Members Topic Count: 14 Topics Per Day: 0.02 Content Count: 52 Reputation: 2 Joined: 02/23/23 Last Seen: 1 hour ago Share Posted January 30, 2024 Hello! I would like to request multiple item costume trader wherein it has a callshop function. The NPC only accepts costumes and trade it to a Coin or points. Thanks... Quote Link to comment Share on other sites More sharing options...
0 Wazaby Posted January 31, 2024 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 31 Reputation: 11 Joined: 04/19/20 Last Seen: April 21, 2024 Share Posted January 31, 2024 Quote Link to comment Share on other sites More sharing options...
0 playniks Posted February 3, 2024 Group: Members Topic Count: 14 Topics Per Day: 0.02 Content Count: 52 Reputation: 2 Joined: 02/23/23 Last Seen: 1 hour ago Author Share Posted February 3, 2024 On 1/31/2024 at 4:28 PM, Wazaby said: Hello! It seems like it doesnt work anymore? And also I would like it to be callshop function wherein I can sell multiple costumes I want and trade it to points/item depends on the range per costume Quote Link to comment Share on other sites More sharing options...
0 jannickz Posted February 4, 2024 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 01/29/24 Last Seen: February 27, 2024 Share Posted February 4, 2024 (edited) What determines the exchange rate between costumes and coins/points? Is it based on rarity, complexity, or other factors? wow classic gold Edited February 7, 2024 by jannickz Quote Link to comment Share on other sites More sharing options...
0 playniks Posted February 4, 2024 Group: Members Topic Count: 14 Topics Per Day: 0.02 Content Count: 52 Reputation: 2 Joined: 02/23/23 Last Seen: 1 hour ago Author Share Posted February 4, 2024 9 hours ago, jannickz said: What determines the exchange rate between costumes and coins/points? Is it based on rarity, complexity, or other factors? All I want is just simple, exchange costume to a coin.. With the use of the malangdo exchange script, It seems that it only exchange 1 costume at a time.. I want it to have a callshop wherein multiple costume will be exchange rather than 1 by 1.. Quote Link to comment Share on other sites More sharing options...
0 Wazaby Posted February 6, 2024 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 31 Reputation: 11 Joined: 04/19/20 Last Seen: April 21, 2024 Share Posted February 6, 2024 On 2/4/2024 at 4:25 PM, playniks said: All I want is just simple, exchange costume to a coin.. With the use of the malangdo exchange script, It seems that it only exchange 1 costume at a time.. I want it to have a callshop wherein multiple costume will be exchange rather than 1 by 1.. Is it possible for you to point to which npc or script? Or just post a snippet of the code that you want help with? Quote Link to comment Share on other sites More sharing options...
0 playniks Posted February 6, 2024 Group: Members Topic Count: 14 Topics Per Day: 0.02 Content Count: 52 Reputation: 2 Joined: 02/23/23 Last Seen: 1 hour ago Author Share Posted February 6, 2024 (edited) On 2/6/2024 at 11:45 AM, Wazaby said: Is it possible for you to point to which npc or script? Or just post a snippet of the code that you want help with? Quote guildhall,101,93,3 script Designer Fernan#eventhat 4_CAT_SAILOR5,{ if (checkweight(1301,1) == 0) { mes "- Please stop here!! -"; mes "- You have carried too much items, -"; mes "- Therefore unable receive any item again, -"; mes "- Please reduce your weight, -"; mes "- And come back again later! -"; close; } disable_items; mes "[Designer Fernan]"; mes "^ff0000Make sure to storage first your main costumes to prevent destroying^000000"; mes "^ff0000I'm not responsible if you accidentally click your costume, so please storage it first before exchanging.^000000"; mes "I am Designer Fernan, who has all kinds of cool costumes in the World."; mes "If you have any spare costume with you, let me swap it to costume coin!"; next; if (select( "Exchange costume for Costume Coin", "Continue conversation" ) == 2) { mes "[Designer Fernan]"; mes "Though I look out of shape right now, I used to be a well known fashion model and designer!"; next; mes "[Designer Fernan]"; mes "Don't pity me! I am well aware of my looks, but I like who I am inside."; close; } mes "[Designer Fernan]"; mes "Oh, Do you have spare costumes? then I can exchange it for Costume Coin."; next; mes "- Rummaging -"; next; // =================================================================== // =================== Costume Coin =================== // =================================================================== .@box_list[0] = 41002; // Costume Coin setarray .@item_list_0[0], // HEADGEARS 36202, 36201, 36466; freeloop(1); while(1) { for ( .@i = 0; .@i < 18; ++.@i ) { if (getiteminfo(.@box_list[.@i], ITEMINFO_TYPE) == -1) // temporary check continue; .@size = getarraysize( getd(".@item_list_" + .@i) ); for ( .@h = 0; .@h < .@size; ++.@h ) { .@id = getd( ".@item_list_" + .@i + "[" + .@h + "]" ); if (getiteminfo(.@id, ITEMINFO_TYPE) == -1) // temporary check continue; if (isequipped(.@id)) { mes "^ff0000You are still wearing a same item you want to dispose. Please move your equipped costume to your storage.^000000"; close; } if(!isequipped(.@id)) { if (countitem(.@id) < 1) continue; mes "[Designer Fernan]"; mes "I see that you have a ^3131FF" + getitemname(.@id) + "^000000. Do you want to exchange this for a Costume Coin?"; next; switch( select( "Exchange", "Look for something else", "Stop Exchanging" ) ) { case 1: mes "[Designer Fernan]"; if (countitem(.@id) < 1) mes "Oh~ Something suddenly disappeared..."; else { mes "Exchange Completed."; delitem .@id, 1; getitem .@box_list[.@i], 1; } mes "Let me check you for another item to exchange..."; next; break; case 2: break; case 3: mes "[Designer Fernan]"; mes "Meow? Where are you going?"; close; } } } } mes "[Designer Fernan]"; mes "Guess that is all."; next; if (select( "Look more", "Quit" ) == 2) { mes "[Designer Fernan]"; mes "Bye~"; close; } } OnInit: initnpctimer; end; OnTimer1000: showscript("Costume Exchanger"); setnpctimer 0; end; close; } I want it to have callshop func so I can sell multiple costumes instead of converting it one by one... Is there a solution for this? The original script came from re/merchants/malangdo_costume FIXEDD THANKSS Edited March 4, 2024 by playniks Quote Link to comment Share on other sites More sharing options...
Question
playniks
Hello! I would like to request multiple item costume trader wherein it has a callshop function. The NPC only accepts costumes and trade it to a Coin or points. Thanks...
Link to comment
Share on other sites
6 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.