Page 2 of 3

Posted: Fri Mar 07, 2008 4:11 pm
by Vyrosama
yay we hit 100 now we can improve the roads!!!! Can someone update the links to include transportation?

Now we can continue to grow till 250 to get cops....

or we can try to running the city to the ground with pollution with massive amounts of factories...

guess it depends on what type of theme city you want...but like I said I want to up environment up the wazoo so we can get a flower city level 4 :lol:

Posted: Fri Mar 14, 2008 11:57 pm
by quantus
OMG, we actually need more jobs and better roads!!! One of our people is out of work and two can't get to where they need to go.

I wonder, if we go insane building up transportation if we'll just end up with monorails or something to everywhere or something equally useless.

Posted: Thu Mar 20, 2008 3:22 pm
by Vyrosama
just a random thought, if we had as many visits to our city as this thread...we'd have a decent sized town now 8)

Posted: Wed Apr 02, 2008 12:04 am
by quantus
If you go to http://schlag2b.myminicity.com/rss you can see a recent history of what's happened without choosing to increase population, industry or transportation. This will help us avoid building 4 factories all at once since you'll know if someone else has done what you were going to do.

Posted: Fri Apr 04, 2008 11:28 pm
by quantus
Good idea Peijen to put the links in your sig

Posted: Fri Apr 04, 2008 11:58 pm
by Jonathan
Put 'em on one line or I'll do it for you.

Posted: Sat Apr 05, 2008 12:23 am
by quantus
Awww, I should take down my spider pig avatar in protest!

Hrmmm, I wonder if there's a way to include banner ads in my profile pic or in the sig somehow.

Posted: Wed Apr 09, 2008 9:03 pm
by quantus
For anyone that's too lazy to check which link to click, you have two alternative options. The first is that you can use IE (I feel dirty recommending IE, but it's lax security can be useful) to open the code below assuming your security settings are not too high. The other option for firefox users is to just save this as an html file and run it locally in your browser. Unfortunately, you can't do cross-domain ajax requests and I haven't figured out how to work around this..

Anyways, all this does is check the city's status and load the right url for what is needed. If someone has a better way to implement this, then I'd be happy to try it out. I did already try to do this in php, but couldn't because my host doesn't allow opening remote files. It's probably for security reasons, so I doubt I could get it changed.

Code: Select all

<html>
<head>
<script type="text/javascript">
var req;
var city = 'http://schlag2b.myminicity.com/';
var target = '';
var ind, tra, sec, env;
var response;

function loadXMLDoc(url) 
{
   try {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
   } catch (e) {
    alert("Permission UniversalBrowserRead denied.");
   }
    // branch for native XMLHttpRequest object
    if (window.XMLHttpRequest) {
        req = new XMLHttpRequest();
        req.onreadystatechange = processReqChange;
        req.open("GET", url, true);
        req.send(null);
    // branch for IE/Windows ActiveX version
    } else if (window.ActiveXObject) {
        req = new ActiveXObject("Microsoft.XMLHTTP");
        if (req) {
            req.onreadystatechange = processReqChange;
            req.open("GET", url, true);
            req.send();
        }
    }
}

function processReqChange() 
{
    // only if req shows "complete"
    if (req.readyState == 4) {
        // only if "OK"
        if (req.status == 200) {
		response  = req.responseXML.documentElement;
		ind = response.getElementsByTagName('unemployment')[0].firstChild.data;
		tra = response.getElementsByTagName('transport')[0].firstChild.data;
		sec = response.getElementsByTagName('criminality')[0].firstChild.data;
		env = response.getElementsByTagName('pollution')[0].firstChild.data;
		if ( response.getElementsByTagName('unemployment')[0].firstChild.data > 0 ) {
			target = 'ind';
		} else if ( response.getElementsByTagName('transport')[0].firstChild.data < 100 ) {
			target = 'tra';
		} else if ( response.getElementsByTagName('criminality')[0].firstChild.data > 0 ) {
			target = 'sec';
		} else if ( response.getElementsByTagName('pollution')[0].firstChild.data > 0 ) {
			target = 'env';
		}
		window.location = city + target;
        } else {
            alert("There was a problem retrieving the XML data:\n" + req.statusText);
        }
    }
}

loadXMLDoc(city + 'xml');

</script>
</head>
<body>
</body>
</html>

Posted: Tue Apr 22, 2008 12:34 am
by quantus
George wrote:If we make it to about 200 population, we'll break into the top 100.
not anymore it won't... Anyone remember what rank we started at? Was it around 10,000? There are over 100,000 cities now, but half of those are under 10 people.

We're in the top 2500 now and currently need 44 more people to be in the top 2000.

Posted: Tue Apr 22, 2008 11:22 pm
by George
It would have been cool if we'd captured screen shots along the way so we could see a time-lapse evolution of the city. I was looking at the northeast corner of the city and thinking how it looks just like the entire city when it started.

Posted: Wed Apr 23, 2008 2:44 pm
by Alan
Our city looks like Buffalo now.

Re: Time waster

Posted: Fri May 02, 2008 11:34 pm
by quantus
The main problem with our city is that it's not near any water except for that small lake to the north.

Re: Time waster

Posted: Sat May 03, 2008 2:07 am
by Jason
quantus wrote:The main problem with our city is that it's not near any water except for that small lake to the north.
What does water have to do with anything?

Re: Time waster

Posted: Sat May 03, 2008 4:51 am
by quantus
Nothing except that real cities all need a reliable source of potable water and are usually along a body of water. If our city was next to a river or something, I'd bet more people would want to visit it.

Re: Time waster

Posted: Sun May 04, 2008 1:37 pm
by George
We'll get plenty of tourism once we get higher in the rankings. Of course, every tourist will leave a post like "omg, pls visit my uber-1337 city ImCool, thx wtf rotfl".

We actually got a celebrity visitor recently:
Hannah Montona: Hey boys check out my hot pix
Surprisingly ineffective spam since she didn't give an address, or even spell her name right.

Maybe a better way to improve tourism is to break down that weird blue barrier surrounding out city.

Re: Time waster

Posted: Sat May 10, 2008 4:02 am
by quantus
Well, since there have been hardly any posts all week, I'll announce that we're now solidly in the top 2000 at 289 people. IIRC, we get police at 300. Keep on clickin' people. Use those open access points around you to get more ips to click from per day.

Re: Time waster

Posted: Wed May 14, 2008 12:46 am
by Jason
Update your sigs gentlemen.

Re: Time waster

Posted: Sun May 18, 2008 3:50 am
by quantus
quantus wrote:Use those open access points around you to get more ips to click from per day.
Apparently someone wised up and this doesn't seem to work anymore. Ah well, it was useful while it lasted. I've tried using stealther plug-in (which filters out requests for identifying info) to see if I could get around it, but it just makes the server keep polling the browser. Perhaps this'll bother me enough so that I'll play around a bit more to see if I can get an extension that will let me view the query and edit the browser response.

Re: Time waster

Posted: Thu May 22, 2008 8:59 am
by quantus
quantus wrote:
quantus wrote:Use those open access points around you to get more ips to click from per day.
Apparently someone wised up and this doesn't seem to work anymore.
And then again, it must've been the site just not working that day. Switching access points still does work!

Re: Time waster

Posted: Fri Jun 06, 2008 8:12 pm
by quantus
We've broken 1600 a day or so ago, but haven't made much progress in the rankings since... I decided to take a look at how other cities were doing by looking at the xml so I didn't add a person. The 3 cities I looked at are a mess with non-0 unemployment and security as well as sub-100 transport... It wasn't by just one or two points either, but like 10 points. The unemployment should be offsetting their population growth, so I'm not sure how they're staying where they are in the rankings... Anyways, if you don't care about all this, just keep clicking and I'll stop posting to remind you!