Dennis Andersen
09f39ec26d
GameServer - Added acces directly to clients in network session
2014-01-30 14:15:25 +01:00
Sam Mario Svensson
261421af21
Merge remote-tracking branch 'origin/GameLogic-LevelFormat' into GameLogic
2014-01-30 13:44:18 +01:00
Dennis Andersen
05740665da
GameServer - Fixed a small error regarding not reaching some data
2014-01-30 11:11:04 +01:00
Dennis Andersen
fa29cd7307
GameServer - Merged with GameLogic
2014-01-30 00:19:00 +01:00
Dennis Andersen
1e89bb4e30
Fixed protocol messaging. Known crash when recieveing protocol on server after a while...
2014-01-29 15:01:14 +01:00
Dennis Andersen
36f057d2cc
Broekn branch not broekn more
2014-01-29 10:18:01 +01:00
Dennis Andersen
91e825dbfb
Broekn stuff to tobias
2014-01-28 09:00:02 +01:00
Sam Mario Svensson
1748fe323a
GL - Added Parsing functions for levelLoader and moved Packing classes to misc
2014-01-27 10:15:39 +01:00
Dennis Andersen
22a5db97f8
Added final protocols, and a bit of support for them on server side
2014-01-22 15:22:52 +01:00
Dennis Andersen
6c3c234be1
GameLogic - pree-sprint merge
2014-01-20 15:47:52 +01:00
Dennis Andersen
ceac5ce31d
Modified namespace around Threadsafe queue and IQueue. Added TCP_NODELAY to sockets. Implemented some functionality to gamelogic
2014-01-15 11:03:25 +01:00
Dennis Andersen
87b8c0c7bb
Gameserver - Merged with Gamelogic
2014-01-14 10:29:39 +01:00
Dennis Andersen
82de85d1ac
Fixed minor server network bug, modified shader to get visual
2014-01-14 10:15:50 +01:00
lindaandersson
04c5898f4e
GL - sending string and createOBJ working
2014-01-14 09:24:55 +01:00
Dennis Andersen
ce89e6bc98
GameServer - Fixed some minor bugs, one that made server crash on exit. Also integrated some of GameLogics new API functions
2014-01-13 12:44:33 +01:00
Dennis Andersen
a02a32c029
Network now closes listener gracefully, meaning threads dont crash anymore, also fixed a minor bug in Game folder
2014-01-09 14:18:01 +01:00
Dennis Andersen
42de421904
Master - Modified igore
2014-01-08 13:07:55 +01:00
Dennis Andersen
ed202a15a2
Worked over the holidays
2014-01-07 10:26:09 +01:00
Dennis Andersen
beb116e964
Fixed some threafing and stuff
2013-12-19 12:32:23 +01:00
Erik Persson
4d7be753c5
Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameLogic
2013-12-18 08:32:20 +01:00
Erik Persson
8173f3818d
gamelogic update and added some level design elements
...
teammanager, team,
2013-12-18 08:30:58 +01:00
Pontus Fransson
d4e92d4bbe
Network - Fixed clear string in Translator.
2013-12-18 00:21:00 +01:00
Pontus Fransson
745268eeed
Network - Removed line so it doesn't causes error.
2013-12-18 00:15:21 +01:00
Pontus Fransson
623267ad1b
Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic
2013-12-18 00:10:47 +01:00
Pontus Fransson
fc8dba6610
Network - Fixed Unpackb.
...
Changed Unpackb to "*buffer" instead of "buffer".
2013-12-18 00:08:50 +01:00
Pontus Fransson
e1d0150ef1
Network - OysterByte += should now work correctly.
2013-12-18 00:07:24 +01:00
Pontus Fransson
4df33b759c
Network - char[] unpacking.
...
Fixed correct unpacking on char[].
Fixed not clearing string in translator unpack function.
2013-12-18 00:04:25 +01:00
Dennis Andersen
8700824d12
Gamlogic - Merge with Linda
2013-12-17 14:32:57 +01:00
Dennis Andersen
097fa1da34
GameLogic - Pre merge with Linda
2013-12-17 14:15:20 +01:00
Linda Andersson
9d722bced3
GL - recieve messages from server
2013-12-17 13:39:10 +01:00
Dennis Andersen
682a28513b
Gamelogic - Merge with network
2013-12-17 11:35:34 +01:00
Pontus Fransson
7c029a5242
Network - Fixed bugs
2013-12-17 10:58:07 +01:00
dean11
4650615a61
Gamelogic - Pre merge with Linda
2013-12-17 10:25:34 +01:00
Pontus Fransson
cbf3c7db8f
asd
2013-12-17 09:05:49 +01:00
Pontus Fransson
f31da90830
Network - Connection set blocking to true while connecting.
2013-12-17 09:05:32 +01:00
Pontus Fransson
23a05bf431
Network - OysterByte += operator
2013-12-17 08:45:47 +01:00
dean11
abc94e9acb
Nothing important done
2013-12-17 00:51:42 +01:00
Pontus Fransson
e4e0e1c189
Network - Fixed delay loading dll.
2013-12-16 19:58:31 +01:00
dean11
ec3c5f1290
Gamelogic - Added threading functionality to NetworkClient
2013-12-16 11:05:24 +01:00
Sam Mario Svensson
1c8f9c7801
Fixed link errors with dll files
2013-12-16 11:04:21 +01:00
Pontus Fransson
8a8cfcc5d6
Network - Forgot to use Initiateclient().
2013-12-16 09:48:41 +01:00
Pontus Fransson
3a752f6b95
Network - Merge with gamelogic
2013-12-16 09:09:48 +01:00
dean11
9eb8fcba40
Gamelogic - Publication to others...
2013-12-16 09:00:11 +01:00
Pontus Fransson
7acb3a3613
Network -
2013-12-16 08:59:38 +01:00
dean11
17aa38d865
GameLogic - Merge with network, resolved 2 merging errors
2013-12-14 22:54:24 +01:00
dean11
8b1c2b91e8
Fixed some craches and stuff
2013-12-13 23:47:16 +01:00
Pontus Fransson
94ccd91828
Network - Added comments
2013-12-13 08:23:54 +01:00
Pontus Fransson
2ddb984a2b
Network - Fixed bugg, and small fixed
...
Using sizeof in MessageHeader class.
Fixed bugg in Translator.
2013-12-13 08:17:05 +01:00
dean11
4617523f8b
Gamelogic - Commit because branch switch
2013-12-12 20:32:54 +01:00
Pontus Fransson
092f83a084
Network - Id on client and == operator.
2013-12-12 15:33:11 +01:00
dean11
71d31db884
GAMELOGIC - Fixed a minor major huge issue with no problems
2013-12-12 14:37:35 +01:00
Pontus Fransson
94651ec77a
Network - Added stop in listener destructor.
2013-12-12 14:14:48 +01:00
dean11
d0bd60c856
Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic
2013-12-12 12:23:55 +01:00
Pontus Fransson
c661d26d2a
Network - Not deleting smart pointers anymore.
2013-12-12 12:23:35 +01:00
dean11
a5ee468795
Merge branch 'Network' of https://github.com/dean11/Danbias into GameLogic
2013-12-12 12:17:52 +01:00
dean11
9b9a92556a
Pre-merge with network, (again)
2013-12-12 12:17:39 +01:00
Pontus Fransson
e9b41f8cb8
Network - Fixed copy construct
2013-12-12 12:14:53 +01:00
Pontus Fransson
49cfbbebd5
Network - Changed to CustomProtocolObject on send.
2013-12-12 10:32:43 +01:00
Pontus Fransson
04436258a5
Network - Non-blocking
2013-12-12 09:24:57 +01:00
Pontus Fransson
bbe59836da
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-12-11 21:45:51 +01:00
Pontus Fransson
5a3188d5f6
Network - NetworkServer, NetworkClient, Translator
...
First version of the NetworkAPI. It should work.
2013-12-11 21:45:43 +01:00
dean11
d95d771c43
Network - Merged with Gamelogic
2013-12-10 14:00:20 +01:00
Pontus Fransson
e06ee31754
Network - First basic API.
2013-12-10 08:32:08 +01:00
Pontus Fransson
d27dcbe5b6
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-12-09 22:22:40 +01:00
Pontus Fransson
2cb8bbd8a9
Network - IServer running on separate thread.
...
IServer accepting clients.
2013-12-09 22:22:05 +01:00
dean11
9d264b0d89
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-12-09 14:24:12 +01:00
dean11
5473c5160f
NETWORK - Modified the protocol creation structure
2013-12-09 14:23:30 +01:00
Pontus Fransson
b72fb21b07
Network - Fixed all thread related crashes.
...
The crashes was caused by OysterMutex, so i changed all OysterMutex to
std::mutex instead.
2013-12-09 10:48:43 +01:00
Pontus Fransson
a79dc61159
Network - Stuff
2013-12-08 23:56:17 +01:00
Pontus Fransson
bbb79a4ba9
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-12-06 10:46:05 +01:00
Pontus Fransson
5465ccf51a
Network - Started implementing Server,client,session.
2013-12-06 10:45:53 +01:00
dean11
cb8fee9227
NETWORK - Added network custom protocol
2013-12-06 10:00:58 +01:00
Sam Mario Svensson
cc793851af
Network- set blocking mode
2013-12-04 14:59:00 +01:00
Pontus Fransson
df1594a43b
Network - Fixed small errors
2013-12-04 14:58:15 +01:00
Pontus Fransson
e81062b875
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-12-04 12:41:37 +01:00
Pontus Fransson
f0dff0b728
Network - Starting to implement correct shutdown connection.
2013-12-04 12:41:25 +01:00
Sam Mario Svensson
79cf9df111
Network - changed from & to smartpoints
2013-12-04 12:40:49 +01:00
lanariel
f29af8b8bd
Release Now Stable
2013-12-04 09:36:43 +01:00
Pontus Fransson
df1470eb2c
Network - Send/Recv both ways.
...
Impl: SetBlockingMode() : Connection.
Impl: Resize() : OysterByte.
Remade Clear() : OysterByte.
Added bool return if FetchMessage() succeded or failed : PostBox.
Fixed a few errors with mutex on ThreadedClient.
Added missing mutex unlock in ThreadSafeQueue.
2013-12-03 23:12:48 +01:00
Pontus Fransson
e837b80e43
Network - Fixed warning, made functions private.
...
Fixed warnings.
Made functions regarding the thread private in listener.
2013-12-03 13:20:50 +01:00
Sam Mario Svensson
1466c0db31
Network - projectfile fix
2013-12-03 13:16:44 +01:00
Sam Mario Svensson
aa19002cbe
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
...
Conflicts:
Code/Network/NetworkDependencies/NetworkDependencies.vcxproj.filters
2013-12-03 13:12:17 +01:00
Sam Mario Svensson
10c1dc57f3
merge fix
2013-12-03 13:08:04 +01:00
Sam Mario Svensson
aa4cf634d3
Client interface and class for both server and client. now using postbox system
2013-12-03 13:04:53 +01:00
Pontus Fransson
d78b48319d
Network - Added MessagePlayerPos
...
Added MessagePlayerPos
Fixed bugg with adding float array.
2013-12-03 11:46:46 +01:00
Sam Mario Svensson
3c681352da
Documentation of the code done by Sam
2013-11-29 09:19:14 +01:00
Pontus Fransson
407f3c5c9a
Added documentation and removed unecessesary code.
2013-11-29 09:11:30 +01:00
Sam Mario Svensson
1cbdb0bcfa
cleanup commented section in ClientMain
2013-11-29 08:59:36 +01:00
Pontus Fransson
8dab865cb6
Changed to our own Queue
2013-11-28 16:20:50 +01:00
Pontus Fransson
1453d81a9d
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-11-28 16:15:41 +01:00
Pontus Fransson
1617606145
PostBox
...
Created PostBox and IPostBox.
Listener post new clients to PostBox.
2013-11-28 16:15:28 +01:00
Sam Mario Svensson
23fa090296
Threadsafe Queue implemented with IQueue interface
...
threadsafe by using mutex lock in the Queue
2013-11-28 16:14:59 +01:00
Pontus Fransson
0c40ca1be5
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
2013-11-28 08:52:22 +01:00
Pontus Fransson
00e02b6909
Removed OysterMath from OysterNetworkClient
2013-11-28 08:52:11 +01:00
Sam Mario Svensson
a59cd54688
enum type naming fixed continued.
2013-11-28 08:51:21 +01:00
Sam Mario Svensson
d29046652e
enum type naming fixed
2013-11-28 08:40:38 +01:00
Pontus Fransson
6e24acea2b
Listener's Accept() is now threaded.
...
Added function private to Connection SetBlockingMode(bool blocking); But
it doesn't do anything yet.
Listener is now accepting clients in a thread.
GetNewClient() returns the socket that has connected. -1 if there is no
new client connected. (Can only connect 1 client at a time.)
The simple chat program is not working anymore because of changes in the
server.
2013-11-27 14:33:08 +01:00
Pontus Fransson
43b111f0d3
Pull MiscBranch
2013-11-27 11:28:11 +01:00
Pontus Fransson
aeddc032d9
Merge branch 'Network' of https://github.com/dean11/Danbias into Network
...
Conflicts:
Code/Network/NetworkDependencies/Connection.cpp
Code/Network/NetworkDependencies/Connection.h
Code/Network/NetworkDependencies/IConnection.h
Code/Network/OysterNetworkClient/Client.cpp
Code/Network/OysterNetworkClient/Client.h
Code/Network/OysterNetworkClient/ClientMain.cpp
Code/Network/OysterNetworkServer/Client.cpp
Code/Network/OysterNetworkServer/Client.h
Code/Network/OysterNetworkServer/ServerMain.cpp
2013-11-27 11:06:03 +01:00
Pontus Fransson
214e29e906
OysterByte
...
Added Byte class instead of handling byte messages manually.
Converted all functions to use OysterByte.
2013-11-27 11:01:22 +01:00