Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: marcusbugger on Fri 28/11/2008 20:42:32

Title: technical problem while loading game
Post by: marcusbugger on Fri 28/11/2008 20:42:32
hi got a problem with game can 't load it in editor.
It says: Root element is missing.

There is a big error but i can 't copy and paste details.
I haven 't delete anything.
Title: Re: technical problem while loading game
Post by: PrimitiveUser on Sat 29/11/2008 02:14:54
Quote from: marcusbugger on Fri 28/11/2008 20:42:32
hi got a problem with game can 't load it in editor.
It says: Root element is missing.

There is a big error but i can 't copy and paste details.
I haven 't delete anything.

Lol that happend to me i to make my game all over again, its because u either deleted images and or deleted scripts, starts all over agen but i cud be wrong
Title: Re: technical problem while loading game
Post by: marcusbugger on Sat 29/11/2008 14:41:18
That 's bad if i have 2 make it over. Yeah i have been testing a bit around in my scripts of the big game. I hope pumaman can give me an answer 2 get in the game again or that it can be loaded and solved.

in the compiled directory...........warning
in room 5): Wait() was used in Player Enters Screen - use Enters Screen After Fadein instead
Title: Re: technical problem while loading game
Post by: Trent R on Sat 29/11/2008 15:02:05
Quote from: marcusbugger on Sat 29/11/2008 14:41:18
in the compiled directory...........warning
in room 5): Wait() was used in Player Enters Screen - use Enters Screen After Fadein instead
That one's easy, don't put a Wait() in the room_load function.

And if you can't copy and paste, try a screen capture.

~Trent
Title: Re: technical problem while loading game
Post by: marcusbugger on Sat 29/11/2008 15:35:26
Quote from: Trent R on Sat 29/11/2008 15:02:05
Quote from: marcusbugger on Sat 29/11/2008 14:41:18
in the compiled directory...........warning
in room 5): Wait() was used in Player Enters Screen - use Enters Screen After Fadein instead
That one's easy, don't put a Wait() in the room_load function.

And if you can't copy and paste, try a screen capture.

~Trent

How do i make a screen cap ??
Title: Re: technical problem while loading game
Post by: Khris on Sun 30/11/2008 20:36:16
Easiest way: press the PrintScreen key, then Ctrl-V it into a paint program.
Title: Re: technical problem while loading game
Post by: Pumaman on Tue 02/12/2008 18:10:02
Can you upload the Game.agf file so that I can take a look at what happened?
Title: Re: technical problem while loading game
Post by: marcusbugger on Tue 02/12/2008 21:42:49
Quote from: Pumaman on Tue 02/12/2008 18:10:02
Can you upload the Game.agf file so that I can take a look at what happened?

Sorry, I don 't know how 2 upload it and where. I search here and there on this site but can 't find it.. Read help etc.. Maybe you can tell.. In the meanwhile i will search how 2 do it and other I will type the error here..
Title: Re: technical problem while loading game
Post by: Trent R on Tue 02/12/2008 21:57:30
wikisend.com (http://wikisend.com) is a simple site that I usually use. You can specify it to be available for up to 90 days.

~Trent
Title: Re: technical problem while loading game
Post by: marcusbugger on Tue 02/12/2008 22:53:53
Quote from: Trent R on Tue 02/12/2008 21:57:30
wikisend.com (http://wikisend.com) is a simple site that I usually use. You can specify it to be available for up to 90 days.

~Trent

Yes  I tried wikisend but the website has an error http 500. I 've made an link on esnips.com.

http://www.esnips.com/web/agsgamemakinganadv

Here are the 2 files game.agf.user and game.agf.bak          If it doesn 't work let me know.
Title: Re: technical problem while loading game
Post by: marcusbugger on Tue 02/12/2008 23:07:30
Puman, I found a backup of my game. I was using the ags3.1beta, but because of the warning in the program I didn 't continue with it using the beta and went on with ags3.0.2.

Downloading your ags3.1.1, I encountered another problem, the game from beta can be loaded in the editor, but only when I 'm building the game and run the test, it 's going in the debug mode. Building the game and run - run game setup - (because of full screen testing)it stays in the compiled directory.

I don 't know if it is a mistake or not.

Get safety warning opening the file agseditor but I still can use it and work with it. I don 't know if it 's usual or an error
Title: Re: technical problem while loading game
Post by: Trent R on Wed 03/12/2008 00:27:11
The betas always have the warning. I'm guessing that you saved your game with the 3.1beta and tried to open it with 3.0.2

You shouldn't have to use the 3.1.1 beta, try using the 3.1 release (download here (http://www.adventuregamestudio.co.uk/AGS-3.1.exe)).


As for the debug/compiled thing, I'm not understanding what you're trying to say... Like, at all.

~Trent
Title: Re: technical problem while loading game
Post by: Pumaman on Wed 03/12/2008 20:07:15
Quote from: marcusbugger on Tue 02/12/2008 22:53:53
Here are the 2 files game.agf.user and game.agf.bak          If it doesn 't work let me know.

Is there no "game.agf" file? If not, try renaming "game.agf.bak" to "game.agf" and see if that works.

QuoteDownloading your ags3.1.1, I encountered another problem, the game from beta can be loaded in the editor, but only when I 'm building the game and run the test, it 's going in the debug mode. Building the game and run - run game setup - (because of full screen testing)it stays in the compiled directory.

I don't understand what you mean ... can you try re-phrasing that?
Title: Re: technical problem while loading game
Post by: marcusbugger on Wed 03/12/2008 20:33:32
It 's there the file, I renamed it. You know the link.
Title: Re: technical problem while loading game
Post by: Pumaman on Wed 03/12/2008 20:49:36
I downloaded that file, and the game seemed to open successfully. What is the problem you are having?
Title: Re: technical problem while loading game
Post by: marcusbugger on Wed 03/12/2008 21:05:37
I posted some screesnshots. I will type it here, what the error is. Ok. In the meanwhile the screenshots are from the beta version.

Problem resolved, I renamed that file and replaced it with copy and overwrite. Game.ags.bak ------ renamed in another dir in Game.ags and then I copied it back an replaced and overwrite it and now it works weird. By the way could u play my game.