300 Room Limit

Started by theatrx, Fri 06/04/2007 00:52:23

Previous topic - Next topic

theatrx

I never thought I'd be in the situation to ask this question but is it possible that there could be more rooms than 300?

I'm building an interactive tour of my downtown where the 'mayor' tells you about each store and you can enter and talk to the shop owner.  I've finished one block and have already used 44 rooms.  I still have 11 blocks to go so I know I'm going to be running out of rooms.  I'm not sure I want to continue this project although I think it would be a very nice thing for my city to have, if I can't finish the whole downtown area.

Even if I only did the 8 core blocks I would need 352 rooms... but that is only if I have one room for each store.  I would like to have more than one room for each store interior since there is a lot to see in some of these stores. 

Am I dreaming?  Or is there hope for more rooms?   

Ideally, I would like to have 600 rooms available.  theatrx
Life is a banquet and most poor sonsofbitches are starving to death

MrColossal

You can have more than 300 rooms, rooms over 300 are just non-state-saving which shouldn't be a problem for you.
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

Fee

Ive been wordering what exactly that means?

Any changes i make to the room during the course of a game will be reset when i walk out the room and back in?


monkey0506

Precisely. AGS automatically stores information about rooms 1 - 300 when you enter and then leave the room. But rooms above this are non-state-saving, meaning that AGS won't automatically save any information about the room, i.e., every time you enter the room it will be treated as the first time you've entered the room.

One way of getting around this would be to use strazer's OtherRoom module which will save information for up to 1000 rooms (by default, though this could be increased within the script if really needed).

theatrx

The rooms I'm working on need to be state saving.  There's really no way around this.  If you've been in one of the businesses... There has to be some way to save that they've been there or not and that they have the business card that the player got there.  I've looked at Strazers module and I am seriously considering using it.  His modules are impeccable.  Thanks Strazer.  theatrx
Life is a banquet and most poor sonsofbitches are starving to death

strazer

#5
Thanks for the kind words.
It's a nice side-effect of the module but not its primary function. Only things you can manipulate using the module's functions are saved, namely these:

On/Off status of hotspots
On/Off status of regions
On/Off status of walkable areas
On/Off status of objects
X and Y positions of objects

So the rooms themselves are still not really state-saving (no background frame status is saved, for example) and I wouldn't depend on it.

Edit:

Quote from: monkey_05_06 on Fri 06/04/2007 05:43:42One way of getting around this would be to use strazer's OtherRoom module which will save information for up to 1000 rooms (by default, though this could be increased within the script if really needed).

The reason I've limited it to 1000 is that, last I heard, you can only have up to 1000 rooms.

Edit 2:

It seems you can actually number them higher, so I think I'll increase the room limit in the module's next update.

Radiant

Quote from: strazer on Fri 06/04/2007 10:54:12
On/Off status of walkable areas

Actually I'm pretty sure these reset to 'on' whenever you re-enter the room.

strazer

I was talking about what the OtherRoom module does. Are you saying there's a bug in it?

monkey0506

Regarding the 1000 rooms...okay, fair enough. := I didn't actually realize that there might be some type of real limit to AGS's ability to load rooms just because of a high room number. My mistake? (Though your second edit seems to support the idea that higher numbered rooms might actually work if really necessary)

theatrx

Strazer you were absolutely right.  I didn't need any kind of save room anything.  I tested today on rooms numbered from 301 to 999.  For what I needed, it still worked perfectly.  Thanks for the info.  I wasn't comprehending what no save room state was.  If, in this instance, it goes back to entering for the first time, it doesn't matter.  I do think in the future however that it might be nice to have.  Thanks again for the info. Steve

PS  In the event that this test didn't work, I downloaded your module and it does work perfectly.  But, now (through the last test) it works within the program without the module which makes me happy.  I personally would rather use something 'in' the program... Chris did a great job making a 'stable' environment.
Life is a banquet and most poor sonsofbitches are starving to death

SMF spam blocked by CleanTalk