Galaxia

Public development version of Galaxia Reborn

<![CDATA[The current version of Galaxia Reborn is now available to play with. You can't actually do that much but some things are still fun to play with.

Signup works but doesn't actually give you anything you can use so just login as "Q" with password "q".

You can move ships around and build more at the colony (you have to find the colony first though :P) although you can't send them into space just yet. Also, the entire interface has been translated into Finnish (well almost. Two little bits were added afterwards but they'll get done soon enough). Thanks for that go to my girlfriend Julia. If anyone is interested in translating the interface into a different language let me know . You’ll get a permanent link on the info panel at the bottom for people using your language as well as a mention in any credits.

Galaxia Reborn]]>

PHP

PHP5

<![CDATA[Another installation that was easier than I expected.

I now have PHP5 installed alongside PHP4. It lowers efficiency a bit since it's installed as CGI instead of an Apache module but for testing it's fine 🙂

For anyone planing on doing this who isn't too familiar with installing stuff via the command line on Unix-like OSes (like me), there is a very usefulguide from Scott Huring.]]>

Galaxia, PHP

Wohoo, MySQL 4!

<![CDATA[Not that it really makes much difference yet, I'm now running MySQL 4! The upgrade was easier than I expected with the only problem not strictly being an upgrade problem (I had to manually kill MySQL and restart it to get it to recreate my socket file).

This is all preparation for installing PHP5 so everyone can actually see Galaxia Reborn 🙂

php5, mysql, apache]]>

OpenID

More on OpenID

Just to clear things up about why I mention this when there are a few other similar things out there. This one truly is decentralised. Somewhere on the page you use as an ID is the address to your OpenID server. This site has a diagram explaining it all.

Galaxia, OpenID

OpenID in GR

Well I have OpenID working at a basic level in Galaxia for signing up and logging in. For signups though a user still needs to provide a username eventually to replace the url which will generally be too long…

OpenID

OpenID

<![CDATA[I just noticed something on LiveJournal I hadn’t noticed before… OpenID. It’s a clever idea – a truly distributed identity management system. The idea is to allow you to login to websites using just a URL (in my case http://www.oliverbrown.me.uk/) and have everything done automatically.

In detail:

You login into a website that supports OpenID (like LiveJournal). The browser then checks that URL you gave for a bit of HTML that specifies your home server. The website then redirects your browser to that server and logs you in (and because of the joy of cookies etc. this should be automatic). The server then asks if you really want to share your identity with the site you specified and if so redirects back to the original site which now knows you are who you say you are (i.e. the owner of the url and actually registered with the server you specified).

It’s confusing but clever :)]]>

Galaxia, PHP

Scripting in Galaxia Reborn

<![CDATA[Introduction to XGS

This won’t sound that impressive since noone has seen any of GR working but I have scripting working at a minimal level in Galaxia Reborn.

I gave a ship the following script:


<xgs>
<script event="entersector">
<savetomemory name="w" value="($w+1)%4" />
<setcourse target="$waypoints.$w" />
</script>
</xgs>

$waypoints is simply an array of four coordinates. The function savetomemory just saves data to the ship which is read back in when the script next executes.

oop, programming, scripting]]>