1
0
Commit Graph

27 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
bc421842c6 Added a basic RCON protocol
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1628 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-27 15:14:20 +00:00
madmaxoft@gmail.com
360c579105 Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACK
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1596 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 20:24:22 +00:00
madmaxoft@gmail.com
67154217a2 Added base Code::Blocks project (WIP, still doesn't compile) and fixed some source errors with MinGW.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1510 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-25 14:59:41 +00:00
madmaxoft@gmail.com
7741de1dbf File: Added file rename and deletion functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1436 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-01 16:59:36 +00:00
madmaxoft@gmail.com
0e35f2225a ListenThread: Fixed socket-querying, might have crashed some linux versions.
Hopefully this fixes FS #345

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1345 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01 13:35:42 +00:00
madmaxoft@gmail.com
025ee983d4 ListenThread now reports the protocol used (IPv4 - IPv6) in its error messages
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1322 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29 18:27:07 +00:00
madmaxoft@gmail.com
a4e6a027a1 Fixed a problem in Linux handling of ListenThread.
A closed socket doesn't seem to wake up a select() call on that socket on Linux. Fixed by waking up by a timeout regularly (semi-busywait).
Fixes FS #334

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1305 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 22:02:35 +00:00
madmaxoft@gmail.com
ff403fdbf0 Added water and lava springs.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 09:52:57 +00:00
madmaxoft@gmail.com
bc8ad9d1b1 Made ListenThread an OSSupport part, as it's generic enough
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1258 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 20:47:29 +00:00
madmaxoft@gmail.com
469d08ec42 IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the address
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1257 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 20:46:40 +00:00
madmaxoft
fcdc68fd8e IPv6 support: fixed IP string getting on accept()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 13:35:19 +00:00
madmaxoft@gmail.com
ea750b9745 Fixed logic in socketthreads connecting
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1255 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 11:50:56 +00:00
madmaxoft@gmail.com
9d2c841843 IPv6 support + removed cTCPLink from Lua API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1253 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05 09:53:29 +00:00
madmaxoft@gmail.com
28d8d8419a Moved client socket accepting into a separate thread object, cListenThread
MCServer can now listen on multiple ports
FS #312

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1252 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-04 21:13:08 +00:00
madmaxoft@gmail.com
eb68b7ce01 Starting an IPv6 support / cSocket rewrite
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1250 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-04 18:40:48 +00:00
madmaxoft@gmail.com
24d3d5dac4 AnvilStats: Added ChunkExtract mode of operation, splitting Anvil files into individual chunks.
Both original zlibbed chunks and re-gzipped chunks are output.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1223 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-25 19:06:37 +00:00
madmaxoft@gmail.com
ed47a8e409 cBlockArea can now be saved as a .schematic file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07 10:09:42 +00:00
madmaxoft@gmail.com
e0535ca6df Added a cGZipFile class for reading GZipped files.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1196 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07 09:15:55 +00:00
madmaxoft@gmail.com
43e6840719 Merged branch "branches/hooks" into "trunk".
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12 04:46:01 +00:00
madmaxoft@gmail.com
15fe5a1d41 Fixed cCriticalSection's debugging functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1072 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-14 22:36:12 +00:00
madmaxoft@gmail.com
8eab4f83b9 SocketThreads fixes for crashes reported in FS #272
http://www.mc-server.org/support/index.php?do=details&task_id=272&project=2

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1061 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-22 14:10:21 +00:00
madmaxoft@gmail.com
635386faad More valgrind fixes
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1044 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15 14:02:17 +00:00
madmaxoft@gmail.com
31a326382a Critical sections aren't heap-allocated in linux anymore.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1012 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-26 15:03:44 +00:00
madmaxoft@gmail.com
70546f25a0 SocketThread: clients aren't double-removed anymore.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@909 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 19:43:34 +00:00
madmaxoft@gmail.com
cd5acb228c Extended the cFile interface with Printf()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@901 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 13:50:05 +00:00
madmaxoft@gmail.com
7a43f6be09 Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25 08:23:19 +00:00
madmaxoft@gmail.com
7abb5f7604 Source files cleanup: OSSupport-related files in a separate subfolder, renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 21:23:33 +00:00