Domanda [HELP]qualcun oche sa correggere la quest di luzzo

Stato
Discussione chiusa ad ulteriori risposte.

Hokkiba89

Utente Electrum
13 Giugno 2010
317
22
2
129
se qualcuno sa risolvere questo errore :errore syntax error : [string "gotopannello"]:10: <name> expected near '*'
pannello_utente.quest:139:Abort (core dumped
questo errore si presenta quando cerco di compilare la quest con il comando ./qc

PHP:
----------------------------------
--	Pannello Utente By luzzo
--	Scripted by Luzzo 	
----------------------------------
quest user_panel begin
	state start begin
		when login or levelup with pc.get_level() > 0 begin
			set_state( gotopannello )
		end
	end
	state gotopannello begin
		when letter begin
			send_letter("Pannello utente")
		end
		when button or info begin
			say_title("Pannello utente")
			set_state( gotopannello )


			
			----"12345678901234567890123456789012345678901234567890"|
			



local opzioni = select("Teleporter Villaggi", "Chiudi Negozio", "Informazioni Server", "Item Shop", "Pagina2", "Annulla")
if opzioni == 1 then
say_title ( " Teleporter Villaggi " ) 
say ( " Benvenuto. " )
say ( " vuoi viaggiare? " )
say ( "" )
say ( "" )
local ****o = select ( "Si" ,  "No" )
if ****o == 2 then
say ( " Mi dispiace sarà per un altra volta " )
return
end
say ( " Bene ora devi scegliere la tua " )
say ( " destinazione per essere trasportato. " )
villaggiz = select ( " Shinsoo" , " Chunjo" , " Jinno" , "Annulla" ) 
if 1 == villaggiz then
rossiz = select ( "Villo 1" , "Villo 2" , "Annulla" ) 
if 1 == rossiz then
say ( "Ora verrai teletrasportato." ) 
wait ( ) 
pc . warp ( 469300 , 964200 ) 

elseif 2 == rossiz then 
say ( "Ora verrai teletrasportato." ) 
wait ( ) 
pc . warp ( 360800 , 877600 ) 
end

elseif 2 == villaggiz then 
gialliz = select ( "Villo 1" , "Villo 2" , "Annulla" ) 
if 1 == gialliz then
say ( "Ora verrai teletrasportato." ) 
wait ( ) 
pc . warp ( 55700 , 157900 ) 

elseif 2 == gialliz then 
say ( "Ora verrai teletrasportato." ) 
wait ( ) 
pc . warp ( 138500 , 234900 ) 
end

elseif 3 == villaggiz then
bluz = select ( "Villo 1" , "Villo 2" , "Annulla" ) 
if 1 == bluz then
say ( "Ora verrai teletrasportato." ) 
wait ( ) 
pc . warp ( 969600 , 278400 ) 

elseif 2 == bluz then 
say ( "Ora verrai teletrasportato." ) 
wait ( ) 
pc . warp ( 873100 , 242600 ) 
end
end

elseif opzioni == 2 then
say("Chiudere negozio privato?")
            local z = select("Si","No")
            if z == 1 then
                command("close_shop")
                pc.remove_polymorph()
else 
return
end           
elseif opzioni == 3 then
say_title ("Nome server")
say ("Benvenuto su Nome server!!")
say ("Ecco dei link che potrebbero esserti utili!")
say ("")
say ("")
say ("Rate Exp:300%")
say ("Rate yang:300%")
say ("Rate yang max: 300%")
say ("Rate Drop: 100%")
say("")
say ("Sito:www.piripicchio.eu")
say ("Forum:piripikkio.eu")
say ("Item-shop:piripikkio.eu")
say ("Email: piripikkio,eu")
say("")
elseif opzioni == 4 then
say_title ("Nomeserver Item Shop")
say ("Benvenuto su NomeServer!!")
say ("Questo è il nostro item shop!!")
say ("Qui potrai tovare alcune informazioni")
say ("per l'item shop!!")
say ("Link Item-shop:piripikkio.html")
say ("Tutte le informazioni necessarie sono presenti sul   sito!")
say ("Ti ricordiamo che una volta effettuato il pagamento")
say ("dovrai mandare una email a [email protected]")
say ("o contattare un GF!!")
say ("Il 95% degli item shoppabili sono anche in game!!")
say ("Solamente gli item olimpici e lo scudo 20%difese")
say ("sono esclusivamente shoppabili..")
say ("Lo staff vi augura Buon Game!!")
say("")
elseif opzioni == 5 then
local pagina2 = select ("Resetta Status","Esci")
if pagina2 == 1 then
say ( "Vuoi Resettare il tuo status?" )
say ( "In questo modo potrai ridistribuire nuovamente lo status." )
local main_set = select ( "Si" , "No" ) 
if main_set == 2 then 
return 
end 
pc.reset_point()
say ( "operazione effettuata con successo!!" ) 
elseif pagina2 == 2 then
return
end
elseif opzioni == 6 then
return
end
end
end
end
 
Se aspetti ti correggo tutto lo script

--- Aggiornamento Post ---

Credo che vada bene :)
----------------------------------
-- Pannello Utente By luzzo
-- Scripted by Luzzo
----------------------------------
quest user_panel begin
state start begin
when login or levelup with pc.get_level() > 0 begin
set_state( gotopannello )
end
end
state gotopannello begin
when letter begin
send_letter("Pannello utente")
end
when button or info begin
say_title("Pannello utente")
set_state( gotopannello )
local opzioni = select("Teleporter Villaggi", "Chiudi Negozio", "Informazioni Server", "Item Shop", "Pagina2", "Annulla")
if opzioni == 1 then
say_title ( " Teleporter Villaggi " )
say ( " Benvenuto. " )
say ( " vuoi viaggiare? " )
say ( "" )
say ( "" )
local ****o = select ( "Si" , "No" )
if ****o == 2 then
say ( " Mi dispiace sarà per un altra volta " )
return
end
say ( " Bene ora devi scegliere la tua " )
say ( " destinazione per essere trasportato. " )
local villaggiz = select ( " Shinsoo" , " Chunjo" , " Jinno" , "Annulla" )
if 1 == villaggiz then
local rossiz = select ( "Villo 1" , "Villo 2" , "Annulla" )
if 1 == rossiz then
say ( "Ora verrai teletrasportato." )
wait ( )
pc . warp ( 469300 , 964200 )

elseif 2 == rossiz then
say ( "Ora verrai teletrasportato." )
wait ( )
pc . warp ( 360800 , 877600 )
end

elseif 2 == villaggiz then
local gialliz = select ( "Villo 1" , "Villo 2" , "Annulla" )
if 1 == gialliz then
say ( "Ora verrai teletrasportato." )
wait ( )
pc . warp ( 55700 , 157900 )

elseif 2 == gialliz then
say ( "Ora verrai teletrasportato." )
wait ( )
pc . warp ( 138500 , 234900 )
end

elseif 3 == villaggiz then
local bluz = select ( "Villo 1" , "Villo 2" , "Annulla" )
if 1 == bluz then
say ( "Ora verrai teletrasportato." )
wait ( )
pc . warp ( 969600 , 278400 )

elseif 2 == bluz then
say ( "Ora verrai teletrasportato." )
wait ( )
pc . warp ( 873100 , 242600 )
end
end

elseif opzioni == 2 then
say("Chiudere negozio privato?")
local z = select("Si","No")
if z == 1 then
command("close_shop")
pc.remove_polymorph()
else
return
end
elseif opzioni == 3 then
say_title ("Nome server")
say ("Benvenuto su Nome server!!")
say ("Ecco dei link che potrebbero esserti utili!")
say ("")
say ("")
say ("Rate Exp:300%")
say ("Rate yang:300%")
say ("Rate yang max: 300%")
say ("Rate Drop: 100%")
say("")
say ("Sito:www.piripicchio.eu")
say ("Forum:piripikkio.eu")
say ("Item-shop:piripikkio.eu")
say ("Email: piripikkio,eu")
say("")
elseif opzioni == 4 then
say_title ("Nomeserver Item Shop")
say ("Benvenuto su NomeServer!!")
say ("Questo è il nostro item shop!!")
say ("Qui potrai tovare alcune informazioni")
say ("per l'item shop!!")
say ("Link Item-shop:piripikkio.html")
say ("Tutte le informazioni necessarie sono presenti sul sito!")
say ("Ti ricordiamo che una volta effettuato il pagamento")
say ("dovrai mandare una email a [email protected]")
say ("o contattare un GF!!")
say ("Il 95% degli item shoppabili sono anche in game!!")
say ("Solamente gli item olimpici e lo scudo 20%difese")
say ("sono esclusivamente shoppabili..")
say ("Lo staff vi augura Buon Game!!")
say("")
return
end
elseif opzioni == 5 then
local pagina2 = select ("Resetta Status","Esci")
if pagina2 == 1 then
say ( "Vuoi Resettare il tuo status?" )
say ( "In questo modo potrai ridistribuire nuovamente lo status." )
local main_set = select ( "Si" , "No" )
if main_set == 2 then
return
end
else
pc.reset_point()
say ( "operazione effettuata con successo!!" )
elseif pagina2 == 2 then
return
end
elseif opzioni == 6 then
return
end
end
end
end
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom