thavidu's blog

Final Week todo list!

TO ALLOCATE:
Network buffer? no solution exists atm. but big problem.
Creep 2 Creep collision issue? no solution exists atm. but big problem. 
perhaps subtract from position on collision instead of just pausing.

** Possibly a score 'Kills: X', easy 5 min change.

Alan
	-Graphics, gui clean up
	-Powerup change
	-Weapon change
	-Creep animations
	-Minimap?
	-Colour freeze blue
	-visual creep feedback for damage or death
Sam
	-Sound changes?
	-Visual bullet changes
	-background music
Thavidu
	-Player health removed
	-Wizards to shoot back, freeze you
	-Turret
	-More levels or tuned levels enough for it to last 15 min of presentation.
Cory	
	-Only players should collide with powerups
	-Player shouldn't collide with their own bullet
	-AMMO has to replenish more smoothly, and maybe collidable portal.
Stephanie
	-Aiming, ray collision? (optional)
Diana
	-Player models

Network logic rough stuff

EDIT THIS WAS NEVER USED

Client Loop
------------
1. Check for network (check buffer)
2. Input (puts in the send buffer)
3. Render

Network thread

LOOP
1.checks if there is anything in the buffer (global/shared between all port threads)
2.sends stuff if there is
3.check for client
4.put in server buffer

Server Loop
------
(FRAME LIMITED)
1. Check network buffer for updates
2. Do game logic
3. Puts stuff in the port threads to send

SERVER network logic
------
HUB THREAD
Waits for connections on port 24800 (TCP)
Everytime it gets a connection it then re-routes to inc. ports from 24801 to +maxplayers.
Spawns a new PORT THREAD

PORT THREAD(port x)
Opens/listens on x (TCP)
Has a timeout FIXED, 60seconds, disconnects if no connection
Otherwise if client connects, they are added to game and game logic takes place
init phase over,
LOOP
1.checks if there is anything in the buffer (global/shared between all port threads)
2.sends stuff if there is
3.check for client
4.put in server buffer

New Site

New site is up and running! A lot more things will be added as we go =)

The first of which is the weekly report tonight...