Register for your free account! | Forgot your password?

You last visited: Today at 02:06

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

Advertisement



Quest problem

Discussion on Quest problem within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
coragss's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 121
Received Thanks: 10
Quest problem

hi epvp i made for my server a quest and it's says in VirtualBox:
quest doesn't have begin-end clause.
xxx.quest:6:Abort (core dumped)
here is the quest
PHP Code:
----------------------------------------------------
--
Eine neue Quest 
--erstellt mit dem Biologen Quest Editor 
--Made by _DownTime from elitepvpers.com
----------------------------------------------------
quest Culege sticla plica cu otrava  begin
    state start begin
        when login 
or levelup with pc.get_level() >=20  begin
            set_state
(information)
        
end    
    end

    state information begin
        when letter begin
            local v 
find_npc_by_vnum(20084)
            if 
!= 0 then
                target
.vid("__TARGET__"v"Quest")
            
end
            send_letter
("Culege sticla plina cu otrava")
        
end

        when button 
or info begin
            say_title
("Culege sticla plina cu otrava")
            
say("")
            
say("Biologul Chaegirab are nevoie de ajutorul")
            
say("tau.Dute repede la el si intreabal daca")
            
say("ii poti fi de folos.")
            
say("")
            
say("")
            
say("")
            
say("")
        
end

        when __TARGET__
.target.click or
            
20084.chat."Quest" begin
            target
.delete("__TARGET__")
            
say("Biologul Chaegirab:")
            ---                                                   
l
            say
("Salutare aventurierule.")
            
say("Am nevoie de 100 sticle plina cu otrava.")
            
say("Stiu ca pare mult dar recompensa va fi")
            
say("pe masura.Ma poti ajuta?")
            
say("")
            
say("")
            
say("")    
            
set_state(go_to_disciple)
            
pc.setqf("collect_count",0)
            
pc.setqf("drink_drug",0
        
end
    end

    state go_to_disciple begin
        when letter begin
            send_letter
("Auftrag von Biologul Chaegirab")

        
end
        when button 
or info begin
            say_title
("Quest")
            ---                                                   
l
            say
("")
            
say("Biologul Chaegirab gab euch den Auftrag")
            
say("100 Sticla cu otrava zu sammeln!")
            
say("Das Item bekommt ihr von Vant negru Jak-TO.")
            
say("Viel Glueck!")
            
say("")
            
say_item_vnum(85562)
            
say_reward("   Du hast".." "..pc.getqf("collect_count").." bis jetzt gesammelt!")
            
say("")
        
end

        when 71035.
use begin --°g´bÃĤô
            
if pc.getqf("drink_drug")==1 then
                say
("")
                
say("Bessere Droppchance!")
                
say("")

                return
            
end
            
if pc.count_item(85562)==0 then
                say
("")
                
say("Du hast keine!")
                
say("Lauf los und besorg mir welche!")
                
say("")
                return
            
end
            item
.remove()    
            
pc.setqf("drink_drug",1)
        
end


        when 404.kill begin
            
if pc.count_item(85562)<100-pc.getqf("collect_count"then
                pc
.give_item2(855621)
            
end
        end

        when 20084.chat
."Quest" with pc.count_item(85562) >0   begin
                say
("Einen Moment!")
                ---                                                   
l
                say
("Ich werde das Item")
                
say("schnell mal ueberpruefen.")
                
say("Hoffentlich klappt alles!")
                
say("")
                
pc.remove_item(855621)
                
wait()

                
local pass_percent
                
if pc.getqf("drink_drug")==0 then
                    pass_percent
=Value
                
else        
                    
pass_percent=Value
                end

                local s
number(1,100)
            if 
s<= pass_percent  then
               
if pc.getqf("collect_count")< 99 then     --5*Ó¥H¤U 
                        local index 
=pc.getqf("collect_count")+
                        pc
.setqf("collect_count",index)     --¨ú±o¤@*Ӯɠ+1
                        say
("Biologul Chaegirab:")
                        
say("Perfekt! Das Item ist in Ordnung")
                        
say("Du hast bis jetzt ".." "..100-pc.getqf("collect_count").. " abgegeben!")
                        
say("Bring mir die restlichen!")
                        
say("")
                        
pc.setqf("drink_drug",0)     --ÃĤôªì©l¤Æ
                        
return
                    
end
                    say
("Biologul Chaegirab:")
                    
say("Yuhu! Du hast mir")
                    
say("alles gebracht!")
                    
say("Dafür werde ich dich wie versprochen")
                    
say("belohnen!")
                    
say("")
                    
say_reward("Du bekommst ein Name!")
                    
say_reward("Du bekommst ein Name!")
                    
say_reward("Du bekommst ein Name!")
                    
say_reward("Du bekommst 50.000.000 Yang!")
                    
say_reward("Du bekommst Anzahl Erfahrung!")
                    
pc.setqf("collect_count",0)
                    
pc.setqf("drink_drug",0)
                    
clear_letter()
                    
set_state(__complete)

                    
pc.give_item2(Value)
                    
affect.add_collect(apply.ATT_SPEED_BONUS,5,60*60*24*365*60) )
                    
affect.add_collect(apply.MOV_SPEED_BONUS,5,60*60*24*365*60) )
                    
pc.change_money(50.000.000)
                    
affect.add_collect(apply.CAST_SPEED_BONUS,5,60*60*24*365*60
                    
set_quest_state("levelup","run")


                    return
                else                                
                
say("Biologul Chaegirab:")
                
say("Dieses Item ist von schlechter Qualität!")
                
say("Es kann nicht verwendet werden.")
                
say("Hole mir ein neues!")
                
say("")
                
pc.setqf("drink_drug",0)     --ÃĤôªì©l¤Æ
                
return
                
end
            end
        end
    end

        
    state __complete begin
    end
end 
PLZ post in english
coragss is offline  
Old 03/20/2012, 09:12   #2
 
elite*gold: LOCKED
The Black Market: 117/1/1
Join Date: Mar 2012
Posts: 7,874
Received Thanks: 801
Please use the Sammelthread



/Closerquest
Ytura is offline  
Thanks
1 User
Old 03/20/2012, 09:29   #3
 
coragss's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 121
Received Thanks: 10
i already post there
coragss is offline  
Closed Thread


Similar Threads Similar Threads
quest problem..
09/17/2011 - Metin2 Private Server - 8 Replies
hallo leute.. hab mal wieder n problem.. hab n quest schreiben lassen.. und wollte es einfügen.. jetzt kommt der fehler wenn ich make.sh mache.. must start with 'quest' mag.quest:1:Abort trap (core dumped) Error occured on compile mag.quest quest mag begin
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
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings
Lil quest Problem
10/06/2008 - Silkroad Online - 4 Replies
I have problem like that when I made my character there wasn´t chinese tutorial quest in my quest window and now because i havent done that quest every time I log in it shows me Help window and for example every time I level up it shows me again that Help thing -.- and it is really annoying



All times are GMT +1. The time now is 02:07.


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.