Register for your free account! | Forgot your password?

You last visited: Today at 04:17

  • 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.

Reply
 
Old   #1
 
BlackVIP94's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 698
Received Thanks: 11
Quest Problem

quest give_basic_weapon begin
state start begin
when login begin
if pc.getqf("basic_weapon") == 0 then
pc.setqf("basic_weapon", 1)

local item = 19
local item = 50053
local pferd = 20

horse.set_level(pferd)

if pc . job == 0 then
pc . give_item2 ( "19" , 1 )
pc . give_item2 ( "11209" , 1 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "71050" , 100 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "70038" , 200 )
pc . give_item2 ( "72701" , 1 )
pc . give_item2 ( "12209" , 1 )
pc . give_item2 ( "11219" , 1 )
pc . give_item2 ( "11229" , 1 )
pc . give_item2 ( "70007" , 1 )
elseif pc . job == 1 then
item = 1009
pc . give_item2 ( "1009" , 1 )
pc . give_item2 ( "11409" , 1 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "71050" , 100 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "70038" , 200 )
pc . give_item2 ( "72701" , 1 )
pc . give_item2 ( "11419" , 1 )
pc . give_item2 ( "11429" , 1 )
pc . give_item2 ( "70007" , 1 )
pc . give_item2 ( "12349" , 1 )
pc . give_item2 ( "8001" , 200 )
pc . give_item2 ( "8001" , 200 )
elseif pc . job == 2 then
item = 19
pc . give_item2 ( "19" , 1 )
pc . give_item2 ( "11609" , 1 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "71050" , 100 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "70038" , 200 )
pc . give_item2 ( "72701" , 1 )
pc . give_item2 ( "12489" , 1 )
pc . give_item2 ( "11619" , 1 )
pc . give_item2 ( "11629" , 1 )
pc . give_item2 ( "70007" , 1 )
elseif pc . job == 3 then
item = 7009
pc . give_item2 ( "7009" , 1 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27003" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "27006" , 200 )
pc . give_item2 ( "71050" , 100 )
pc . give_item2 ( "14009" , 1 )
pc . give_item2 ( "15009" , 1 )
pc . give_item2 ( "16009" , 1 )
pc . give_item2 ( "17009" , 1 )
pc . give_item2 ( "13009" , 1 )
pc . give_item2 ( "70038" , 200 )
pc . give_item2 ( "72701" , 1 )
pc . give_item2 ( "12629" , 1 )
pc . give_item2 ( "11809" , 1 )
pc . give_item2 ( "11819" , 1 )
pc . give_item2 ( "11829" , 1 )
pc . give_item2 ( "5009" , 1 )

end

end
end
end
end


Was stimmt da nicht??
Jetzt kommt die Meldung in VB:
qc in malloc():error:allcoation faild
Abort trap (core dumped)
Error occured on compile give_basic_weapon.quest
BlackVIP94 is offline  
Old 06/26/2013, 22:38   #2


 
Benhero's Avatar
 
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
PHP Code:
quest give_basic_weapon begin
    state start begin
        when login begin
            
if pc.getqf("basic_weapon") == 0 then
                pc
.setqf("basic_weapon"1)

                
local item 19
                local item 
50053
                local pferd 
20

                horse
.set_level(pferd)

                if 
pc job == 0 then
                    pc 
give_item2 "19" )
                    
pc give_item2 "11209" )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "71050" 100 )
                    
pc give_item2 "14009" )
                    
pc give_item2 "15009" )
                    
pc give_item2 "16009" )
                    
pc give_item2 "17009" )
                    
pc give_item2 "13009" )
                    
pc give_item2 "70038" 200 )
                    
pc give_item2 "72701" )
                    
pc give_item2 "12209" )
                    
pc give_item2 "11219" )
                    
pc give_item2 "11229" )
                    
pc give_item2 "70007" )
                elseif 
pc job == 1 then
                    item 
1009
                    pc 
give_item2 "1009" )
                    
pc give_item2 "11409" )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "71050" 100 )
                    
pc give_item2 "14009" )
                    
pc give_item2 "15009" )
                    
pc give_item2 "16009" )
                    
pc give_item2 "17009" )
                    
pc give_item2 "13009" )
                    
pc give_item2 "70038" 200 )
                    
pc give_item2 "72701" )
                    
pc give_item2 "11419" )
                    
pc give_item2 "11429" )
                    
pc give_item2 "70007" )
                    
pc give_item2 "12349" )
                    
pc give_item2 "8001" 200 )
                    
pc give_item2 "8001" 200 )
                elseif 
pc job == 2 then
                    item 
19
                    pc 
give_item2 "19" )
                    
pc give_item2 "11609" )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "71050" 100 )
                    
pc give_item2 "14009" )
                    
pc give_item2 "15009" )
                    
pc give_item2 "16009" )
                    
pc give_item2 "17009" )
                    
pc give_item2 "13009" )
                    
pc give_item2 "70038" 200 )
                    
pc give_item2 "72701" )
                    
pc give_item2 "12489" )
                    
pc give_item2 "11619" )
                    
pc give_item2 "11629" )
                    
pc give_item2 "70007" )
                elseif 
pc job == 3 then
                    item 
7009
                    pc 
give_item2 "7009" )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27003" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "27006" 200 )
                    
pc give_item2 "71050" 100 )
                    
pc give_item2 "14009" )
                    
pc give_item2 "15009" )
                    
pc give_item2 "16009" )
                    
pc give_item2 "17009" )
                    
pc give_item2 "13009" )
                    
pc give_item2 "70038" 200 )
                    
pc give_item2 "72701" )
                    
pc give_item2 "12629" )
                    
pc give_item2 "11809" )
                    
pc give_item2 "11819" )
                    
pc give_item2 "11829" )
                    
pc give_item2 "5009" )
                
end
            end
        end
    end
end 
An sich kein fehler drinnen..

Probiere es mal so..

Greatz Benhero
Benhero is offline  
Thanks
1 User
Old 06/26/2013, 22:59   #3
 
BlackVIP94's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 698
Received Thanks: 11
geht danke
BlackVIP94 is offline  
Reply


Similar Threads Similar Threads
Quest problem need help
10/13/2012 - Metin2 Private Server - 2 Replies
hello all i have been trying to redo a quest i got from here so it will allow lower levels to be able to see what the quest/map is as well as above lvl 75 but they cant access the map till they reach the lvl stated in the quest as atm it will allow players above 75 see the quest im asking as im not good at doing quests so any help i would be greatful this is the thread i got it from...
[Problem]Quest
03/25/2012 - Metin2 Private Server - 2 Replies
Guten Morgen. :) Ich habe mal wieder ein Problem mit einer Quest (Selfmade). Hier die Quest: quest lv25 begin state start begin when 20349.chat."Dein Kampfgaul" with pc.get_level> 25 begin say_title("Stallbursche:")
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



All times are GMT +1. The time now is 04:18.


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.