1
0
Commit Graph

8702 Commits

Author SHA1 Message Date
Howaner
d32831d7e8 Set reuse flag to sockets
Should fix #1726
2015-02-07 11:03:38 +01:00
Howaner
ca591c15a0 Spacing 2015-02-07 10:46:01 +01:00
Howaner
d36e8ffd77 Updated IsOnGround() documentation 2015-02-07 10:46:01 +01:00
Howaner
7813cd2022 cPlayer should override IsOnGround() 2015-02-07 10:46:01 +01:00
Howaner
9b9ce6fa3b Added IsOnGround() to cEntity 2015-02-07 10:45:45 +01:00
Howaner
7528230596 Readded old comment 2015-02-06 21:54:47 +01:00
Howaner
2c7925f0ad Merge branch 'master' into Inventory 2015-02-06 21:52:14 +01:00
Mattes D
adf0020cd4 APIDump: Added cNetwork documentation. 2015-02-06 18:44:05 +01:00
Mattes D
d1c9ce2a03 NetworkTest plugin: updated comments and splash loading. 2015-02-04 10:39:48 +01:00
Mattes D
0e769f12ac LuaServerHandle: Removed debugging output. 2015-02-04 08:42:28 +01:00
Mattes D
014b96adb3 Exported cServerHandle and cNetwork:Listen to Lua.
Also added an example to the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
17498a97a2 cNetwork: Exported lookup functions to Lua API.
Also added an example in the NetworkTest plugin.
2015-02-04 08:40:52 +01:00
Mattes D
04347084d6 NetworkTest plugin: Added cNetwork:Connect test code. 2015-02-04 08:40:51 +01:00
Mattes D
e098728fa8 cTCPLink: Fixed missing addresses on link connection. 2015-02-04 08:40:51 +01:00
Mattes D
360c632e36 cNetwork: Exported the Connect() method and cTCPLink class to Lua. 2015-02-04 08:40:50 +01:00
tycho
e7424adbf4 Switched LuaState to use sizeof... 2015-01-31 15:44:14 +00:00
Mattes D
fd49e34e33 Merge pull request #1713 from mc-server/UseLibevent
Use libevent
2015-01-30 08:40:45 +01:00
Matyas Dolak
c329bd28ec Updated PolarSSL. 2015-01-29 15:10:20 +01:00
Mattes D
64a16a7309 CheckBasicStyle: Fixed a forgotten file close. 2015-01-29 11:10:32 +01:00
Mattes D
076c87f797 Fixed missing LibEvent reference in OSSupport. 2015-01-29 07:40:01 +01:00
Mattes D
32dd102988 Updated PolarSSL. 2015-01-27 17:40:16 +01:00
Mattes D
1d69cad676 Updated LibEvent. 2015-01-27 16:26:35 +01:00
Mattes D
79dee9bb70 Fixed listening ports not closed on cServerHandle::Close. 2015-01-27 14:53:39 +01:00
Mattes D
de7f5fc794 Fixed server failure to open any port not aborting the server. 2015-01-27 14:53:38 +01:00
Mattes D
19d463ae1c Fixed a deadlock in cClientHandle network sending. 2015-01-27 14:53:38 +01:00
Mattes D
053362e604 Added network termination called at app exit.
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor.
2015-01-27 14:53:37 +01:00
Mattes D
9a2200f8bb cTCPLinkImpl: Added the BEV_OPT_THREADSAFE flag. 2015-01-27 14:53:37 +01:00
Mattes D
2557f2867d ServerHandleImpl: Removed needless diagnostic output. 2015-01-27 14:53:36 +01:00
Mattes D
4eecf9363a Client: Only decode protocol when there's actual data incoming. 2015-01-27 14:53:36 +01:00
Mattes D
b3437c5b01 Added LibEvent license to the binary distribution pack. 2015-01-27 14:53:35 +01:00
worktycho
96def00c7c Fix clang compile error 2015-01-27 14:53:35 +01:00
Mattes D
1b9c0f1030 Removed cFile::ReplaceFileNameInvalidChars().
Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems.
2015-01-27 14:53:34 +01:00
Mattes D
edce2cbdcf Fixed enchant packet handling. 2015-01-27 14:53:34 +01:00
Mattes D
e8a9f0a5df Turned off echo in Windows script. 2015-01-27 14:53:33 +01:00
Mattes D
13091e0fa0 RCONServer: Changed variables to UInt32. 2015-01-27 14:53:33 +01:00
Mattes D
6ec5e8caa7 Replaced atoi() with StringToInteger(). 2015-01-27 14:53:32 +01:00
Mattes D
f243aa387c Removed ListenThread and SocketThreads.
They have been replaced by the cNetwork API.
Socket.cpp is still used by RCONClient.
2015-01-27 14:53:32 +01:00
Mattes D
86f2f82d2a BlockingSslClientSocket: Migrated to cNetwork API. 2015-01-27 14:53:31 +01:00
Mattes D
7dfeb67f01 Converted cServer to use the cNetwork API. 2015-01-27 14:53:31 +01:00
Mattes D
1f2f8b553b cNetwork: Fixed IP address reading for incoming connections. 2015-01-27 14:53:30 +01:00
Mattes D
978fc6a988 Protocol18: Fixed failure with invalig logfile names. 2015-01-27 14:53:30 +01:00
Mattes D
f1f12495b2 cFile: Added ReplaceFileNameInvalidChars(). 2015-01-27 14:53:29 +01:00
Mattes D
7cff25f0ff StringUtils: Fixed bad predicate in MergeStringVectors().
Instead of preventing duplicates it was allowing only duplicates.
2015-01-27 14:53:29 +01:00
Mattes D
28ffc55d89 RCON server: fixed compilation. 2015-01-27 14:53:28 +01:00
Mattes D
b93903db23 Fixed RCONClient compilation. 2015-01-27 14:53:28 +01:00
Mattes D
9e61ad8c74 Migrated RCON server to cNetwork API. 2015-01-27 14:53:27 +01:00
Mattes D
059af2efdc Fixed a crash in RCON server. 2015-01-27 14:53:27 +01:00
Mattes D
80a386cbc4 Fixed missing LibEvent reference in OSSupport. 2015-01-27 14:53:26 +01:00
Mattes D
f477b524bb WebAdmin uses the new cNetwork API. 2015-01-27 14:53:26 +01:00
Mattes D
7990d223ea IniFile: Added common code to migrate ports.
Old settings have IPv4 and IPv6 ports as separate values, new settings have a single value for the ports.
2015-01-27 14:53:25 +01:00