BFPkiller

Members
  • Content Count

    70
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

1 Neutral

1 Follower

About BFPkiller

  • Rank
    Santa Poring

Profile Information

  • Gender
    Male
  • Location
    netherlands

Recent Profile Visitors

1,559 profile views
  1. Wow Thanks !! Works like a charm!! Thank you very much !
  2. Thanks for your reply ! I tested it... after : mes "Can you give me one " + getitemname(12128) +"?"; and you click next, it goes right to the shop , and i dont have the cooking set ... hope you can fix this
  3. Hello everyone! i would like to request a npc if i may. the npc sells the following food and will only do so once you brought him the required item. Hope you guys can help me out. Thanks in advance ! *Street Food Vendor (All Food Is 20k Each): *He will only sell to you once you bring him 1x Royal Cooking Set (ID: 12128) Bomber Steak (ID: 12043) Tentacle Cheese Gratin (ID: 12058) Clam Soup (ID: 12053) Honey Herbal Tea (ID: 12048) Fruit Mix (ID: 12063) Fried Sweet Potato (ID: 12068) ( Only have to bring him the cooking set 1x then you can always buy from him )
  4. Thanks for your reply ! and how would i do that ? EDIT I got it { if( strcharinfo(3) != "darkmall" ) { mes "This item can only be used in the Black Market."; close; } else { buyingstore 2; delitem 12548,1; } }
  5. Thanks !! this works flawless , can it also be scripted it doesnt consume the item when used on other maps then darkmall ?? Thanks in advance !
  6. Hello everyone. I have a question for you. Is it posible to make a item displaying a message when it's not used on it's pre-defined map ? I use this item and it may only be used on a specific map only like the code below. So what i mean is, it should display a message like "This item can only be used in DarkMall." , when people use it in prontera for example. Thanks in advance ! { if( strcharinfo(3) != "darkmall" ) buyingstore 2; },{},{}
  7. You saved me !! thank you allot !!
  8. Can you tell us how to make it work ? we got this error to begin with
  9. hello all i just download this and tried it, but it gave me some errors. i did my best but somewhere im failing. I hope someone can help me out [Error]: Loading NPC file: npc/afriel/black_market/vendingMachine.txt script error on npc/afriel/black_market/vendingMachine.txt line 32 parse_line: expected ';' 27 : { 28 : [email protected] = getarg(0); 29 : if([email protected]==673) [email protected]$ = "BROWN"; 30 : else if([email protected]==677) [email protected]$ = "SILVER"; 31 : else if([email protected]==674) [email protected]$ = "MITHRIL"; * 32 : return CStr'('getitemname([email protected])+" ["+CZeny(getiteminfo([email protected],0))+"]",[email protected]$); 33 : } 34 : 35 : Function script EjectCoin { // EjectCoin({<coin left>,<coin type>}) 36 : [email protected] = getarg(0,@coinamt); 37 : [email protected]$ = getarg(1,".coin"); [Error]: script error on npc/afriel/black_market/vendingMachine.txt line 55 parse_line: expected ';' 50 : soundeffect "slot_jackpot.wav",1; 51 : } 52 : } 53 : [email protected] = [email protected]([email protected]*[email protected]); 54 : getitem [email protected],[email protected]; * 55 : mes [email protected]+" x "+CCoin'('[email protected]); 56 : } 57 : } 58 : @coinamt = 0; 59 : next; 60 : return; [Error]: script error on npc/afriel/black_market/vendingMachine.txt line 69 parse_line: expected ';' 64 : [email protected]$ = getarg(0,".coin"); 65 : [email protected] = getarraysize(getvariableofnpc(getd([email protected]$),strnpcinfo(3))); 66 : mes "Usable Coin:"; 67 : for([email protected]=0;[email protected]<[email protected];[email protected]++){ 68 : // show usable coin * 69 : mes " ~ "+CCoin'('getvariableofnpc(getd([email protected]$+"["[email protected]+"]"),strnpcinfo(3))); 70 : } 71 : return; 72 : } 73 : 74 : Function script HaveCoin { [Error]: script error on npc/afriel/black_market/vendingMachine.txt line 82 parse_subexpr: expected ':' 77 : [email protected] = getarg(2,0); 78 : [email protected]$ = getarg(3,"Insert"); 79 : [email protected] = getarraysize(getvariableofnpc(getd([email protected]$),strnpcinfo(3))); 80 : for([email protected]=0;[email protected]<[email protected];[email protected]++){ 81 : [email protected] = getvariableofnpc(getd([email protected]$+"["[email protected]+"]"),strnpcinfo(3)); * 82 : set [email protected]$,[email protected]$ + (countitem([email protected]) && ([email protected]?([email protected]@coinamt)/getiteminfo([email protected],0):1)?" >> "[email protected]$+" "+CCoin'('[email protected])+" << ("+CStr(countitem([email protected]),"RED")+"):":":"); 83 : } 84 : if([email protected]) set [email protected]$,[email protected]$+(@coinamt?CStr(" << Eject Coin >>","RED")+":":":"); 85 : return [email protected]$; 86 : } 87 : [Error]: script error on npc/afriel/black_market/vendingMachine.txt line 97 parse_line: expect command, missing function name or calling undeclared function 92 : unitwalk getcharid(3),[email protected]_n-2,[email protected]_n; 93 : end; 94 : OnTouch: 95 : @coinamt = 0; 96 : mes "Play Coin Roulette?"; * 97 : 'U'sableCoin(); 98 : next; 99 : select("Play","No"); 100 : while( @menu == 1 ){ 101 : do{ 102 : mes "Bet: << "+CStr(CZeny(@coinamt),"RED")+" >>","Max Bet << "+CZeny(.max_bet)+" >>","=========================", [Error]: script error on npc/afriel/black_market/vendingMachine.txt line 244 parse_line: expect command, missing function name or calling undeclared function 239 : end; 240 : OnTouch: 241 : function PriceList;function CMenu;function choose;function RES_TYPE; 242 : if(!getcharid(0)) end; 243 : mes "A "+.npcname$; * 244 : 'U'sableCoin(); 245 : next; 246 : do{ 247 : PriceList(); 248 : next; 249 : select(CMenu()); [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/afriel/black_market/slotmachine.txt', line '3'. Stopping... * w1=} * w2= * w3= * w4=
  10. Hello I would like to request a script that limits the cards used in WoE. E.g Per char limit the active mvp cards to 1, but let it be 1 mvp card of choice. Is this possible ? Thanks
  11. Sorry to bump this, but is it possible to limit the cards used to 1 during WoE , GVG etc ??? Or maybe per castle limit it to 1 active card per char ? Greets
  12. Hello , sorry to bumb this , but is it possible to get the Hats based on chance ? lets say a group of 1% chance, a group of 10% and a group of 15% chance ? Thanks in advance
  13. Thanks for your help ! Do you have an example script , where all players combined (server wide ) can all turn in items at the same npc for 1 reward ,wich would be for example set double xp , like a joined quest
  14. Hello I was looking for an npc like described below or did something similar, but coulnd find any, and correct me if im wrong. This is what the npc supposed to do NPC requires Pineapples to turn into points ( need npc to spend the points on, i can add items in it myself ) Pineapples can be turned in all week. Top 3 collectors receive a bonus reward of (Zeny, Poring Coins, Bubble Gum, Field Manual, or??) Pineapple (6265) can someone help me with this ? Big thanks in advance !