antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Slender_Man

Duvida Quest Core Dumped

Question

ola pessoal tenho a seguinte duvida estou a tentar por a seguinte quest :

 

quest give_basic_weapon beginstate start beginwhen login beginhorse.unride()horse.advance()horse.advance()horse.advance()horse.advance()horse.advance()horse.advance()horse.advance()horse.advance()horse.advance()horse.advance()horse.advance()horse.ride()pc.give_gold("100000")if pc.job == 0 thenpc.give_item2("50187",1)pc.give_item2("11209",1)pc.give_item2("19",1)pc.give_item2("14009",1)pc.give_item2("16009",1)pc.give_item2("17009",1)pc.give_item2("15009",1)pc.give_item2("13009",1)pc.give_item2("12209",1)pc.give_item2("74005",1)pc.give_item2("74009",1)pc.give_item2("75005",1)pc.give_item2("75013",1)elseif pc.job == 1 thenpc.give_item2("50212",1)pc.give_item2("1009",1)pc.give_item2("2009",1)pc.give_item2("8000",200)pc.give_item2("8000",200)pc.give_item2("8000",200)pc.give_item2("8000",200)pc.give_item2("11409",1)pc.give_item2("14009",1)pc.give_item2("16009",1)pc.give_item2("17009",1)pc.give_item2("15009",1)pc.give_item2("13009",1)pc.give_item2("12349",1)pc.give_item2("75207",1)pc.give_item2("75203",1)pc.give_item2("73253",1)pc.give_item2("73260",1)elseif pc.job == 2 thenpc.give_item2("50187",1)pc.give_item2("19",1)pc.give_item2("11609",1)pc.give_item2("12489",1)pc.give_item2("13009",1)pc.give_item2("14009",1)pc.give_item2("16009",1)pc.give_item2("17009",1)pc.give_item2("15009",1)pc.give_item2("74507",1)pc.give_item2("74511",1)pc.give_item2("75404",1)pc.give_item2("75411",1)elseif pc.job == 3 thenpc.give_item2("50213",1)pc.give_item2("7009",1)pc.give_item2("7009",1)pc.give_item2("14009",1)pc.give_item2("17009",1)pc.give_item2("15009",1)pc.give_item2("13009",1)pc.give_item2("12629",1)pc.give_item2("11809",1)pc.give_item2("16009",1)pc.give_item2("75602",1)pc.give_item2("75609",1)pc.give_item2("74752",1)pc.give_item2("74761",1)elseif pc.job == 4 thenpc.give_item2("50187",1)pc.give_item2("6009",1)pc.give_item2("21009",1)pc.give_item2("21509",1)pc.give_item2("13009",1)pc.give_item2("14009",1)pc.give_item2("16009",1)pc.give_item2("17009",1)pc.give_item2("15009",1)endnotice_all(pc.get_name().."Ganhou um set iniciante Eperamos que se Divirta"setstate(mektup)endendstate mektup beginwhen letter beginsend_letter("Boas Vindas. ")endwhen button or info beginsay_title("Boas Vindas. ")say("")say("Ola damos as boas vindas ao TexasMT2. ")say("Agora começa a sua nova aventura. ")say("Um novo Mundo por descobrir. ")say("Conhecer novos amigos. E se divertir...! ")say("Recebeste o teu set então parte para a aventura. ")say("A Equipa TexasMT2. ")say("Deseja um bom Jogo! ")clear_letter()set_state(__complete)endendstate __complete beginendend

 

mas dame erro core dumped acho que será no : setstate(mektup) mas não percebo ainda muito de quests estou a usar umas files 40k

 

 

erro que apresenta :

 

basic_weapon.quest:93:syntax error : [string "start"]:89: `)' expected (to close `(' at line 88) near `setstate'Abort (core dumped)root@TexasMT2:/usr/game/share/locale/turkey/quest #

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0
notice_all(pc.get_name().."Ganhou um set iniciante Eperamos que se Divirta"
Falta ")" no final.É só leres o erro.

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

Aconselho-te a usares a tecla chamada TAB

Share this post


Link to post
Share on other sites
  • 0
notice_all(pc.get_name().."Ganhou um set iniciante Eperamos que se Divirta"
Falta ")" no final.É só leres o erro.

 

muito obrigado vou testar 

 

deverá ficar assim notice_all(pc.get_name().."Ganhou um set iniciante Eperamos que se Divirta")"

Share this post


Link to post
Share on other sites
  • 0

muito obrigado vou testar 

 

deverá ficar assim notice_all(pc.get_name().."Ganhou um set iniciante Eperamos que se Divirta")"

 

Nao ponhas a ultima aspa :o

 

Nao abris-te porque estás a fecha la ? xD

 

Já agora é esperamos :P

Share this post


Link to post
Share on other sites
  • 0

Aconselho-te a usares a tecla chamada TAB

A quest se calhar está com TAB's, ao copiar para aqui fica sem eles.A menos que use o BBCode Mode.

Share this post


Link to post
Share on other sites
  • 0

Nao ponhas a ultima aspa :o

 

Nao abris-te porque estás a fecha la ? xD

 

Já agora é esperamos :P

obrigado a todos ja entrou sem erros  

Já agora é esperamos :P

ja foi corrigido obrigado a todos =)

Share this post


Link to post
Share on other sites
  • 0
		function getannounce()			local num = number(1,2)			if num == 1 then				return "Ganhou um set iniciante";			else				return "Recebeu um set iniciante.";			end		end		notice_all(pc.get_name(), nome_quest.getannounce())

Share this post


Link to post
Share on other sites
  • 0
		function getannounce()			local num = number(1,2)			if num == 1 then				return "Ganhou um set iniciante";			else				return "Recebeu um set iniciante.";			end		end		notice_all(pc.get_name(), nome_quest.getannounce())

obrigado estou a ver que a falta de um ) ou " é o suficiente para a quest não trabalhar mais .

 

muito obrigado pela ajuda de todos agora ando a ver o porque de não poder apagar personagens pois eu apaguei todas as quests para poder ir traduzindo 1 a 1 mas muitas dão o dito cor dumped e outras que la tinha só ocupavam espaço xD 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this