The Devils Catacomb Score System

12/18/2011 14:40 TheRestroyer#1
Hi Friends !

A new quest..

The Devil's Catacomb Score System..



PHP Code:
-------------------
-- 
TheRestroyer TM
-- The Devils Catacomb Score System
-- Elitepvpers.com
-------------------
quest catacomb_score_system begin
    state start begin
    when login with pc
.get_map_index() == 712 begin
    
if pc.getqf("start") == 0 then
    pc
.setqf("start",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")+1)
        
end
    end
    
    when azrael
.kill with pc.get_map_index() == 712 begin
    local puanscore 
pc.getqf("puanscore")
    
pc.setqf("puanscore"pc.getqf("puanscore")+1)
    
d.notice(""..pc.get_name().." "..puanscore.." Cut ! ")
    
chat("Hi Mysterious Warrior !")
    
chat("The Devils Catacomb Score System A Welcome")
    
chat("1 Points you win")
    
chat("50 Points = Helmet(Level)")
    
chat("100 Points = Turquoise Armor")
    
chat("200 Points = Hwang Armor")
    
chat("")
    if 
pc.getqf("puanscore") == 50 then
    say_title
("TheRestroyer TM")
    
say("")
    
say("Hi 50 Points on the Helmet Can.")
    
local s select("Get !""Continue")
    if 
== 1 then
    
if pc.job == 0 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-50)
    
end
    
if pc.job == 1 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-50)
    
end
    
if pc.job == 2 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-50)
    
end
    
if pc.job == 3 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-50)
    
end
    end
    
if == 2 then
    chat
("Ok..")
    
end
    
if pc.getqf("puanscore") == 100 then
    say_title
("TheRestroyer TM")
    
say("")
    
say("Hi get 100 points on the Turquoise armor.")
    
local s1 select("Get !""Continue..")
    if 
s1 == 1 then
    
if pc.job == 0 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-100)
    
end
    
if pc.job == 1 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-100)
    
end
    
if pc.job == 2 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-100)
    
end
    
if pc.job == 3 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-100)
    
end
    end
    
if s1 == 2 then
    chat
("Ok..")
    
end
    end
    
if pc.getqf("puanscore") == 200 then
    say_title
("TheRestroyer TM")
    
say("")
    
say("Hi 200 Points can Come Hwang Armor..")
    
local s2 select("Get !""Continue..")
    if 
s2 == 1 then
    
if pc.job == 0 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-200)
    
end
    
if pc.job == 1 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-200)
    
end
    
if pc.job == 2 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-200)
    
end
    
if pc.job == 3 then
    pc
.give_item2("value1",1)
    
pc.setqf("puanscore"pc.getqf("puanscore")-200)
    
end
    end
    end
    
if s2 == 2 then
    pc
.setqf("puanscore"pc.getqf("puanscore")-200)
                    
end
                end
            end
        end
    end 
Good Forums..
12/18/2011 14:54 plechito#2
Yes, that's nice quest... thanks*
12/18/2011 15:02 NastyTeaBag#3
nice thank you
12/18/2011 15:13 TheRestroyer#4
Quote:
Originally Posted by plechito View Post
Yes, that's nice quest... thanks*
Thanx :)

Quote:
Originally Posted by xFamoZz™ View Post
nice thank you
Thanx :)
12/18/2011 15:17 vinni03#5
You would not say "thanks"? Or what is thanx?
12/18/2011 15:21 TheRestroyer#6
Quote:
Originally Posted by vinni03 View Post
You would not say "thanks"? Or what is thanx?
Such Good.
12/18/2011 15:37 xP3NG3Rx#7
Nice thanks :)
12/18/2011 18:01 .Active#8
Very Nice Idea
Thank you very much ;)
12/18/2011 18:06 miguelmig#9
Quote:
Originally Posted by TheRestroyer View Post
PHP Code:
when azrael.kill with pc.get_map_index() == 712 begin
    local puanscore 
pc.getqf("puanscore")
    
pc.setqf("puanscore"pc.getqf("puanscore")+1)
    
d.notice(""..pc.get_name().." "..puanscore.." Cut ! "
You are printing the value of 'puanscore' before you increase the value by 1, so it will say that you have (i.e : 30 , but actually you have 31 ) a simple error...it happens ;)
12/18/2011 18:14 Killermen123#10
5min works (facepalm)
12/18/2011 19:21 almobd3#11
thanks a lot.
12/18/2011 19:59 TheRestroyer#12
Quote:
Originally Posted by xP3NG3Rx View Post
Nice thanks :)
I Thank you

Quote:
Originally Posted by langeweile2011 View Post
Very Nice Idea
Thank you very much ;)
Thank you
12/18/2011 20:24 sLay.#13
'Thank you'-Posts are only spam !
Please stop it and use the THANKS Button.

btt:
It's okay , not very special but better then nothing.
12/18/2011 20:30 TheRestroyer#14
Quote:
Originally Posted by Prince sLay. View Post
'Thank you'-Posts are only spam !
Please stop it and use the THANKS Button.

btt:
It's okay , not very special but better then nothing.
Oke..
12/18/2011 21:14 x3Bit#15
Nice ! Thanks!