Register for your free account! | Forgot your password?

You last visited: Today at 01:20

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

Advertisement



[Quest] Item error

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

Reply
 
Old   #1
 
zunmt2's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 199
Received Thanks: 231
Post [Quest] Item error

Hello elitepvpers

I have some problem with my quest!

I'm testing about the bonus

when i put the item give bonus
when i remove item remove bonus

PHP Code:
quest olimpico1 begin
    state start begin
        when 71158.
use begin
            cmdchat
("buff7")
                
local time get_time()
                if 
pc.getqf("olimpico1") == 0 begin
                    affect
.add_collect(apply.STEAL_HP1015*60)
                    
affect.add_collect(apply.STEAL_SP1015*60)
                    
affect.add_collect(apply.EXP_DOUBLE_BONUS5015*60)
                    
affect.add_collect(apply.ATT_GRADE_BONUS3015*60)
                    
affect.add_collect(apply.ATT_SPEED2015*60)
                    
affect.add_collect(apply.CAST_SPEED1015*60)
                    
pc.setqf("olimpico1"1)
                elseif 
pc.getqf("olimpico1") > time then
                    affect
.remove_collect(apply.STEAL_HP1015*60)
                    
affect.remove_collect(apply.STEAL_SP1015*60)
                    
affect.remove_collect(apply.EXP_DOUBLE_BONUS5015*60)
                    
affect.remove_collect(apply.ATT_GRADE_BONUS3015*60)
                    
affect.remove_collect(apply.ATT_SPEED2015*60)
                    
affect.remove_collect(apply.CAST_SPEED1015*60)
                    
pc.setqf("olimpico1"0)
                
end
            end
            when logout 
or login with pc.getqf("olimpico1") == 1 begin
            affect
.remove_collect(apply.STEAL_HP1015*60)
            
affect.remove_collect(apply.STEAL_SP1015*60)
            
affect.remove_collect(apply.EXP_DOUBLE_BONUS5015*60)
            
affect.remove_collect(apply.ATT_GRADE_BONUS3015*60)
            
affect.remove_collect(apply.ATT_SPEED2015*60)
            
affect.remove_collect(apply.CAST_SPEED1015*60)
            
pc.setqf("olimpico1"0)
        
end
    end
end 


I need some help please
zunmt2 is offline  
Old 09/22/2012, 19:06   #2
 
.Seriously's Avatar
 
elite*gold: 54
Join Date: Jun 2012
Posts: 753
Received Thanks: 194
PHP Code:
quest olimpico1 begin
    state start begin
        when 71158.
use begin
            cmdchat
("buff7")
                
local time get_time()
                if 
pc.getqf("olimpico1") == 0 then
                    affect
.add_collect(apply.STEAL_HP1015*60)
                    
affect.add_collect(apply.STEAL_SP1015*60)
                    
affect.add_collect(apply.EXP_DOUBLE_BONUS5015*60)
                    
affect.add_collect(apply.ATT_GRADE_BONUS3015*60)
                    
affect.add_collect(apply.ATT_SPEED2015*60)
                    
affect.add_collect(apply.CAST_SPEED1015*60)
                    
pc.setqf("olimpico1"1)
                elseif 
pc.getqf("olimpico1") > time then
                    affect
.remove_collect(apply.STEAL_HP1015*60)
                    
affect.remove_collect(apply.STEAL_SP1015*60)
                    
affect.remove_collect(apply.EXP_DOUBLE_BONUS5015*60)
                    
affect.remove_collect(apply.ATT_GRADE_BONUS3015*60)
                    
affect.remove_collect(apply.ATT_SPEED2015*60)
                    
affect.remove_collect(apply.CAST_SPEED1015*60)
                    
pc.setqf("olimpico1"0)
                
end
            end
            when logout 
or login with pc.getqf("olimpico1") == 1 begin
            affect
.remove_collect(apply.STEAL_HP1015*60)
            
affect.remove_collect(apply.STEAL_SP1015*60)
            
affect.remove_collect(apply.EXP_DOUBLE_BONUS5015*60)
            
affect.remove_collect(apply.ATT_GRADE_BONUS3015*60)
            
affect.remove_collect(apply.ATT_SPEED2015*60)
            
affect.remove_collect(apply.CAST_SPEED1015*60)
            
pc.setqf("olimpico1"0)
        
end
    end
end 
.Seriously is offline  
Old 09/22/2012, 20:16   #3
 
zunmt2's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 199
Received Thanks: 231
work but the effect dont remove! =/
zunmt2 is offline  
Old 01/17/2013, 22:25   #4
 
elite*gold: 0
Join Date: Oct 2011
Posts: 8
Received Thanks: 0
quest olimpico1 begin
state start begin
when 71158.use begin
cmdchat("buff7")
local time = get_time()
if pc.getqf("olimpico1") == 0 then
affect.add_collect(apply.STEAL_HP, 10, 15*60)
affect.add_collect(apply.STEAL_SP, 10, 15*60)
affect.add_collect(apply.EXP_DOUBLE_BONUS, 50, 15*60)
affect.add_collect(apply.ATT_GRADE_BONUS, 30, 15*60)
affect.add_collect(apply.ATT_SPEED, 20, 15*60)
affect.add_collect(apply.CAST_SPEED, 10, 15*60)
pc.setqf("olimpico1", 1)
elseif pc.getqf("olimpico1") => time then
affect.remove_collect(apply.STEAL_HP, 10, 15*60)
affect.remove_collect(apply.STEAL_SP, 10, 15*60)
affect.remove_collect(apply.EXP_DOUBLE_BONUS, 50, 15*60)
affect.remove_collect(apply.ATT_GRADE_BONUS, 30, 15*60)
affect.remove_collect(apply.ATT_SPEED, 20, 15*60)
affect.remove_collect(apply.CAST_SPEED, 10, 15*60)
pc.setqf("olimpico1", 0)
end
end
when logout or login with pc.getqf("olimpico1") == 1 begin
affect.remove_collect(apply.STEAL_HP, 10, 15*60)
affect.remove_collect(apply.STEAL_SP, 10, 15*60)
affect.remove_collect(apply.EXP_DOUBLE_BONUS, 50, 15*60)
affect.remove_collect(apply.ATT_GRADE_BONUS, 30, 15*60)
affect.remove_collect(apply.ATT_SPEED, 20, 15*60)
affect.remove_collect(apply.CAST_SPEED, 10, 15*60)
pc.setqf("olimpico1", 0)
end
end
end

Acho que assim já vai funcionar tenta
proestrela is offline  
Old 01/28/2013, 18:21   #5
 
elite*gold: 0
Join Date: Dec 2011
Posts: 11
Received Thanks: 0
quest olimpico1 begin
state start begin
when 71158.use begin
cmdchat("buff7")
local time = get_time()
if pc.getqf("olimpico1") == 0 begin
affect.add_collect(apply.STEAL_HP, 10, 15*60)
affect.add_collect(apply.STEAL_SP, 10, 15*60)
affect.add_collect(apply.EXP_DOUBLE_BONUS, 50, 15*60)
affect.add_collect(apply.ATT_GRADE_BONUS, 30, 15*60)
affect.add_collect(apply.ATT_SPEED, 20, 15*60)
affect.add_collect(apply.CAST_SPEED, 10, 15*60)
pc.setqf("olimpico1", 1)
elseif pc.getqf("olimpico1") > time then
affect.remove_collect(apply.STEAL_HP, 10, 15*60)
affect.remove_collect(apply.STEAL_SP, 10, 15*60)
affect.remove_collect(apply.EXP_DOUBLE_BONUS, 50, 15*60)
affect.remove_collect(apply.ATT_GRADE_BONUS, 30, 15*60)
affect.remove_collect(apply.ATT_SPEED, 20, 15*60)
affect.remove_collect(apply.CAST_SPEED, 10, 15*60)
pc.setqf("olimpico1", 0)
end
end
when logout or login with pc.getqf("olimpico1") == 1 begin
affect.remove_collect(apply.STEAL_HP, 10, 15*60)
affect.remove_collect(apply.STEAL_SP, 10, 15*60)
affect.remove_collect(apply.EXP_DOUBLE_BONUS, 50, 15*60)
affect.remove_collect(apply.ATT_GRADE_BONUS, 30, 15*60)
affect.remove_collect(apply.ATT_SPEED, 20, 15*60)
affect.remove_collect(apply.CAST_SPEED, 10, 15*60)
pc.setqf("olimpico1", 0)
end
end
end
end
sylwek080893 is offline  
Old 07/07/2019, 20:13   #6
 
elite*gold: 0
Join Date: Nov 2016
Posts: 1
Received Thanks: 0
affect.remove_collect(apply.STEAL_HP, 10)
affect.remove_collect(apply.STEAL_SP, 10)
affect.remove_collect(apply.EXP_DOUBLE_BONUS, 50)
affect.remove_collect(apply.ATT_GRADE_BONUS, 30)
affect.remove_collect(apply.ATT_SPEED, 20)
affect.remove_collect(apply.CAST_SPEED, 10)

assim vai funcionar....
pilisiqui is offline  
Reply


Similar Threads Similar Threads
[Release] Lager quest + gm item quest
06/13/2012 - Metin2 PServer Guides & Strategies - 12 Replies
Hey Com, Ich will hier mal 2 Sachen Releasen:D https://www.virustotal.com/file/e9323b9289988d9e4 65e418600bd6179bb5a3a245630cab937c46f076618476b/an alysis/1339426405/ Thx wäre nett Entpack PW: epvp
[Quest]Hilfe pls exp quest für item![Root funserver]
11/18/2011 - Metin2 Private Server - 6 Replies
kann mir jemand eine quest machen das man aus mondlichtruhe zb viel exp kriegt und yang? soll ein funserver sein daraus kriegt man yang und exp um was zu kaufen usw und er wird ein root server vill heute dann fertig
my quest and mob_drop_item.txt error? and my item error?
08/14/2011 - Metin2 Private Server - 1 Replies
hi guys, i hava a vps(1GB ram) server. Metin2 installed and no problem.. i mob_drop_item.txt editing after server reset and core error! mob_drop_item.txt added(sample); after server putty in reset, i saw core error Group mygroup { type limit mob 101
quest for new item
04/26/2011 - Metin2 - 1 Replies
Hi, How I can do that? YouTube - Nowy Typ Piecz I added new item and I can wear and unwear it, but i can't write quest for horse. Please help. :)
Item Manager Error [Critical Error]
12/29/2010 - S4 League - 0 Replies
Also, immer wenn ich S4 "beende" kommt immer so ein Critical Error wenn ich s4 mit dem Item Manager wieder starten will und ich muss mich immer wieder vom PC Abmelden und Anmelden und das nervt, gibt es vllt noch ne andere Lösung? Screen : Item Manager Critical Error



All times are GMT +1. The time now is 01:22.


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.