Register for your free account! | Forgot your password?

You last visited: Today at 14:22

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

Advertisement



What is wrong?

Discussion on What is wrong? 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
What is wrong?

Can you help.me?

The option two tel.me of quest
PHP Code:
Falta-te o item Anel de Ouro
in english is "you don't have the item" but i have the item.

Can you resolve this?

PHP Code:
quest warp_ring begin
    state start begin
        when 30122.chat
."Mapa Soldado Divino" begin
            
if pc.get_level() < 90 then
                say
("Tens de ter o Nivel 90 para poderes entrar!")
                return
            
end
            say_title
("Teleportador")
            
say "" .. mob_name 30122 ) .. "" )
            
say("")
            
say("Olá "..pc.get_name())
            
say("Eu consigo teleportar-te para")
            
say("o grande mapa dos soldados divinos")
            
say("Tens a força necessária para isso")
            
say("espero que tenhas poções!!!")
            
say("")
            
say("Estás preparado?")
            
say("")
            
local s1=select("Sim.","Não!")
            if 
s1 == 1 then
                pc
.warp(1059000,726200)
            else
                return
            
end            
        end
        
        when 30122.chat
."Mapa Guerreiro Malvado" begin
            
if pc.get_level() < 100 then
                say
("Tens de ter o Nivel 100 para poderes entrar!")
                
say("E teres um anel de Ouro!")
                return
            
end
            
if pc count_item 50002 ) >= 1 then
                say
("Falta-te o item Anel de Ouro!")
                return
            
end
            say_title
("Teleportador")
            
say "" .. mob_name 30122 ) .. "" )
            
say("")
            
say("Olá "..pc.get_name())
            
say("Eu consigo teleportar-te para")
            
say("o mapa do Guerreiro Malvado")
            
say("neste mapa terás que ter bastante defesa")
            
say("força e vida porque os guerreiros são bastantes")
            
say("fortes e velozes por isso....")
            
say("")
            
say("Estás preparado?")
            
say("")
            
local s2=select("Sim.","Não!")
            
            if 
s2 == 1 then
                pc
.warp(0,1203200)
            else
                return
            
end
        end
    end
end 
Grithings
zunmt2 is offline  
Old 06/04/2012, 11:13   #2
 
elite*gold: 0
Join Date: Aug 2011
Posts: 14
Received Thanks: 2
Ora bem... O teu problema é que não percebes nada de matematica -.-


if pc . count_item ( 50002 ) >= 1 then
say("Falta-te o item Anel de Ouro!")
return

Isto acima quer dizer que se tiveres o item 50002, ele nao te deixa teleportar.

Muda e mete assim:

if pc . count_item ( 50002 ) < 1 then
say("Falta-te o item Anel de Ouro!")
return
segiop13 is offline  
Reply


Similar Threads Similar Threads
What is Wrong?
12/14/2009 - Silkroad Online - 6 Replies
What is wrong with my 4 week gold ticket its greyed out and time isnt moving and im not getting the exp http://i48.tinypic.com/2e5rxo5.jpg



All times are GMT +1. The time now is 14:23.


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