View Single Post
  #3  
Old 02-02-2004, 10:55 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
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?
Reply With Quote