lp:openfracas/networking

Created by Nathaniel Sherry and last modified

This branch focuses on adding support for network play to OpenFracas.

Get this branch:
bzr branch lp:openfracas/networking
Only Nathaniel Sherry can upload to this branch. If you are Nathaniel Sherry please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Nathaniel Sherry
Project:
OpenFracas
Status:
Experimental

Recent revisions

29. By Nathaniel Sherry

fixed issue where events comming to client before the cache was initialized would crash game

28. By Nathaniel Sherry

networkclient_client fires disconnect event instead of generic abort event. Closing unoccupied network connections when starting a game. Properly regenerating neighbour lists when merging game/map when running locally after a disconnect. NetworkClient_Client returns local map cache on fGetMap. Caching slot-filled values for network speed. Moved logic for running a network game as local into ofmanager. gameserver transmits a resume event before waiting for inputs -- this was causing the AI to hang when resuming a disconnected network game.

27. By Nathaniel Sherry

added arrow beside network player in the new game dialogue so that several network players know which one they are. Fixed bug retrieving country/lake names -- these are a property of the map, not the game.

26. By Nathaniel Sherry

added CoreGameInterface to bzr, missed it in the last commit

25. By Nathaniel Sherry

Scrapped NetworkClient cache idea and now simply use the Serialze mechanism to send the entire game object (sans map data) with each turn. This has the added advantage that there is an easy way to add a feature that lets a client keep playing against AIs after a disconnection. Also separated the GameServer class into CoreGameInterface, a set of read-only methods which should be a stateless method of accessing the game/gameplay objects, and the GameServer class, a subclass of CoreGameInterface, which provides mechanisms like submitting actions and broadcasting events. The new NetworkClient cache uses a CoreGameInterface locally for the read-only access to game data, and thus can treat it much the same as a GameServer object

24. By Nathaniel Sherry

removed simulated delay from networkclient_serverside

23. By Nathaniel Sherry

when host disconnects, networkclient_clientside fires an abort event which causes the client to be closed, set to nil, and the gameboard to be hidden. UI not properly reset, though.

22. By Nathaniel Sherry

turned quitting into an action, so that it would send out events in order through the gameservers action-in-event(s)-out ordering mechanism

21. By Nathaniel Sherry

more logic to get the connections to all terminate after closing the game over dialogue

20. By Nathaniel Sherry

simplified game-over window constructor, started work on disconnecting clients from the gameserver after the game is over.More work, testing needed

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers