Slime 2 Posted September 9, 2018 Share Posted September 9, 2018 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 More sharing options...
Premium WeedHex 635 Posted September 10, 2018 Premium Share Posted September 10, 2018 Indentation RIP. Link to comment Share on other sites More sharing options...
[RaffaeL] 28 Posted September 10, 2018 Share Posted September 10, 2018 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 More sharing options...
Slime 2 Posted September 10, 2018 Author Share Posted September 10, 2018 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now