Jump to content
  • 0

Cash Shop Requesting!


Yoona

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Cash Shop!

 

 

I am requesting this kind  of Cash Shop, i hope i can find one

 

- A Cash Shop that will exchange "TCG = CASH , CASH = TCG "

- A Cash Shop that has Items for sell for CASH only.

 

That's all i want :) thanks in Advance!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

Cash Shop

 

new_1-2,43,180,5    cashshop    Item PShop    46,13604:4,13596:4

 

<map name>,<x coor>,<y coor>,<position>%TAB%cashshop%TAB%<name of cash shop>%TAB%<NPC SRPITE ID>,<ITEM NO>:<CASHPOINT COST>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  08/12/13
  • Last Seen:  


prontera,150,150 script test 459,{

set @npcname$,"[ TCG - Cash ]";

set $exchange,10; //Exchange rate for TCG-Cash.

mes @npcname$;

mes "What would you like to do?";

mes "Exchange Rate - ^990000"+$exchange+"^000000 TCG = 1 Cash Point";

switch(select("TCG-Cash:Cash-TCG:Nothing"))

{

case 1:

{

next;

mes @npcname$;

mes "How much TCG would you like to trade?";

input @tcga;

if(countitem(7227)<@tcga)

{

next;

mes @npcname$;

mes "You don't have that much!";

close;

}

if(!@tcga)

{

next;

mes @npcname$;

mes "You can't enter zero!";

close;

}

if((@tcga % $exchange)>0)

{

next;

mes @npcname$;

mes "Please enter a multiple of "+$exchange+"s.";

close;

}

next;

set @casha,@tcga / $exchange;

mes @npcname$;

mes "Exchange "+@tcga+" TCG Cards to "+@casha+"?";

if(select("Yes:No")==1)

{

next;

mes @npcname$;

mes "Here you go!";

delitem 7227,@tcga;

#CASHPOINTS = #CASHPOINTS + @casha;

dispbottom "You have gained "+#CASHPOINTS+" Cash Points.";

dispbottom "Total Cash Points : "+#CASHPOINTS;

}

close;

}

case 2:

{

next;

mes @npcname$;

mes "How many Cash Points would you like to trade?";

input @cashb;

if(#CASHPOINTS<@cashb)

{

next;

mes @npcname$;

mes "You don't have that much!";

close;

if(!@cashb)

{

next;

mes @npcname$;

mes "You can't enter zero!";

close;

}

next;

set @tcgb,@cashb * $exchange;

mes @npcname$;

mes "Exchange "+@cashb+" Cash Points to "+@tcgb+"?";

if(select("Yes:No")==1)

{

next;

mes @npcname$;

mes "Here you go!";

getitem 7227,@tcgb;

#CASHPOINTS = #CASHPOINTS - @cashb;

dispbottom "You have lost "+@cashb+" Cash Points.";

dispbottom "Total Cash Points : "+#CASHPOINTS;

}

close;

}

case 3:

close;

}

}

prontera,149,150,4 cashshop cstest 47,7179:99999; //ItemID,price.

Edited by belphegor
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  111
  • Reputation:   2
  • Joined:  05/09/13
  • Last Seen:  

when i put this script in i get this errors...

 

[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/creditsExchanger.t
xt', line '3'. Stopping...
 * w1=set @npcname$,"[ TCG - Cash ]";
 * w2=
 * w3=
 * w4=
 
 
very weird , i put in lots of npcs and all went well.
 
can u please help me ?
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Change :

prontera,150,150

to :

prontera,150,150,0
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

use emistry multi shop

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...