Error messages- slider puzzle

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Error messages- slider puzzle

Postby lanternwaste » Tue Oct 02, 2012 12:56 am

I'm trying to do a slider puzzle in a game, but I've been working on it for three days and I keep getting error messages. I read through the instructions and did exactly what they said, but I must be doing something wrong.
The last time I tried it this is what happened:

I right clicked the frame where the slider puzzle should be, clicked "Test"
Error message appeared:

"The following file is missing:
j:\THENAMEOFMYGAMEHERE\Areas\Level_Solved.jpg

This file may have been moved or removed from its original location.
The program may not work properly until the missing file is placed back in its original location. Click OK and then press
Ctrl+Q to quit."

Clicked OK,
Adventure Maker froze,
2nd message came up named "Script Control"

"The script you are executing is taking longer than expected to run. Click End to abort the script, or Continue to continue
script execution."

Clicked Continue,
Adventure Maker froze again, after a while the same "script control" message came up again, clicked end.

3rd error message came up:

"Error executing script.

The Scripting Engine returned the following error message:

The script was aborted because execution exceeded the specified timeout period.

Please click OK to continue or Cancel to stop the application."

Clicked "OK", the frame where slider puzzle is supposed to be pulled up, I clicked where the hotspots are, 4th error message came up:

"Error executing script.

The Scripting Engine returned the following error message:

Type mismatch: '[string: "(null)"]'

Please click OK to continue or Cancel to stop the application."

I clicked Cancel, the screen went black, I clicked the "exit" button in left top corner, then it went back to the "Frames management" place.

Can anyone tell me what I'm doing wrong? I'm so confused. I tried everything I could think of. ANY help or ideas would be awesome.
Thanks! :D
(BTW, I'm new to the forum, I'm on my sister's account, so sorry if I'm posting this in the wrong place.) :)
User avatar
lanternwaste
Junior Member
 
Posts: 9
Joined: Fri May 07, 2010 5:49 pm
Location: Atlanta, Ga

Postby reneuend » Tue Oct 02, 2012 11:03 pm

Hi LanternWaste and welcome!

I see where you had several errors, but I don't see where you attempted to locate the cause of the errors.

So, to start, it's always best to begin with one issue at a time.
Is the image file missing from the Areas folder of your game?
Check the Areas folder and repost.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby lanternwaste » Tue Oct 02, 2012 11:23 pm

No, it's not the image file. I copied the images from the areas folder in the sample slider puzzle folder over to the areas folder in my game like it said to do, and they're all there. I tried everything. I don't know why that message is coming up, because the frame has not been moved or removed. Sorry for being so clueless. :)
User avatar
lanternwaste
Junior Member
 
Posts: 9
Joined: Fri May 07, 2010 5:49 pm
Location: Atlanta, Ga

Postby reneuend » Wed Oct 03, 2012 2:50 am

What version of AM are you using?
Is it a free or full version?
The slider puzzle might be old...in fact, if its the one I'm thinking of, I believe I had to modify it to make it work with the latest version.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby lanternwaste » Wed Oct 03, 2012 4:08 am

I have a full edition- Version 4.6.0.
User avatar
lanternwaste
Junior Member
 
Posts: 9
Joined: Fri May 07, 2010 5:49 pm
Location: Atlanta, Ga

Postby reneuend » Thu Oct 04, 2012 3:22 am

I'll load the slider and see if I can run it. That way we won't have to keep going back and forth. Pleeeeease don't let me forget. I've been working 11 hour days and I usually don't have much mental capacity after work! :P

Today is Wednesday....I'll try it tomorrow night.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby lanternwaste » Fri Oct 05, 2012 4:13 am

Thanks so much! I'm looking forward to your reply. :D
User avatar
lanternwaste
Junior Member
 
Posts: 9
Joined: Fri May 07, 2010 5:49 pm
Location: Atlanta, Ga

Postby reneuend » Sat Oct 06, 2012 3:46 am

Okay....it was impossible for me to test it yesterday(Thursday), but I just tried out the sample slider that comes with AM using version 4.7.0 and it works fine. Are you trying to build your own custom slider?
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby lanternwaste » Sat Oct 06, 2012 5:15 am

Pretty much all I wanted to change on the slider was do different images, reduce it to just one level and remove the messages that come up like "congrats!" and stuff, but I couldn't even make it work with NO changes. I don't know why it's not working, I tried it multiple times... Any ideas?
User avatar
lanternwaste
Junior Member
 
Posts: 9
Joined: Fri May 07, 2010 5:49 pm
Location: Atlanta, Ga

Postby reneuend » Sat Oct 06, 2012 7:58 pm

I tested it on Version 4.6.1 and 4.7.0 with no issues.

To get a better understanding of how to modify the game:

- open the frame with the game on it
- click on Frame Properties...
- Click on the Advanced Tab
- Click on Procedures...

You will find very clear instructions on how to modify it.

If you look at the subroutine called, "MoveTile()", you will find the line where it tells the user "congratulations".

Here is instructions from the procedures tab that tells you how to change the graphics:

'To customize the graphics, edit the JPEG files that are in the "Areas" subfolder of the
'"Slider Puzzle" project folder. Rename the graphic files so that the filename contains
'both the number of the level and the number that identifies the tile. For example, the
'file "Level1_Tile6.jpg" corresponds to the 6th tile of the first level.


NOTE: If you replace the image, be sure its the same size and filename as the original!!! and always keep a backup copy of the original project!!!

I would suggest upgrading to version 4.7.0 regardless of the slider puzzle. It fixes various issues with Windows 7 and even if you don't have Windows 7, if you compile and distribute your game, it will probably have issues with Windows 7 if you use an older version.

I think the slider puzzle project on your AM installation must be messed up. It doesn't make sense that it won't work. I'm running it on Windows 7 and the slider puzzle was written for XP.... so that's why I didn't ask what OS you were running AM on. I would try reinstalling a fresh copy of AM.

I hope this helps!
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby lanternwaste » Sun Oct 07, 2012 1:16 am

If I downloaded a newer version of Adventure maker, everything in my game now would still work, right? I mean, it wouldn't stop working because of the newer version of adventure maker and I could keep working on my game?
User avatar
lanternwaste
Junior Member
 
Posts: 9
Joined: Fri May 07, 2010 5:49 pm
Location: Atlanta, Ga

Postby reneuend » Sun Oct 07, 2012 2:53 am

Do this:

Load the new version without unloading the old version.
"copy" your projects to the new version and test the new version.
The only area that might not work is if you did custom scripting with Sound or Video, but those can be fixed and I can help you if you need it. The newer version is worth it.
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron