Time waster
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
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
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
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.
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
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.
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>
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
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.George wrote:If we make it to about 200 population, we'll break into the top 100.
We're in the top 2500 now and currently need 44 more people to be in the top 2000.
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.
I feel like I just beat a kitten to death... with a bag of puppies.
Re: Time waster
What does water have to do with anything?quantus wrote:The main problem with our city is that it's not near any water except for that small lake to the north.
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
Re: Time waster
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
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:
Maybe a better way to improve tourism is to break down that weird blue barrier surrounding out city.
We actually got a celebrity visitor recently:
Surprisingly ineffective spam since she didn't give an address, or even spell her name right.Hannah Montona: Hey boys check out my hot pix
Maybe a better way to improve tourism is to break down that weird blue barrier surrounding out city.
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
Re: Time waster
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
Update your sigs gentlemen.
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
Re: Time waster
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.quantus wrote:Use those open access points around you to get more ips to click from per day.
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
Re: Time waster
And then again, it must've been the site just not working that day. Switching access points still does work!quantus wrote:Apparently someone wised up and this doesn't seem to work anymore.quantus wrote:Use those open access points around you to get more ips to click from per day.
-
- Tenth Dan Procrastinator
- Posts: 4891
- Joined: Fri Jul 18, 2003 3:09 am
- Location: San Jose, CA
Re: Time waster
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!