Mattes D
e8c8aca779
Travis: Added lua installation before build.
2014-12-25 08:59:28 +01:00
Mattes D
ff65e77c57
Added basic style checking to Travis builds.
2014-12-25 08:49:47 +01:00
Mattes D
7d35e84578
Fixed tools compilation.
...
Fixes errors introduced in 081e7ddd02 .
2014-12-25 08:47:35 +01:00
Mattes D
9e478c6f29
Fixed door placement.
2014-12-25 01:00:51 +01:00
Mattes D
1af6210466
Fixed forgotten big flower handler.
2014-12-25 00:51:24 +01:00
Mattes D
3da6e4374e
Fixed basic style.
2014-12-25 00:44:09 +01:00
Mattes D
f59740b262
APIDump: Added details about client handle in OnServerPing hook.
2014-12-25 00:36:01 +01:00
Mattes D
081e7ddd02
cIsThread: Fixed a race condition on thread start.
2014-12-25 00:34:54 +01:00
Mattes D
1d593134da
Merge pull request #1686 from mc-server/PlaceBlockRefactor
...
Place block refactor
2014-12-25 00:31:56 +01:00
Mattes D
5609d76ed7
APIDump: Updated the player block placement documentation.
...
The hooks now have fewer parameters but are called on all player-placed blocks (#1618 ).
2014-12-24 20:02:51 +01:00
Mattes D
f07784b92f
Fixed redstone dust placement on upside-down slabs.
2014-12-24 19:44:15 +01:00
Mattes D
e09348c05d
ByteBuffer: SingleThreadAccessChecker is request-only.
...
It slows the server down way too much, so it can't be turned on by default.
2014-12-24 09:13:58 +01:00
Mattes D
63de5f8a55
Replaced a std::hash specialization with explicit type.
...
std::hash is problematic in gcc / clang, one has a class, the other a struct.
2014-12-24 08:38:37 +01:00
Mattes D
9c5463be1e
gcc compilation fix.
2014-12-24 07:32:31 +01:00
Mattes D
ccdf03daaf
Refactored all player block placing to go through hooks.
...
Fixes #1618 .
2014-12-24 07:20:17 +01:00
Mattes D
075b19c7cb
Added Vector3::TurnCW() and Vector3::TurnCCW()
2014-12-24 06:43:28 +01:00
Mattes D
f3268612fd
Merge pull request #1684 from jonfabe/DepthStrider
...
Add Depth Strider enchantment
2014-12-22 14:45:50 +01:00
Mattes D
557dc5a93f
ProtoProxy: Added a sanity check to metadata string lengths.
...
Fixes CID 66415.
2014-12-21 22:51:17 +01:00
Mattes D
f5b4c92a10
MCADefrag: Added a sanity check for chunk size.
...
Fixes CID 66448.
2014-12-21 22:50:32 +01:00
Mattes D
f232704203
WSSAnvil: Added clamping to entity coords.
...
Fixes CID 72854.
2014-12-21 22:37:48 +01:00
Mattes D
e192da5316
FastNBT: Added a sanity check for number of list items.
...
Fixes CID 55812.
2014-12-21 22:25:01 +01:00
Mattes D
afdd53729c
cChunk: Fixed missing initialization.
...
Fixes CID 72670.
2014-12-21 22:19:53 +01:00
Mattes D
ecf778bbec
cWorld: Moved initialization into constructor.
...
Fixes CID 71781.
2014-12-21 22:19:22 +01:00
Mattes D
fe00c99c95
cEndGen: Fixed unitialized member variables.
...
Fixes CID 43671.
2014-12-21 21:59:44 +01:00
Mattes D
c9697083e5
cNoise3DComposable: Fixed unitialized member variables.
...
Fixes CID 43665.
2014-12-21 21:56:34 +01:00
Mattes D
d4c3821eca
Fixed coverity issues in protocols.
...
Fixes CID 73099, CID 66411.
2014-12-21 20:01:42 +01:00
Mattes D
9e9459a367
Fixed a possible division by zero.
2014-12-21 19:48:29 +01:00
Mattes D
d4c9daddb8
Merge pull request #1682 from Masy98/entities
...
Added Rabbits
2014-12-21 15:18:42 +01:00
Mattes D
ffd8356fc1
Merge pull request #1680 from Masy98/entities
...
Added Guardian
2014-12-19 23:37:35 +01:00
Mattes D
d253a9399e
Merge pull request #1679 from SphinxC0re/master
...
Added itemblacklist to gitignore
2014-12-18 10:23:58 +01:00
Mattes D
5dfb094d6a
Merge pull request #1677 from mc-server/GlobalFixes
...
Fixed eMonsterType lua bugs.
2014-12-17 21:25:46 +01:00
Mattes D
a7e115ee3e
Merge pull request #1674 from gushromp/master
...
Fix for water spreading on bottom of the world
2014-12-17 14:53:41 +01:00
Mattes D
4947880a5d
Merge pull request #1581 from mc-server/redstone
...
Resplit redstone .inc file and provided improvements
2014-12-17 08:38:23 +01:00
Mattes D
aff32ba27b
Updated Core.
2014-12-16 12:52:34 +01:00
Mattes D
6de847ef66
Merge pull request #1673 from gushromp/master
...
Updated cPlayer::DoMoveToWorld to send target world's weather info to Player
2014-12-15 20:16:25 +01:00
Mattes D
81446b0f80
Merge pull request #1635 from mc-server/Cocoa
...
Added cocoa pod.
2014-12-14 17:39:50 +01:00
Mattes D
58668351ae
Merge pull request #1664 from mc-server/SandstoneCaves
...
WormNestCaves occasionally generates sandstone around the cave
2014-12-13 20:43:17 +01:00
Mattes D
b8072cbd62
Merge pull request #1660 from Seadragon91/master
...
Fixed print of milliseconds from chrono
2014-12-12 21:00:06 +01:00
Mattes D
125c70ab63
Updated the Core.
2014-12-12 14:33:11 +01:00
Mattes D
c8a49a6189
LightingThread: Fixed a memory leak.
2014-12-12 14:27:19 +01:00
Mattes D
6cd7e52eb7
Exported cWorld:PrepareChunk to Lua API, test in Debuggers.
2014-12-12 13:32:52 +01:00
Mattes D
1142879cc8
Debuggers: Added loadchunk and preparechunk commands.
...
preparechunk is not working yet because the required API is missing.
2014-12-11 21:21:58 +01:00
Mattes D
2a4ad3a475
Debuggers: Changed to use Info.lua file.
2014-12-11 21:21:57 +01:00
Mattes D
781b3303a5
Merge pull request #1657 from mc-server/PrepareChunk
...
Prepare chunk
2014-12-11 17:06:18 +01:00
Mattes D
33c6ff872e
Cosmetic touchups.
...
Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files.
2014-12-11 14:34:09 +01:00
Mattes D
1b1f971752
Merge remote-tracking branch 'planetx/master'
2014-12-11 11:17:54 +01:00
Mattes D
09453619e6
Fixed DungeonRooms edges not generating sometimes.
2014-12-11 11:16:11 +01:00
Mattes D
fcd3d1bfed
Added a cWorld:PrepareChunk function.
...
It prepares the chunk - loads or generates it and lights it.
The spawn prepare process uses this function.
2014-12-10 22:35:16 +01:00
Mattes D
563f41af65
Lighting thread: skip chunks that are already lit.
2014-12-10 22:27:48 +01:00
Mattes D
fbf98b8488
Merge pull request #1655 from tonibm19/patch-2
...
Added NetherOreNests to default nether generator.
2014-12-10 17:44:53 +01:00
Mattes D
32bce44f1f
Merge pull request #1623 from p-mcgowan/issue_1253
...
Prevent multiple logins with same username, unless allowed in settings
2014-12-10 11:17:11 +01:00
Mattes D
2ab8d2bd98
Added a RemoveIf() function to cQueue
2014-12-09 10:43:40 +01:00
Mattes D
209de0268a
Moved NaturalPatches in front of PreSimulator and Animals.
2014-12-08 21:28:14 +01:00
Mattes D
d323c0ba76
Merge pull request #1563 from mc-server/c++11Events
...
Reimplemented cEvent using C++11 primitives.
2014-12-07 22:41:34 +01:00
Mattes D
2bd03ee1f9
cMojangAPI: Fixed a possible problem with thread termination order.
2014-12-07 21:38:28 +01:00
Mattes D
c65bb6341d
Fixed integer overflow problems.
...
The event would overflow when requesting a 60 minute timeout.
2014-12-07 21:37:47 +01:00
Mattes D
8ad1afcc1b
Merge remote-tracking branch 'origin/master' into c++11Events
2014-12-07 18:15:23 +01:00
Mattes D
77cf657790
Fixed format warning.
2014-12-07 17:29:39 +01:00
Mattes D
e08331a24b
Fixed crash on server stop.
...
The entity destructors called through chunkmap destructor and chunk destructor were accessing the world which was in an already invalid state (half-destroyed).
Fixed by destroying chunkmap explicitly and providing a nullptr check in the HasEntity() function.
2014-12-07 16:14:27 +01:00
Mattes D
3c3cb198f3
Fixed c++11 branch issues.
2014-12-07 15:46:27 +01:00
Mattes D
d00ebd7ee7
Merge pull request #1555 from mc-server/c++11
...
C++11
2014-12-07 15:01:36 +01:00
Mattes D
263fabc816
Replaced most auto_ptr with unique_ptr.
2014-12-06 23:03:17 +01:00
Mattes D
3f23813412
Merge pull request #1647 from mc-server/SocketThreadsFix
...
Fixes socket leak in HTTP server.
2014-12-06 16:08:08 +01:00
Mattes D
c5dc5ac45f
FinishGenPassiveMobs: Cosmetic changes.
2014-12-05 22:46:46 +01:00
Mattes D
5712fadf31
Merge pull request #1642 from p-mcgowan/animalTerrainFinisher
...
Animal terrain finisher
2014-12-05 22:19:44 +01:00
Mattes D
8e56d7539d
CheckBasicStyle: Check missing braces for control statements.
...
Only single-line control statements are checked.
2014-12-05 16:59:56 +01:00
Mattes D
e2a04f580a
BasicStyle: Added missing braces to control statements.
2014-12-05 16:59:11 +01:00
Mattes D
21d5374b97
CheckBasicStyle: Added a check for parentheses around comparisons.
...
The check is only rudimentary and tends to fall towards missed positived rather than false positives.
2014-12-05 12:58:48 +01:00
Mattes D
44644ae025
Fixed reported parentheses around comparisons.
2014-12-05 12:58:47 +01:00
Mattes D
ad13a80d14
Merge pull request #1649 from jonfabe/InfoDumpFix
...
Fix duplicate commands added to README.md
2014-12-05 08:09:56 +01:00
Mattes D
b7820256a7
Merge pull request #1648 from mc-server/CraftingLuaFix
...
Fixed the CRAFTING_NO_RECIPE hook call.
2014-12-04 23:25:33 +01:00
Mattes D
8046022a83
Merge pull request #1638 from p-mcgowan/cactiNoLongerSpawnOnBeaches
...
cacti no longer spawn outside of desert variants
2014-12-04 23:08:33 +01:00
Mattes D
ed99216ba4
Tools: Removed unused Timer.* file from CMakeLists.txt.
2014-12-04 22:51:40 +01:00
Mattes D
22a3419791
CheckBasicStyle: Doesn't report false positives ending in a keyword.
2014-12-04 22:44:24 +01:00
Mattes D
64f8428d03
Fixed trailing whitespace.
2014-12-04 22:07:04 +01:00
Mattes D
c014f5624c
Merged branch 'origin/master' into c++11.
2014-12-04 22:04:16 +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
Mattes D
c8e75994cc
Merge pull request #1645 from jonfabe/SpectatorModeFixes
...
Spectator mode fixes
2014-12-04 09:10:14 +01:00
Mattes D
0ecc16c618
Fixed indent.
2014-12-03 18:24:28 +01:00
Mattes D
f206f34a3d
Server: Fixed a MSVC warning.
2014-12-03 18:04:21 +01:00
Mattes D
664ea804a3
ByteBuffer: Re-added Single-thread access checker.
2014-12-03 18:04:08 +01:00
Mattes D
010546051e
Fixes socket leak in HTTP server.
...
Fixes #1643 .
2014-12-03 16:14:26 +01:00
Mattes D
efb5f86cfa
Merge pull request #1646 from p-mcgowan/luaCheckstyleWarnings
...
clearing CheckBasicStyle.lua messages
2014-12-03 10:06:14 +01:00
Mattes D
4d74adaa67
Merge pull request #1640 from p-mcgowan/mooshroomMobSpawnerRule
...
added spawning rule to mooshroom
2014-12-03 09:34:26 +01:00
Mattes D
bc8937d315
Merge pull request #1634 from mc-server/DungeonSpawners
...
Dungeons spawners now spawn mobs
2014-12-02 11:15:20 +01:00
Mattes D
a13c75085e
Merge pull request #1602 from mc-server/MobSpawner
...
Added mob spawner
2014-12-01 15:59:57 +01:00
Mattes D
36500f88b2
Merge pull request #1624 from mc-server/LuaDeprecating
...
Mark StringToMobType() as deprecated. Use cMonster:StringToMobType() instead
2014-12-01 09:50:34 +01:00
Mattes D
cc313c91ab
DistortedHeightmap: Added missing initialization.
...
This was probably the original cause for the "empty chunks".
Fixes #1433 .
2014-12-01 00:14:27 +01:00
Mattes D
f0ad6221c3
Noise3D: Fixed missing initialization.
...
This should fix terrain being at Y=0 or Y=255 for the spawn chunk.
Fixes #1433 .
2014-12-01 00:09:58 +01:00
Mattes D
db0f791d43
Fixed a crash in cSpawnPrepare.
2014-11-30 18:19:29 +01:00
Mattes D
a73c800377
Improved comments for cWorld::DoWithPlayer().
2014-11-30 11:11:47 +01:00
Mattes D
d8e6931fe6
Merge pull request #1626 from mc-server/StackTraceOnFailure
...
Stack trace on failure
2014-11-30 11:10:28 +01:00
Mattes D
dec89478a7
Fixed MCADefrag compilation.
2014-11-29 23:58:26 +01:00
Mattes D
e0a846d805
Removed unneeded include.
2014-11-29 23:55:15 +01:00
Mattes D
abbe18c0ab
Fixed QtBiomeVisualiser compilation.
2014-11-29 23:55:06 +01:00
Mattes D
8e6f98eb40
Fixed missing files in ProtoProxy.
2014-11-29 23:30:27 +01:00
Mattes D
201313a9f8
Added a basic stacktracing for assert and signal failures.
2014-11-29 23:06:10 +01:00
Mattes D
c8384fee39
Merge pull request #1622 from M10360/master
...
Missing Fuels, Incorrect Smelting Recipe, Duplicate Code, Listing Myself
2014-11-29 22:00:06 +01:00
Mattes D
883230abbc
Merge pull request #1619 from mc-server/WarningFixes
...
Warning fixes
2014-11-28 22:46:58 +01:00
Mattes D
1480cdb944
Chunk: Fixed same-name iterators.
2014-11-27 23:15:08 +01:00