Register for your free account! | Forgot your password?
Rust Cheats

You last visited: Today at 06:34

  • 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
 
Eagle94's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 301
Received Thanks: 17
Quest Problem

Servus ich habe mit einer quest ein problem und zwar:
Code:
quest kekse begin
    state start begin
        when 27990.use begin
            say_title("Coins auffüller")
            say("Coins auffüllen?")
            local s=select("Ja", "Nein")
            if s==2 then return end
            if pc.count_item(item.vnum)==0 then chat("CHEATER") return end
            local DB_USER = "root"
            local DB_PASS = "daroo"
            local WERT = 5
            local ID = pc.get_account_id()
            local QUERY = "UPDATE account.account SET coins = coins + "..WERT.." WHERE id = "..ID..";"
            os.execute("mysql --host=localhost --user="..DB_USER.." --password="..DB_PASS.." --execute='"..QUERY.."'")
            pc.remove_item(27990, 1)
        end
    end
end
nach "m2 qc" ausführung erscheint:
Code:
must start with ´quest´
kekse.quest:1:Error occured on compile kekse.quest
Was hat das zu bedeuten?

MFG Eagle94
Eagle94 is offline  
Old 02/15/2016, 19:26   #2
 
gerald500's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 275
neija das heißt entweder das du am anfang quest falsch geschriben hast oder ein oder mehrere ends zu viel hast, und abgesehen davon gibt es dafür einen sammelthread....
gerald500 is offline  
Old 02/15/2016, 20:32   #3
Trade Restricted

 
elite*gold: 17
The Black Market: 238/0/9
Join Date: Sep 2015
Posts: 2,487
Received Thanks: 1,032
gehört hier rein

Ich würde darauf tippen, dass if s==1 then fehlt.
MQTT. is offline  
Old 02/15/2016, 20:49   #4

 
Jinbei's Avatar
 
elite*gold: 101
Join Date: Mar 2013
Posts: 13,366
Received Thanks: 2,748
Ich verweise nicht umsonst auf die Sammelthemen!
->

#closed
Jinbei is offline  
Closed Thread


Similar Threads Similar Threads
[Quest-PROBLEM]"Weiter"-Button, Quest schließt sich
02/01/2014 - Metin2 Private Server - 8 Replies
Servus Leute, ich habe folgendes Problem, meine "give_starter_set.quest" sieht wie folgt aus: quest give_starter_set begin state start begin when login begin say_title("Willkommen") say("Willkommen auf TEST")
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 06:35.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.