|
|
Josh @ Dreamland
|
|
Reply #2 Posted on: June 14, 2014, 09:33:15 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
If I had to guess, you just have that bug where compiler output isn't being redirected properly. I'm told it only affects me, though. I don't know what modifications were made that caused it, and I don't want to dig long enough to track it down.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
Goombert
|
|
Reply #3 Posted on: June 14, 2014, 11:58:19 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
You guys are so useless. He doesn't want to share the source code of his game. When you build it it errors after parsing room creation code and says "Error; see scrollback for details" and there is nothing in the scrollback indicating what wen't wrong.
Correct me if I am wrong but TKG also tried removing all the room creation code to no avail.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #4 Posted on: June 14, 2014, 07:18:40 pm |
|
|
"Guest"
|
Correct me if I am wrong but TKG also tried removing all the room creation code to no avail.
That is correct.
|
|
|
Logged
|
|
|
|
|
time-killer-games
|
|
Reply #6 Posted on: June 14, 2014, 09:07:31 pm |
|
|
"Guest"
|
Darkstar - I don't find any of your suggestions would actually help. I'm just going to wait and see what josh says when he has time to investigate it. That is, if he ever does which is unclear but not looking good.
|
|
|
Logged
|
|
|
|
Darkstar2
|
|
Reply #7 Posted on: June 14, 2014, 09:20:14 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
Darkstar - I don't find any of your suggestions would actually help. I'm just going to wait and see what josh says when he has time to investigate it. That is, if he ever does which is unclear but not looking good.
The reason I suggested that is because I had similar problems, weird compile errors that made no sense, and after resaving and rebuilding clean it resolved it. @Robert: Nobody asked him for his source code But more information would be helpful don't you think ? He mentions he deleted the room create code and it still has errors which is odd. Also I could not reproduce this on my end, room creation code works here, so it would be good to know the other circumstances triggering this. I know from experience that when importing projects from GMS into ENIGMA I had weird issues that were resolved by simply resaving to EGM and reloading. @TKG: Your instincts are right mate, he said he was not going to dig deep enough to find out where it's coming from. So my guess is, you are importing this from GM into ENIGMA (LGM). Try a new test project in ENIGMA and add room creation code, save to EGM. I bet you won't have the error anymore.
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #8 Posted on: June 14, 2014, 09:24:59 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
I'm convinced your log is being discarded by some glitch. These logs should be written to a file somewhere, as well, so if you can track down where Robert hid it, you should be able to find the problem.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
time-killer-games
|
|
Reply #9 Posted on: June 14, 2014, 09:30:14 pm |
|
|
"Guest"
|
thanks I'll give that an attepmt
|
|
|
Logged
|
|
|
|
|
time-killer-games
|
|
Reply #11 Posted on: June 14, 2014, 09:39:51 pm |
|
|
"Guest"
|
Where? I got your message DarkStella. Why would I create an empty project just to see the room code work? wtf would that accomplish? iI know it's nothing to do with the room stuff. so like why
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #12 Posted on: June 15, 2014, 11:00:28 am |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
@Robert: Nobody asked him for his source code But more information would be helpful don't you think ? He mentions he deleted the room create code and it still has errors which is odd. Also I could not reproduce this on my end, room creation code works here, so it would be good to know the other circumstances triggering this. Exactly, I meant you both should have elaborated more by getting him to elaborate more. @TKG enigma-dev/output_log.txt let's see what that yields. Here's what mine says. Creating room creation code scope and parsing window_mouse_set ( display_get_width ( ) %= 2 , display_get_height ( ) %= 2 ) ; global . ; os_android_ouya = 0 ; global . ; lite = 0 ; lives = 3 ; global . ; gold = 0 ; global . ; explodecount = 0 ; display_set_gui_size ( 1280 , 960 ) ; global ; var k_menu , k_quit , k_up , k_right , k_down , k_left , k_D , k_A , k_U , k_Y , k_S , k_L1 , k_L2 , k_L3 , k_R1 , k_R2 , k_R3 , k_exit ; if os_type = os_windows || os_type == os_win32 || os_type == os_win8native || os_type == os_macosx || os_type == os_linux { k_S = ord ( "S" ) ; k_A = ord ( "A" ) ; k_D = ord ( "D" ) ; k_exit = vk_escape } else { k_menu = 82 ; k_quit = vk_enter ; k_up = vk_up ; k_right = vk_right ; k_down = vk_down ; k_left = vk_left ; k_A = 96 ; k_U = 99 ; k_Y = 100 ; k_S = 97 ; k_L1 = 102 ; k_L2 = 104 ; k_L3 = 106 ; k_R1 = 103 ; k_R2 = 105 ; k_R3 = 107 ; k_exit = ord ( "M" ) ; k_D = ord ( "T" ) } if ( os_browser != browser_not_a_browser ) { k_S = ord ( "S" ) ; k_A = ord ( "A" ) ; k_D = ord ( "D" ) ; k_exit = vk_escape } instance_create ( 0 , 0 , obj_exit ) ; global . ; bubb = 0 ; window_set_cursor ( cr_hourglass ) ; audio_stop_all ( ) ; audio_stop_music Syntax error in room creation code for room 0 (`rm_loading'): 2
So basically, you are trying to use audio_stop_music which is deprecated in both Studio and ENIGMA. All music functions were deprecated because they were pointless, we never actually implemented them. http://enigma-dev.org/docs/Wiki/Obsolete_Functions#Audio
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
Goombert
|
|
Reply #14 Posted on: June 15, 2014, 01:03:06 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
It's the parser, it does this with all functions in the room creation code, I just reproduced it easily. Place it in an object and it tells you the correct error message without having to check the extended log. I don't know why.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|