save online

guzmere
12 Dec 2012, 07:22
Hi I have a game online in the unlisted section until it's completely ready to go public, however when I play it all is ok until I save it. Pressing the save button on the top right does not save the game in the current position. Does anyone know the reason for this? Instead it takes me back close to the beginning Thanks Terry. :D :D :D :D

The Pixie
12 Dec 2012, 08:07
Just to expand on this, when I played it the "save" button did nothing at all.

jaynabonne
12 Dec 2012, 08:31
It saved for me - but it took a while. I haven't experienced it being in the wrong place yet, but I haven't gotten far in.

Alex
12 Dec 2012, 08:39
You have to be logged in for Save to work.

The Save button should be hidden if you're not logged in but it's currently being shown. This is OK on the normal "play online" server as you'll get an error telling you that you need to be logged in, but I'm also testing an Azure cloud-hosted environment at the moment and that's silently failing when you click Save.

guzmere
12 Dec 2012, 08:48
The first time I pressed the save button it did not save it and began at the start again. The second time it took me back to nearly the beginning in the bedroom location but brought forward the picture from the opening credits. Thanks Terry :D :D :D
Oh Alex it was the delay timers that were upsetting the game in the online version, so I dumped some of them and that works ok now.

The Pixie
12 Dec 2012, 12:45
I was logged in when I tried. I then tried another game, and it worked okay for me.

guzmere
12 Dec 2012, 17:13
Is this anything to do with the browser I have Google Chrome. Think I'll try I E 9 Terry :D :D :D :D

Edit:- No its still the same so I might just have the game downloaded. Just curious do most people download the games or play them online?

R2T1
12 Dec 2012, 21:18
I always download any game before I play it. IF as well as other types. Internet charges means there is insufficient funds to sit on the web to play when it can easily be done offline.

guzmere
13 Dec 2012, 07:56
Never thought of that. Thanks Terry :D :D :D :D

The Pixie
13 Dec 2012, 08:16
I can get this to work now.

guzmere
13 Dec 2012, 17:59
@ Alex the save is still not working would it be anything to do with the game or is it a bug in the online game. Terry :D :D :D :D

jaynabonne
14 Dec 2012, 02:38
This is the error that IE reports:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; .NET4.0C; .NET4.0E)
Timestamp: Fri, 14 Dec 2012 02:37:06 UTC


Message: 'HTMLCanvasElement' is undefined
Line: 7133
Char: 3
Code: 0
URI: http://play.textadventures.co.uk/v5/paper.js


Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Line: 5
Char: 84093
Code: 0
URI: http://play.textadventures.co.uk/v5/ScriptResource.axd?d=WMgS54Hj8zUllJviZ3QIOSR_yy2OglQHkwtPkWXiag6L1OjjGmMRsP5C7FDLU95iU6k5YmJ3jIx1uK4qCwlDyVeTkZHbCPmsdf-jCI5tceDiVbN2wmqLZjVAL9Me7T-34E6aoFkdEdxxvu3ROcWc-AyUEuDxL4FR11dImE1G-g81&t=ffffffff940d030f

guzmere
14 Dec 2012, 20:36
Heeeeeeeeeelp what does that mean I have no idea. I should have stayed with pounds shillings and pence LOL. Terry :lol: :lol: :lol: :lol:

jaynabonne
14 Dec 2012, 20:47
It means it's some sort of client/server problem, not related to your game. Don't panic! :lol:

guzmere
15 Dec 2012, 06:24
Cheers. Thanks a lot I do panic Natural born :D :D :D :D

The Pixie
17 Dec 2012, 21:21
I am still having problems saving this game. It seems to work at the start of the game, but not later on.

guzmere
18 Dec 2012, 20:14
No I can't neither. What on earth could it be. I can't even do it offline? :D :D :D :D

The Pixie
18 Dec 2012, 21:55
How are other games? Earlier in the thread I said the one I tried was working okay, but I only tried right at the start, so it is possible the same thing is happening with them.

Are there are usual tricks you are using that could be messing it up?

See also my PM.

The Pixie
20 Dec 2012, 12:18
gizmere has worked out the problem is, it was because he had an attribute that starts with a number. The GUI stops you creating an attribute on an object, but has no objection to you setting such a one.

Example game. The jump command, created in the GUI sets player.1flag. After the player does JUIMP, save will fail.

<!--Saved by Quest 5.3.4721.18482-->
<asl version="530">
<include ref="English.aslx" />
<include ref="Core.aslx" />
<game name="Testing">
<gameid>e352a6d8-c005-4b44-8021-1cf6a3f13fde</gameid>
<description type="string"></description>
</game>
<object name="room">
<inherit name="editor_room" />
<object name="player">
<inherit name="defaultplayer" />
</object>
</object>
<command name="jump2">
<pattern>jump</pattern>
<script>
SetObjectFlagOn (player, "1flag")
</script>
</command>
</asl>

Alex
20 Dec 2012, 12:39
Excellent detective work! Logged #1205 so will fix this.

guzmere
20 Dec 2012, 13:06
Only thanks to The Pixie for pointing me to the right area. I wouldn't have seen it otherwise. :D :D :D :D

guzmere
20 Dec 2012, 19:15
@ Alex, when starting a saved game why does it show the last frame picture that was stored on a previous location. Even if there is not a frame picture at the location from where I saved it? Hope this makes sense! Terry. :D :D :D :D

Alex
21 Dec 2012, 14:47
Sounds like a bug, will look into this #1206

guzmere
21 Dec 2012, 19:00
Thanks. :D :D :D :D