
02-02-2004, 10:55 PM
|
Mister 1,000,000
|
 |
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
|
|
1. The npc server program consist of following instructions:
- load options
-- connect to gserver
if connection can be established:
--- load levels
----load npcs from database
----- while the connection to the gserver is up:
------ get data from gserver;
this contains following type of data:
--player attributes
--temporary level data (bombs, explosions, bush removing, items, ...)
-- PMs
-- game time
-- levels to update/reload
-- server. flags added/deleted
---------- run all npc scripts
------------ send changed npc attributes to the players
--------------- send changed player attributes to the gserver & players
--------------------- wait till 0.1 seconds are over |
__________________
Quote:
Originally Posted by Lance
stefan is satan
|
I am the best.
[URL removed]Music or aural pollution?
|
|
|