help big...(error)

Started by Icey, Wed 24/03/2010 23:50:03

Previous topic - Next topic

Icey

when i am  work on my game everything goes fine.i have added an iphone GUI as my menu & after all this work when i go to exit i hit save game...let on i had went to my windows 7 HDD and it seems like the game always reverts back to when i first added the iphone but my code for for the GUI still exist in the global script. can some one help cause i really need to finsh this it is a wast of time if i go back and work on the game to have it do the same thing again i mean i can always back up my gui but the game still needs to be finsh

Andail

Moving this to technical.
I think it would help if you wrote a bit more legibly, Icey games, right now it looks like you were typing this post on your mobile phone while running away from a fire.

LRH

I'm trying to understand the problem...

Is this it....?

You've made a game in which you made a GUI that resembles an iPhone. When you save and exit AGS, the GUI will not appear on the next load.

Icey

i was using my phone sorry about that... any-who when i first made the "iphone gui it could only fit 3 app blocks so i later made small boxes of 8 that work perfect i had the script done as well i tested the game it was good i went to sleep i woke up and checked it out + i was running windows 7 beta so it restarts now & then. i thought to my self o no i was working on 7 & not xp so i thought ok it was my fault the data was lost but when i seen the script the code i changed was still there but not the 8 app blocks but the old 3 blocks from the starts. i made 2 new rooms in my game they were also removed but when i clicked new room they was a file of the 2 rooms in my folder.point is i cant take the iphone out case that will mess up the game because all of the code i changed around & then this game will end up just like (NNT) with the sidekick gui error i will start to fix that later but i cant go on making this game with error..+ it only happens when i exit the game even in xp!...what to do what to do

Matti

Quote from: icey games on Sun 28/03/2010 20:27:24
i was using my phone sorry about that

Perhaps you could stop using your phone then?

Wonkyth

I generally try not to be too judgemental, so I'll see if I can get it across nicely.
Icey, try to split your sentences up into single thoughts, and type as though you were talking directly with someone you've never met before.

For example, instead of:
Quotei was using my phone sorry about that
You could try:
QuoteSorry about that, I was typing on my phone.

Try to only say one thing of importance per line, like with VB code!

I understand you're copping a lot of flack for ability to communicate your problems, but that can be fixed just by pacing yourself while you're typing, making sure that everything fit's together.

Unfortunately, I can't help you with you're GUI problem, as I have little experience with GUIs.
"But with a ninja on your face, you live longer!"

Crimson Wizard

#6
Quote from: icey games on Sun 28/03/2010 20:27:24
i was using my phone sorry about that... any-who when i first made the "iphone gui it could only fit 3 app blocks so i later made small boxes of 8 that work perfect i had the script done as well i tested the game it was good i went to sleep i woke up and checked it out + i was running windows 7 beta so it restarts now & then. i thought to my self o no i was working on 7 & not xp so i thought ok it was my fault the data was lost but when i seen the script the code i changed was still there but not the 8 app blocks but the old 3 blocks from the starts. i made 2 new rooms in my game they were also removed but when i clicked new room they was a file of the 2 rooms in my folder.point is i cant take the iphone out case that will mess up the game because all of the code i changed around & then this game will end up just like (NNT) with the sidekick gui error i will start to fix that later but i cant go on making this game with error..+ it only happens when i exit the game even in xp!...what to do what to do

I must say, it was terribly difficult for me to understand what you mean, and I am still unsure I understand you right. Correct me if I am wrong:

- you had a GUI and script related to that GUI;
- you left AGS running and went to sleep;
- when you wake up you saw that your Windows crashed or rebooted;
- in your game the script left, but GUI was lost;

So far I can tell that:
1. Scripts are saved in separate files, so it is possible that you saved them before leaving game.
2. On opposite, as far as I know, GUIs are saved in some general game data file, so unless you save your full game, GUI may be lost if computer crashes or reboots.
This explains why GUI is reverted to older version, but script remained.
If it is the case, then I am afraid there's no way to restore your latest GUI, and you'll have to redo it again. Although I don't see why it should be a big problem to add 5 more buttons, since you still have your script.

As for rooms, I believe you can import your rooms back into game. Simply right-click on Rooms node in the project tree and select "Import existing room". Then browse and choose those rooms that needed to be inserted back.

PS. Can you please make your posts more readable? At least make new lines sometimes.

Ali Legend

Quote from: icey games on Sun 28/03/2010 20:27:24
i was using my phone sorry about that... any-who when i first made the "iphone gui it could only fit 3 app blocks so i later made small boxes of 8 that work perfect i had the script done as well i tested the game it was good i went to sleep i woke up and checked it out + i was running windows 7 beta so it restarts now & then. i thought to my self o no i was working on 7 & not xp so i thought ok it was my fault the data was lost but when i seen the script the code i changed was still there but not the 8 app blocks but the old 3 blocks from the starts. i made 2 new rooms in my game they were also removed but when i clicked new room they was a file of the 2 rooms in my folder.point is i cant take the iphone out case that will mess up the game because all of the code i changed around & then this game will end up just like (NNT) with the sidekick gui error i will start to fix that later but i cant go on making this game with error..+ it only happens when i exit the game even in xp!...what to do what to do

Ah... maybe the phone wasn't the problem.
Hurr durr I use default sprites and refer explicitly to basic tutorials, can I help make a game?

Dualnames

The problem is that he created a GUI and also added some scripting on it. He also added some buttons ecc. Thing is when he saves the game, the game reverts back to when the GUI was just added. However the code he scripted onto the GUI and GUI's controls still remains on the global script.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk