Vincent
9bba8e4c7d
Changed method call to DoesAllowMultiLogin() instead of IsAllowMultiLogin()
...
Compiles correctly.
2014-12-10 00:45:24 -08:00
Vincent
3a2759fdc1
Fixed return value in CheckMultiLogin()
2014-12-09 14:23:44 -08:00
Howaner
e21159d4a8
Fixed compiling.
2014-12-09 13:29:22 +01:00
Vincent
4b08ca261b
Fixed indent problems and added return definitions to CheckMultiLogin().
...
Changed from IsAllowMultiLogin() to DoesAllowMultiLogin().
Fixed CheckMultiLogin() to not run to the end without returning a value.
2014-12-09 03:06:25 -08:00
Mattes D
2ab8d2bd98
Added a RemoveIf() function to cQueue
2014-12-09 10:43:40 +01:00
Vincent
e9a27db028
Changed DoWithPlayer to auto instead of using iterator.
2014-12-08 15:58:46 -08:00
Vincent
12c012fa01
Changed CheckMultiLogin() to not have main body wrapped in an if statement.
...
Added in indent to cPlayerListCallBack in cCallback class inside CheckMultiLogin().
Added doxy-comment for DoWithPlayer().
Changed comments on IsPlayerInQueue() and IsAllowMultiLogin() to doxy-comments.
2014-12-08 14:33:59 -08:00
Mattes D
209de0268a
Moved NaturalPatches in front of PreSimulator and Animals.
2014-12-08 21:28:14 +01:00
planetx
ce3adf89fa
Check to see if header write out is required
2014-12-08 11:23:19 -08:00
tonibm19
74ef586400
Added NetherOreNests to nether default generator.
...
Now there's quartz in the nether
2014-12-08 19:37:42 +01:00
tonibm19
98bd724294
Added NaturalPatches to finishers
2014-12-08 19:08:46 +01:00
planetx
1674f505f8
Added timestamp to merged files WSSAnvil
2014-12-08 08:28:44 -08:00
planetx
65c1d4f7b6
Added timestamp to merged files WSSAnvil
2014-12-08 08:26:37 -08:00
planetx
a1da0e7205
Added timestamp to new files WSSAnvil
2014-12-08 08:22:40 -08:00
Vincent
e28cc876c4
created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World.
2014-12-08 00:57:46 -08:00
Vincent
6de07d4a39
Fixed compile errors
2014-12-08 00:45:29 -08:00
Vincent
656964dc38
removed last space in handlehandshake
2014-12-08 00:19:33 -08:00
Vincent
ed09e76023
Changed HandleHandshake to return the result of CheckMultiLogin instead of just true since it already returns true if it finds and kicks the current player.
2014-12-08 00:16:09 -08:00
Vincent
d8d3b9aec5
Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added.
2014-12-08 00:12:48 -08:00
planetx
8f5e861674
Added Timestamp info to chunks in WSSAnvil
2014-12-07 14:44:08 -08:00
Vincent
83c728fce4
Merge branch 'issue_1253' of https://github.com/p-mcgowan/MCServer into issue_1253
2014-12-07 12:45:39 -08:00
Vincent
8edfd78295
changed from using iterator to auto for server and clienthandle
2014-12-07 12:41:42 -08: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
STRWarrior
ba99107591
Reduced river height
...
Rivers would exceed the water height quite often
2014-12-07 12:03:52 +01:00
STRWarrior
95c83abcdb
Fixed error message in cFinishGenPassiveMobs
...
It would send an error message when trying to spawn mobs in a desert
2014-12-07 12:00:36 +01:00
Mattes D
263fabc816
Replaced most auto_ptr with unique_ptr.
2014-12-06 23:03:17 +01:00
Tiger Wang
3acdf25b05
Merge remote-tracking branch 'origin/master' into c++11
...
Conflicts:
src/OSSupport/Thread.cpp
2014-12-06 17:41:48 +00: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
p-mcgowan
b25fcb0972
formatting and default spawn percentage
2014-12-05 11:31:01 -08:00
p-mcgowan
a8bbd5efe4
Merge branch 'master' of github.com:p-mcgowan/MCServer into animalTerrainFinisher
...
update
2014-12-05 11:24:09 -08: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
p-mcgowan
750b4a3eaa
reformat
2014-12-05 01:01:10 -08:00
p-mcgowan
c655d97c9d
restructure, with logic this time
2014-12-05 00:57:40 -08:00
p-mcgowan
bd8c1850da
restructured random animals, added check for desert (update as per wiki)
2014-12-04 17:20:19 -08:00
p-mcgowan
78f0aebaf4
handle non-vanilla dimensions
2014-12-04 17:01:34 -08:00
p-mcgowan
538991c973
handle non-vanilla dimensions
2014-12-04 16:59:45 -08:00
p-mcgowan
53a33595b7
formatting fixes
2014-12-04 16:44:18 -08: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
22a3419791
CheckBasicStyle: Doesn't report false positives ending in a keyword.
2014-12-04 22:44:24 +01:00
p-mcgowan
8557ab18d0
conflict resolution
2014-12-04 13:31:58 -08:00
p-mcgowan
99a5b38e27
format blocks and randomizing
2014-12-04 13:28:27 -08: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
p-mcgowan
b7c4ef05ac
last doxy fix
2014-12-04 01:18:55 -08:00
p-mcgowan
83d4bec369
awful comment fixing, randomizer fix
2014-12-04 01:08:17 -08: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
Jonathan Fabian
6ca47185c4
Updated whitespace in comment, changed conditional to logical equivalent due to popular demand
2014-12-03 23:04:53 -05: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
p-mcgowan
27185dd374
clearing CheckBasicStyle.lua messages
2014-12-03 00:26:15 -08:00
p-mcgowan
8c3b9ae15b
class description and doxy-commenting
2014-12-03 00:12:32 -08:00
p-mcgowan
d348433406
doxy-commenting
2014-12-02 22:35:34 -08:00
Jonathan Fabian
1e6c13ea51
Fix Spaces to Tabs
2014-12-02 20:54:56 -05:00
Jonathan Fabian
24c6da6209
Add missing IsSpectatorMode() checks in Player.cpp, make sure that player is flying when spawned otherwise it will fall through the world.
2014-12-02 20:25:41 -05:00
Jonathan Fabian
b0e4643eb6
Allow Spectator Gamemode as a world default.
2014-12-02 20:24:05 -05:00
p-mcgowan
7f8f2f1e70
forgot generation defaul init
2014-12-02 15:57:41 -08:00
p-mcgowan
2ea8a36df6
forgot initializer
2014-12-02 15:55:09 -08:00
p-mcgowan
6803df129f
typos and oversights for lua and CI
2014-12-02 11:32:53 -08:00
p-mcgowan
8d7c2d4b13
fastRandom unused
2014-12-02 11:26:37 -08:00
p-mcgowan
585662e63f
indentation, repeatable random, small corrections
2014-12-02 11:21:51 -08:00
p-mcgowan
14bc241ec1
updated mooshroom check for mycelium
2014-12-02 11:10:20 -08: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
p-mcgowan
978c9967ad
fix comments after replacing spaces with tabs
2014-12-02 02:03:29 -08:00
p-mcgowan
2d93274a90
animal terrain finisher
2014-12-02 01:58:30 -08:00
p-mcgowan
9831220a1c
animal terrain finisher
2014-12-02 01:37:17 -08:00
STRWarrior
f1177984f1
Fixed forgotten semicolon
2014-12-02 10:20:20 +01:00
STRWarrior
a466986f53
Using IntNoise3DInt instead of IntNoise3D
2014-12-02 09:55:25 +01:00
STRWarrior
5db3ceb333
Suggestions by xoft
...
Using IntNoise3D to prevent needless floating point math
2014-12-02 09:42:49 +01:00
p-mcgowan
865b567665
extra formatting parentheses
2014-12-01 22:13:52 -08:00
p-mcgowan
ae47c00547
added spawning rule to mooshroom
2014-12-01 22:11:28 -08:00
p-mcgowan
bb5a7d8f15
reformat for lua and CI
2014-12-01 17:47:36 -08:00
p-mcgowan
3bf111c69e
formatting and commenting fixes
2014-12-01 17:28:46 -08:00
p-mcgowan
cb584a87bd
cacti no longer spawn outside of desert variants
2014-12-01 11:44:20 -08:00
STRWarrior
7586069829
Using static cast for Dungeon spawners
2014-12-01 19:07:54 +01:00
STRWarrior
ca728da9b6
Using static cast for MineShaft spawners
2014-12-01 19:05:44 +01:00
STRWarrior
25e3869485
Mineshaft spawners now spawn cave spiders
2014-12-01 18:47:39 +01:00
Howaner
8e753fa590
Added cocoa pod.
2014-12-01 18:10:37 +01:00
STRWarrior
c0b08a6c1e
Dungeons spawners now spawn mobs
...
25% for a spider, 25% for a skeleton and 50% for a zombie spawner.
2014-12-01 17:51:20 +01:00
STRWarrior
1bf0827a2f
Simplefied SoulsandRims
...
Replaced two for loops with a single if
2014-12-01 17:29:35 +01:00
STRWarrior
cd0081bb67
Merge branch 'master' of https://github.com/mc-server/MCServer
2014-12-01 16:39:42 +01:00
STRWarrior
fa4a85c915
Added better soulsand rims
...
As a finisher called SoulsandRims
2014-12-01 16:36:48 +01:00
Howaner
bcbd73f7d8
MobSpawner fixes.
2014-12-01 14:58:13 +01:00
Howaner
677dde51bd
Merge branch 'master' into MobSpawner
...
Conflicts:
MCServer/Plugins/APIDump/APIDesc.lua
2014-12-01 14:43:03 +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