Charas-Project

Game Creation => RPG Maker => Topic started by: zanrei on May 20, 2011, 12:21:04 AM

Title: Another Dumb Question
Post by: zanrei on May 20, 2011, 12:21:04 AM
Is it possible to "continue" a game? As an example, if I had a game with Map001 set as a blank area for starting things out, and at the end returned the characters to that map, and then created a second game with the same Map001, and copied the save file from the first game into that directory, would it start the player's party from the first one in that game's Map001 or would it give me some form of error? I ask because I'm beginning to be slightly alarmed by the number of variables and switches my systems are requiring and want to know if I have a way out if I go over 5000.
Title: Re: Another Dumb Question
Post by: WarxePB on May 20, 2011, 12:37:13 AM
I highly doubt you'll use more than 5000 switches or variables. I've never even gotten close to that amount, and if you do, then it's probably better to start re-using multiple variables, or using a variable to keep track of story events rather than switches, or otherwise just refining your code.

As for your question? I did a bit of testing, and as far as I can tell, it would work as long as you copy over your entire database.
Title: Re: Another Dumb Question
Post by: drenrin2120 on May 20, 2011, 12:37:17 AM
I'm afraid there could very well be no way out of 5000 variables. I'm wondering what you could possibly need 5000 variables for and how any one person would be able to manage such a huge number of variables. You may want to reconsider your use of variables. There are techniques you can use to greatly reduce the numbers of variables you use, such as "temp" variables. But it depends on what you're trying to do.
Title: Re: Another Dumb Question
Post by: zanrei on May 20, 2011, 12:56:26 AM
It's switches I'm worried about more than anything. My skill system has over 250 switches alone. My stat system has something like 20 variables per character but that doesn't matter too much since I'm not using variables for all that much other than multi-stage quests.
Title: Re: Another Dumb Question
Post by: WarxePB on May 20, 2011, 01:04:42 AM
Then you have nothing to worry about. At the most, you might use 400-500 switches for the game itself, depending on the length and treasure chests and whatnot. But the 5000 limit shouldn't be a problem.
Title: Re: Another Dumb Question
Post by: zanrei on May 20, 2011, 01:08:45 AM
Okay, I defer to the wisdom of the more experienced creators. One more question as to limits though, if you don't mind. I vaguely remember being annoyed by a 200-map limit. I know there's a good chance I won't use 200 maps, but I would like to know if that's the limit for 2k3, or if I'm thinking of XP, or imagining it completely
Title: Re: Another Dumb Question
Post by: drenrin2120 on May 20, 2011, 01:18:11 AM
I vhave 400 plus maps right now, so as far as I know, there's no map limit. There is a 500x500 tile limit for maps though.
Title: Re: Another Dumb Question
Post by: SaiKar on May 20, 2011, 01:24:50 AM
If there's a limit on maps, it's HUGE. I'm guessing 9999 from the file numbering convention.

Title: Re: Another Dumb Question
Post by: A Forgotten Legend on May 20, 2011, 01:52:20 AM
From what I've read online, its either 5000 or 9999.  So, you're pretty safe on that one.
Title: Re: Another Dumb Question
Post by: zanrei on May 20, 2011, 01:57:50 AM
Okay. The map limit must have been in XP. I vaguely remember combining interior rooms to alleviate the issue when I had the PK version. Anyway, thanks everyone for your help. I should have a game topic up in no less than say... six years.
Title: Re: Another Dumb Question
Post by: SaiKar on May 20, 2011, 02:01:05 AM
Based on how fast most of make our games around here, this seems reasonable.