| Previous topic :: Next topic |
| Author |
Message |
The Helper City Speaker

Offline
Joined: 06 May 2008 Posts: 104
Location: Houston 
|
Posted: Fri 23 May - 13:19 Post subject: Make simulations of the state of your city ! |
|
|
I would like to introduce a new tool made by TheHelper.net's very own Acehart!
-------
What would your town look like if it had twice the population? (Bigger)
Half the transport? (Lacks streets)
Double shops? (Well, more shops...)
A decent name, like AceHart? ()
Your own name and (nearly) random values? (No idea)
No people? (Boring, what else...)
Find it out:
The Incredible City Simulator
http://www.thehelper.net/forums/citywhatif.php
The time it takes (yep, all on your comp, not here) depends mostly on population.
You may try with 5000000, but don't be surprised if you get a little warning...
I can't possibly be responsible for sudden heat problems, unexplained attraction to your neighbor's cat or similar, related topics.
The other values too, but much less.
Population is clearly the killer.
------------------------
This tool is exact - it does not guess. It will show your city with whatever values you tell it your city has - make sure you type your City Name right though - that is what it is all based off of.

Last edited by The Helper on Sat 24 May - 14:03; edited 2 times in total |
|
| Back to top |
|
 |
Albyland Vice President

Offline
Joined: 18 Feb 2008 Posts: 7,883
Location: Milano 
|
Posted: Fri 23 May - 13:32 Post subject: Make simulations of the state of your city ! |
|
|
ok I agree that it's written in the code.. but I think that everytime the city area increase the area added is random .. but when area is added it is recordered and will not change anymore

Click over my two Eggs please
  |
|
| Back to top |
|
 |
The Helper City Speaker

Offline
Joined: 06 May 2008 Posts: 104
Location: Houston 
|
Posted: Fri 23 May - 13:44 Post subject: Make simulations of the state of your city ! |
|
|
You might be right but you have to understand that computers do random numbers by a random number seed. That random number seed is the city name. If you start a Random Number generator off with the same seed it will produce random numbers but they will be the same for each seed. If the city randomly redid the terrain each time it expanded it would have to store that information for the city build somewhere. The only information passed to the Flash part of the program is the XML file and the Bulletins. Try the city simulator Acehart did on your city with your same XML factors and see what it does. Remember that the flash simulator Acehart did is hosted on thehelper.net and has no access to the MyMiniCity site database or anything. How could it get your city right if the expansion was random? The guy that did this is good and he assures me it is done this way.

Last edited by The Helper on Sat 24 May - 02:54; edited 1 time in total |
|
| Back to top |
|
 |
Hitsugaya Administrator

 Online
Joined: 27 Nov 2007 Posts: 2,490
Location: France
|
Posted: Fri 23 May - 14:01 Post subject: Make simulations of the state of your city ! |
|
|
| Albyland wrote: | | ok I agree that it's written in the code.. but I think that everytime the city area increase the area added is random .. but when area is added it is recordered and will not change anymore |
No I don't think so, a city is entirely determined by its name, look at the future option on the toolbox (worked well for miniville, don't know for myminicity).
By the way, tested your simulator on CreateMyCity, and it seems to not work. When I tried to make such a simulator, the difficulty was this numer &k on the flash code, that is a code corresponding to the state of the city, and if it is not good, the flash picture is blank. Obviously, you outpassed this problem, how did you do it ? Nice job. The only way I found to make the future of the city was to take the code of existing cities, and that worked rather well 
*** More or less back ***
|
|
| Back to top |
|
 |
Albyland Vice President

Offline
Joined: 18 Feb 2008 Posts: 7,883
Location: Milano 
|
Posted: Fri 23 May - 14:20 Post subject: Make simulations of the state of your city ! |
|
|
so you think that when I create a city everything is written...???

Click over my two Eggs please
  |
|
| Back to top |
|
 |
Hitsugaya Administrator

 Online
Joined: 27 Nov 2007 Posts: 2,490
Location: France
|
Posted: Fri 23 May - 14:30 Post subject: Make simulations of the state of your city ! |
|
|
I think that your city name and pop/env/ind/etc... totally define your city, yes
*** More or less back ***
|
|
| Back to top |
|
 |
The Helper City Speaker

Offline
Joined: 06 May 2008 Posts: 104
Location: Houston 
|
Posted: Fri 23 May - 14:31 Post subject: Make simulations of the state of your city ! |
|
|
Its not already written so to say. It just uses a set number of factors to determine appearance. There are literally millions and millions of different combinations and since you can't have the same city name every city will be different.
It is just like any game where random maps are displayed. Its the same concept. The outcome is as close to random and unique to the average person so the design has succeeded. In programming we try to give the results in the simplest way possible and sometimes the most elegant solutions are simple.
To summarize - the game is contained in the Flash program you see when you go to your city page. The flash programs accepts the XML values from the MyMiniCity Server, the city name, and maybe some other stuff (region code, etc but most likely all in the XML) and the bulletins. The Flash part of the game creates the city from that. If the flash program is given the same values it will generate the same city for those values. There are millions of combinations of values and each one produces something different - but if you give those same values again the game will create the same city. Hope this clarifies.
 |
|
| Back to top |
|
 |
Hitsugaya Administrator

 Online
Joined: 27 Nov 2007 Posts: 2,490
Location: France
|
Posted: Fri 23 May - 14:33 Post subject: Make simulations of the state of your city ! |
|
|
I don't think so. As I said, for miniville, the future tool in the myminicity toolbox predicted very well the cities' looking just with the number of inhabitants (because the ind env and so on was in general equilibrated, so depended on population)
*** More or less back ***
|
|
| Back to top |
|
 |
The Helper City Speaker

Offline
Joined: 06 May 2008 Posts: 104
Location: Houston 
|
Posted: Fri 23 May - 14:36 Post subject: Make simulations of the state of your city ! |
|
|
| Hitsugaya wrote: | | Albyland wrote: | | ok I agree that it's written in the code.. but I think that everytime the city area increase the area added is random .. but when area is added it is recordered and will not change anymore |
No I don't think so, a city is entirely determined by its name, look at the future option on the toolbox (worked well for miniville, don't know for myminicity).
By the way, tested your simulator on CreateMyCity, and it seems to not work. When I tried to make such a simulator, the difficulty was this numer &k on the flash code, that is a code corresponding to the state of the city, and if it is not good, the flash picture is blank. Obviously, you outpassed this problem, how did you do it ? Nice job. The only way I found to make the future of the city was to take the code of existing cities, and that worked rather well  |
Unfortunately I am not the one that actually put that together. If you would like to ask a question about it you could do so here
http://www.thehelper.net/forums/showthread.php?p=751981#post751981
You might have to wait a few hours for an answer though as Acehart is the guy that did it and he somewhere in the Middle East and the times are all different.
 |
|
| Back to top |
|
 |
The Helper City Speaker

Offline
Joined: 06 May 2008 Posts: 104
Location: Houston 
|
Posted: Fri 23 May - 14:38 Post subject: Make simulations of the state of your city ! |
|
|
| Hitsugaya wrote: | | I don't think so. As I said, for miniville, the future tool in the myminicity toolbox predicted very well the cities' looking just with the number of inhabitants (because the ind env and so on was in general equilibrated, so depended on population) |
From what I understand our city simulator will accurately predict what a city will look like based on the values accepted on that form. We should be able to exactly recreate your city if you enter your values. If it is able to do that then I am correct. If it is off then there is something else. It really is that simple.
 |
|
| Back to top |
|
 |
Hitsugaya Administrator

 Online
Joined: 27 Nov 2007 Posts: 2,490
Location: France
|
Posted: Fri 23 May - 14:44 Post subject: Make simulations of the state of your city ! |
|
|
| The Helper wrote: | | From what I understand our city simulator will accurately predict what a city will look like based on the values accepted on that form. We should be able to exactly recreate your city if you enter your values. If it is able to do that then I am correct. If it is off then there is something else. It really is that simple. |
Yes I know... in fact, I made a mistake in my city name, so I tested it again and it is really awsome !! Very very nice job, may congratz to the developer ! I made a simulation with bunches of /env or /com, it is really funny 
*** More or less back ***
Last edited by Hitsugaya on Fri 23 May - 14:50; edited 1 time in total |
|
| Back to top |
|
 |
The Helper City Speaker

Offline
Joined: 06 May 2008 Posts: 104
Location: Houston 
|
Posted: Fri 23 May - 14:49 Post subject: Make simulations of the state of your city ! |
|
|
| Hitsugaya wrote: | | The Helper wrote: | | From what I understand our city simulator will accurately predict what a city will look like based on the values accepted on that form. We should be able to exactly recreate your city if you enter your values. If it is able to do that then I am correct. If it is off then there is something else. It really is that simple. |
Yes I know... in fact, I made a mistake in my city name, so I tested it again and it is really awsome !! Very very nice job, may congratz to the developer ! You really should make a topic for this webpage in the tips section, it is really awsome ! |
That is all in progress. I have my own guide I am doing here
http://www.thehelper.net/forums/showthread.php?t=90859
and I will develop the FAQ sections first there and once I am satisfied it is up to par I will post that stuff over here in the guides sections.
As part of my FAQ I am also doing a guide to the CMC forums - that won't be done for a while though. Don't worry. I just started all this a few weeks ago and I will get all that information over here I just need to hammer it out and polish it up and I am doing that in my forums using my helpers to gather info. Stay tuned....
 |
|
| Back to top |
|
 |
Hitsugaya Administrator

 Online
Joined: 27 Nov 2007 Posts: 2,490
Location: France
|
Posted: Fri 23 May - 14:52 Post subject: Make simulations of the state of your city ! |
|
|
All right, I split the topic because it was not really reporting to lake and moutains 
*** More or less back ***
|
|
| Back to top |
|
 |
The Helper City Speaker

Offline
Joined: 06 May 2008 Posts: 104
Location: Houston 
|
Posted: Fri 23 May - 14:54 Post subject: Make simulations of the state of your city ! |
|
|
| Hitsugaya wrote: | All right, I split the topic because it was not really reporting to lake and moutains  |
Awesome Mr. (Ms) Administrator! You da man (Woman)! 
 |
|
| Back to top |
|
 |
Hitsugaya Administrator

 Online
Joined: 27 Nov 2007 Posts: 2,490
Location: France
|
Posted: Fri 23 May - 15:01 Post subject: Make simulations of the state of your city ! |
|
|
I wrote to AceHart to have informations, I'm really curious to know how he managed to find this number &k rule !
By the way, the fact that such a webpage exists prove that a city only depends on its name and its XML caractéristics 
*** More or less back ***
|
|
| Back to top |
|
 |
|