Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:12

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

Advertisement



beim berufquest einfügen Syntax Error!

Discussion on beim berufquest einfügen Syntax Error! within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Shadow乙™'s Avatar
 
elite*gold: 64
The Black Market: 210/0/0
Join Date: Sep 2011
Posts: 890
Received Thanks: 248
beim berufquest einfügen Syntax Error!

Ja hier ein screen von dem Fehler der Kosole:



und hier die Quest:

PHP Code:
quest berufauswahl begin 
    state start begin 
        when login 
or levelup with pc.get_level() <= 50
            set_state
(beruf
        
end 
    end 
    state beruf begin 
        when letter begin 
            send_letter
("Beruf"
        
end 
        when button 
or info begin 
            say
("Guten tag."
            
say("Gehe zu Enes, er kann dir ein Beruf erlernen"
        
end 
        when 20041.chat
."Beruf" begin 
            say_title
("Wähle deinen Beruf:"
            
local s=select("Farmer ( PVM )","Kämpfer ( PVP )","Magier","Supporter ( Buffs )"
            if 
s==1 then 
                affect
.add_collect(apply.BONUS_TO_MONSTER2560*60*24*365*60
                
affect.add_collect(apply.DEF_GRADE_BONUS20060*60*24*365*60)
                
affect.add_collect(apply.ATT_GRADE_BONUS10060*60*24*365*60
                
chat("Du bist jetzt ein richtiger Farmer. Du bekommst 25 Monster, 200 Verteidigung und 100 Angriffswert."
                
set_state(__COMPLETE__
            elseif 
s==2 then 
                affect
.add_collect(apply.ATTBONUS_HUMAN3060*60*24*365*60
                
affect.add_collect(apply.ATT_GRADE_BONUS10060*60*24*365*60)
                
affect.add_collect(apply.PENERATE_PCT2060*60*24*365*60)
                
chat("Du bist jetzt ein wahrer Kämpfer. Du bekommst 30 Halbmeschen, 100 Angriffswert und 20 Durchbohren."
                
set_state(__COMPLETE__
            elseif 
s==3 then 
                affect
.add_collect(apply.CRITICAL_PCT2060*60*24*365*60
                
affect.add_collect(apply.DEX3060*60*24*365*60)
                
affect.add_collect(apply.INT3060*60*24*365*60)
                
chat("Du bist jetzt ein Magier. Du bekommst 20 Krit, 30 DEX Punkte und 30 INT Punkte"
                
set_state(__COMPLETE__
            elseif 
s==4 then 
                affect
.add_collect(apply.MAX_SP500060*60*24*365*60
                
affect.add_collect(apply.DEX2560*60*24*365*60)
                
affect.add_collect(apply.INT2560*60*24*365*60)
                
chat("Du bist jetzt ein Supporter. Du bekommst 5000 MP, 25 DEX Punkte 25 INT Punkte."
                
set_state(__COMPLETE__)
            
end 
        end 
    end 
    state __COMPLETE__ begin 
    end 
end 
Shadow乙™ is offline  
Old 06/26/2012, 21:31   #2
 
.Chuck's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,353
Received Thanks: 4,535
Versuch mal so.
.Chuck is offline  
Thanks
2 Users
Old 06/26/2012, 21:37   #3
 
Shadow乙™'s Avatar
 
elite*gold: 64
The Black Market: 210/0/0
Join Date: Sep 2011
Posts: 890
Received Thanks: 248
Quote:
Originally Posted by °ChucK° View Post
Versuch mal so.
Jo danke hat wohl geklappt^^



Kriegst ein Thanks!

€: Habe noch eine bitte um die Quest zu verbessern.
Wenn man das Level 50 erreicht bekommt man eine Quest (also diese Schriftrolle links) und dann steht da immer : Du hast nun das Level 50 erreicht! Es ist soweit du kannst deine Berufe jetzt bei dem NPC wählen.
und dann wird der NPC mit einem pfeil über den Kopf makiert ( so wie wenn man die Ausbildung machen muss ) und es muss auf der Map makiert sein.
Shadow乙™ is offline  
Reply


Similar Threads Similar Threads
error: syntax
11/21/2011 - Shaiya - 3 Replies
hello I install the script of the inscription I create an account and gives me this error Fatal error: Call to undefined function mssql_connect() in E:\xampp\htdocs\inscription\config.php on line 6 :confused:
[HELP]Syntax Error
11/28/2009 - Dekaron Private Server - 1 Replies
I have a problem with syntax can someone help: http://img192.imageshack.us/img192/1248/erro1m.jp g Code: USE ;
[Hilfe]Parse error: syntax error
10/27/2009 - Metin2 Private Server - 6 Replies
Also hab IS -Script per xampp on und beim einloggen kommt der fehler hier Parse error: syntax error, unexpected $end in C:\xampp\htdocs\default1.php on line 875 Help pls Thx Freaky
[HELP] Mysql Syntax Error
02/12/2009 - EO PServer Hosting - 6 Replies
hi guyz i dump my sql file " cq_action " then i used this query " delete from my2. cq_action " to clear it and remove all records , then i copy what in the dumped file , and past it on query page , and it keep give me this error http://img223.imageshack.us/img223/4476/81192104oe 1.th.jpg here is the line that might have the error INSERT INTO `cq_action` VALUES ('5220942', '5220943', '0000', '0101', '0',...
Syntax ERROR?!
10/27/2008 - General Coding - 9 Replies
hi, ich wollte an den start meines Script ein HotKeySet einfügen aber wenn ich das mache kommt: Syntax ERROR hier mein Script(beispiel): HotKeySet("{numpad1},"start") MsgBox(0,"titel","text") ich glaub ich bin zu blöd was ist da falsch?...wenn ihr meint da fehlt ein " hab ich schon probiert geht nicht, oder ich hab es an der falschen Stelle eingefügt.



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


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.