Register for your free account! | Forgot your password?

You last visited: Today at 17:56

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

Advertisement



need a simple quest

Discussion on need a simple quest within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 10
Received Thanks: 0
Red face need a simple quest

Hi everyone

I don't know how to make a quest, that's why I'm looking 4 help, I need a quest very simple:

click on an NPC to talk, then to go to the map the character must have a determinated lvl and an item too

for example, must be lvl 90 and have a bloodstone to go to the map

Thanks
KUVANNO is offline  
Old 08/13/2013, 18:55   #2
 
Mijago's Avatar
 
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,594
>

I needed ~ 2min 30s for this
PHP Code:
quest cookie begin
    state start begin
        when 12345.click begin
            local item 
1234
            say
("Hello, "..pc.get_name()..".")
            
say "So you want to go on Map XXX?"
            
local count pc.count_item(item)
            if 
count 0 then
                say 
"Your item will go away!"
                
if select("Yes","no") == 1 then
                    
if pc.count_item(item) == count then
                        say 
"Okay , i'll warp you."
                        
pc.remove_item(item,1) -- remove item
                        wait
()
                        
pc.warp(123,456)
                    else
                        
say "Buguser!!"
                    
end
                
else
                    
say "Bye"
                
end
            
else
                
say("You need this item:")
                
say_item(item)
            
end
        end
    end
end 
The same, just a little bit shorter .. hehehe


Next time, ask in the thread i noticed before!!
Mijago is offline  
Thanks
2 Users
Old 08/13/2013, 21:57   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 10
Received Thanks: 0
Thumbs up almost

Quote:
Originally Posted by Mijago View Post
>

I needed ~ 2min 30s for this
PHP Code:
quest cookie begin
    state start begin
        when 12345.click begin
            local item 
1234
            say
("Hello, "..pc.get_name()..".")
            
say "So you want to go on Map XXX?"
            
local count pc.count_item(item)
            if 
count 0 then
                say 
"Your item will go away!"
                
if select("Yes","no") == 1 then
                    
if pc.count_item(item) == count then
                        say 
"Okay , i'll warp you."
                        
pc.remove_item(item,1) -- remove item
                        wait
()
                        
pc.warp(123,456)
                    else
                        
say "Buguser!!"
                    
end
                
else
                    
say "Bye"
                
end
            
else
                
say("You need this item:")
                
say_item(item)
            
end
        end
    end
end 
The same, just a little bit shorter .. hehehe


Next time, ask in the thread i noticed before!!
It is almost the quest I need but you forgot to put that the character must have a minimim lvl 2 go 2 the map, could you fix it 4 me? THANKS!!!
KUVANNO is offline  
Old 08/13/2013, 23:01   #4
 
elite*gold: 0
Join Date: Aug 2013
Posts: 117
Received Thanks: 23
Quote:
It is almost the quest I need but you forgot to put that the character must have a minimim lvl 2 go 2 the map, could you fix it 4 me? THANKS!!!
PHP Code:
quest cookie begin 
    state start begin 
        when 12345.click with pc
.get_level () > 1 begin 
            local item 
1234 
            say
("Hello, "..pc.get_name().."."
            
say "So you want to go on Map XXX?" 
            
local count pc.count_item(item
            if 
count 0 then 
                say 
"Your item will go away!" 
                
if select("Yes","no") == 1 then 
                    
if pc.count_item(item) == count then 
                        say 
"Okay , i'll warp you." 
                        
pc.remove_item(item,1) -- remove item 
                        wait
() 
                        
pc.warp(123,456
                    else 
                        
say "Buguser!!" 
                    
end 
                
else 
                    
say "Bye" 
                
end 
            
else 
                
say("You need this item:"
                
say_item(item
            
end 
        end 
    end 
end 
Like that?
AGU is offline  
Old 08/14/2013, 00:38   #5
 
elite*gold: 0
Join Date: Dec 2009
Posts: 10
Received Thanks: 0
a little more

Quote:
Originally Posted by AGU View Post
PHP Code:
quest cookie begin 
    state start begin 
        when 12345.click with pc
.get_level () > 1 begin 
            local item 
1234 
            say
("Hello, "..pc.get_name().."."
            
say "So you want to go on Map XXX?" 
            
local count pc.count_item(item
            if 
count 0 then 
                say 
"Your item will go away!" 
                
if select("Yes","no") == 1 then 
                    
if pc.count_item(item) == count then 
                        say 
"Okay , i'll warp you." 
                        
pc.remove_item(item,1) -- remove item 
                        wait
() 
                        
pc.warp(123,456
                    else 
                        
say "Buguser!!" 
                    
end 
                
else 
                    
say "Bye" 
                
end 
            
else 
                
say("You need this item:"
                
say_item(item
            
end 
        end 
    end 
end 
Like that?
Its like that but the NPC must say something about the character lvl, for example if character lvl < 95 then say "You need to be lvl 95 or more to travel" and it will be perfect, thanks again to alla of U
KUVANNO is offline  
Old 08/14/2013, 00:42   #6
 
Mijago's Avatar
 
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,594
Code:
quest cookie begin
    state start begin
        when 12345.click begin
            if pc.get_level() < 95 then
                say "You need level 95 bla"
                return
            end
            local item = 1234
            say("Hello, "..pc.get_name()..".")
            say "So you want to go on Map ***?"
            local count = pc.count_item(item)
            if count > 0 then
                say "Your item will go away!"
                if select("Yes","no") == 1 then
                    if pc.count_item(item) == count then
                        say "Okay , i'll warp you."
                        pc.remove_item(item,1) -- remove item
                        wait()
                        pc.warp(123,456)
                    else
                        say "Buguser!!"
                    end
                else
                    say "Bye"
                end
            else
                say("You need this item:")
                say_item(item)
            end
        end
    end
end
Mijago is offline  
Old 08/14/2013, 09:30   #7
 
elite*gold: 0
Join Date: Aug 2013
Posts: 117
Received Thanks: 23
Well i think you don't need it. Because player under level 95 can't see the quest and when they're 95 or higher then they knew by their own that they can't warp until their level 95
AGU is offline  
Old 08/14/2013, 12:56   #8

 
Ocelot2606's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,086
Received Thanks: 3,786
@Mijago

Ist das Absischt das bei den meisten say´s keine Klammern sind oder ist dir da ein Fehler unterlaufen xD
Ocelot2606 is offline  
Old 08/14/2013, 16:29   #9
 
Mijago's Avatar
 
elite*gold: 191
Join Date: May 2009
Posts: 1,214
Received Thanks: 2,594
Absicht, weil unnötig
Mijago is offline  
Closed Thread


Similar Threads Similar Threads
Simple Second reborn quest (NPC Scripts Only)
03/26/2019 - CO2 PServer Guides & Releases - 5 Replies
hello, i always wanted second reborn quest on my private server so, as i started working on my new project i made an simplified second reborn quest. As most 5530+ sources have the NPCs already added to the database ill post only NPC Scripts: in databse in entities add new row named SecondQuest in entity.cs add public uint SecondQuest = 0; in monstertable add
Simple Quest [Level UP Message]
08/14/2012 - Metin2 PServer Guides & Strategies - 10 Replies
Heey Leute hier mal eine Quest die anzeigt wenn ein Spieler ein bestimmtes Level erreicht das eine Locale Nachricht an alle Spieler gesendet wird. Ich weiß es gibt bestimmt welche davon aber.... egal :) quest levelup begin state start begin when levelup begin if pc.get_level() == 75 then notice_all("".. pc.get_name() .." hat gerade Level 75 erreicht") notice_all("We love DeinNameMt2!") elseif pc.get_level() == 100...
Computerkrank SF - root? // Simple port quest
04/02/2011 - Metin2 Private Server - 1 Replies
Hey, ich wollte mal fragen ob es irgendwelche schwer wiegenden bugs bei den computerkrank v2 gibt, oder man sie als ausgangs Files für nen Root server nehmen kann. Außerdem wollte ich fragen, ob mir jemand ne simple Portquest schreiben kann. Sprich -> ein item benutzen, dialog fenster öffnet sich, möchtest du zu diesem ort? Ja / nein , wenn nein, dann beenden, wenn ja, dann porten zu koordinaten x,y. Hatte selbst so ne quest geschrieben, bei der Questkontrolle kontrollieren lassen, klappt...
[Release] Simple Monster Quest (CoEmu v2)
08/29/2009 - CO2 PServer Guides & Releases - 5 Replies
hello... this is not a BIG thing... so please... if you don't like... do no say anything about... i maked it just for give some reward for players! (I take this idea from Kinshi88 MonsterHunter quest) First: make this on the characters table: Field: QuestKO Type: INT
MoonBox Quest made simple!!!
08/21/2008 - CO2 Guides & Templates - 51 Replies
Yo Yo Yo wudup everybody...alright imma get this shit started with telling you that you will need this COMapReader made by ChrisR872....i give much thnx to him cuz this helped me alot ...COMapReader IMPORTANT....CO MAP READER NO LONGER WORKS SO IF YOU HAPPEN TO FIND A NEW ONE THEN I WILL MUCH APPRECIATE IT IF YOU PM ME WITH A URL :D Ok after you get that theres a few things you will need... One: You will need 1 or more 110 trojans or warriors.. You can use archers and taos but i think...



All times are GMT +2. The time now is 17:56.


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.