Register for your free account! | Forgot your password?

You last visited: Today at 02:42

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

Advertisement



Help quest recycler

Discussion on Help quest recycler within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 21
Received Thanks: 0
Help quest recycler

Hi guys I have a problem with this quest, when I go to insert it gives me this error:

RiciclaItem.lua:36:syntax error : [string "start"]:13: unexpected symbol near `=='

Here is the quest:

HTML Code:
quest RiciclaItem begin  
    state start begin
        when 20092.chat."Ostriche" begin
            say ( "Ciao, io sono il riciclatore." )
            say ( "Posso scambiare i seguenti item:" )
            say ( "40 ostriche x 50 pezzi di pietra" )
            say ( "30 perle bianche x 30 ostriche e 20 pezzi di pietra" )
            say ( "25 perle blu x 15 perle bianche e 20 ostriche" )
            say ( "25 perle rosse x 10 perle bianche e 5 blu" )
            local lingotto = select ( "Si" , "No" )
            if lingotto == 2 then
				return
			end
			if lingotto == 1 then
				if pc.count_item(25990) >=40 and pc.get_level() <= 20 then
					local segli == ("Ostriche","Sigillo Lupo","Arrivederci")
					if scegli == 3
						return
					end
			if scegli == 1 then
				pc.give_item2 ( "27987" , 40 )
				say ("Ecco a te le Ostriche")
				pc.remove_item ( "25990" , 40 )
				end
			if scegli == 2 then
                pc.give_item2 (27992, 30)
                say ("Ecco a te il Lupo")
                pc.remove_item ( "25990" , 40 )
				end
			else
                say_title ( "Riciclatore" )
                say ("Mi dispiace ma non hai i requisiti!")
                    return 
                end
			end
		end
	end
Scorpion945 is offline  
Old 03/26/2021, 12:09   #2



 
cypher's Avatar
 
elite*gold: 600
The Black Market: 1061/0/0
Join Date: Sep 2008
Posts: 10,543
Received Thanks: 3,089
Arrow Metin2 -> Metin2 Private Se…

#moved
cypher is offline  
Reply


Similar Threads Similar Threads
Ayuda con las quest / Help with quest
02/12/2014 - Metin2 Private Server - 3 Replies
Español: Hola a todo el mundo, necesito algo de ayuda con las quest ya que no entiendo mucho de esto y para intentar traducirlas cogi una carpeta quest de internet y la puse reemplazando la que yo tenia. Ahora no va ninguna quest y vamos a abrir el server dentro de poco, necesito a alguien que me ayude con esto porfavor es urgente. Gracias de antemano Mi skype: lordord666 English: Spanish: Hello everyone, I need some help with the quest and do not understand much of it and try to...
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
help help help help help help
06/28/2009 - Say Hello - 0 Replies
how i can dowmload Mangos 6385 ??????????????????????????????????? please give me the limk i can't see that i know it is in www.elitepvpers.com/.../153716-release-mangos-relea ses-blackscorpian-win32-2-4-3-a.html - but give me link sent it to my email plz



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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.