Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Rocco on Wed 21/04/2004 16:00:35

Title: ALL MESSAGES LOST
Post by: Rocco on Wed 21/04/2004 16:00:35
 :-[All my messages are gone, :-[
:'( :'( :'( :'( :'( :'( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( :-[
Title: Re:ALL MESSAGES LOST
Post by: Pumaman on Wed 21/04/2004 21:16:27
Um ... perhaps you'd like to explain more precisely what the problem is? What did you do, and what happened?
Title: Re:ALL MESSAGES LOST
Post by: Rocco on Thu 22/04/2004 10:46:18
Hmm its not easy to trace. i use 261beta5 and 800x600 32bit.
The messages appear and disappear (and this is the good thing, cause if they are gone forever, im in suicidal mood)
When I start the game from the first screen all seem normal, if I start in another room and i want to look at an inventar item, the game chrashes with the an error message.
And in the editor, all messages are missing.
Then I start an old save from the game and there are also all messages gone.
Then I start all new and load different games with different ags versions and go nuts, at once the all here again.
Dont know, I will finish this game until tuesday for the mags-contest, then I have more time to locate this, hopefully it makes the game not buggy.
Title: Re:ALL MESSAGES LOST
Post by: strazer on Thu 22/04/2004 11:13:10
Quotethe game chrashes with the an error message.

Please post the error message.
When it's displayed, press CTRL+C to copy its text to the clipboard. You can then paste it in your message here.

QuoteAnd in the editor, all messages are missing.

Do you mean the "Global messages" section of the editor or the room messages in the Interaction Editor?
Either way, what means "missing"? Are they not displayed at all, is the text reset, what?

If you can still access the messages, be sure to keep a backup before they are gone for good.
Title: Re:ALL MESSAGES LOST
Post by: on Thu 22/04/2004 11:33:26
Hope they're not gone forever...this will undoubtly teach you to back up a game BEFORE using a beta.  :P

/Drutten
Title: Re:ALL MESSAGES LOST
Post by: Rocco on Thu 22/04/2004 20:14:19
I have sort it out a little bit.
I guess it relates to the inventory objects.
It only happens with these.
Sometimes when i go to the inventory items and klick interaction, assign an command like display a message - all messages are away - the box is empty.
Then i go to a room select a hotspot and press interaction, the messages are here.
In the game i have this behavior: if i start in my first room, all seem normal, i can look at inventory items, interact with them, combine them, but when i start in another room, and i try to look to an inventory item i get this error-message:

Error: DisplayMessage: Invalid message number to display

which is not my fault, i guess
Title: Re:ALL MESSAGES LOST
Post by: Rui 'Trovatore' Pires on Thu 22/04/2004 20:52:13
Just for the sake of completion, the messages on your inventory items ARE global messages, i.e. above 500, right?
Title: Re:ALL MESSAGES LOST
Post by: Pumaman on Thu 22/04/2004 20:54:27
You've probably used a local room message for your inventory description.

Messages in the message editor are room messages, and differ from room to room. Message 1 in room 2 is different to message 1 in room 6.

Whether your interaction works or not probably depends on which room is loaded at the time.

For inventory descriptions, use global messages since they are accessible from all rooms.
Title: Re:ALL MESSAGES LOST
Post by: Rocco on Thu 22/04/2004 21:22:28
yes, this is the point, thx :)
its a little bit confusing, if someone (like me) dont know that.
Cause when you click on inventory items - item -interaction - game - display a message, the message box apeares and show all messages for the room which currently is loaded.
Title: Re:ALL MESSAGES LOST
Post by: Pumaman on Fri 23/04/2004 17:22:54
Yeah, I appreciate that. I'll see if I can make it more obvious.
Title: Re:ALL MESSAGES LOST
Post by: Hollister Man on Sat 24/04/2004 01:40:29
It might make sense to just disable calling of messages under 500 from the interaction editor when working with inventories, characters, etc.

Don't know how hard this would be, but I can't see a reason to use room messages in inventory objects.
Title: Re:ALL MESSAGES LOST
Post by: Pumaman on Sat 24/04/2004 17:03:00
Yeah, that's my plan. If someone really needs to display a room message from there, they can do it via script.