Jump to content

Quest problem, not opening


Recommended Posts

Hi, i have a problem with a quest.

The quest is made by me, and i tryed everything to fix it but it wont work.. the quest should be simple, send a letter with some info about the option to change language..

 

quest changelang begin
		state start begin
			when letter begin
			send_letter_blue_text ( "Language" )
		end
			when button or info begin
			if pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
			say_title("INFORMATION")
			say("You can change the language of the game")
			say("by opening the settings menu.")
			say("We currently have aviable:")
			say("English")
			say("Italian")
			say("Romanian")
else
			say_title("INFORMATION")
			say("You can change the language of the game")
			say("by opening the settings menu.")
			say("We currently have aviable:")
			say("English")
			say("Italian")
			say("Romanian")
		end
		send_letter_blue_text ( "Language" )
		end       
	end 
end 

I get the letter but it won't open for me to read it when i click it. no errors on compilation, no syserr in client, functions for send_letter_blue_text is ok.. i tryed with normal send_letter, same problem.

 

Please help.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Acum 21 ore, Slime a spus:

Hi, i have a problem with a quest.

The quest is made by me, and i tryed everything to fix it but it wont work.. the quest should be simple, send a letter with some info about the option to change language..

 


quest changelang begin
		state start begin
			when letter begin
			send_letter_blue_text ( "Language" )
		end
			when button or info begin
			if pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then
			say_title("INFORMATION")
			say("You can change the language of the game")
			say("by opening the settings menu.")
			say("We currently have aviable:")
			say("English")
			say("Italian")
			say("Romanian")
else
			say_title("INFORMATION")
			say("You can change the language of the game")
			say("by opening the settings menu.")
			say("We currently have aviable:")
			say("English")
			say("Italian")
			say("Romanian")
		end
		send_letter_blue_text ( "Language" )
		end       
	end 
end 

I get the letter but it won't open for me to read it when i click it. no errors on compilation, no syserr in client, functions for send_letter_blue_text is ok.. i tryed with normal send_letter, same problem.

 

Please help.

Conditioned by "

if pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then

Do you try to open that letter, being into a dungeon?

"

Link to comment
Share on other sites

No, i try opening it on map1,

 

quest changelang begin
	state start begin
		when login with pc.level >= 1 begin
			set_state(information)
		end
	end

	state information begin
		when letter begin
			send_letter_green("Language")
		end

		when info or button begin
			say_title("INFORMATION")
			say("You can change the language of the game")
			say("by opening the settings menu.")
			say("We currently have aviable:")
			say("English")
			say("Italian")
			say("Romanian")
		end
	end
end

I put this, after the restart it worked, now when i click it it does not open..

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.