Jump to content
  • 0

Question

Posted

Hey there!

First of all, sorry if this is the wrong section, but I think it's the more appropriate to post this kind of stuff.

So, me and a friend are setting up a server and we should be done within a few weeks. I, being inpatient, have made this script (:)) and since I don't have a server, I came here to ask someone to test it for me.

I'm attaching the script, so if you want to help me, you can download it and put it in your test server or whev.

I'd like to see some screenshots of the NPC if possible, thanks! /no1

*NPC should be @ prontera, 156, 145*

script.txt

5 answers to this question

Recommended Posts

Posted

hey dude try this

//===== rAthena Script =======================================
//= Custom Refiner NPC
//===== By: ==================================================
//= megablox
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Custom Refiner
//===== Additional Comments: =================================
//= 1.0 First Release [megablox]
//============================================================

prontera,156,179,4	script	Refiner	63,{
//============================================================
set @npcname$, "^FF0000NPC[Refiner]^000000";
//============================================================
mes @npcname$;
mes "Hi there, I'm the best refiner you can find around the world!";
mes "I can refine all you desire to the max for a fee.";
next;
mes @npcname$;
mes "Do you need my service?";
switch (select("Yes please, I'd like to refine some of my equipment!:No thanks.")){
	case 1:
			next;
			mes @npcname$;
			mes "Alright then, what do you want to refine?";
			switch (select("A weapon I have equipped.:My armor!")){
				case 1:
						next;
						mes @npcname$;
						mes "So, you want to refine weapons, huh? Well, my fee for refining";
						mes "weapons is 15k Gold Coins / weapon. There is no chance of fail";
						mes "and your weapon will be sent straight to the best refining level.";
						next;
						mes @npcname$;
						mes "Do you still want to refine your weapon?";
						switch (select("Yes, I don't need this gibberish, I want more defense!:WOAH! That's a lot of gold... Meh, maybe another time.")){
							case 1:
									next;
									mes @npcname$;
									mes "Okay, hand me your weapon please.";
									switch (select("*hand left handed weapon*:*hand right handed weapon*:Nevermind!")){
										case 1:
												if (countitem(671) < 10000){
													next;
													mes @npcname$;
													mes "Hey, you don't have enough Gold Coins to pay me!";
													mes "Come back when you have more.";
													close;
												}
												delitem 671,10000;
												mes "*REFINING NOISES*";
												next;
												mes @npcname$;
												mes "There you go!";
												atcommand "@refine 32 +10";
												close;

										case 2:
												if (countitem(671) < 10000){
													next;
													mes @npcname$;
													mes "Hey, you don't have enough Gold Coins to pay me!";
													mes "Come back when you have more.";
													close;
												}
												delitem 671,10000;
												mes "*REFINING NOISES*";
												next;
												mes @npcname$;
												mes "There you go!";
												atcommand "@refine 128 +10";
												close;

										case 3:
												close;
									}

						}
				case 2:
						mes @npcname$;
						mes "So, you want to strengthen you armor, huh? Well, my fee for refining";
						mes "armors is 100k Gold Coins / full armor. There is no chance of fail";
						mes "and your armor will be sent straight to the best refining level.";
						next;
						mes @npcname$;
						mes "Do you still want to refine your armor?";
						switch (select("Yes, I don't need this gibberish, I want more defense!:WOAH! That's a lot of gold... Meh, maybe another time.")){
							case 1:
									next;
									mes @npcname$;
									mes "Okay, hand me your armor please.";
									mes "*WARNING* I will refine all your equipped armor!";
									switch (select("*hand armor*:Nevermind!")){
										case 1:
												if (countitem(671) < 100000){
													next;
													mes @npcname$;
													mes "Hey, you don't have enough Gold Coins to pay me!";
													mes "Come back when you have more.";
													close;
												}
												delitem 671,100000;
												mes "*REFINING NOISES*";
												next;
												mes @npcname$;
												mes "That was an hard work, but here you go!";
												atcommand "@refine 256 +10";
												atcommand "@refine 512 +10";
												atcommand "@refine 1 +10";
												atcommand "@refine 16 +10";
												atcommand "@refine 4 +10";
												atcommand "@refine 64 +10";
												atcommand "@refine 128 +10";
												atcommand "@refine 8 +10";
												close;

										case 2:
												close;
									}
						}
			}
	case 2:
			next;
			mes @npcname$;
			mes "Oh okay. See you soon!";
			close;
}
}

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...