Jump to content
  • 0

i Need Coin trader please


EmptyxXx

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  02/20/18
  • Last Seen:  

guys can u suggest script of PVP SHOP and Coin trader please 

thankyou in advance

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   1
  • Joined:  12/16/17
  • Last Seen:  

hello here is a script I have not tested it but it should work ... if you have problems, please ask ... you have to change the id of the items that I have not modified

prontera,150,150,4	script	Coin Master	468,{

	.npc$ = "[Coin Master]"; //<--- Change name
	.@SoulCoin_ID = 502; //<-- Insert id Soul Coin
	.@HollowCoin_ID = 502; //<--- Hollow coin ID
	.@SacredCoin_ID = 502; //<--- Put SacredCoin_ID
	
	mes .npc$;
	mes "Hello "+strcharinfo(0)+".";
	mes "During your adventure you will find some Coin.";
	mes "I can exchange them in other coins.";
	mes "^990000500^000000 x ^333300Soul Coin^000000->^808080Hollow Coin^000000 x ^9900001^000000";
	mes "^99000020^000000 x ^808080Hollow Coin^000000->^999900Sacred Coin^000000 x ^9900001^000000";
	next;
	switch(select("^333300Soul Coin^000000->^808080Hollow Coin^000000:^808080Hollow Coin^000000->^999900Sacred Coin^000000")){
		case 1://Soul Coin -> hollow coins
			mes .npc$;
			mes "How many you want to exchange?";
			next;
			input .@count;
			if(.@count == 0) close;
			if(countitem(.@SoulCoin_ID) < .@count*500) goto L_NE;
			delitem SoulCoin_ID,.@count*500;
			getitem HollowCoin_ID,.@count;
			close;
			
		case 2: //hollow coins .>> Sacred coin
			mes .npc$;
			mes "How many you want to exchange?";
			next;
			input .@count;
			if(.@count == 0) close;
			if(countitem(.@HollowCoin_ID) < .@count*20) goto L_NE;
			delitem .@HollowCoin_ID,.@count*20;
			getitem .@SacredCoin_ID,.@count;
			close;
	}
	L_NE:
		mes .npc$;
		mes "You don't have that coin enough.";
		close;
	
}
2 hours ago, zerefff said:

guys please give me coin trader npc script. 

Example: 500soul coin = 1hollow coin

                20hollow coin= 1sacred coin

thank you guys in advance. godbless

sorry I was wrong to understand .... -.- '

however I remain the script in case it can serve ..... sorry again but I thought you needed a normal coin trade -.- '

Edited by Shinto
sorry I was wrong to understand .... -.- '
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

23 minutes ago, zerefff said:

guys can u suggest script of PVP SHOP and Coin trader please 

thankyou in advance

What do you mean?

do you want like this, when player kill another player the killer will get coin

and that coin could trade into item or other?

why not using bone, you could enable it at conf\player.conf

// Players' will drop a 'Skull' when killed?
// Note: The 'Skull' item (ID 7420) is trade restricted by default. Please check
// the item_trade database to adjust accordingly.
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 1

for bone trader script, you could edit this script

Spoiler

////Created BY GM ZaiZai//////
prontera,167,178,3	script	Skull Trader	99,{

	mes "[Skull Exchanger]";
	mes "I can help you to exchange all the skulls you've got from pvp,";
	mes "if you bring the enough amount of skulls.";
	mes "Warning , if you do not have enought skulls , you will pay for it.";
	goto H_top;

H_top:
	menu "Poison Bottle",p_bottle,"Valkyrie Helm",h_valkyrie,"Alice Doll",h_alice,"Angeling Hat",h_angel,"Balloon  Hat",h_balloon,"Glarice Doll Hat",h_glarice,"Coppola",h_coppola,"Deviling Hat",h_devil,"White  Drooping Hat",h_white,"Grey Drooping Hat",h_grey,"Elven Sunglasses",h_elven,"Gentlemens  Pipe",h_pipe,"Baphomet Horns",h_horn,"Frozen Twin PomPoms",h_frozen,"Hunter  Hat",h_hunter,"Angel Of Ghost",h_ghost,"Tailring Doll Hat",h_tail,"Ears of Ifrit",h_ifrit,"No thanks",h_no;


//Headgears//

p_bottle:
	next;
	mes "30 skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_bottle,"No thanks",h_no;

h_valkyrie:
	next;
	mes "500 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_valkyrie,"No thanks",h_no;

h_alice:
	next;
	mes "150 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_alice,"No thanks",h_no;

h_angel:
	next;
	mes "50 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_angel,"No thanks",h_no;

h_balloon:
	next;
	mes "80 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_valkyrie,"No thanks",h_no;

h_glarice:
	next;
	mes "100 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_glarice,"No thanks",h_no;

h_coppola:
	next;
	mes "50 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_coppola,"No thanks",h_no;

h_devil:
	next;
	mes "80 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_devil,"No thanks",h_no;

h_white:
	next;
	mes "100 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_white,"No thanks",h_no;

h_grey:
	next;
	mes "100 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_grey,"No thanks",h_no;

h_elven:
	next;
	mes "30 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_elven,"No thanks",h_no;

h_pipe:
	next;
	mes "30 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_pipe,"No thanks",h_no;

h_horn:
	next;
	mes "100 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_horn,"No thanks",h_no;

h_frozen:
	next;
	mes "30 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_frozen,"No thanks",h_no;

h_hunter:
	next;
	mes "90 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_hunter,"No thanks",h_no;

h_ghost:
	next;
	mes "80 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_ghost,"No thanks",h_no;

h_tail:
	next;
	mes "100 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_tail,"No thanks",h_no;

h_ifrit:
	next;
	mes "100 Skulls";
	mes "Do you want it ???";
	menu "Yes!!!",m_ifrit,"No thanks",h_no;
//-------------------------------------------------------------------------------------------------------------------------
m_bottle:
	if(countitem(7420)<30)
	goto m_noitem;
	delitem 7420,30;
	getitem 13973,1;
	close;

m_valkyrie:
	if(countitem(7420)<500)
	goto m_noitem;
	delitem 7420,500;
	getitem 5171,1;
	close;

m_alice:
	if(countitem(7420)<150)
	goto m_noitem;
	delitem 7420,150;
	getitem 5137,1;
	close;

m_angel:
	if(countitem(7420)<50)
	goto m_noitem;
	delitem 7420,50;
	getitem 5132,1;
	close;

m_balloon:
	if(countitem(7420)<80)
	goto m_noitem;
	delitem 7420,80;
	getitem 5379,1;
	close;

m_glarice:
	if(countitem(7420)<100)
	goto m_noitem;
	delitem 7420,100;
	getitem 5341,1;
	close;

m_coppola:
	if(countitem(7420)<50)
	goto m_noitem;
	delitem 7420,50;
	getitem 5200,1;
	close;

m_devil:
	if(countitem(7420)<80)
	goto m_noitem;
	delitem 7420,80;
	getitem 5254,1;
	close;

m_white:
	if(countitem(7420)<100)
	goto m_noitem;
	delitem 7420,100;
	getitem 5230,1;
	close;

m_grey:
	if(countitem(7420)<100)
	goto m_noitem;
	delitem 7420,100;
	getitem 5231,1;
	close;

m_elven:
	if(countitem(7420)<30)
	goto m_noitem;
	delitem 7420,30;
	getitem 5245,1;
	close;

m_pipe:
	if(countitem(7420)<30)
	goto m_noitem;
	delitem 7420,30;
	getitem 5377,1;
	close;

m_horn:
	if(countitem(7420)<100)
	goto m_noitem;
	delitem 7420,100;
	getitem 5374,1;
	close;

m_frozen:
	if(countitem(7420)<30)
	goto m_noitem;
	delitem 7420,30;
	getitem 5390,1;
	close;

m_hunter:
	if(countitem(7420)<90)
	goto m_noitem;
	delitem 7420,90;
	getitem 5383,1;
	close;

m_ghost:
	if(countitem(7420)<80)
	goto m_noitem;
	delitem 7420,80;
	getitem 5389,1;
	close;

m_tail:
	if(countitem(7420)<100)
	goto m_noitem;
	delitem 7420,100;
	getitem 5343,1;
	close;

m_ifrit:
	if(countitem(7420)<100)
	goto m_noitem;
	delitem 7420,100;
	getitem 5421,1;
	close;


h_no:
	next;
	mes "[Skull Exchanger]";
	mes "Please come again";
	emotion e_gg;
	close;

m_noitem:
	next;
	mes "[Skull Exchanger]";
	mes "Are you trying to cheat me !";
	mes "Here's your payment !";
	emotion e_gg;
	atcommand "@nuke "+strcharinfo(0);
	close;
}

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  02/20/18
  • Last Seen:  

no sir. 1kill=1point. then the point will trade for a coin. dont mind the coin trader.   pvp shop only. did u get it? thank you sir

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

7 hours ago, zerefff said:

no sir. 1kill=1point. then the point will trade for a coin. dont mind the coin trader.   pvp shop only. did u get it? thank you sir

try stolao pvp ladder, here the link

https://github.com/Stolao/Npc_Release/blob/master/PvP_Ladder/Pvp_Ladder.txt

but pvp point spend by buying item not trade into coin

but you could change the item in the shop into coin to buy by pvp point

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  02/20/18
  • Last Seen:  

guys please give me coin trader npc script. 

Example: 500soul coin = 1hollow coin

                20hollow coin= 1sacred coin

thank you guys in advance. godbless

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  02/20/18
  • Last Seen:  

its good. but the soul coin no. i got stuck in here. how to fix this?

Untitled.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

On 2/26/2018 at 2:32 PM, zerefff said:

its good. but the soul coin no. i got stuck in here. how to fix this?

Untitled.png

Try make github issue at stolao github

but here my simple pvppoint and trader point to item

-	script	PVPPOINTS	-1,{
OnPCKillEvent:
	set PVPPoint,PVPPoint+1;
	dispbottom "Gained 1 PVP Points. Total : "+ PVPPoint +" PVP Points.";
	end;
}

prontera,155,176,4	script	PVP Point Trader	512,{

mes "Do you want to trade your point to coin?";
mes "For 1 pvp point will get 1 coin";
mes "You have "+ PVPPoint +" PVP Points.";
switch(select("Yes:No")){
    Case 1:
		if (PVPPoint <= 0) {
			next;
			mes "You don't have PVP point.";
			end;
		}
		mes "how much do you want to change to coin.";
		input .point;
        getitem 512,.point;
		set PVPPoint,PVPPoint-.point;
        close;
    Case 2:
    mes "ok bye";
    close;
	}
}

 

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...