|
|
|
 |
|

December 6th, 2003, 12:05 AM
|
 |
Captain
|
|
Join Date: Nov 2002
Location: Finland
Posts: 864
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
If I remember right all arrays in PHP are dynamic. The sorting isn't difficult, just save the filenames to arrays instead of printing them. Then sort the array, there's lots of build-in sorting functions in PHP.
__________________
'The surest sign that there is intelligent life elsewhere in the universe is that none of it has tried to contact us.' Calvin and Hobbes
Are you tough enough to be the King of the Hill?
|

December 6th, 2003, 12:14 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
That is not the problem... I need to keep track of 5 variables for each file, and then sort that according to the filename or title (and possibly even be able to sort according to any of them). I have been trying to use a class, but can not get anything to work.  And I don't want to use a database; all this data comes from reading in files from a directory.
[ December 05, 2003, 22:18: Message edited by: Imperator Fyron ]
|

December 6th, 2003, 12:16 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
Oh, and PBW is back, so join the game. 
|

December 6th, 2003, 01:58 AM
|
First Lieutenant
|
|
Join Date: Aug 2003
Location: New Zealand
Posts: 776
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
yea quick! before geo's telco cuts his DSL trying to fix his phone!!!
__________________
[img]/threads/images/Graemlins/Flag_NewZeland.gif[/img]
|

December 6th, 2003, 10:06 AM
|
 |
Captain
|
|
Join Date: Nov 2002
Location: Finland
Posts: 864
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
Bad luck, PBW come Online about five minutes after I went to sleep.  I'll join soon. But I have to decide first which race type I choose so I can pick a good name for my empire.
__________________
'The surest sign that there is intelligent life elsewhere in the universe is that none of it has tried to contact us.' Calvin and Hobbes
Are you tough enough to be the King of the Hill?
|

December 10th, 2003, 06:57 AM
|
 |
Captain
|
|
Join Date: Nov 2002
Location: Finland
Posts: 864
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
Looks like mines are quite powerful in Adamant, even the best mine layer sweeps only one mine. Or is there something I haven't noticed?
__________________
'The surest sign that there is intelligent life elsewhere in the universe is that none of it has tried to contact us.' Calvin and Hobbes
Are you tough enough to be the King of the Hill?
|

December 10th, 2003, 08:59 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
Far too cheap and easy to sweep any minefield in stock... 5 LC with MS II is all you need.
|

December 10th, 2003, 10:00 AM
|
 |
Captain
|
|
Join Date: Nov 2002
Location: Finland
Posts: 864
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
Well, that's true. In stock I have used mines only to prevent early attacks and operation of single cloaked ships.
__________________
'The surest sign that there is intelligent life elsewhere in the universe is that none of it has tried to contact us.' Calvin and Hobbes
Are you tough enough to be the King of the Hill?
|

December 13th, 2003, 12:24 AM
|
 |
Captain
|
|
Join Date: Nov 2002
Location: Finland
Posts: 864
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
We'd need a replacement player. Anybody willing to fill the spot?
__________________
'The surest sign that there is intelligent life elsewhere in the universe is that none of it has tried to contact us.' Calvin and Hobbes
Are you tough enough to be the King of the Hill?
|

December 13th, 2003, 09:43 AM
|
 |
Captain
|
|
Join Date: Nov 2002
Location: Finland
Posts: 864
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New PBEM/PBW Game: Adamant 011
Spot filled. 
__________________
'The surest sign that there is intelligent life elsewhere in the universe is that none of it has tried to contact us.' Calvin and Hobbes
Are you tough enough to be the King of the Hill?
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|