Re: New Empire Web Page
- From: Frank Miller <fkmiller@xxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 18:24:57 -0500
It might be a good idea to have a couple of other well maintained WWW sites out around the Net about Empire. I didn't find the "info" pages on the Wolfpack site and had to discover them by searching thru UNIX file structures on my server. The data quality isn't so much the problem as people locating it and make use of it.
I *love* UNIX, and have been using it for many years. But guys, TROFF seems dead to me. HTML and XML are the present. I suggest we unload ourselves of 1970's utilities and move to HTML or failing that to plain old ascii.
If I am to commit blasphemy I shan't stop here! I showed the output of "xdump" to a developer who is helping me figure out how to parse it in Visual Basic .NET. He suggested to me using XML. The idea is that we need to get a new command "xmldump", which returns the data streams as XML encoded:
Old school data, like what we currently have:
100 127 746
New school data:
XML/new school data:
<sectors>
<type>headquarters</type>
<efficiency>100</efficiency>
<mobility>127</mobility>
<civilians>746</civilians>
</sectors>
This would be a step forward for a new generation of client interfaces. Modern programming languages have the libraries to handle XML with a minimum of programming.
Regards, Kelly (Zukhov)
Markus Armbruster wrote:
"Bungholio" <empire_bungholioNOSAPM@xxxxxxxxxxx> writes:.
If and until we can get a wiki up, I've mass converted the "info" pages from the server into HTML pages and added them to my web page. I know when I was first starting out this information certainly would have helped. Take a look:
http://www.micro3g.com/index.html
Thanks, Kelly (Zukhov)
Good Job! But those also seem to be:
http://www.wolfpackempire.com/infopages/all.html
Slightly out of date. To be fixed.
and here:
http://sourceforge.net/project/showfiles.php?group_id=24031&package_id=40133
Canonical download location for the latest released version.
and here:
//sheepfarm.game-host.org:8080/infopages/all.html
Currently two versions behind.
My question is: how would one change an info page for the particular game that's running. For example, in PZ7, when I made trade ships have a negative bonus for the ally, I went and manually changed the "Trade-ships" info page to say how they really worked (after *several* nasty telegrams from the players, btw). Furthermore, many deities like to make a special "info mygameinfo" info page, how would you propose how that would work?
-Bungy
The sane way to do it is to edit the troff source, in your case
info/Trade-ships.t. make info updates the plain text info pages in
info.nr/ (implied by the default make target). make html updates the
HTML info pages in info.html/.
If you're not compiling from source (tsk, tsk), then you need to do
that manually. Here's the command make runs for me to update
info.nr/Trade-ships:
GROFF_NO_SGR= groff -Tascii -U info/CRT.MAC info/INFO.MAC info/Trade-ships.t | gawk -f info/Blank.awk >info.nr/Trade-ships
If you changed the .SA, subject pages may also need updating. You
don't want to do that without help from make.
If you add a page, its subjects and the page index need updating.
Nothing will stop you from ignoring troff and editing the plain text
info in info.nr manually. Make sure to update the subject pages
listed under SEE ALSO and index (all for new pages, TOP for new
subjects). Subject pages are easy to recognize: they start with the
keyword Subject in the first line.
If you send me doc fixes as patches for the plain text files, you
create extra work for me. It's better than keeping them for yourself,
but worse than doing the job right and update the troff source.
- References:
- New Empire Web Page
- From: Zukhov
- Re: New Empire Web Page
- From: Frank Miller
- Re: New Empire Web Page
- From: Bungholio
- New Empire Web Page
- Prev by Date: Re: New Empire Web Page
- Next by Date: Re: New Empire Web Page
- Previous by thread: Re: New Empire Web Page
- Next by thread: Re: New Empire Web Page
- Index(es):
Relevant Pages
|
Loading