Register for your free account! | Forgot your password?

You last visited: Today at 03:24

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

Advertisement



[Quest]Regi

Discussion on [Quest]Regi within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 800
Received Thanks: 188
[Quest]Regi

Moin,

ich wollte mal fragen, wie man in diese quest:

eine Zeitbegrenzung von 24h einbauen kann!
Wäre euch dankbar!

Mfg
Tentos123 is offline  
Old 12/21/2012, 14:06   #2
 
Sp0ngeb0b ist cool's Avatar
 
elite*gold: 15
Join Date: Sep 2010
Posts: 844
Received Thanks: 975
Huhu

probiers mal so:

PHP Code:
quest regenbogen begin
    state start begin
        when 50512.
use begin
            say_title
("Regenbogenstein:")
            if 
get_time() < pc.getqf('used'then
                say
('Du musst noch warten!')
                return
            
end    
            say
("Hiermit kannst du all deine Fertigkeiten")
            
say("auf Perfekter-Meister setzen!")
            
say("Wähle eine Lehre aus")
            
local a = {[0] = {"Körper","Mental"},[1] = {"Nahkampf","Bogen"},[2] = {"Waffe","Magie"},[3] = {"Drachen","Heil"},}
            
local c = {1,31,61,91}
            
local d c[pc.get_job()+1]
            
table.insert(a[pc.get_job()], 'Abbrechen')
            
local b select_table(a[pc.get_job()])
            if 
== table.getn(a[pc.get_job()]) then return end
            
if == 2 then d c[pc.get_job()+1] + 15 end
            pc
.set_skill_group(pc.get_job()+1+b)
            
pc.remove_item(505121
            for 
d, (d+5) do
                
pc.set_skill_level(i59)
            
end    
            say_title
("Regenbogenstein:")
            
say("")
            
say("Deine Skills sind auf Perfekter Meister")
            
say(""
            
pc.setqf('used'get_time()+60*60*24)
        
end
    end
end 
Sp0ngeb0b ist cool is offline  
Thanks
2 Users
Old 12/21/2012, 14:35   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 800
Received Thanks: 188
danke für deine antwort!
klappt alles!
Tentos123 is offline  
Old 12/21/2012, 17:46   #4
 
elite*gold: 0
Join Date: Nov 2012
Posts: 160
Received Thanks: 16
Quote:
Originally Posted by Sp0ngeb0b ist cool View Post
Huhu

probiers mal so:

PHP Code:
quest regenbogen begin
    state start begin
        when 50512.
use begin
            say_title
("Regenbogenstein:")
            if 
get_time() < pc.getqf('used'then
                say
('Du musst noch warten!')
                return
            
end    
            say
("Hiermit kannst du all deine Fertigkeiten")
            
say("auf Perfekter-Meister setzen!")
            
say("Wähle eine Lehre aus")
            
local a = {[0] = {"Körper","Mental"},[1] = {"Nahkampf","Bogen"},[2] = {"Waffe","Magie"},[3] = {"Drachen","Heil"},}
            
local c = {1,31,61,91}
            
local d c[pc.get_job()+1]
            
table.insert(a[pc.get_job()], 'Abbrechen')
            
local b select_table(a[pc.get_job()])
            if 
== table.getn(a[pc.get_job()]) then return end
            
if == 2 then d c[pc.get_job()+1] + 15 end
            pc
.set_skill_group(pc.get_job()+1+b)
            
pc.remove_item(505121
            for 
d, (d+5) do
                
pc.set_skill_level(i59)
            
end    
            say_title
("Regenbogenstein:")
            
say("")
            
say("Deine Skills sind auf Perfekter Meister")
            
say(""
            
pc.setqf('used'get_time()+60*60*24)
        
end
    end
end 
Die Quest funktioniert so weit, aber wen man auf Regenbogen stein klickt, und dan z.B Körper auswählt, wird da nichts P.
.Flammini™ is offline  
Reply


Similar Threads Similar Threads
regi quest nicht p sondern auf g1
06/24/2012 - Metin2 Private Server - 8 Replies
suche eine regenbogenstein quest die auf g1 macht thx im vorraus
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder



All times are GMT +1. The time now is 03:24.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.