Mattes D
cc069ccb2a
Changed cEntity::m_UniqueID to UInt32.
2015-03-21 15:18:17 +01:00
Mattes D
2d1d4ae3e3
Removed unwanted base classes from Lua API.
2015-03-19 21:26:38 +01:00
Mattes D
93031dffd8
AllToLua: Fixed cMonster inheritance.
2015-03-19 21:06:28 +01:00
Mattes D
2fed8c3227
Improved DoWithID bindings.
2015-03-19 16:24:32 +01:00
Mattes D
9eb9541060
AllToLua: Removed an unneeded class declaration.
...
It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg.
2015-03-19 12:34:16 +01:00
Mattes D
09da6e7a6e
AllToLua: Fixed the parse order for bindings generation.
...
Fixes #1789 .
2015-03-19 12:19:04 +01:00
Mattes D
f9991c9f92
Merge pull request #1761 from mc-server/NetworkIPEnum
...
cNetwork: Added EnumLocalIPAddresses() function.
2015-03-12 13:35:45 +01:00
Mattes D
439eb8d6cb
Merge pull request #1807 from flx5/master
...
Fixes #493 and #490
2015-03-11 22:43:52 +01:00
flx5
f6912bd01c
Fixed coding conventions for Pull Request #1807
2015-03-11 20:02:11 +01:00
flx5
d130696e95
Fixes #493 and #490
2015-03-11 04:14:17 +01:00
Howaner
a96c21fc0d
Merge branch 'master' into Inventory
2015-03-09 22:39:11 +01:00
joshi07
f71b1fe799
Added OnTeleportEntity hook for plugins.
...
Plugins may or may not allow teleport to the new position.
Updated the HookNotify plugin with it.
2015-03-05 11:52:42 +01:00
Mattes D
d4b505db02
Lua API: Fixed md5 and sha1 hex formatting.
...
std::setw() is only valid for one output operation and needs to be set again in each loop repetition.
2015-03-03 01:28:58 +01:00
STRWarrior
9e1db16ba4
Fixed operators
2015-02-23 16:09:35 +01:00
STRWarrior
d39d2ca5e9
Added forgotten indent
2015-02-23 15:40:31 +01:00
STRWarrior
8c8ec1094d
Replaced lua_isXYZ with cLuaState::CheckParamXYZ
2015-02-23 15:29:07 +01:00
STRWarrior
54410bfe4d
Exported all compression functions in a new class.
2015-02-23 12:53:02 +01:00
STRWarrior
13f81a051d
Exported CompressString and UncompressString to Lua
2015-02-22 17:34:20 +01:00
Mattes D
c758482ece
cNetwork: Added EnumLocalIPAddresses() function.
2015-02-22 10:51:16 +01:00
Mattes D
006b1afa9e
Merge pull request #1758 from mc-server/CryptoHashAPI
...
Added cCryptoHash namespace to Lua API
2015-02-21 12:19:07 +01:00
Mattes D
9971670b40
Merge pull request #1755 from mc-server/NetworkUDP
...
cNetwork: Added UDP API.
2015-02-21 12:19:03 +01:00
Mattes D
b9e4fe0a3b
Added cCryptoHash namespace to Lua API.
2015-02-21 09:41:14 +01:00
Mattes D
9c5162041e
cNetwork: Added UDP API.
2015-02-20 14:28:05 +01:00
Matyas Dolak
5d4dd103a1
Fixed crash when logging nil values.
...
Ref.: http://forum.mc-server.org/showthread.php?tid=1798
2015-02-20 09:51:18 +01:00
Mattes D
1f3d11de32
Fixed Linux compilation.
2015-02-14 09:17:26 +01:00
Mattes D
557adf3be9
Exported TLS server start on cTCPLink to Lua API.
2015-02-13 23:18:22 +01:00
Mattes D
b8bf795dd1
Exported cTCPLink:Close and :Shutdown() to Lua API.
2015-02-13 18:31:54 +01:00
Mattes D
505dce1fc3
Fixed Linux compilation.
...
std::make_unique is not available in C++11.
2015-02-12 20:22:39 +01:00
Mattes D
16636ff6e2
LuaAPI: Added client TLS support for TCP links.
2015-02-12 20:05:55 +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
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
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
Howaner
1eedccc56a
Merge branch 'master' into Inventory
2015-01-25 00:34:19 +01:00
Mattes D
e38f41d32f
Merge pull request #1702 from mc-server/chrono
...
Started to convert more of MCServer to std::chrono
2015-01-18 11:21:36 +01:00
Mattes D
e211aafaa4
Fixed type-conversion warnings.
2015-01-18 11:02:17 +01:00
Kirill Kirilenko
2ce2741968
Fixed CppCheck: (performance) Function parameter should be passed by reference.
2015-01-17 15:19:23 +03:00
Tycho
2a9664d6ca
Initial convertion of a_Dt to std::chrono
...
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2015-01-11 21:12:26 +00:00
Mattes D
ccdf03daaf
Refactored all player block placing to go through hooks.
...
Fixes #1618 .
2014-12-24 07:20:17 +01:00
Howaner
8277e1ec4e
C++11 and function rename.
2014-12-17 19:14:01 +01:00
Mattes D
6cd7e52eb7
Exported cWorld:PrepareChunk to Lua API, test in Debuggers.
2014-12-12 13:32:52 +01:00
Mattes D
e2a04f580a
BasicStyle: Added missing braces to control statements.
2014-12-05 16:59:11 +01:00
Mattes D
34807248e2
Fixed the CRAFTING_NO_RECIPE hook call.
...
It used a pointer-to-pointer-to-cCraftingRecipe, which the Lua bindings didn't know how to handle, and emitted a warning message at runtime.
Fixes #1641 .
2014-12-04 09:21:57 +01:00
p-mcgowan
27185dd374
clearing CheckBasicStyle.lua messages
2014-12-03 00:26:15 -08:00
Howaner
677dde51bd
Merge branch 'master' into MobSpawner
...
Conflicts:
MCServer/Plugins/APIDump/APIDesc.lua
2014-12-01 14:43:03 +01:00
Howaner
c673eb590f
Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead
2014-11-29 15:40:38 +01:00
Howaner
2478e290f9
Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.
2014-11-29 15:20:44 +01:00