[PHP] Re: server side games question

2001-11-16 Thread Brinkman, Theodore

Sorry for sending this message through the list, but I'm getting mail errors
when I try to send it directly.

- - - - -

Sorry it took so long.  The generation scripts aren't very fleshed out, 
and neither is the display format, but it's a good solid example of the 
basic example.  Every main unit of distance (tile, sector, screen, 
etc...) has a key which can be calculated from nothing more than it's 
location, and this key is used to generate pseudo-random information 
about that location.  Obviously, in a game where that information could 
change, a database of some sort would be needed to record those changes, 
but you don't need to store every bit of data about every section of a 
1000 x 1000 universe.

The scripts I created are attached.  I haven't tinkered with them for a 
while, so I'm not completely familiar with them any more, but you can 
pretty much navigate through them starting from index.php.

- Theo

- - - - -
Remember, the guy who has to maintain your code may know where you live.


 BFconfig.php  BattleFleet.css  combat.php  index.php  
alert.txt  map.php  page.php  login.php  sector.php 
-Original Message-
From: Brown, Daniel (staff) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 10:19 AM
To: '[EMAIL PROTECTED]'
Subject: Re: server side games question


What's the project? Don't know yet probably some form of wargame I would
imagine a time based RTS or something (i'm not sure yet).  I've not done
any
decant C/C++ coding for too long and am now getting must
code-something-cool-soon feeling last time this happened I ended up making
a
3d landscape generator

I would be interested to see your code for generating a star map, its
something I have always thought of doing and have never quite got round to
doing!

Cheers,

Daniel

Theodore Brinkman [EMAIL PROTECTED] wrote in
message
news:[EMAIL PROTECTED]...

PHP will do fine.  What's the project?  I'm a wannabe game developer, and

I

had a bit of fun a few months back with randomly generated, but
reproducable, game worlds (in my case it was a star map for a space

conquest

type of game).  It's a really neat concept, and its how alot of the 'big
world' games were done when games came on floppy disks.  

The code isn't very polished, but if you're interested in that sort of
thing, I can dig it up and fire it off to you.

  - Theo

-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 5:32 AM
To: [EMAIL PROTECTED]
Subject: server side games question


Hi,

Right I'm still pretty new to server side programming and have a few
questions regarding the possible uses of existing technology in
'low-tech'
(not 3d FPS/RTS/RPGs) online games.  As I understand it PHP is used to
add
dynamic content to HTML (from MySQL database for example) and it is also
possible to write applications in C/C++ that run on server computer (SUSE
7.2 + APACHE for example) that update databases at set time intervals.  I

am

a games programmer and was wondering if it would be possible to code the
following system which would run on an SUSE Apache server box:

An database containing client and game data (use MySQL?),
An HTML/PHP based front end (is PHP best choice for this?),
A Some form of application that process the game or turn info (in the DB)

at

set time intervals and updates the game database with it (use C/C++?).

I am competent in C/C++, ok at php and ok at MySQL but not sure how to
fit
it all together like how do I go about creating an application that
process's the database?  Can any one suggest sites/books/people who I

could

read/ask to find out more about this idea?  Also are the languages I
specified the best languages to use for this?  I am open to suggestions

and

constructive criticism.

Cheers,

Daniel









   Network Associates GroupShield Exchange  **
  Alert generated at: Friday, November 16, 2001 12:19:51 AM Eastern Standard 
Time
**


The file login.html has been replaced.
Please consult your administrator for further help
and remember to quote your ticket number: OA2114_1005887991_OHDAYTOXCHG3


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP] Re: server side games question

2001-11-13 Thread Julio Nobrega Trabalhando

  Hi!

  For the programming language, I would go with PHP over any other. Yes,
yes, there's no best language for every task, but with your C++ background
it should be easy to develop advanced techniques on PHP than on others on
short time.

  Depending from what you meant with 'background apps to update database',
you could even use Cron on Linux or At on Windows. These will run php files
for you that you can use to maintain the db.

  I've seen and played a lot of online role playing games on the last couple
years. Most were done on Perl, and it's time to develop one on PHP! :-)

  I've tried but my lack of time prevented me to continue a similar open
source project. It's was an IA game of 'life-simulation', where you would
buy a house, work, buy gear/cars/furniture/etc... Sponsors would come from
these products. It was a pretty good idea, you would be able even to get a
politics career for mayor, governor, etc... Too bad I had to stop.

  Anyway, here's a link that might help you with ideas and codes.

http://sourceforge.net/softwaremap/trove_list.php?form_cat=80discrim=183

--

Julio Nobrega

A hora está chegando:
http://toca.sourceforge.net
Daniel [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi,

 Right I'm still pretty new to server side programming and have a few
 questions regarding the possible uses of existing technology in 'low-tech'
 (not 3d FPS/RTS/RPGs) online games.  As I understand it PHP is used to add
 dynamic content to HTML (from MySQL database for example) and it is also
 possible to write applications in C/C++ that run on server computer (SUSE
 7.2 + APACHE for example) that update databases at set time intervals.  I
am
 a games programmer and was wondering if it would be possible to code the
 following system which would run on an SUSE Apache server box:

 An database containing client and game data (use MySQL?),
 An HTML/PHP based front end (is PHP best choice for this?),
 A Some form of application that process the game or turn info (in the DB)
at
 set time intervals and updates the game database with it (use C/C++?).

 I am competent in C/C++, ok at php and ok at MySQL but not sure how to fit
 it all together like how do I go about creating an application that
 process's the database?  Can any one suggest sites/books/people who I
could
 read/ask to find out more about this idea?  Also are the languages I
 specified the best languages to use for this?  I am open to suggestions
and
 constructive criticism.

 Cheers,

 Daniel





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: server side games question

2001-11-13 Thread Galkov Vladimir

Good day!

 Some time ago I tried to create game server for games on line(people with
people)... poker, preferance, chess and so on well as I was wery new in
this action I tried diferent languages and even operation systems.

 At last (for some hawy rezons :-) ) I stoped on Client-Server model
(Delphi+any database
supported ODBCBDE) on Win NT (I feel that beter way is the same model
on Unix 
C++ but I am not expiriensed in Unix process  memory organization so have
to use more light way). So the best way for online games is write your own
client and server on C++  but use Appach-Some_Browser(by the way what it
will be? IE1,2,3,4,5,6? NC? Mozilla? object model support?).
 There much gains you reciving using the model (first you know how it works
+ low trafick).


Well but if you simply whant create games like Tetris or Digger online
(man.server) than ofcouse better use IE5-6 as client (with it exelent
object model) and server on PHPMySQL.

Vladimir.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] RE: server side games question

2001-11-13 Thread Brinkman, Theodore

PHP will do fine.  What's the project?  I'm a wannabe game developer, and I
had a bit of fun a few months back with randomly generated, but
reproducable, game worlds (in my case it was a star map for a space conquest
type of game).  It's a really neat concept, and its how alot of the 'big
world' games were done when games came on floppy disks.  

The code isn't very polished, but if you're interested in that sort of
thing, I can dig it up and fire it off to you.

- Theo

-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 5:32 AM
To: [EMAIL PROTECTED]
Subject: server side games question


Hi,

Right I'm still pretty new to server side programming and have a few
questions regarding the possible uses of existing technology in 'low-tech'
(not 3d FPS/RTS/RPGs) online games.  As I understand it PHP is used to add
dynamic content to HTML (from MySQL database for example) and it is also
possible to write applications in C/C++ that run on server computer (SUSE
7.2 + APACHE for example) that update databases at set time intervals.  I am
a games programmer and was wondering if it would be possible to code the
following system which would run on an SUSE Apache server box:

An database containing client and game data (use MySQL?),
An HTML/PHP based front end (is PHP best choice for this?),
A Some form of application that process the game or turn info (in the DB) at
set time intervals and updates the game database with it (use C/C++?).

I am competent in C/C++, ok at php and ok at MySQL but not sure how to fit
it all together like how do I go about creating an application that
process's the database?  Can any one suggest sites/books/people who I could
read/ask to find out more about this idea?  Also are the languages I
specified the best languages to use for this?  I am open to suggestions and
constructive criticism.

Cheers,

Daniel



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]