ID:180835
 
Ok I made a map and today I changed it,I didn't chage any coding just the map...well any way I run my game and then this question came up. It said : *One or more project files is newer that executable. Compile Now.* well I clicked yes, the question when away but the game didn't start. Then I when to edit my map again and this warning came up it said : *Due to Compilation errors, the object tree cannot be trusted for map generation. These errors must be corrected before editting the map.* then when I clicked OK an error poped up saying : *Unable to read map*.
now I just thought I wrote my script wrong but then I opened the Step Beyond game tutorial and I tried to open the map in that because I was seeing how he did his script and the same messages poped up. I did not change his script at all by the way and it worked just yesterday. What should I do?
On 2/3/01 7:58 pm Darkness wrote:
What should I do?

Sounds like a nasty bug to me. I suggest reinstalling the BYOND software.
On 2/3/01 7:58 pm Darkness wrote:
Ok I made a map and today I changed it,I didn't chage any coding just the map...well any way I run my game and then this question came up. It said : *One or more project files is newer that executable. Compile Now.* well I clicked yes, the question when away but the game didn't start. Then I when to edit my map again and this warning came up it said : *Due to Compilation errors, the object tree cannot be trusted for map generation. These errors must be corrected before editting the map.* then when I clicked OK an error poped up saying : *Unable to read map*.
now I just thought I wrote my script wrong but then I opened the Step Beyond game tutorial and I tried to open the map in that because I was seeing how he did his script and the same messages poped up. I did not change his script at all by the way and it worked just yesterday. What should I do?

That error comes up when there are objects on the map that aren't in the code. I'm not sure why it is happening for games that you haven't modified, though. That might be a bug. When you close Dream Maker and reopen the "Step BYOND" world, do you get the same errors? If so, zip up the project and send it to me and I'll see if it got corrupted or something.
In response to Tom H.
Well I tried opening A STEP BEYOND again...had no luck. I zipped it up and sent it to you see if you can find the problem.
In response to Darkness
On 2/4/01 12:31 pm Darkness wrote:
Well I tried opening A STEP BEYOND again...had no luck. I zipped it up and sent it to you see if you can find the problem.

I got the zip. It looks like there is a compilation error in the project. If you fix that, the map will load (this is what the original error was indicating). Just go to Build/Compile and then double click on the error. In this particular case it is "inconsistent indentation"-- to fix it you'll have to just remove the indentation in the line with the error and then reindent it with the tab key. Once you do this, recompile and then you can load the map.

Your project probably has something similar-- just fix the reported errors and then you can use the map again. DM requires that the project be mostly error-free before you can edit the map, because it needs to build the object-tree from the source files.
In response to Tom H.
Ok when I compile it it says 0 errors 0 warning...but my map doesn't open still the message *One or more files is newer that execuable* comes up when I try to run it and when I try to edit the map It just says,due to complication errors, the object tree cannot be trusted for map generation
these errors must be corrected before editing map.* When I double click that message nothing happens so I just click ok then it says unable to read map.dmp*when I double click thos message nothing happens what should I do? I tried to do what you said to do but like I said, I had no luck. If you want I can send you my code to look at because I can't figure this one out.
In response to Darkness
On 2/4/01 3:15 pm Darkness wrote:
Ok when I compile it it says 0 errors 0 warning...but my map doesn't open still the message *One or more files is newer that execuable*

well I dontactually know whats wrong but I would just like to point out (since you obviously dont know) that the above message WILL appear everytime you change your code and then compile. its normal.

sorry cant help with the error though
In response to Darkness
On 2/4/01 3:15 pm Darkness wrote:
the message *One or more files is newer that execuable* comes up

I've had a problem with this before. If your system clock's date is off, you'll need to reset that. If that's all straight, though, I couldn't tell you what's happening because it's not in my league.