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
narroo
972919589b
Fixed formatting issue in APIDesc.lua
2014-02-13 07:51:17 -06: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
tonibm19
fecf40d95b
Decreased mobs attack range
...
Mobs attack from too far and throught walls, this will reduce the bug.
2014-02-12 19:34:45 +01:00
STRWarrior
8470841f84
Fixed #573
2014-02-12 19:07:17 +01:00
madmaxoft
b0018da615
Updated Core.
2014-02-12 10:36:13 +01:00
narroo
2f11e145e5
Fixed location of QueueUnloadUnusedChunks entry in APIDesc dump. Now is lexographically listed in cWorld, not cRoot.
2014-02-11 19:58:40 -05:00
narroo
e53b331b4a
Fixed formatting. Moved UnloadUnusedChunks from public to private.
2014-02-11 14:38:28 -05:00
narroo
03dbfce10e
Alpha-Sorted List.
2014-02-11 14:11:20 -05:00
narroo
619c3438ef
Changed console.lua in core plugin.
2014-02-11 10:35:25 -05:00
narroo
803314b940
Updated APIDesc.lua to replace 'UnloadUnusedChunks' with 'QueueUnloadUnusedChunks'.
2014-02-11 10:19:18 -05: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
narroo
d7f32ed682
Fixed formatting of previous commit.
2014-02-11 08:01:25 -05: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
narroo
e8e76a6058
Fixed bug #385 . UnloadUnusedChunks now has the same interface as
...
SaveAllChunks. Meaning, QueueUnloadUnusedChunks and the supporting
cTaskUnloadUnusedChunks has been added. Use QueueUnloadUnusedChunks from
now on to prevent deadlocking.
2014-02-10 20:00:07 -05: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
Tiger Wang
85ac373a50
Merge branch 'master' of https://github.com/mc-server/MCServer
2014-02-10 20:13:33 +00:00
Tiger Wang
0cf1c1d91d
Updated MagicCarpet and Core
2014-02-10 20:13:22 +00: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
worktycho
7ad4a86c49
Added additional parenthasies
2014-02-10 18:06:49 +00:00
Tycho
9f542ee0f8
Merge branch 'master' into boatsFix
...
Conflicts:
src/Items/ItemBoat.h
2014-02-10 10:01:50 -08:00
worktycho
23f69bc093
Fixed stupid mistax in conditional
...
boats can't be placed if the face is not block_face_none and not block_face_YM, not if it is only not one.
2014-02-10 17:59:17 +00:00
Alexander Harkness
2152b8ca19
Merge pull request #659 from tonibm19/master
...
Maybe fixed boat placing
2014-02-10 17:27:46 +00:00
tonibm19
75e0b38d83
Maybe fixed boat placing
2014-02-10 18:17:44 +01:00
narroo
8028a8bbc6
Typo Fix in console.lua
2014-02-10 11:22:15 -05: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