madmaxoft
29269a6ef8
ProtoProxy: ignoring PolarSSL build files.
2014-02-18 13:51:45 +01:00
madmaxoft
600861988e
APIDump: Documented missing cWorld functions.
2014-02-18 13:49:24 +01:00
madmaxoft
b1c6b4f584
The cuboid for cWorld::SetAreaBiome() doesn't need sorting.
2014-02-18 13:49:24 +01:00
madmaxoft
71b6fd3da9
Debuggers: Added a test for the cWorld:SetAreaBiome() function.
2014-02-18 13:49:23 +01:00
madmaxoft
803ea41236
Added cWorld:SetAreaBiome() API function.
...
Fixes #675 .
2014-02-18 13:49:23 +01:00
madmaxoft
fc8743df96
Added a bit more documentation to cForEachChunkProvider.
2014-02-18 13:49:23 +01:00
Mattes D
d05964cbd2
Merge pull request #695 from narroo/Issue673
...
ChunkWorx uses QueueUnloadUnusedChunks
2014-02-18 07:07:45 +01:00
Mattes D
7aeae734e5
Merge pull request #684 from narroo/Bug402
...
Addressed Issue #402 .
2014-02-17 23:47:04 +01:00
madmaxoft
e924d102e1
Added the InfoReg plugin library file.
...
This file should be used by all plugins that use Info.lua to register their commands. It defines the functions that register the commands and provide handling for the subcommands.
2014-02-17 23:41:48 +01:00
madmaxoft
89ef81b5e8
Documented the cPluginManager:GetPluginsPath() API function.
2014-02-17 23:39:53 +01:00
madmaxoft
1a26f05ed0
Added cPluginManager:GetPluginsPath() to the Lua API.
2014-02-17 23:36:39 +01:00
madmaxoft
865ae82114
Add Lua plugin path to package.path and .cpath.
...
Fixes #693 .
2014-02-17 23:12:46 +01:00
madmaxoft
a4ff63f223
Fixed a memory leak in CompositeChat.
2014-02-17 10:15:18 +01:00
madmaxoft
ea55a22a71
Links sent via chat messages are clickable.
...
Fixes #658 .
2014-02-16 23:51:32 +01:00
madmaxoft
4a24e39ac1
Implemented cCompositeChat::ParseText(), incl. self-test.
2014-02-16 23:32:08 +01:00
madmaxoft
b0dbe51210
Fixed cBoundingBox self-test code-style.
...
Also made the class name unique and the global variable static, to avoid linkage problems with other self-tests
2014-02-16 23:32:08 +01:00
Mattes D
b90c9936b8
Merge pull request #683 from mc-server/redstoneimprovements
...
Redstone speed improvements
2014-02-16 21:44:15 +01:00
Mattes D
2a78ecf97e
Merge pull request #687 from worktycho/Flags
...
Use a common module for setting flags and allow tools to be compiled alongside MCServer
2014-02-16 15:56:50 +01:00
Mattes D
ec37e53465
Merge pull request #686 from Howaner/GlobalFixes
...
Add Locale to ClientHandle
2014-02-16 14:46:36 +01:00
Mattes D
6b64a722b8
Fixed cmake invocation text
...
The docs say: cmake <options> <path>
2014-02-16 14:34:20 +01:00
madmaxoft
52cd9dfe9f
Removed the unnecessary LoopPlayersAndBroadcastChat() functions.
2014-02-15 23:26:19 +01:00
madmaxoft
3582c4bc60
Debuggers: Added code to test cCompositeChat functionality.
...
Ref.: #678
2014-02-15 23:17:50 +01:00
madmaxoft
0f1f7583ae
Implemented cCompositeChat.
...
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions.
Fixes #678 .
2014-02-15 23:17:49 +01:00
madmaxoft
147b9ed694
Debuggers: Added a WebAdmin StressTest page.
...
This page reloads content from the WebAdmin as fast as possible.
2014-02-15 16:30:28 +01:00
Mattes D
48eafee823
Merge pull request #664 from mc-server/generalfixes
...
General fixes
2014-02-15 15:06:23 +01:00
madmaxoft
6103589e8c
Updated Core.
2014-02-13 17:05:31 +01:00
madmaxoft
9bb48a8fa4
Merged branch 'narroo/master'.
...
This merges pull request #661 .
2014-02-13 17:04:25 +01:00
madmaxoft
41ab8260f7
MCADefrag: Implemented recompression.
...
This finalizes #639 .
2014-02-13 16:54:39 +01:00
madmaxoft
cd658e02e8
MCADefrag: Fixed bugs, now produces valid MCA files.
2014-02-13 16:54:39 +01:00
madmaxoft
05590fb91d
MCADefrag: Initial implementation.
...
Partially implements #639 .
This only defragments the chunks, without recompressing them.
2014-02-13 16:54:39 +01:00
Mattes D
cc72b656c9
Updated COMPILING instructions for out-of-source build.
...
Also made the 32-bit mode a bit more clear as to what architectures it affects.
2014-02-13 06:59:07 +01:00
Mattes D
3456cfa34b
Merge pull request #668 from tonibm19/patch-1
...
Decreased mobs attack range
2014-02-12 20:01:20 +01:00
madmaxoft
b0018da615
Updated Core.
2014-02-12 10:36:13 +01:00
madmaxoft
a1e01ff725
cWorld:ChunkStay() accepts nils as callbacks.
...
Also removed leftover debug logging.
2014-02-11 15:04:35 +01:00
madmaxoft
33c84aaa4d
Added cLuaState::CheckParamFunctionOrNil().
...
Also fixed error reporting for the two function-checking functions.
2014-02-11 15:03:35 +01:00
madmaxoft
892c7eb57f
More gcc warnings fixed.
2014-02-11 11:56:29 +01:00
madmaxoft
2559aa58f4
Made cChunkStay's destructor virtual.
2014-02-11 11:46:19 +01:00
Mattes D
c969794511
Fixed *nix attribs.
2014-02-11 11:33:48 +01:00
madmaxoft
7e80b04114
Fixed gcc warnings in Item.h.
2014-02-11 11:30:11 +01:00
Mattes D
1f96454b9c
Merge pull request #662 from mc-server/ChunkStay
...
Allows both C++ and Lua code to request chunks to stay loaded; provides callbacks for when the chunks are made available.
2014-02-11 09:07:08 +01:00
madmaxoft
90d68c57e4
Debuggers: Updated messaging functions
2014-02-11 08:54:29 +01:00
madmaxoft
b41bb3bb44
Fixed nested plugin function calls.
2014-02-11 08:52:14 +01:00
madmaxoft
8a8997cc38
Merge branch 'master' into ChunkStay
2014-02-11 08:50:30 +01:00
madmaxoft
a25fcd25d6
APIDump: Documented cWorld:ChunkStay().
2014-02-11 07:51:32 +01:00
Mattes D
3d9deca2e0
Merge pull request #660 from worktycho/boatsFix
...
Fixed stupid mistake in conditional
2014-02-11 06:45:26 +01:00
madmaxoft
de7bf126db
Added LuaChunkStay to Bindings sources.
...
This should fix *nix compilation. Also alpha-sorted the lists.
2014-02-10 23:23:04 +01:00
madmaxoft
2b1506de9c
Debuggers: Updated to reflect the new API.
2014-02-10 22:47:32 +01:00
madmaxoft
9cebc9157c
Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().
...
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
2014-02-10 22:47:10 +01:00
madmaxoft
589a4839df
cLuaState: Stack traces don't include ghost 0-th element.
2014-02-10 22:44:56 +01:00
madmaxoft
5aa1123f70
Added cPluginLua::cOperation.
...
This class should be used to lock-and-access the plugin's LuaState. cPluginLua::GetLuaState() is unsafe and by this commit obsolete.
2014-02-10 20:38:02 +01:00
madmaxoft
1447d6d0dc
Debuggers: Added a cLuaChunkStay test code.
2014-02-09 20:40:20 +01:00
madmaxoft
47a497fa89
First working version of cLuaChunkStay.
...
It works, but has random failures, probably due to threading issues.
2014-02-09 20:39:45 +01:00
madmaxoft
4ef6c56f32
Debuggers: Disabled testing plugin calls.
2014-02-09 18:56:43 +01:00
madmaxoft
9455f59b11
Initial Lua cChunkStay export.
2014-02-09 18:56:16 +01:00
madmaxoft
310a25c456
cLuaState::cRef can be unbound and re-bound.
...
This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor.
2014-02-09 18:39:22 +01:00
madmaxoft
4bcaf302b9
Added AllToLua.pkg to MSVC project files.
...
MSVC ignores the file when compiling and it makes it easier to open it up for editing.
2014-02-09 16:22:49 +01:00
madmaxoft
9795bfcbe3
Added air, farmland and tilleddirt to items.ini.
...
Air hasn't been present at all, the others are usual synonyms.
2014-02-09 16:19:38 +01:00
madmaxoft
a184d59209
Merge remote-tracking branch 'origin/master' into ChunkStay
2014-02-09 09:36:42 +01:00
madmaxoft
1d51521f80
Merge branch 'master' into playerimprovements
2014-02-09 09:32:40 +01:00
Mattes D
d2bc39ba84
Merge pull request #656 from mc-server/ReloadGroups
...
The console reload command also reloads the groups.
2014-02-09 00:14:44 +01:00
madmaxoft
cf48968835
Moved a forgotten comment back to its place.
2014-02-08 22:35:45 +01:00
madmaxoft
df0ecc6c07
Fixed lighting thread queueing.
2014-02-08 22:33:42 +01:00
madmaxoft
7432d2f74d
Fixed ChunkStay initialization.
2014-02-08 22:23:38 +01:00
madmaxoft
a4bf44858d
Fixed gcc compilation.
2014-02-08 22:01:04 +01:00
madmaxoft
ea71bfa9b6
Initial ChunkStay code.
2014-02-08 21:55:21 +01:00
Mattes D
169b918222
Merge pull request #653 from mc-server/RedstoneSimulator
...
Improvements for the redstone simulator.
2014-02-08 14:54:00 +01:00
madmaxoft
cfd6875c86
Fixed cWorld:TryGetHeight() API.
2014-02-08 13:35:08 +01:00
madmaxoft
e165da946e
WebAdmin is stopped properly on server shutdown / restart.
...
Fixes #272 .
2014-02-07 12:26:41 +01:00
madmaxoft
916020d6c2
Fixed wiki link in auto-generated settings.ini.
2014-02-07 12:07:22 +01:00
madmaxoft
aec7ffd3f6
InfoDump: Added github output.
2014-02-05 21:50:56 +01:00
Mattes D
24dfe7f9cc
Merge pull request #648 from worktycho/runMCServer
...
Added BoundingBox Test
2014-02-05 21:26:12 +01:00
Mattes D
cd634ea138
Merge pull request #649 from mc-server/GroupsPermissions
...
Removed deprecated HasCommand function
2014-02-05 21:07:10 +01:00
Mattes D
694fa5d541
Merge pull request #645 from mc-server/GroupsPermissions
...
Improvements to the GroupManager
2014-02-05 19:58:02 +01:00
Mattes D
4e4d92ccce
Merge pull request #647 from worktycho/runMCServer
...
Run mc server in travis
2014-02-05 19:56:25 +01:00
madmaxoft
9e98c9691d
Improved the signedness conversion.
2014-02-05 13:54:47 +01:00
madmaxoft
e5dce265ae
Added cPluginManager:LogStackTrace() to the Lua API.
...
Fixes #637 .
2014-02-05 00:16:33 +01:00
madmaxoft
b63c206a5c
InfoDump: Git-Ignoring all generated files.
2014-02-05 00:09:35 +01:00
madmaxoft
45958cb835
Explicitly make chars signed at the compiler-level.
...
Should fix #640 .
2014-02-04 23:43:40 +01:00
madmaxoft
cc032995bd
Crypto: Removed unused member, fixed gcc warning.
2014-02-04 23:25:06 +01:00
madmaxoft
a96ea33b64
Added dtExplosion to damage<->string functions.
2014-02-04 23:09:07 +01:00
madmaxoft
91a8db0d7e
Protocol 1.7: Fixed a signed / unsigned comparison warning.
2014-02-04 22:41:54 +01:00
madmaxoft
82173db9bf
Fixed a gcc warning in ManualBindings.
...
Constructor member order...
2014-02-04 22:26:35 +01:00
madmaxoft
010e64be11
Removed a useless check in cLuaState.
2014-02-04 22:24:03 +01:00
madmaxoft
5cdbb6683f
Fixed a warning in cItem in gcc.
...
Constructor member order...
2014-02-04 22:18:59 +01:00
madmaxoft
835a59b8fc
Protocol 1.7 uses char for blockface.
...
That should fix #644 on RasPi.
2014-02-04 22:15:01 +01:00
Mattes D
dad49c6fdd
Merge pull request #644 from worktycho/warningfixes
...
Improved Type safety of eBlockFace
2014-02-04 13:10:44 -08:00
madmaxoft
634331fd3b
Fixed chest placement.
...
Fixes #624 .
2014-02-04 18:38:10 +01:00
madmaxoft
dd1d85c8ad
Fixed indent from previous commits.
2014-02-04 18:27:05 +01:00
Mattes D
0ceb0ef607
Merge pull request #635 from tonibm19/master
...
Exported Item:IsEnchantable and Monster:MoveToPosition to Lua API
2014-02-04 09:23:03 -08:00
madmaxoft
3dc1452790
Fixed calling plugins with userdata params.
2014-02-04 14:26:36 +01:00
madmaxoft
1dbfd7eb76
Removed a leftover debug message.
2014-02-04 11:37:34 +01:00
madmaxoft
69c85e5169
Fixed error handling in cPluginManager:CallPlugin() API.
...
Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
2014-02-04 10:29:10 +01:00
madmaxoft
aa19f4fd04
Improved error resistance in cPluginManager:CallPlugin().
...
Fixed: If the call failed, all the next plugin calls would fail as well.
2014-02-04 09:18:32 +01:00
madmaxoft
1bd939c4d4
InfoDump: Fixed export for undeclared command param combinations.
2014-02-04 00:16:26 +01:00
Mattes D
41b8315f53
Merge pull request #636 from worktycho/warningfixes
...
Increased Type safety of Biomes
2014-02-03 14:42:31 -08:00
Mattes D
351e925e3d
Merge pull request #633 from mc-server/More_Sideways_Blocks
...
More sideways blocks.
2014-02-03 14:01:22 -08:00
Mattes D
2450d0467f
Merge pull request #623 from mc-server/tnt
...
TNT improvements
2014-02-03 10:55:23 -08:00
madmaxoft
c9916cd8c2
Fixed socket leaking.
2014-02-03 17:07:46 +01:00
madmaxoft
0b384198e5
SocketThreads: Fixed sending to closed socket.
2014-02-03 10:39:10 +01:00
madmaxoft
c2c1639af8
Groups.ini can contain spaces around commas in values.
...
This includes Permissions, Inherits and Commands.
Also fixed an unlikely but possible crash with group colors.
2014-02-03 10:39:09 +01:00