PDA

View Full Version : Basic Theories for Text Based MMO


delifisek
02-10-2007, 04:31 PM
Greetings,

First, english is not my native language.

Then here my questions.

I'm Web developer and game addict from c64 days. Even in these days I was dreaming a game development and i fail to learn programming in Assembler and other languages.

After some time I meet that php thing and start to programming after 7 years later I can deal many aspects of multi user, multilanguage, database driven, dynamic web sites.

So in these days I want to try my shot about the game programming and decite to copy Famous Ogame...

Then hit the wall. Articles about developing web based games nearly zero.
For example, how can I handle thoose fleet movements and battles.

em I write for cli based daemon for big game loop ? or what I should to do ?

Need the directions, about strategic game programming. Some php expertize would be wonderfull.

Thanks for supporting.

Regards

Reedbeta
02-10-2007, 05:11 PM
I believe the usual technique is to set up a cron job on the server that runs some update script every so often. This lets you handle time-based aspects of the game that need to occur without a user making a request.

GameEngine_Designer
02-11-2007, 01:36 AM
lOl, wow, you must be old... I am 15 years old, and i ahve 5 years of experince in C++ I am also I web designer, not a known for it yet, but soon! I am joined with soo many projects 3D-2D-Idometric games as a C++ programmer and WebMaster. I am now working on my own with a new, Graphical, Online Role-Playing Intensive, Hack & Slash, PvP MUD.


How hard is ASM? I always wanted to learn it.. I'll probably buy a book or two on it some time..

Dom_152
02-11-2007, 02:31 AM
How hard is ASM? I always wanted to learn it.. I'll probably buy a book or two on it some time..

It takes time to learn what all the registers are for and what they do and how you should move data between them. But once you've got it it's easy.

GameEngine_Designer
02-11-2007, 03:29 AM
Just like anyother language, awsome.

delifisek
02-11-2007, 02:31 PM
I believe the usual technique is to set up a cron job on the server that runs some update script every so often. This lets you handle time-based aspects of the game that need to occur without a user making a request.

Yes,
Today, I wrote a daemonized php script. A endless loop (aka big game loop).

Plus I create some kind of schedule mechanism. A handler script takes user request. Process and converts to event request and put the event table. Then big game loop checks the event table. If the event time comes. takes event(s) process, update data then delete event.

I still feel lost about strategic game development aspects.

Is there any paper about it...

Regards

Nils Pipenbrinck
02-11-2007, 05:28 PM
It takes time to learn what all the registers are for and what they do and how you should move data between them. But once you've got it it's easy.

Nah. ASM is easier to learn than most other languages. It's harder to do something usefull with it though.