Register for your free account! | Forgot your password?

You last visited: Today at 12:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Quest Release]Achemist aio

Discussion on [Quest Release]Achemist aio within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 113
Received Thanks: 236
[Quest Release]Achemist aio

This quest uses 1 npc to refine all ore ingame.
If you like it, thank it


Features:
-Gm's can set the succes rate
-You can set the amount ore needed to get 1 stone for each oretype
-Included 7 ores [ , , , , , ,

Things that can be better:
-you can add more ores

Installation:
Copy and paste the quest in a text editor.
Save it as: alchemist.quest
upload it into your serverfiles
add the quest into hongkong.list
run sh make.sh
execute /reload q in game

NPC used:

- 20060

Quest file:
PHP Code:
quest alchemist begin
    state start begin
        when 20060.chat
."Set succesrate" with pc.is_gm() begin
                local succesRate 
game.get_event_flag("refineSuccesRate")
                
say("The current succesrate is: "..succesRate.."%.")
                
local succesRateNew input()
                
game.set_event_flag("refineSuccesRate"succesRateNew)
        
end
        when 20060.chat
."Information" begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
say("Here you can refine ore into stones.")
            
say("You need 200 ores to get one stone.")
            
say("")
            
say("The current succesrate is: "..succesRate.."%.")
        
end
        when 20060.chat
."Refine amber" with pc.count_item(50602)>= 200 begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
local random math.random(1,100)
            if 
random <= succesRate then
                pc
.give_item2(50622)
                
pc.remove_item(50602,200)
                
say("Refining was a succes!")
            else
                
pc.remove_item(50602,200)
                
say("Refining failed!")
            
end
        end
        when 20060.chat
."Refine agete" with pc.count_item(50608)>= 200 begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
local random math.random(1,100)
            if 
random <= succesRate then
                pc
.give_item2(50628)
                
pc.remove_item(50608,200)
                
say("Refining was a succes!")
            else
                
pc.remove_item(50608,200)
                
say("Refining failed!")
            
end
        end
        when 20060.chat
."Refine pearl" with pc.count_item(50609)>= 200 begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
local random math.random(1,100)
            if 
random <= succesRate then
                pc
.give_item2(50629)
                
pc.remove_item(50609,200)
                
say("Refining was a succes!")
            else
                
pc.remove_item(50609,200)
                
say("Refining failed!")
            
end
        end
        when 20060.chat
."Refine white gold" with pc.count_item(50610)>= 200 begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
local random math.random(1,100)
            if 
random <= succesRate then
                pc
.give_item2(50630)
                
pc.remove_item(50610,200)
                
say("Refining was a succes!")
            else
                
pc.remove_item(50610,200)
                
say("Refining failed!")
            
end
        end
        when 20060.chat
."Refine crystal" with pc.count_item(50611)>= 200 begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
local random math.random(1,100)
            if 
random <= succesRate then
                pc
.give_item2(50631)
                
pc.remove_item(50611,200)
                
say("Refining was a succes!")
            else
                
pc.remove_item(50611,200)
                
say("Refining failed!")
            
end
        end        
        when 20060.chat
."Refine amethyst" with pc.count_item(50612)>= 200 begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
local random math.random(1,100)
            if 
random <= succesRate then
                pc
.give_item2(50632)
                
pc.remove_item(50612,200)
                
say("Refining was a succes!")
            else
                
pc.remove_item(50612,200)
                
say("Refining failed!")
            
end
        end
        when 20060.chat
."Refine heaven's tear" with pc.count_item(50613)>= 200 begin
            local succesRate 
game.get_event_flag("refineSuccesRate")
            
local random math.random(1,100)
            if 
random <= succesRate then
                pc
.give_item2(50633)
                
pc.remove_item(50613,200)
                
say("Refining was a succes!")
            else
                
pc.remove_item(50613,200)
                
say("Refining failed!")
            
end
        end
    end
end 
sennah is offline  
Thanks
12 Users
Old 08/20/2010, 21:06   #2
 
elite*gold: 439
Join Date: May 2009
Posts: 1,502
Received Thanks: 880
Für Leute die mit Englisch ein paar Probleme haben:
Wenn diese Quest aktiv ist, kann man zu einem NPC gehen, der dann Erze in Barren umwandelt.
Also das abgebaute Erz wird eingeschmolzen.
Funktion wie ein Alchemist.

Ein Zufallsgenerator entscheidet, ob es geklappt hat oder ob es schiefgelaufen ist.
GMs können die Rate festlegen!
LordMampf2 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] Lvl 90+ Quest
07/08/2010 - CO2 PServer Guides & Releases - 6 Replies
Hey guys made this quest last night Small Monster Huner quest. The rewards are 100k OR 500kk Silvers. I know its a bit rough and im gonna clean it up when i can First we need to add the NPCDialogue. #region New Quest case 12453: { if (Control == 0) {
[Release]Upp-Stuff Quest + Neue Bio Quest ->Testlauf
06/08/2010 - Metin2 PServer Guides & Strategies - 13 Replies
Hey und guten Morgen, Ich hatte grade bissl langeweile und hab mir gedacht man könnte doch seine Waffen auch mit 100% Uppchance gg bessere Waffen tauschen oder? Das heißt: Die Quest sieht so aus: Ihr geht zu Baek-Go. Wenn ihr jetzt zum Beispiel einen Krähenstahlbogen+9 und 2x Gegenangriffstrategien habt könnt ihr Ihn gg einen Geisterbogen+0 eintauschen! Die Quest funktioniert wunderbar und wurde auch schon getestet.
[Release] Another Custom Quest
04/23/2010 - CO2 PServer Guides & Releases - 6 Replies
Hello I made this quest all by myself It is pretty good I guess Add these to NPCDialog.cs: #region Shirly Quest case 778867: { if (Control == 0) {
[Release] Windbell Quest
01/28/2010 - CO2 PServer Guides & Releases - 24 Replies
Well got a little bored and made this. It's a rather small contribution, but well, probably someone that would appreciate out there. I will not re-write this to any other sources, that is up to you. I did in the simplest way, which will make it easy for you others to re-write. #region Shirley //both NPC's are needed. case 20000: //this is a random number, same with the other NPC, change it to what ever you have. { if...
[Release]3rd rb quest
11/26/2009 - CO2 PServer Guides & Releases - 5 Replies
this is for LOTF sources if (CurrentNPC == 100)//Third Reborn { if (MyChar.RBCount >= 3) { SendPacket(General.MyPackets.NPCSay("You are already reborn. I cannot help you.")); SendPacket(General.MyPackets.NPCLink("I see.", 255)); SendPacket(General.MyPackets.NPCSetFace(30));



All times are GMT +2. The time now is 12:34.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.