Permalink
Browse files

tweaks

  • Loading branch information...
simhacker@gmail.com
simhacker@gmail.com committed Feb 3, 2011
1 parent 5217e2e commit e04c3783dac577716a1fa65707348851bc8928d9
View
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="../../lps-4.3.0" path="/lps-4.3.0">
<Context docBase="../../lps-4.3.0" path="/lps-4.3.0" allowLinking="true">
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
@@ -2070,7 +2070,7 @@
active="${classroot.active &amp;&amp; this.visible}"
/>
<tooltip id="gToolTip"/>
<mytooltip id="gToolTip"/>
</class>
@@ -111,7 +111,7 @@
<slider name="speedSlider"
width="${parent.width}"
minvalue="0"
maxvalue="9"
maxvalue="8"
keystep="1"
showvalue="false"
showrange="false"
@@ -19,7 +19,7 @@
<include href="piemenu.lzx"/>
<include href="mypiemenu.lzx"/>
<include href="edittileviewpie.lzx"/>
<include href="tooltip.lzx"/>
<include href="mytooltip.lzx"/>
<include href="mycheckbox.lzx"/>
<include href="myradio.lzx"/>
<include href="resizebarh.lzx"/>
@@ -7,7 +7,7 @@
<!-- Licensed under GPLv3 -->
<class name="tooltip"
<class name="mytooltip"
pixellock="true"
>
View
@@ -7,7 +7,7 @@
# DATABASE
sqlalchemy.dburi="mysql://micropolis:WillWrightCodeForFood@127.0.0.1:3306/micropolis"
sqlalchemy.dburi="mysql://root:xmlrules@127.0.0.1:3306/micropolis"
# This avoids the "MySQL server has gone away" errors that happen when
# MySQL times out and closes the connection.
@@ -44,7 +44,7 @@
DefaultLanguage = 'en-US'
DataDir = 'micropolis/htdocs/static/data'
LocalServerRoot = 'http://127.0.0.1/server'
LocalServerRoot = 'http://127.0.0.1:8082'
########################################################################
@@ -215,7 +215,7 @@ class Root(controllers.RootController):
# Seconds between heart beats.
heartBeatInterval = 1
heartBeatInterval = 10
# FIXME: Doesn't seem to work. Should give us the raw post body.
@@ -274,7 +274,7 @@ def makeHeartBeat(self):
'cookie': cookie,
})
data = urllib.urlopen(hbUrl).read()
print data,
#print data,
sys.stdout.flush()
@@ -0,0 +1,50 @@
<html>
<head>
<title>Micropolis Online Server</title>
</head>
<body>
<h1>Micropolis Online Server</h1>
<h3>
Micropolis is the open source version of SimCity Classic from Maxis,
developed by Will Wright and Don Hopkins.
To learn more, please read
<a href="http://www.DonHopkins.com">Don Hopkins' Blog</a>,
and contact
<a href="mailto:dhopkins@DonHopkins.com">Don Hopkins</a>
for more information.
Here are some useful resources:
</h3>
<ul>
<li>
<h2>
<a href="/lps/micropolis/micropolis/micropolis_en-US.lzx?lzt=swf&amp;lzr=swf10"
>Play Micropolis Online</a>
</h2>
</li>
<li>
<h2>
<a href="/doc/index.html"
>Micropolis Source Code Documentation</a>
</h2>
</li>
<li>
<h2>
<a href="http://code.google.com/p/micropolis"
>Micropolis Project on Google Code</a>
</h2>
</li>
<li>
<h2>
<a href="http://code.google.com/p/micropolis/source/browse/#svn/trunk/MicropolisCore/src"
>Micropolis Core Source Code on Google Code</a>
</h2>
</li>
<li>
<h2>
<a href="http://code.google.com/p/micropolis/source/browse/#svn/trunk/MicropolisCore/src/MicropolisEngine/src"
>Micropolis Core Simulator Engine Source Code on Google Code</a>
</h2>
</li>
</ul>
</body>
</html>
View
@@ -3,15 +3,15 @@
# DATABASE
sqlalchemy.dburi="mysql://micropolis:YourPasswordGoesHere@localhost/micropolis"
sqlalchemy.dburi="mysql://micropolis:xmlrules@localhost/micropolis"
# This avoids the "MySQL server has gone away" errors that happen when
# MySQL times out and closes the connection.
sqlalchemy.pool_recycle=30
# SERVER
server.socket_host='activlab.com'
server.socket_host='micropolisonline.com'
server.socket_port=8082
# LOGGING

0 comments on commit e04c378

Please sign in to comment.