+Bisaci Posted March 17, 2008 Share Posted March 17, 2008 OK sorry if this was solved somewhere here, but i didnt findt it Have a problem when I want set reaction for players input multiple chois. What I do is <if variable "name" equal "string"> <show message "message 1"> <else> <do smthg other or do nthg> <end> THIS i save and proof in emulator - it works nice. Than I reload lua file, work on it and then save again. Now I cannot genrate cartridge file (msg like there is no "END"), more I cannot reload saved file(the same message). OK - I tested what happens and see this - when I reload saved file, then disappears "IF" and "END" and it cause this failure. BUT it is only when i use it in "input" script.. After the file is reloaded looks like <show message "message 1"> <else> <do smthg other or do nthg> Am I mistaken somwhere, or is it BUG? I solve that problem this way. I add this scripts before the last save. It works good, but when i want smthg change in my cartridge i must manually delete all mentioned scripts and write it again... Quote Link to comment
+Delta68 Posted March 17, 2008 Share Posted March 17, 2008 I experienced parts of the script going missing when saving. Try setting your PC's regional settings to US This seems to stop a lot of the bugs Quote Link to comment
+davidloew Posted March 17, 2008 Share Posted March 17, 2008 OK sorry if this was solved somewhere here, but i didnt findt it Have a problem when I want set reaction for players input multiple chois. What I do is <if variable "name" equal "string"> <show message "message 1"> <else> <do smthg other or do nthg> <end> THIS i save and proof in emulator - it works nice. Than I reload lua file, work on it and then save again. Now I cannot genrate cartridge file (msg like there is no "END"), more I cannot reload saved file(the same message). OK - I tested what happens and see this - when I reload saved file, then disappears "IF" and "END" and it cause this failure. BUT it is only when i use it in "input" script.. After the file is reloaded looks like <show message "message 1"> <else> <do smthg other or do nthg> Am I mistaken somwhere, or is it BUG? I solve that problem this way. I add this scripts before the last save. It works good, but when i want smthg change in my cartridge i must manually delete all mentioned scripts and write it again... can you tell me exactly what's in the if statement (variable name and string value)? We have had problems with variable naming and parsing, but, I think this has been cleared up with the latest builder. Also, make sure you have the latest builder installed. David. Quote Link to comment
+Bisaci Posted March 18, 2008 Author Share Posted March 18, 2008 1) i have a new version of builder , dvonloaded 15.03.08 2) thanx , i will try to reset regional settings 3) variable name " playerinput_script_krizovatka" string value "Jezisimarija nestalo se Vam nic?" Quote Link to comment
+davidloew Posted March 18, 2008 Share Posted March 18, 2008 (edited) 1) i have a new version of builder , dvonloaded 15.03.08 2) thanx , i will try to reset regional settings 3) variable name " playerinput_script_krizovatka" string value "Jezisimarija nestalo se Vam nic?" Hello, Thanks for the information, I did find a bug with parsing variable names that contain underscores. For now, as a workaround, please remove the underscrores in the variable name. Go into the Lua Script and rename the variable. This will work until I post a fix to the parsing. Thanks, David Edited March 18, 2008 by davidloew Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.