Commit graph

241 commits

Author SHA1 Message Date
Alistair Riddoch
215766ba4b Remove unused Entity.h include 2013-01-18 19:50:49 +00:00
Alistair Riddoch
95b078249a Rename database variable for disambiguation 2012-08-13 20:01:27 +01:00
Alistair Riddoch
d948e097f3 Add a new class for cleaner local clients 2012-07-31 23:42:35 +01:00
Alistair Riddoch
121137c490 Make template more flexible 2012-07-31 23:32:22 +01:00
Alistair Riddoch
e54995056d Use TCP listener factory for dynamic ports too 2012-07-25 21:34:20 +01:00
Alistair Riddoch
9cfc20606c Open the main listen socket with the factory
We now are listening correctly on dual stack!
2012-07-24 17:01:10 +01:00
Alistair Riddoch
c80adab634 Move code for listening into a factory class 2012-07-24 16:51:12 +01:00
Alistair Riddoch
b7bbf9f013 Remove debug output 2012-07-24 08:39:12 +01:00
Alistair Riddoch
96d42785c5 Switch to shared_ptr so listeners can share factories 2012-07-24 08:35:33 +01:00
Alistair Riddoch
83118ef6b7 Naive first pass dual stack listening
Make use of new skstream functionality to open two listen sockets on the
same port, one of each stack. This way is better than opening a single
socket for multiple stacks, as it is more portable.
2012-07-20 16:21:31 +01:00
Alistair Riddoch
7f15f86e54 Remove unused header 2012-07-20 01:13:34 +01:00
Alistair Riddoch
022a71384c Room duplicate classes and separate out deps 2012-03-14 15:57:24 +00:00
Alistair Riddoch
693012e188 No need to specialize this template explicitly 2012-03-05 14:15:34 +00:00
Alistair Riddoch
850819f8a0 Move the comments around 2012-02-06 20:52:39 +00:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
be735604b3 Move mind creation to the property
Also clean up factory, make more flexible and use shared script factory
code.
2011-12-15 18:33:32 +00:00
Alistair Riddoch
7f4ae74c99 Change error message to more sensible message 2011-11-01 19:01:26 +00:00
Alistair Riddoch
875fd723ad Remove obsolete argument from ComMServer constructor 2011-10-31 13:04:38 +00:00
Alistair Riddoch
e949f36c6c Use the new class for time updates 2011-10-31 11:19:33 +01:00
Alistair Riddoch
d6edd6ab09 Remove unused include 2011-10-31 10:38:31 +01:00
Alistair Riddoch
8d90a28a75 Add new class encapsulating gettimeofday 2011-10-31 10:35:37 +01:00
Alistair Riddoch
3ae768d993 Avoid metaserver code using link from commserver to server 2011-10-30 01:26:13 +02:00
Alistair Riddoch
34556ed9a4 Hold a reference to server from client factory 2011-10-30 01:04:36 +02:00
Alistair Riddoch
843a4d565d Separate out calling idle and poll 2011-10-29 05:51:15 -07:00
Alistair Riddoch
b81787a2a8 Remove the use of stack for top level server objects 2011-10-02 16:56:29 +01:00
Alistair Riddoch
5f785e79c8 Merge branch 'master' into bullet_physics
Conflicts:
	TODO
	configure.ac
2011-05-03 17:13:04 +01:00
Alistair Riddoch
a62fcb89be Remove the hacked in server account creation 2011-02-28 18:53:58 +00:00
Alistair Riddoch
723ff1280c Remove unused username and password members from CommPeer 2010-12-09 16:05:57 +00:00
Alistair Riddoch
217459c9ef Always pass in integer ID when creating objects. 2010-11-26 16:07:29 +00:00
Alistair Riddoch
65f259272c Remove the concept of a dedicated peer port 2010-11-26 11:04:44 +00:00
Manohar Vanga
4adbdddecf Cleaned up CommPeer setup code in server/server.cpp 2010-08-17 11:58:21 +05:30
Manohar Vanga
28e46144e3 Added initialization and deletion calls for TeleportAuthenticator in server.cpp 2010-08-17 11:58:18 +05:30
Manohar Vanga
446913d6d4 Removed incorrect peer code from server.cpp 2010-08-17 11:58:16 +05:30
Manohar Vanga
aa0e9d91ff Added peer objects to ServerRouting so we can find them later 2010-08-17 11:58:16 +05:30
Manohar Vanga
894b772f95 Added some error checking in server.cpp 2010-08-17 11:58:16 +05:30
Manohar Vanga
c1b5549077 Changed separator to | from , 2010-08-17 11:58:16 +05:30
Manohar Vanga
0807d4371e Fixed peer negotiation and login op sending 2010-08-17 11:58:16 +05:30
Manohar Vanga
2a91eb2a80 Fixed startup code to use new constructor. Added call to read(). 2010-08-17 11:58:16 +05:30
Manohar Vanga
92d5f89ee1 Removed exit-on-failure during peer connection 2010-08-17 11:58:16 +05:30
Manohar Vanga
5d9c9132a4 Added some helpful log() calls to detect issues more easily 2010-08-17 11:58:16 +05:30
Manohar Vanga
0eb45f7a36 Added a read() to initialize m_encoder in CommPeer 2010-08-17 11:58:15 +05:30
Manohar Vanga
a0f3c02823 Added automatic login for peers at time of connection (broken) 2010-08-17 11:58:15 +05:30
Manohar Vanga
deb966ec0b Fixed memory leak caused by peer connection errors 2010-08-17 11:58:15 +05:30
Manohar Vanga
198d64d702 Modified config method for peer connections at startup 2010-08-17 11:56:56 +05:30
Manohar Vanga
4fea79b16d Added automatic server account name generation 2010-08-17 11:56:55 +05:30
Manohar Vanga
f1f6cda48a Peer list is now loaded from ~/.cyphesis.vconf 2010-08-17 11:56:10 +05:30
Manohar Vanga
934e29b4de Added connecting of a single peer during startup 2010-08-17 11:56:10 +05:30
Manohar Vanga
8bf764b4d8 Added a class for facilitating inter-server communication 2010-08-17 11:56:08 +05:30
Manohar Vanga
7ea6378639 Created default ServerAccount (changed name Server --> ServerAccount) 2010-08-17 11:47:59 +05:30
Alistair Riddoch
035f25e5dd Start work on a test movement domain class for handling collisions with bullet. 2010-08-10 00:54:25 +01:00