Commit Graph
100 Commits
Author SHA1 Message Date
Mattes D 6bafff0560 Merge pull request #2086 from Seadragon91/master
Renamed hook HOOK_ENTITY_CHANGE_WORLD
2015-05-21 12:57:25 +02:00
Mattes D 90ab8a338b Added Equifax root CA.
Fixes #2076.
Closes #2081.
Ref.: #2072.
2015-05-21 10:26:45 +02:00
Mattes D 1f3f64fccd APIDump: Removed an unneeded global variable. 2015-05-17 22:33:57 +02:00
Mattes D f3d6da29f7 Fixed inventory handling.
Fixes #2035.
2015-05-16 23:22:50 +02:00
Mattes D 1240c76cb4 Lua: Break into ZBS debugger on API errors. 2015-05-16 16:19:18 +02:00
Mattes D 0b536701b4 Merge pull request #2029 from mc-server/bedPatch
Bed uses bottom two bits for direction not three
2015-05-16 14:11:56 +02:00
Mattes D 163aebf8ca Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand()
The functions would leak one value on the Lua stack for each enumerated command.
Fixes #2017.
2015-05-14 19:46:18 +02:00
Mattes D c3804f08c8 Merge pull request #2018 from mc-server/ProbDif
Fixed possible crash in cProbabDistrib
2015-05-14 17:23:23 +02:00
Mattes D 80f2e1eb66 Merge pull request #2010 from TwiddleStick/patch-2
Update World.cpp
2015-05-14 13:41:22 +02:00
Mattes D 43fecf48e3 Merge pull request #2006 from mc-server/ManualBindingsWorld
Moved cWorld manual bindings out into a separate file.
2015-05-14 08:15:40 +02:00
Mattes D 06506da0b1 Merge pull request #2007 from mc-server/AllCommandsThroughHook
All in-game commands go through the OnExecuteCommand hook.
2015-05-13 21:33:26 +02:00
Mattes D af5d7da0f4 Merge pull request #2008 from mc-server/InfoDumpLinks
Info dump links
2015-05-13 21:30:18 +02:00
Mattes D b34fd9c6d9 InfoDump: Added DownloadLocation to forum post generator. 2015-05-13 19:24:57 +02:00
Mattes D 394192bdaf InfoDump: Added support for links.
Also fixed processing of lists and list items.
2015-05-13 19:20:53 +02:00
Mattes D 2cdc2a16e4 Fixed chat message manipulation by plugins.
Plugins, in their OnChat hook, can change the chat message sent by a player.
2015-05-13 18:45:29 +02:00
Mattes D f36b00f4d4 All in-game commands go through the OnExecuteCommand hook.
Everything that has a slash at the beginning, doesn't matter if it is a registered command or not.
2015-05-13 18:31:01 +02:00
Mattes D 15771e4759 Moved cWorld manual bindings out into a separate file. 2015-05-13 11:30:57 +02:00
Mattes D 0686b55901 Merge pull request #2001 from mc-server/BindingsCleanup
Bindings cleanup
2015-05-12 10:29:55 +02:00
Mattes D a729cba82e CIBuild: Added action labels 2015-05-12 09:21:43 +02:00
Mattes D 4b97569b3a ToLua now generates cLuaState::Push() and GetStackValue()
For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs.
Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.
2015-05-12 09:20:54 +02:00
Mattes D 3ddd2f567c ToLua: Fixed LuaJit compatibility. 2015-05-11 16:19:01 +02:00
Mattes D 4083bc7005 AllToLua: Removed unneeded virtual method hooks. 2015-05-11 16:11:53 +02:00
Mattes D 7d66162e3c Merge pull request #2000 from mc-server/CommandHandling
Command handling
2015-05-11 10:39:45 +02:00
Mattes D 66945e4847 APIDump: Added linkification to hook return values. 2015-05-10 23:14:25 +02:00
Mattes D dd10ffb63a OnExecuteCommand hook can override the command result (crXXX). 2015-05-10 23:11:30 +02:00
Mattes D 693ffb689c Exported cPluginManager:ExecuteConsoleCommand() to Lua API.
Fixes #1999.
2015-05-10 22:51:16 +02:00
Mattes D 6c53abed23 Call HOOK_EXECUTE_COMMAND even for unknown console commands.
This allows plugins such as Aliases to intercept even unknown commands.
2015-05-10 21:46:25 +02:00
Mattes D b356419a07 StringUtils: Fixed StringSplitWithQuotes().
The function would crash when given a string that started with the delimiter.
2015-05-10 21:39:14 +02:00
Mattes D 87f1cf5622 InfoReg: Fixed EntireCommand handling for MultiCommandHandler().
The EntireCommand wasn't propagated into the handlers.
2015-05-10 21:39:04 +02:00
Mattes D cbb1eff17a Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND.
Fixes #1996.
2015-05-10 21:37:46 +02:00
Mattes D 92bb28ef6d Merge pull request #1985 from SafwatHalaby/lessPathCalcs
PathFinder - Less calculations per tick
2015-05-10 08:32:06 +02:00
Mattes D ca949447ee Merge pull request #1954 from mc-server/MoreStyleCheck
More style checking.
2015-05-09 13:22:59 +02:00
Mattes D 756d310318 Added check against "Type const &" and "Type const *". 2015-05-09 12:58:56 +02:00
Mattes D 846d16315a CheckBasicStyle: checks spaces around * and &. 2015-05-09 12:58:55 +02:00
Mattes D c13b1931ff More style checking.
Spaces around some operators are checked.
2015-05-09 12:58:54 +02:00
Mattes D 92b8cd2f2a Merge pull request #1956 from Tri125/master
Fixed Magma cube sound and spawn size
2015-05-09 12:44:57 +02:00
Mattes D 9329c2c2cb Merge pull request #1945 from Woazboat/CodeCleanup_refactored
Small code cleanup - clean version
2015-05-08 21:52:41 +02:00
Mattes D 237d8fa501 Merge pull request #1960 from mc-server/FixInterPluginCalls
Fix inter plugin calls
2015-05-08 00:18:41 +02:00
Mattes D fee690a3d1 Fixed inter-plugin calls.
When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield".
Fixes #1959.
2015-05-07 23:03:04 +02:00
Mattes D ceac39c4cd Added Lua C API checks in Debug builds. 2015-05-07 23:03:02 +02:00
Mattes D 4888f671d1 Merge pull request #1951 from mc-server/BroadcastRefactor
Added support for sending additional data in the ParticleEffect packet
2015-05-07 16:14:56 +02:00
Mattes D 69ec6e105f Merge pull request #1953 from mc-server/bearbin-fadwp
Properly fix the docs for FindAndDoWithPlayer.
2015-05-06 22:24:10 +02:00
Mattes D c0bbb9dc7b Merge pull request #1941 from mc-server/bearbin-darkoak
Add furnacing recipies for dark oak and acacia.
2015-05-05 13:38:55 +02:00
Mattes D 9ba7823252 Merge pull request #1938 from jan64/master
Change visual protocol name to include MCServer
2015-05-04 23:28:49 +02:00
Mattes D a5852436ca Merge pull request #1936 from Seadragon91/master
Crafting - Allow to craft torches with charcoals
2015-05-04 09:06:49 +02:00
Mattes D d757d75b6c Merge pull request #1932 from SafwatHalaby/F_AssertFix
PathFinder - Fixed Howaner's bug
2015-05-03 11:51:09 +02:00
Mattes D 2f369d09b6 Fixed multiple mbedtls inclusion.
Ref.: #1880.
2015-05-03 10:01:19 +02:00
Mattes D e6eeee84e0 Merge pull request #1880 from mc-server/submodules
Update submodules
2015-05-03 00:03:07 +02:00
Mattes D a762e8a54a CheckBasicStyle: Can check individual files or git commits. 2015-05-02 13:02:18 +02:00
Mattes D 81274b6ee9 APIDump: Added an "apishow" command.
Launches the webbrowser to show the locally exported API docs.
2015-05-02 12:26:19 +02:00
Mattes D aa142757db Merge pull request #1920 from wiseoldman95/SquashedPathFinder
Implemented A* Pathfinding and updated monster.cpp to use it.
2015-05-01 13:47:48 +02:00
Mattes D 259132d17e Merge pull request #1924 from mc-server/BlockAreaCountNonAir
Added cBlockArea:CountNonAirBlocks API function.
2015-05-01 11:49:41 +02:00
Mattes D a3c4b7580b Added cBlockArea:CountNonAirBlocks API function. 2015-04-30 23:16:33 +02:00
Mattes D 46bb4788cf Merge pull request #1923 from mc-server/ReadWholeFileFix
Fixed bindings for cFile:ReadWholeFile().
2015-04-30 12:57:17 +02:00
Mattes D 8d4a87d2c4 Fixed bindings for cFile:ReadWholeFile().
Fixes #1914
2015-04-30 11:44:42 +02:00
Mattes D 4bf3b874e3 Merge pull request #1922 from mc-server/BlockAreaExt
cBlockArea extensions
2015-04-30 10:39:15 +02:00
Mattes D daacbf4d7b APIDump: Added documentation for cBlockArea:GetNonAirCropRelCoords. 2015-04-30 09:53:10 +02:00
Mattes D ca90f6d280 Added cBlockArea::msSimpleCompare merge strategy. 2015-04-29 15:45:48 +02:00
Mattes D fc95501f68 Added cBlockArea:GetNonAirCropRelCoords() API function.
Fixes #1915.
2015-04-29 15:14:22 +02:00
Mattes D 491b75a8a4 Merge pull request #1913 from wiseoldman95/fixCompatibleProtocols
Updated MC versions in ProtocolRecognizer.h
2015-04-28 08:43:39 +02:00
Mattes D 3fac9beb64 Updated MC versions in readme.txt 2015-04-28 07:57:46 +02:00
Mattes D d16ded3aff Updated the Core. 2015-04-25 22:33:07 +02:00
Mattes D 0de768b56d Merge pull request #1897 from mc-server/Restrictions
Restrictions
2015-04-25 22:32:13 +02:00
Mattes D b5998873e4 cPlayer now checks restrictions.
Fixes #1331.
2015-04-25 21:05:43 +02:00
Mattes D 9c5797f27d Added player restrictions to the DB and API. 2015-04-25 21:05:35 +02:00
Mattes D 80baa2b056 Merge pull request #1896 from mc-server/FindAndDoWithPlayerRace
Eliminate race condition in cRoot::FindAndDoWithPlayer
2015-04-25 18:58:11 +02:00
Mattes D b7d1d701b9 Plugin removes its command registrations and webtabs when unloaded.
Fixes #1890.
2015-04-25 18:11:14 +02:00
Mattes D 0bfcd62556 Merge pull request #1894 from mc-server/RefactorManualBindingsTemplates
Refactored ManualBindings' callbacks using templates.
2015-04-23 22:52:34 +02:00
Mattes D a89d5f53fd Refactored ManualBindings' callbacks using templates.
This is a bit easier to read, has better error reporting and fixes a few subtle bugs.
Fixes #1889.
2015-04-23 22:20:31 +02:00
Mattes D a41f21f76f Merge pull request #1892 from mc-server/DoWithPlugin
Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
2015-04-23 21:36:17 +02:00
Mattes D 08624348f4 Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
Both functions are exported as static.
2015-04-23 19:41:01 +02:00
Mattes D e51bd6bcd8 Merge pull request #1851 from wraith11/DoorFix
Fix door placing in connection with slabs
2015-04-23 00:55:51 +02:00
Mattes D 5f0a78200b Merge pull request #1852 from wraith11/SlabPlacing
Fix slab placing
2015-04-23 00:54:59 +02:00
Mattes D 6d99a0b968 Merge pull request #1883 from mc-server/NarrowWindowID
Narrowed WindowID to use only 7 bits.
2015-04-22 07:52:30 +02:00
Mattes D e08e932e7a Narrowed WindowID to use only 7 bits.
Ref.: http://forum.mc-server.org/showthread.php?tid=1876
2015-04-21 23:29:50 +02:00
Mattes D 18690a2633 Hotfixed some chunk presence issues when generating. 2015-04-21 23:12:47 +02:00
Mattes D 0ff7514351 Merge pull request #1879 from mc-server/DynamicThreshold
Changed Nether composition to change the threshold from a cubic noise
2015-04-21 23:09:27 +02:00
Mattes D 7ef9dea015 Network: fixed excessive debug logging. 2015-04-21 12:11:44 +02:00
Mattes D 50323b3760 Merge pull request #1881 from mc-server/UrlInHttpRequest
Added URL member to the HTTPRequest API class.
2015-04-21 12:01:39 +02:00
Mattes D de27f66b59 Added URL member to the HTTPRequest API class. 2015-04-21 10:54:43 +02:00
Mattes D be4ac22b52 WebAdmin: Removed server name, shortened memory report. 2015-04-20 09:41:27 +02:00
Mattes D db7b3bc888 Fixed a bad recipe. 2015-04-20 09:32:43 +02:00
Mattes D b97f41b8c6 ItemHandler type fixes. 2015-04-20 09:17:26 +02:00
Mattes D 16c03be348 Merge pull request #1878 from jammet/patch-2
Fixing dyeing
2015-04-20 08:37:44 +02:00
Mattes D c0bd482448 Protocol 1.8: Limit the amount of displayed data on NBT parse failure. 2015-04-20 08:35:32 +02:00
Mattes D c9fbcea66d ItemHandler: Using automatic array bounds. 2015-04-20 08:34:44 +02:00
Mattes D e5e581043f Updated the Core plugin. 2015-04-19 23:38:06 +02:00
Mattes D c5ad058424 HangingEntity: Fixed a needless clang warning. 2015-04-19 21:34:56 +02:00
Mattes D ba6f5aea4c Merge pull request #1875 from mc-server/PluginFolders
Split the plugin names and plugin folders to avoid confusing them.
2015-04-19 19:53:14 +02:00
Mattes D fd497b8269 ClientHandle: Fixed re-sending refused right-clicks.
The coords weren't checked against Y boundary and -1 coords weren't sent.
This fixes mc-server/Gallery#45.
2015-04-19 17:33:58 +02:00
Mattes D d40078d163 HTTP: Error message is sent as the payload as well.
This shows the error message in the browsers. Before, the browsers would display just a blank page.
2015-04-19 17:32:44 +02:00
Mattes D be40ea323a Refresh plugin list before trying to load. 2015-04-19 17:25:48 +02:00
Mattes D 206932b94d APIDump: Documented cPluginManager:IsPluginLoaded(). 2015-04-19 17:23:59 +02:00
Mattes D 4a946aa8c4 Added cPluginManager:IsPluginLoaded() API, better load error msgs. 2015-04-19 17:20:15 +02:00
Mattes D 3b49a1d250 Merge pull request #1864 from mc-server/StrictRecipeMatching
Recipes match zero DamageValue strictly.
2015-04-19 14:41:35 +02:00
Mattes D 288d2280fa Refactored cWebPlugin for C++11 style and proper WebTab clearing. 2015-04-19 14:35:04 +02:00
Mattes D 31cafb9621 Merge pull request #1876 from jammet/patch-1
Add StainedClay
2015-04-19 13:31:04 +02:00
Mattes D a9b5a6c3a6 Split the plugin names and plugin folders to avoid confusing them.
Ref.: http://forum.mc-server.org/showthread.php?tid=1877
2015-04-19 10:57:41 +02:00
Mattes D 4fca2f566f Merge pull request #1870 from mathias-gh/master
Fixed IronGolem sounds
2015-04-17 21:46:58 +02:00
Mattes D 0b3fd73f90 Recipes match zero DamageValue strictly.
To match any DamageValue for the ingredient, an explicit "-1" as the DamageValue must be specified.
Fixes #1859.
2015-04-16 21:33:42 +02:00