Mattes D
6952f2295a
Added cFile:ChangeFileExt() function.
2015-04-06 22:00:54 +02:00
Mattes D
31953b19b8
Fixed crash on exit introduced with Windows Service capability.
...
Ref.: #1845
2015-04-05 17:07:29 +02:00
Mattes D
e42e46d5f9
Merge pull request #1846 from mc-server/WorldChanging
...
Fixed player switching world bug
2015-04-04 11:32:17 +02:00
STRWarrior
399392195f
Fixed players not appearing/disappearing when traveling to a new world.
2015-04-03 18:40:20 +02:00
STRWarrior
e6819c4c65
Fixed the nether and end getting snow if they were generated in the overworld.
2015-04-03 16:32:31 +02:00
Mattes D
afdd751fe3
Merge pull request #1799 from SnappingTurtles/BlockButton
...
Buttons can be placed on the top and on the bottom face of a block
2015-04-03 15:41:39 +02:00
Anthony Birkett
51891b766c
Working as a Windows service. Starts and stops correctly.
...
Added "/service" switch, to prompt the binary to attempt starting as a service.
Added service* methods, to control service startup.
Split up main() into universalMain(), which contains the startup code for both service and normal start.
Added cRoot::m_RunningAsService bool,
Added cRoot::SetStopping(bool) to allow a stop request to be sent by the service controller.
Added cBlockIDMap::init() to avoid loading items.ini before the working directory has been set.
2015-04-01 00:03:37 +01:00
Mattes D
53f5cc209f
Fixed placing bottom half-slabs by clicking a top half-slab.
...
Ref.: #1837
2015-03-28 10:44:42 +01:00
Alexandre Guertin
97daf810ff
Removed 0x6, 0x7 from BlockButton.
2015-03-25 16:12:02 -04:00
Mattes D
e5a7a730ed
Merge pull request #1826 from mc-server/UnifyPacketizer
...
Unify packetizer
2015-03-24 13:09:41 +01:00
Mattes D
f1ef7f57ff
Merge pull request #1775 from tommysanterre/terrainheightfix
...
Correct all world height validations.
2015-03-23 12:25:22 +01:00
Mattes D
b913c5da69
Added VarInt64, normalized cPacketizer datatype names.
2015-03-22 23:09:23 +01:00
Mattes D
c626848393
Unified cPacketizer across all protocols.
2015-03-22 19:46:08 +01:00
Mattes D
8df9f1685a
ProtoProxy: Fixed connection and logging.
2015-03-22 15:00:51 +01:00
worktycho
d02c908670
Merge pull request #1786 from mc-server/pipelineSyntax
...
Added pipelining syntax for generators
2015-03-21 21:08:33 +00:00
worktycho
7089b68030
Style fixes
2015-03-21 19:45:01 +00:00
worktycho
d966200a6c
Fixed alignment
2015-03-21 19:35:25 +00:00
Mattes D
c3c29577a5
Fixed signedness warnings in Protocol.
2015-03-21 16:11:57 +01:00
Mattes D
b698286e86
Creeper: Fixed skeleton check.
2015-03-21 15:52:49 +01:00
Mattes D
3923e3e37a
Fixed signedness issues in protocols.
2015-03-21 15:40:56 +01:00
Mattes D
e9b8be25f9
Changed linked world name variables and setters / getters.
...
Ref.: #1792
Ref.: https://github.com/mc-server/MCServer/pull/1792#discussion_r25946707
2015-03-21 15:20:31 +01:00
Mattes D
cc069ccb2a
Changed cEntity::m_UniqueID to UInt32.
2015-03-21 15:18:17 +01:00
Mattes D
7e7527cc43
Fixed trailing whitespace.
2015-03-21 14:07:16 +01:00
Mattes D
b1d4b3bb96
Unified cByteBuffer types.
...
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-21 13:00:20 +01:00
Tiger Wang
60a52288d8
Improved arrow in-flight and block-hit appearance
...
* Fixes #1495
2015-03-20 22:32:32 +00:00
Mattes D
0f45d1fbe2
cPluginLua:cResettable no longer shares CS with plugin.
...
This fixes locking the resettable while the plugin is already gone. Hopefully no deadlocks.
2015-03-20 16:51:49 +01:00
Mattes D
8a43da0723
Merge pull request #1822 from mc-server/ResettableLuaCallback
...
Added cPluginLua::cResettable interface, used for scheduled tasks.
2015-03-20 16:11:50 +01:00
Mattes D
781c8683f7
Added cPluginLua::cResettable interface, used for scheduled tasks.
...
This allows plugins to register objects that can "survive" the plugin unloading - they will simply bail out if the plugin is already unloaded, instead of referencing bad plugin data.
Fixes #1556 .
2015-03-20 15:13:33 +01:00
Mattes D
967ece1684
Merge pull request #1821 from bibo38/bugfix1765
...
Removed Metavalue from Piston drops.
2015-03-20 12:13:21 +01:00
bibo38
3058c4c010
Removed Metavalue from Piston drops. Bugfix #1765
2015-03-20 11:14:42 +01:00
Tommy Santerre
3f6d823aa4
Correct world height validations.
...
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1).
Allow generation of world of flat height = 255
2015-03-19 20:32:17 -04: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
bibo38
54d97f8c17
Removed wrong else clause, which caused that the following if-Statement got only executed in rare cases. This has blocked the creation of new Fluid-Sources. Bugfix #1783
2015-03-19 13:23:03 +01:00
Mattes D
f3046417ec
Fixed a clang warning, improved comments.
2015-03-19 12:46:37 +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
5f660f7677
Added cNetwork initialization to program start.
...
Otherwise the server could crash because MSVC doesn't implement magic statics yet.
2015-03-18 22:07:57 +01:00
Mattes D
49e59ee06b
World:DoWithEntityByID() checks the entities-to-add as well.
...
This allows plugins to create entities and immediately act on them using that call. This will most likely need to be added to most of the DoWith<> and ForEach<> calls.
2015-03-18 15:35:19 +01:00
Mattes D
0aff42a4bc
Network: Close the UDP endpoint in destructor.
2015-03-18 13:50:43 +01:00
bibo38
7b025d6605
Changed Variable types of Endianness.h to uniform UInt* types from Globals.h
2015-03-17 20:00:21 +01:00
bibo38
9ac094e95a
Fixed double underscore identifiers in the Endianess.h file, which are reserved for implementation use. Bug #1715
2015-03-17 18:22:27 +01:00
Mattes D
0add3d4617
Merge pull request #1810 from mc-server/paintings
...
Paintings
2015-03-15 14:30:23 +01:00
worktycho
83531707f3
Merge pull request #1811 from mc-server/grass
...
Fixed grass spread, closes #1743
2015-03-15 12:16:37 +00:00
Tiger Wang
a8a2d3d504
Use thread_local in cFastRandom
2015-03-14 21:52:13 +00:00
Mattes D
65d2ef32e9
Merge pull request #1734 from mc-server/pistons
...
Handle client 'leave bed' request
2015-03-14 22:44:04 +01:00
Mattes D
ebf0126dc9
Merge pull request #1808 from tumultenrx/master
...
Monsters will now attack. Additional checks have been added when generating spawn.
2015-03-14 22:32:23 +01:00
tumultenrx
5c45c8897c
Fixed a small bug
2015-03-14 20:45:16 +01:00
Tiger Wang
e94886c140
Fixed grass spread, closes #1743
...
- Removed the salt parameter in cFastRandom functions, it wasn't doing
what we thought it was following the move to C++11
2015-03-14 00:59:53 +00:00