Mattes D
6accedffd5
Added instructions for ZIP source downloads.
...
The ZIP file doesn't contain git submodules, people complained about not being able to compile from it.
2014-01-29 19:10:59 +01:00
madmaxoft
04107fa85d
Limited sign lines to 15 chars.
...
Fixes #598 .
2014-01-29 17:59:49 +01:00
madmaxoft
e40c5a20c8
Plugin files are loaded in alphabetical order.
...
Except for the Info.lua file which gets loaded always last. Implements #597 .
2014-01-29 17:48:04 +01:00
madmaxoft
789cf63740
Added 1.7.4 to the list of supported protocols.
2014-01-29 12:16:27 +01:00
madmaxoft
3bbca8c291
Protocol 1.7: Encryption is enabled only with auth.
2014-01-29 09:56:31 +01:00
madmaxoft
ae897804a0
ProtoProxy: Added encryption support.
2014-01-28 23:53:54 +01:00
madmaxoft
bc6fc859f4
Protocol 1.7: Forced encryption on all connections.
...
This is for testing purposes only, to find bugs in the encryption. Once the encryption is deemed stable, it will be enabled only for servers with enabled Authentication.
2014-01-28 23:53:54 +01:00
madmaxoft
9de52252ac
Crypto: Added public key encryption / decryption.
2014-01-28 23:53:54 +01:00
madmaxoft
f7cbb07b54
Fixed an error in Crypto.
2014-01-28 23:53:53 +01:00
Mattes D
3390607ee5
Merge pull request #594 from mc-server/Villager_Update
...
Villager update
2014-01-28 07:32:01 -08:00
madmaxoft
76457d3673
Fixed timing on *nix.
2014-01-28 16:28:55 +01:00
madmaxoft
81837edb22
Fixed a slight bug in RSA encryption code.
2014-01-28 09:50:48 +01:00
Mattes D
5f9228bac8
Merge pull request #595 from mc-server/NonBlockingSockets
...
Non blocking sockets
2014-01-27 21:43:59 -08:00
madmaxoft
a359275064
Squashed common code.
2014-01-27 21:34:54 +01:00
madmaxoft
4169af1ce1
Fixed Linux compilation.
2014-01-27 21:33:06 +01:00
madmaxoft
cc1284a753
Rewritten networking to use non-blocking sockets.
...
This fixes #592 .
2014-01-27 21:27:13 +01:00
madmaxoft
30c431b479
Fixed client packet parsing.
...
When the packet wouldn't fit the current buffer, the server would mis-parse the next packet. This was the cause for #541 .
Also modified comm logging, now each direction can be turned on separately.
2014-01-26 17:56:12 +01:00
madmaxoft
ab4672be40
cByteBuffer has more self-tests.
2014-01-26 17:56:12 +01:00
madmaxoft
61848ff5a0
Item-loading now checks for weird bytes.
2014-01-26 17:56:11 +01:00
madmaxoft
a3ac1be7b7
Fixed Byte-order reading.
...
The functions would fail on bytes that were above 127.
2014-01-26 17:56:11 +01:00
Mattes D
09ee8a1bb6
Merge pull request #589 from mc-server/minecartimprovements
...
Minecart improvements
2014-01-26 05:13:54 -08:00
Mattes D
1f4e12c50c
Merge pull request #590 from mc-server/Wolf_Fix
...
Wolf: Small fix since the new AI and a new small feature.
2014-01-26 04:40:16 -08:00
Mattes D
f78a62a5e3
Merge pull request #575 from worktycho/GeneratingBenchmark
...
More Interfaces to decouple Generator from the rest of the code
2014-01-25 13:55:33 -08:00
Mattes D
5749b40422
Merge pull request #588 from mc-server/Sheep_Eating
...
Implemented sheeps eating grass.
2014-01-25 13:36:47 -08:00
Mattes D
cdcad2237a
Merge pull request #587 from mc-server/mobimprovements
...
Mob improvements & rudimentary artificial intelligence
2014-01-25 13:36:32 -08:00
Mattes D
437a9c8d1f
Merge pull request #583 from mc-server/ChangeToPolarSSL
...
Change to polar ssl
2014-01-25 13:05:16 -08:00
Mattes D
c8be9b5b1a
Merge pull request #581 from worktycho/strerror
...
Switched cEvent to use strerror_r for error messages
2014-01-25 10:43:00 -08:00
madmaxoft
8f1890e877
ProtoProxy: Modified to use PolarSSL.
2014-01-25 19:19:37 +01:00
madmaxoft
ca0e51d89c
Added RSA encryption to crypto wrappers.
2014-01-25 19:19:17 +01:00
madmaxoft
a2dfb28537
Merged branch 'master' into ChangeToPolarSSL.
2014-01-25 15:37:00 +01:00
madmaxoft
ff066453b8
Comm logging is available in both Debug and Release modes.
2014-01-25 15:28:16 +01:00
madmaxoft
5aa3fc4c56
Added cFile::Flush().
...
This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing.
2014-01-25 15:27:34 +01:00
madmaxoft
96b4af1596
Protocol17: Comm logging shows the data left over from previous parse.
2014-01-25 15:06:30 +01:00
madmaxoft
9d1ebaaf0d
Ignoring the Comm Logs.
2014-01-25 15:06:30 +01:00
madmaxoft
ebcaaad63a
Fixed *nix compilation for previous commit.
2014-01-24 23:05:26 +01:00
madmaxoft
d0da5d392f
Added per-connection comm logging in debug mode.
...
It is meant for debugging only, so it is compiled only into debug mode. It is activated by starting the server with "/logcomm" parameter.
2014-01-24 23:03:48 +01:00
madmaxoft
6c1d992eeb
Fixed a possible deadlock on client disconnect.
2014-01-24 22:23:58 +01:00
madmaxoft
f0a75f7f73
Fixed a failure in cSquid.
...
Probably due to rounding errors the squid was querying out-of-chunk coords.
2014-01-24 22:23:57 +01:00
madmaxoft
d8014d1ed8
ProtoProxy: Fixed connection on *nix.
2014-01-24 18:51:15 +01:00
madmaxoft
e75f979e01
Fixed Win nightbuilds not producing PDBs.
2014-01-24 10:24:24 +01:00
madmaxoft
0369c585fb
Fixed a few compile-time and runtime warnings in ScoreboardSerializer.
2014-01-24 09:58:40 +01:00
madmaxoft
b02940209d
Fixed crash with failed entity-loading.
...
This should fix issues reported in:
http://forum.mc-server.org/showthread.php?tid=1328
http://forum.mc-server.org/showthread.php?tid=1308
2014-01-24 09:57:12 +01:00
madmaxoft
ebc3f6aa28
APIDump: Fixed indent after merge.
2014-01-24 08:59:21 +01:00
madmaxoft
8a254faaf7
Merge remote-tracking branch 'MikeHunsinger/master'
2014-01-24 08:55:41 +01:00
madmaxoft
22d101034f
Fixed flint&steel failure on the Y world edges.
2014-01-24 08:53:49 +01:00
madmaxoft
98976de071
Merge branch 'master' into ChangeToPolarSSL.
2014-01-23 23:46:51 +01:00
madmaxoft
e251e52673
Fixed a warning in ScoreboardSerializer.
2014-01-23 23:45:28 +01:00
madmaxoft
5f34c78091
PolarSSL is fully used for 1.3.2 protocol encryption.
2014-01-23 23:35:23 +01:00
Mattes D
0e10120fc7
Merge pull request #580 from xdot/master
...
Fixed scoreboard serialization
2014-01-23 13:37:20 -08:00
madmaxoft
9774da8122
Fixed a bug in LeakFinder.
2014-01-23 17:54:38 +01:00
madmaxoft
435eae3858
Fixed crash while calling disabled plugins.
2014-01-23 16:14:00 +01:00
Mattes D
9ae31d913c
Improved code safety for the Compact world storage.
...
That was a huge chunk of smelly code.
2014-01-23 14:21:56 +01:00
Mattes D
97ee3340e3
Minor style improvements for the merged PR.
2014-01-23 14:14:33 +01:00
Mattes D
0526ed327c
Merge remote-tracking branch 'xdot/master'
...
* xdot/master:
Command block fixes 2
2014-01-23 14:06:05 +01:00
madmaxoft
34f13d589a
Removed CryptoPP files.
2014-01-22 22:26:40 +01:00
madmaxoft
eb9bebf755
Replacing CryptoPP with PolarSSL.
...
This is only the CMake modification to build with PolarSSL, the actual MCS code doesn't compile at all yet.
2014-01-22 22:19:33 +01:00
madmaxoft
37e820d16e
Added PolarSSL as a submodule.
2014-01-22 22:17:20 +01:00
madmaxoft
3b96fc1e54
Authenticator: Reduced logging levels.
2014-01-22 22:06:48 +01:00
Mattes D
26586fdb92
Merge pull request #566 from xdot/master
...
Scoreboard
2014-01-22 06:05:17 -08:00
madmaxoft
a6661e899a
InfoDump: Can dump a single plugin without LFS.
2014-01-22 12:41:19 +01:00
madmaxoft
f58d11fc1a
InfoDump: Dump all referenced permissions.
2014-01-22 10:18:58 +01:00
madmaxoft
2a018cfa49
Implemented cPluginManager:CallPlugin() API.
...
This function supersedes cPlugin:Call(), is safer to use in regards to multithreading and once again removes the need for the cPlugin class being exported at all.
2014-01-21 23:00:35 +01:00
madmaxoft
2407a67906
APIDump: Added notes about objects across cWorld's task execution.
2014-01-19 23:56:49 +01:00
madmaxoft
e9e9593e6d
APIDump: Updated cWorld:ScheduleTask()'s description.
2014-01-19 23:50:49 +01:00
madmaxoft
41618bf242
Changed the cWorld::ScheduleTask() signature.
...
Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly.
2014-01-19 23:49:19 +01:00
madmaxoft
4a01879911
cLuaState can now check function params.
2014-01-19 23:45:26 +01:00
Mattes D
865016abe2
Merge pull request #569 from worktycho/EnchantmentsFix
...
Enchantments fix
2014-01-19 13:50:50 -08:00
Mattes D
fde8b0be60
Merge pull request #565 from mc-server/commandblockfixes
...
Command block fixes
2014-01-19 13:47:52 -08:00
madmaxoft
3c0e8c8da0
Rewritten SocketThreads for proper shutdown scenario.
...
This fixes #560 and #390 .
2014-01-19 19:31:43 +01:00
madmaxoft
cce063b0cd
Added graph of SocketThreads state transitions.
...
This graph has been used for #560 .
2014-01-19 18:37:37 +01:00
Mattes D
6976735a53
Merge pull request #551 from worktycho/schedular
...
Implemented xoft's suggestion for a saturating counter in the scheduler
2014-01-19 07:46:34 -08:00
madmaxoft
1c05831974
Updated Core.
2014-01-19 16:20:38 +01:00
madmaxoft
f75d1adf0e
Removed obsolete MSVC project files.
...
Windows builds now use CMake as well.
2014-01-19 16:17:16 +01:00
madmaxoft
dc70d04cdd
SocketThreads: Removed unused code.
2014-01-19 16:15:56 +01:00
Mattes D
972585363d
Merge pull request #559 from mc-server/SpawnMobParticles
...
Removed the particles when a mob spawns.
2014-01-18 23:23:53 -08:00
Mattes D
36b9d42819
Merge pull request #557 from xdot/master
...
Command blocks
2014-01-18 11:39:42 -08:00
madmaxoft
fab726282c
HTTP connections aren't kept alive unless explicitly enabled.
...
Only the client can decide that the connection can be kept alive, we must close the socket if the client doesn't indicate keepalive support.
This will provide a fix for #390 when #560 is fixed; until then the issue remains, just it's no longer HTTPServer's fault.
2014-01-18 20:20:56 +01:00
madmaxoft
e68521deac
Alpha-sorted the finishers.
2014-01-18 17:03:43 +01:00
madmaxoft
896f1a26ec
Merged branch 'NetherFinish'.
2014-01-18 17:03:31 +01:00
Mattes D
9aca5b4b99
Merge pull request #552 from worktycho/c++11
...
Changed std to c++11 in clang to fix va_copy issues
2014-01-17 13:59:58 -08:00
madmaxoft
cef2967637
APIDump: Updated cPluginManager:GetAllPlugins().
2014-01-17 15:54:33 +01:00
madmaxoft
1aeecdbe43
ProtoProxy: Compiles under Linux.
2014-01-17 13:15:54 +01:00
madmaxoft
b99fe7d812
ProtoProxy: Fixed inversed typedef.
...
I must be going crazy...
2014-01-17 12:39:19 +01:00
madmaxoft
c4f4eda347
ProtoProxy: Fixed compilation in Windows and in Linux.
2014-01-17 12:38:25 +01:00
madmaxoft
c7b67d9c3c
ProtoProxy: Fixed #include filename case.
2014-01-17 12:28:09 +01:00
Mattes D
79c1f6f438
Merge pull request #534 from mc-server/SpawnMinecart
...
Added cWorld::SpawnMinecart.
2014-01-17 02:27:56 -08:00
madmaxoft
2354ac2783
Fixed SIGABRT_COMPAT on other architectures.
2014-01-17 11:13:35 +01:00
madmaxoft
aec5200893
Removed internal cEntity::GetRot() usage.
2014-01-17 11:11:17 +01:00
madmaxoft
ed1d336614
Merge remote-tracking branch 'origin/customnames'
2014-01-17 10:44:23 +01:00
madmaxoft
3a1c0f2aef
Protocol 1.7: More output on unknown packets / protocol states.
2014-01-17 10:12:27 +01:00
Mattes D
aefe3111de
Ignoring MSVC2010+ build folders.
2014-01-17 08:10:43 +01:00
Mattes D
4385ab008f
CMake: Fixed Lua output folder for MSVC2010+.
2014-01-17 08:09:03 +01:00
madmaxoft
4da8818291
Fixed SIGPIPE on cSocket::Send().
2014-01-16 21:08:17 +01:00
madmaxoft
a085319455
Protocol 1.7: Unknown packets are dumped to log in Debug mode.
2014-01-16 20:39:59 +01:00
madmaxoft
de4ac55398
Disabled excessive entity-related logging in Debug mode.
2014-01-16 20:31:06 +01:00
madmaxoft
c44ce84497
Fixed whitespace in previous commit.
2014-01-16 20:30:25 +01:00
madmaxoft
343136a2ae
Finished exporting cWorld:ScheduleTask() to Lua API.
2014-01-16 19:56:08 +01:00
madmaxoft
dab37db562
CMake: Fixed output paths for all MSVC versions.
2014-01-16 18:33:28 +01:00
madmaxoft
e29749b35e
Added packet diagnostics to 1.7 protocol.
...
When the packet is mis-interpreted, a log message is output about the packet type and lengths.
2014-01-16 15:26:58 +01:00
madmaxoft
6f739359e3
Yet another attempt at VarArgs.
2014-01-16 09:01:12 +01:00