Masy98
79110b29db
Combined conditions
2014-09-27 21:49:03 +02:00
madmaxoft
e7de548c89
Fixed minor style issues.
2014-09-27 21:37:36 +02:00
madmaxoft
d1a72eb6de
Wrapped clang-specific pragma into an #ifdef block.
...
MSVC was complaining about an unknown pragma.
2014-09-27 21:33:50 +02:00
Masy98
fc22ba0ce8
Added barriers correctly
2014-09-27 21:07:52 +02:00
Tiger Wang
7b7225e50b
Merge remote-tracking branch 'origin/master' into endofsupport
2014-09-27 19:20:02 +01:00
Tiger Wang
7ce09a9113
Suggestions
2014-09-27 19:19:28 +01:00
Tiger Wang
d1814d2d67
Merge remote-tracking branch 'origin/master' into chestcarts
...
Conflicts:
src/Entities/Minecart.cpp
2014-09-27 18:40:00 +01:00
worktycho
cc73b70211
Update IncrementalRedstoneSimulator.inc
2014-09-27 15:24:01 +01:00
worktycho
88a07bd184
Update IncrementalRedstoneSimulator.inc
2014-09-27 15:19:32 +01:00
worktycho
20101fab99
Correct method name.
2014-09-27 15:04:08 +01:00
worktycho
94a0d04d58
Set chunk data
2014-09-27 14:49:03 +01:00
worktycho
4f8818748e
Add data accessor.
2014-09-27 14:46:50 +01:00
Tiger Wang
72c087cfd3
Dropped support for <1.7.x
2014-09-27 14:28:14 +01:00
Masy98
6dd47e783a
Added default value to switch and spruce gate to fence gate handler
2014-09-27 15:11:35 +02:00
Masy98
485bac2818
Fixed convertToPickups for fence gates
2014-09-27 14:23:58 +02:00
Masy98
30f9a4d3ab
Fixed convertToPickups for doors
2014-09-27 14:19:45 +02:00
Howaner
5e71d5299c
Fixed compile errors.
2014-09-27 00:07:17 +02:00
Howaner
033d16babb
Merge branch 'master' into MobSpawner
...
Conflicts:
src/MobSpawner.h
src/Mobs/Monster.h
2014-09-26 23:56:20 +02:00
Mattes D
305778f22f
Merge pull request #1456 from Howaner/Fixes
...
Fixed player custom names in 1.8 and added type checking to map loading
2014-09-26 23:01:22 +02:00
madmaxoft
0d83477540
Fixed UNUSED macro so that it doesn't require type knowledge.
...
Introduced new UNUSED_VAR macro that is used when type knowledge is available (for local variables).
2014-09-26 22:53:39 +02:00
Mattes D
2c5b0f2378
Merge pull request #1415 from Masy98/blocks
...
Added 1.8 Blocks and Items
2014-09-26 22:24:45 +02:00
Howaner
af997a09ca
Merge branch 'master' into Fixes
2014-09-26 22:23:36 +02:00
Tiger Wang
4e2b838a69
Merge pull request #1455 from mc-server/includes
...
Removed a few unnecessary includes
2014-09-26 19:46:43 +01:00
worktycho
02db79d725
Update Plugin.h
2014-09-26 19:00:26 +01:00
Masy98
9106a8c29b
Moved curly brace to seperate line
2014-09-26 19:45:03 +02:00
Masy98
4105be0bec
Re-added 1.8 blocks to the redstone simulator
2014-09-26 19:44:06 +02:00
Tycho
0e141923bb
Merge branch 'master' of https://github.com/mc-server/MCServer
2014-09-26 18:14:22 +01:00
Tycho
a3f940f47c
Removed more unessicary includes
2014-09-26 18:13:19 +01:00
Masy98
2feee3b316
Merge branch 'master' into blocks
...
Conflicts:
src/Items/ItemHandler.cpp
src/Simulator/IncrementalRedstoneSimulator.cpp
2014-09-26 18:32:31 +02:00
tycho
ad5d0eda9c
Fixed issue with casting
2014-09-26 17:00:34 +01:00
Howaner
d83d6456e8
Fixed players custom name in 1.8
2014-09-26 17:37:19 +02:00
Tycho
6ffb7835e7
Removed a few unnessicary includes
2014-09-26 16:26:03 +01:00
worktycho
411c69b420
Merge pull request #1419 from mc-server/redstoneTests
...
Added test mocking to IncrementalRedstoneSimulator
2014-09-26 16:04:26 +01:00
Howaner
749c6092d3
Added type checking to map loading.
2014-09-26 14:31:52 +02:00
madmaxoft
157cad9007
Improved searching for spawn.
...
Won't spawn on a small island inside ocean anymore.
2014-09-26 13:04:34 +02:00
madmaxoft
6b260f06ba
cByteBuffer: Simplified ReadPosition().
...
Also, by popular demand, added more comments to the code.
2014-09-25 23:06:21 +02:00
madmaxoft
976c6bd32b
Protocol 1.8: Fixed plugin message packet.
2014-09-25 21:33:20 +02:00
madmaxoft
0443f5d531
cByteBuffer: Fixed position reading.
2014-09-25 21:23:05 +02:00
madmaxoft
e5293706de
TwoLevel BioGen: reads params from INI file.
2014-09-25 20:47:29 +02:00
madmaxoft
8f4cc27e39
Added cByteBuffer::WriteBEUShort().
2014-09-25 20:47:29 +02:00
Mattes D
e751f4ffe3
Merge pull request #1452 from Howaner/Fixes
...
Fixes
2014-09-25 20:45:54 +02:00
madmaxoft
27187371eb
Protocol 1.8: Handling packet compression properly.
...
The compression didn't work with CommLog turned on.
2014-09-25 20:34:49 +02:00
madmaxoft
3459bc1ede
Protocol 1.8: Added checks for values presence.
...
Reported by @worktycho / Coverity.
2014-09-25 19:42:35 +02:00
Howaner
050b28741b
Comment style
2014-09-25 19:28:11 +02:00
Howaner
dd423a2467
Merge branch 'master' into Fixes
2014-09-25 19:22:46 +02:00
Howaner
060ac500fc
Fixed wrong Surrounding size
2014-09-25 19:19:30 +02:00
Howaner
7cdcf0a883
Anvil: Arrow Tile tags are a short in Vanilla
2014-09-25 19:01:44 +02:00
Tycho
b2f5ab9678
Merge branch 'master' into redstoneTests
...
Conflicts:
src/Simulator/IncrementalRedstoneSimulator.cpp
2014-09-25 17:58:12 +01:00
Howaner
12621e3800
Use the json writer to write sign texts.
...
Without this change the client disconnects if the text contains "
2014-09-25 18:49:55 +02:00
Howaner
67fe834499
Fixed dispender direction bug
2014-09-25 18:37:36 +02:00
Howaner
daf5127b28
Fixed hanging direction bugs.
2014-09-25 18:37:24 +02:00
madmaxoft
c6f78d516b
Redstone: Fixed a crash with repeaters on a chunk border.
2014-09-25 18:36:11 +02:00
madmaxoft
aeabc4ff6b
1.8 Protocol: Fixed problems with no-payload packets.
2014-09-25 18:36:10 +02:00
madmaxoft
a518a83c25
1.7 Protocol: fixed potential problems with no-payload packets.
2014-09-25 18:36:10 +02:00
madmaxoft
843f31ecba
HangingEntity: Silenced a crash.
...
Vanilla worlds sometimes contain data that this was asserting upon. Changed into a log.
2014-09-25 18:36:09 +02:00
Tycho
799c96661d
Fixed style
2014-09-25 15:45:39 +01:00
Tycho
9c459cbe50
Merge branch 'master' into redstoneTests
...
Conflicts:
src/Mobs/Monster.h
2014-09-25 15:22:08 +01:00
Howaner
32ecb121a3
derp
2014-09-24 15:30:52 +02:00
Howaner
1d588b5195
Don't create two entity lists.
2014-09-24 15:17:20 +02:00
Howaner
65077c314a
Merge branch 'master' into WorldLoader
2014-09-24 15:00:49 +02:00
madmaxoft
8d9dfc5d1a
Anvil: Wolf collar color is a byte in Vanilla.
...
Kept the old Int reading for compatibility reasons.
Ref.: #1448
2014-09-23 22:22:38 +02:00
Howaner
2832685c02
Merge branch 'master' into WorldLoader
2014-09-23 22:16:05 +02:00
madmaxoft
d04ab9b703
Fixed compiler warnings in 1.8 protocol.
2014-09-23 22:12:48 +02:00
madmaxoft
0b40ce971c
Fixed a crash in WSSAnvil.
...
Reported as #1448 .
2014-09-23 22:12:47 +02:00
Howaner
366af5067b
MCServer world compatiblity with vanilla and mcedit.
2014-09-23 19:16:17 +02:00
Howaner
4b38e077cf
Merge branch 'master' into EntityCustomName
...
Conflicts:
src/ClientHandle.cpp
src/ClientHandle.h
src/Protocol/Protocol.h
src/Protocol/Protocol125.cpp
src/Protocol/Protocol125.h
src/Protocol/Protocol17x.cpp
src/Protocol/Protocol17x.h
src/Protocol/ProtocolRecognizer.cpp
src/Protocol/ProtocolRecognizer.h
src/World.cpp
src/World.h
2014-09-23 14:39:49 +02:00
archshift
5f6bac2091
Made ExpBottleEntity break on entities.
...
Fixes #1369
2014-09-23 00:28:12 -07:00
Chris Darnell
806871b86f
A few compiler warning fixes
2014-09-22 18:23:56 -04:00
Howaner
1aa64f32e1
Updated README.md
2014-09-22 22:07:58 +02:00
Howaner
fc11818f4c
Hotfixed 1.8 item reading.
2014-09-22 22:06:08 +02:00
Alexander Harkness
5f823fd18d
Merge pull request #1398 from mc-server/1.8-Protocol
...
1.8 Protocol Update
2014-09-22 20:45:22 +01:00
Howaner
9cddffb6df
Changed metadata reading again.
2014-09-22 21:18:13 +02:00
Howaner
bcb11078e3
Fixed item nbt reading.
2014-09-22 17:15:08 +02:00
Chris Darnell
195b646aa4
Made it compile with clang
2014-09-22 03:22:36 -04:00
Tiger Wang
cb70925077
Fix crash in cLineBlockTracer
...
* Fixes #1418
2014-09-21 19:24:45 +01:00
madmaxoft
3676a84916
Fixed cParsedNBT::FindTagByPath().
...
There was an off-by-one error in the name handling.
2014-09-20 23:01:42 +02:00
Howaner
718eb227ab
Implemented mob spawner.
2014-09-19 23:00:54 +02:00
Howaner
09ca7d144a
Merge branch 'master' into MobSpawner
2014-09-19 17:33:22 +02:00
Howaner
6aa331a4fa
Code improvements.
2014-09-19 15:07:01 +02:00
Howaner
4398156b2e
Merge branch 'master' into 1.8-Protocol
2014-09-19 14:31:18 +02:00
Howaner
52c875531e
Derp
2014-09-18 18:51:36 +02:00
Howaner
43ed690520
Exported player list states to extra functions.
2014-09-18 18:50:17 +02:00
Howaner
be6d4a5912
1.8: Simplified item metadata reading.
2014-09-18 16:04:03 +02:00
madmaxoft
95af3eb526
Fixed minor style issues.
2014-09-17 23:32:14 +02:00
madmaxoft
6f5aa487ed
Voronoi biomegen: Added JitterSize and OddRowOffset.
2014-09-17 23:24:22 +02:00
Mattes D
0625556c37
Merge pull request #1437 from nesco/master
...
Implemented spectator gamemode.
2014-09-17 21:30:11 +02:00
nesco
bf85c0b0ab
Implementing Spectator Mode
...
Adding some proprieties of the spectator game mode in player.cpp :
- Players can't toss items
- Players can't touch the ground
2014-09-17 21:17:06 +02:00
madmaxoft
16e9deba8d
Added an explicit setting for allowing BungeeCord handshake.
2014-09-17 20:56:33 +02:00
Tycho
045d54e0e2
Merge branch 'master' into redstoneTests
...
Conflicts:
src/Blocks/ChunkInterface.h
2014-09-17 18:47:33 +01:00
Tycho
6e7c0e33b5
Added first test to show the object can be created
2014-09-17 18:40:10 +01:00
Howaner
3ee211bbba
Use xofts ReadPosition() code.
2014-09-17 17:53:42 +02:00
Howaner
3d94a7ea56
Created MobSpawnerEntity class.
2014-09-17 17:45:13 +02:00
nesco
b70e09bc90
Update World.h
2014-09-17 17:32:37 +02:00
nesco
c63e14b6d1
Preparing 1.8 update
2014-09-17 17:15:47 +02:00
madmaxoft
010879e43f
BungeeCord compatibility: don't overwrite UUID / properties.
2014-09-17 16:01:14 +02:00
madmaxoft
82317709f8
Full BungeeCord compatibility.
...
Fixes #1392 .
Fixes SpigotMC/BungeeCord#1211 .
2014-09-17 11:07:42 +02:00
madmaxoft
3406957f1b
Initial BungeeCord support.
...
Ref.: #1392
2014-09-17 09:38:06 +02:00
Tycho
26a4845a99
IncrementalRedstoneSimulator now has no dependencies on cChunk
2014-09-16 20:29:31 +01:00
nesco
89c9aec5da
Preparing 1.8 update
...
Partially added Spectator gamemode
2014-09-16 20:17:35 +02:00
nesco
f246faec16
Preparing 1.8 update
...
Added Spectator gamemode
2014-09-16 20:05:55 +02:00
nesco
120b23d65e
Pre 1.8 release
...
Added Spectator gamemode
2014-09-16 20:04:17 +02:00
nesco
8dedbe4db5
Preparing 1.8 changes
...
Added Spectator Gamemode
2014-09-16 20:02:27 +02:00
nesco
be7483f26b
Pre 1.8 release
...
Added Gamemode Spectator
2014-09-16 20:01:04 +02:00
madmaxoft
96f45a48d4
VoronoiMap: Added Jitter and OddRowOffset params.
2014-09-15 22:34:33 +02:00
Howaner
63142a7eb1
Simplified WriteUUID()
2014-09-14 20:08:18 +02:00
Howaner
382a42b3d6
Fixed warnings.
2014-09-14 14:24:28 +02:00
Howaner
92e7e5c615
Merge branch 'master' into 1.8-Protocol
2014-09-14 14:16:17 +02:00
Mattes D
c4a53c5d7d
OSSupport: Fixed UNICODE Windows builds.
...
The files now compile even inside UNICODE applications.
2014-09-14 01:33:05 +02:00
Tiger Wang
fdabfd77e2
Improved cBlockHandler::DropBlock
2014-09-13 22:49:27 +01:00
Tiger Wang
52d86728e6
Entities experience water resistance
2014-09-13 22:49:05 +01:00
Howaner
94d562502d
1.8: Updated scoreboard packets.
2014-09-13 21:48:16 +02:00
Howaner
f323955099
Moved chat json creating to the CompositeChat class.
2014-09-13 20:27:10 +02:00
Mattes D
5b63a7fe98
Merge pull request #1353 from mc-server/Effects
...
Added speed entity effect.
2014-09-13 17:05:59 +02:00
Tiger Wang
bc37b895bc
e.t.c. -> etc.
...
etcetera, not egg tray conglomerate :P
2014-09-13 11:15:16 +01:00
Tiger Wang
a8c7dadfd7
Added newlines
2014-09-13 11:14:17 +01:00
Howaner
b462416e1f
1.8: Fixed maps.
2014-09-13 02:20:04 +02:00
Howaner
69afc4dbba
Merge branch 'master' into 1.8-Protocol
...
Conflicts:
src/Items/ItemHoe.h
2014-09-13 01:21:43 +02:00
Tiger Wang
3e74113427
Implemented Chest Minecarts
2014-09-12 23:18:02 +01:00
Tiger Wang
4019847857
Fixed friction being applied whilst airborne
...
Reported by tonibm9 in #1300 .
2014-09-12 20:50:24 +01:00
Howaner
d5306f265b
Only drop flint or gravel, not both.
2014-09-12 19:38:00 +02:00
Howaner
96e03fc3ea
Added extra mushroom handler.
2014-09-12 19:34:19 +02:00
Howaner
1223a24d3c
Merge branch 'master' into Effects
2014-09-12 19:13:46 +02:00
Howaner
fcf558173e
Fixed farmland issues.
2014-09-12 19:07:20 +02:00
Howaner
80b0631c43
Only place farmland if no block is upper than dirt/grass.
2014-09-12 18:21:11 +02:00
Howaner
a40eb93c33
Added hoe interact sound.
2014-09-12 18:15:49 +02:00
Howaner
20f3757d54
Play placesound from the middle of the block.
2014-09-12 18:14:32 +02:00
Howaner
010ac1e5f7
Fixed block place sounds.
2014-09-12 18:12:42 +02:00
Masy98
5cf114da39
Added Sea Lantern drops
2014-09-12 17:01:03 +02:00
Masy98
7f42ba9fc1
Fixed 1.8 Item stacking and block harvesting
2014-09-12 16:48:37 +02:00
Howaner
d07ef85ee3
Spawn exp if you break a mob spawner.
2014-09-12 16:41:23 +02:00
Howaner
3f000deb3b
Disabled mobspawner itemdrop.
2014-09-12 15:59:46 +02:00
Howaner
a1716bb415
Players in survival mode are not allowed to break a bedrock.
2014-09-12 15:57:37 +02:00
Howaner
fb68382d9b
Merge branch 'master' into 1.8-Protocol
2014-09-12 14:09:07 +02:00
Howaner
abcae75992
Fixed iron ore drop.
2014-09-12 14:08:56 +02:00
Howaner
009d9bbe46
Merge branch 'master' into 1.8-Protocol
2014-09-12 13:49:23 +02:00
Howaner
1849e620fc
Added flint drop and fence gate meta reset.
2014-09-12 13:49:08 +02:00
Howaner
bee615b75b
Merge branch 'master' into 1.8-Protocol
2014-09-12 13:28:06 +02:00
Howaner
f2c5d8a761
Fixed many right click issues.
2014-09-12 13:19:33 +02:00
Howaner
0d34fc9f31
Fixed wrong buffer length in the 1.8 protocol.
2014-09-12 13:01:23 +02:00
Howaner
34bcd3dd58
1.8: Fixed ReadItem()
2014-09-12 02:42:04 +02:00
Howaner
eb19eff5ac
1.8: Added difficulty sending
2014-09-12 02:00:28 +02:00
Howaner
8151c79a87
1.8: Fixed block entities.
2014-09-12 01:44:20 +02:00
Howaner
4e2d75bde5
1.8: Fixed eating.
2014-09-12 01:37:19 +02:00
Howaner
85ec697d32
1.8: Fixed workbench, enchanting and anvil window.
2014-09-12 01:15:21 +02:00
Howaner
e10237fb4d
1.8: Enderman, byte -> short
2014-09-12 00:41:07 +02:00
Howaner
a02d96d1f5
1.8: Fixed enderman spawning.
2014-09-12 00:36:46 +02:00
Howaner
c7044fa1dd
1.8: Fixed inventory open packet.
2014-09-11 23:17:27 +02:00
Howaner
6d5a5eb665
Removed GetProtocolVersion() from the protocols.
2014-09-11 22:27:35 +02:00
Howaner
d815aeaefd
1.8: Fixed sign placing.
2014-09-11 22:21:53 +02:00
Howaner
c45bf7cf55
1.8: Fixed hangings.
2014-09-11 20:06:28 +02:00
Tycho
b87585977f
Don't include IncrementalRedsonteSimulator.inc when in SELF_TEST mode
2014-09-11 17:57:34 +01:00
Tycho
0b044e1c83
Possibly decoupled IncrementalRedstoneSimulator from the rest of the server
...
THis wil hopefully allow for unit testing
2014-09-11 17:48:21 +01:00
Howaner
3bd3ac2200
1.8: Added ParticleEffect packet.
2014-09-11 17:03:09 +02:00
Masy98
d4641576c0
Added new doors in ItemDoor.h
2014-09-11 16:33:52 +02:00
Masy98
a01994389d
Fixed mutton name in Sheep.cpp
2014-09-11 16:24:16 +02:00
Masy98
b185e7f4e6
Fixed mutton name in ItemHandler
2014-09-11 16:11:03 +02:00
Masy98
741791ecfc
Added barrier block
2014-09-11 16:07:54 +02:00
Masy98
8c3cd18cdd
Added 1.8 food to the food list
2014-09-11 15:57:36 +02:00
Masy98
5f2e850b0f
Added blocks to the fire simulator
2014-09-11 15:48:26 +02:00
Masy98
e34767b265
Fixed incorrect handlers
2014-09-11 15:39:37 +02:00
Mattes D
9fd5df26d0
Fixed a redstone sim failure with droppers.
2014-09-11 10:28:48 +02:00
Masy98
214cc0f15d
Added stone slab in BlockSlab.h
2014-09-10 21:50:46 +02:00
Masy98
c0e86e7360
Fixed typo
2014-09-10 21:47:15 +02:00
Masy98
a9b4b60c80
Added new blocks to the BlockInfo
2014-09-10 21:44:04 +02:00
Masy98
f173cfe430
Added new blocks to the BlockHandler
2014-09-10 21:15:06 +02:00
Masy98
074dcbf950
Added iron trapdoor, fence gates and doors to the redstone simulator
2014-09-10 21:07:37 +02:00
Masy98
c967633d0a
Added 1.8 Blocks and Items
2014-09-10 21:02:15 +02:00
Alexander Harkness
32002694b0
Grammar fixes.
2014-09-10 18:47:59 +01:00
Tycho
27be179939
Added abilty to set build info
...
build info is displayed at startup
Fixes #1410
2014-09-10 16:07:00 +01:00
Mattes D
76d5aa1d51
Merge pull request #1402 from Masy98/Sounds
...
Moved sound-configs into BlockID.h and fixed/ added loads of sounds
2014-09-10 08:36:33 +02:00
Masy98
65e6b1e50e
Removed old sound-configuration for SignPosts
2014-09-09 20:10:37 +02:00
Masy98
a171a6ce93
Removed old sound-configuration for Repeaters
2014-09-09 19:50:35 +02:00
Masy98
27edb7f0d0
Removed old sound-configuration for Trapdoors
2014-09-09 19:37:07 +02:00
Howaner
71c3369e08
1.8: Added MultiBlockChange packet.
2014-09-09 18:27:31 +02:00
Masy98
6cc4ac0bca
Removed old sound-configuration for doors
2014-09-09 16:28:08 +02:00
Masy98
acae3c9c65
Moved sound-configs into BlockID.h and fixed/ added loads of sounds
2014-09-09 16:00:26 +02:00
Mattes D
feb408424c
Merge pull request #1399 from mc-server/warnings
...
Warnings
2014-09-09 14:32:58 +02:00
worktycho
1f0b6eeaf3
Actually set default
2014-09-09 12:18:20 +01:00
Howaner
f94df06b66
Added the player list to the 1.8 protocol.
2014-09-09 03:02:25 +02:00
Howaner
6fb0a76b1e
Merge branch 'master' into 1.8-Protocol
2014-09-09 01:55:21 +02:00
Howaner
d1d4f2146e
PlayerSpawn packet: Send the correct uuid.
2014-09-09 01:54:40 +02:00
Howaner
4b1f4e8d7e
1.8: Added new uuid field.
2014-09-09 01:52:51 +02:00
worktycho
bd810b80a6
use the correct ASSERT
2014-09-08 21:31:47 +01:00
Tycho
fb20c2eb85
FIxed a couple more warnings
2014-09-08 19:15:29 +01:00
Howaner
76fa3a7ccd
More fixes.
2014-09-08 20:12:43 +02:00
Tycho
2c945c8818
TimeOfDay does not need to be an Int64
2014-09-08 19:07:45 +01:00
Tycho
4bdf9256f2
Fixed a few compile warnings
2014-09-08 18:56:27 +01:00
Howaner
e740739d04
Recoded cProtocol180 class.
2014-09-08 19:24:33 +02:00
worktycho
64071aeda9
capitalisation error
2014-09-08 17:45:23 +01:00
Howaner
fa2b69b3f3
1.8: Fixed tab complete.
2014-09-08 17:08:28 +02:00
Howaner
8f8693a71e
Fixed more 1.8 packets.
2014-09-08 17:02:54 +02:00
worktycho
4613fabd45
derp
2014-09-08 15:15:31 +01:00
worktycho
5f207c8bb7
If server fails init, save any changed or generated settings.
2014-09-08 14:57:58 +01:00
Howaner
38124bcce3
Updated chunk sending to 1.8
2014-09-08 12:24:06 +02:00
Howaner
10a30a03e3
Added GetProtocolVersion() to cProtocol.
2014-09-08 11:35:21 +02:00
Howaner
09ff17b71e
Implemented packet compression.
...
ChunkData packet needs this.
2014-09-08 00:36:30 +02:00
Mattes D
c5cd75fae8
Exported cClientHandle:GetIPString() to Lua API.
2014-09-07 22:35:22 +02:00
Mattes D
d2c1518145
Webadmin: Added default ports to auto-generated ini file.
...
Fixes #1382 .
2014-09-07 19:45:15 +02:00
Mattes D
a0feff2734
WebAdmin: Added HTTPS instructions when cert / key is missing.
2014-09-07 19:42:35 +02:00
Mattes D
e1a9a6291b
Removed chunk's unused Y coord.
...
This fixes the second issue of #1313 .
2014-09-06 19:01:30 +02:00
Mattes D
0a651b9fd8
Added Y-wise asserts to signs.
...
This should help detect #1313 's second case.
2014-09-06 18:59:17 +02:00
Mattes D
868723ce50
Alpha-sorted protocol 1.7 senders.
2014-09-06 18:57:57 +02:00
Mattes D
9e1f67932b
Fixed player spawning in unknown world.
...
This may happen if the admin removes a world.
2014-09-06 15:26:20 +02:00
Mattes D
9f9302f470
Anvil: Fixed an off-by-one error in the loader.
...
Fixes #1307 .
2014-09-06 13:32:16 +02:00
Mattes D
dd0aa22d2e
Fixed scoreboard loader type checks.
...
Fixes scoreboard loading error reported on the Dropper map in #1307 .
2014-09-06 13:11:08 +02:00
Mattes D
b1cc1451d4
Merge pull request #1361 from mc-server/WebAdmin
...
Webadmin improvements
2014-09-06 11:12:18 +02:00
Alexander Harkness
15d4e543b1
Xoft fixes.
2014-09-06 09:56:22 +01:00
Mattes D
103fa8812d
WorldStorage no longer queues chunks into generator.
2014-09-05 23:26:00 +02:00
Mattes D
4230eb3d92
Fixed loading empty chunks.
...
Reported on the Dropper map in #1307 .
2014-09-05 22:55:39 +02:00
Mattes D
137b021d26
Rewritten chunk status to specify whether the chunk is in queue.
...
This fixes #1370 .
2014-09-05 22:16:48 +02:00
Mattes D
e15b8600a6
BiomeMultiCache is not used for simple generators.
2014-09-05 22:08:00 +02:00
Mattes D
60e235362c
Fixed style.
2014-09-05 22:07:13 +02:00
Mattes D
6444bc25ba
Fixed security: Player cannot spawn in a disabled world.
2014-09-05 16:55:16 +02:00
Mattes D
254c8c9154
Anvil: Fixed loading block entities with invalid Y coord.
2014-09-05 16:40:03 +03:00
Mattes D
e9dda864ea
Merge pull request #1375 from mc-server/EntitiesInBox
...
Implemented ForEachEntityInBox
2014-09-04 22:25:19 +02:00
Howaner
da28c70def
Fixed client errors.
2014-09-04 19:03:21 +02:00
Mattes D
b590eed42f
Merge pull request #1371 from DayBr3ak/master
...
issue381, multicache for cBioGen
2014-09-04 14:09:54 +02:00
madmaxoft
7ab4c078b8
Fixed compilation after chunk Y removal.
2014-09-04 14:05:42 +02:00
madmaxoft
3297a39c27
Merge remote-tracking branch 'origin/master' into EntitiesInBox
2014-09-04 14:02:18 +02:00
madmaxoft
d77221c715
Anvil: Cleanly refuse to store data that is too large.
...
Each chunk in MCA needs to be less than 1 MiB compressed; chunks that are larger will be refused with a log message.
2014-09-04 14:01:06 +02:00
Howaner
07fba5c98e
Added more 1.8 protocol things.
2014-09-04 03:22:35 +02:00
archshift
e1206568ec
Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc"
...
This reverts commit 472efa8174
.
Apparently we don't support some of these features quite yet (darn you C++98!)
2014-09-03 16:23:03 -07:00
archshift
19067b27de
In 1.8, carrots and potatoes yield one less hunger point.
2014-09-03 16:18:58 -07:00
archshift
472efa8174
Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc
...
Snow Golems must also be above 64Y to spawn snow (as of 1.8).
2014-09-03 16:12:43 -07:00
Howaner
157f1c6688
Started implementing of the 1.8 protocol.
2014-09-04 00:29:36 +02:00
madmaxoft
014a55a15a
LuaState: Fixed class value-getting off the stack.
2014-09-03 23:05:22 +02:00
madmaxoft
06c66a08cd
LuaState: Fixed referenced function pushing.
...
The references are no longer destroyed by the call.
2014-09-03 23:05:03 +02:00
madmaxoft
bae928fd27
ChunkGenerator: Log world seed when creating a new one.
2014-09-03 23:02:00 +02:00
Mattes D
c140ba2367
Merge pull request #1351 from LO1ZB/remove-a_RelY
...
remove y-coord from chunks
2014-09-03 21:47:00 +02:00
madmaxoft
44c1d9c248
Anvil: switched inflate to stream mode.
...
This removes the fixed-size buffer which could have caused #1307 and #1366 .
2014-09-03 19:36:53 +02:00
DayBr3ak
d2bacc34f6
change to linear calculation
2014-09-03 18:48:47 +02:00
madmaxoft
a9ed5baba3
Exported ForEachEntityInBox() to Lua API.
2014-09-03 17:01:23 +02:00
madmaxoft
a51c1e0b73
Added cWorld::ForEachEntityInBox()
2014-09-03 17:00:26 +02:00
madmaxoft
9eb07f483a
cBoundingBox: Added accessors.
2014-09-03 16:56:59 +02:00
LO1ZB
42fb71f261
commit
2014-09-03 13:52:32 +02:00
madmaxoft
1cc65b6264
Fixed style and alpha-sorting.
2014-09-03 10:29:10 +02:00
archshift
34d6f0713e
Added mutton, which sheep now drop when killed
2014-09-02 23:21:08 -07:00
archshift
b414e91883
EntityEffect.cpp: Enable 1.8's leaping potion
2014-09-02 22:56:39 -07:00
DayBr3ak
5a608dc279
adapting format
2014-09-03 02:53:21 +02:00
LO1ZB
554f585017
re-add the missing "s" too cChunkCoordsWithBoolList
2014-09-03 00:28:08 +02:00
LO1ZB
a600e3bdfe
hopefully the last commit for removing y-coord from chunks. :)
2014-09-03 00:14:51 +02:00
madmaxoft
a0687b42e4
Clang wants volatile...
2014-09-02 23:05:24 +02:00
madmaxoft
92a60bf4d5
Added strict error reporting to chunk loading.
...
This should help with #1307 .
2014-09-02 22:41:02 +02:00
Howaner
c19b2befa8
Changed the IsEnchantable() comment again.
2014-09-02 20:17:31 +02:00
Howaner
e431bb4e63
Merge branch 'master' into Inventory
2014-09-02 20:11:38 +02:00
Howaner
38e824dbcf
Renamed SetWalkSpeed() to SetRelativeWalkSpeed()
2014-09-02 20:10:41 +02:00
Howaner
d3b8100a7b
Merge branch 'master' into Effects
2014-09-02 20:03:42 +02:00
Howaner
017235e15c
[WebAdmin] Code improvements.
2014-09-02 20:02:52 +02:00
Howaner
b8769e3fb4
Merge branch 'master' into WebAdmin
2014-09-02 19:37:03 +02:00
Howaner
42dcd534df
Merge branch 'master' into EntityCustomName
2014-09-02 19:36:14 +02:00
Howaner
5c53608dd0
Added CustomName saving.
2014-09-02 19:34:58 +02:00
Howaner
079634d18c
Added the new functions to APIDump.
2014-09-02 19:20:59 +02:00
Howaner
1bb4d79412
Added SetCustomName() to players.
2014-09-02 19:12:35 +02:00
DayBr3ak
b8636ee53a
forgot this one
2014-09-02 18:18:43 +02:00
DayBr3ak
82911f3662
opting for size_t
2014-09-02 18:13:24 +02:00
DayBr3ak
29811c4f21
fixing memory leak
2014-09-02 18:05:53 +02:00
DayBr3ak
ac4ec5117d
changing implem, using vectors
2014-09-02 10:54:26 +02:00
DayBr3ak
d9afe6dd65
adding config file entry #381
2014-09-02 01:19:52 +02:00
DayBr3ak
77409d47eb
adding the multicache behavior
2014-09-02 01:13:19 +02:00
madmaxoft
b1da567f3d
Pickups combine only within one chunk.
...
This greatly improves performance of the tick thread.
2014-09-01 21:43:03 +02:00
DayBr3ak
7695471ff9
added multicache class definition
2014-09-01 21:37:36 +02:00
madmaxoft
6f18d01b51
Fixed off-by-one errors in cChunkDef asserts.
2014-09-01 21:17:22 +02:00
Howaner
dfed6f94ca
Added name tag
2014-09-01 21:05:45 +02:00
Mattes D
3093f3d180
Merge pull request #1368 from mc-server/coverityFixes
...
Make sure packets are valid
2014-09-01 20:57:55 +02:00
Howaner
7c4cb9a385
Added CustomName to cMonster.
2014-09-01 20:12:56 +02:00
worktycho
de30a8c8c6
Make sure packets are valid
...
Fixes CID 66408, 66409 and 72045
2014-09-01 18:18:07 +01:00
madmaxoft
022f5f141d
Fixed Bindings regeneration under MSVC.
2014-09-01 16:10:40 +02:00
LO1ZB
4c9abab2d1
fix possibility of a twice generated chunk
2014-09-01 15:01:56 +02:00
madmaxoft
8821c476bb
Fixed previous commit's wrong assumptions.
...
The equipment-getting functions return a copy already, so we can't take a pointer, really.
2014-09-01 14:35:52 +02:00
madmaxoft
7d8a474f13
Fixed MSVC compilation, improved performance.
...
We're not creating copies of the equipped items anymore, rather, we're using pointers to them. Also pow() is needlessly slow for a simple second power, and MSVC2008 was confused about the pow() overloads.
2014-09-01 14:31:05 +02:00
madmaxoft
f22f67a63c
Fixed MSVC warning.
2014-09-01 14:29:13 +02:00
madmaxoft
9a4e8bf83f
Merge remote-tracking branch 'Hircine/Enchantments'
2014-09-01 14:03:39 +02:00
madmaxoft
ea39c1d21c
Avoid false positive in style check.
2014-09-01 13:43:10 +02:00
Mattes D
74204aed6c
Merge pull request #1365 from mc-server/coverityFixes
...
Coverity fixes
2014-09-01 13:41:20 +02:00
madmaxoft
1e60265a90
Fixed style.
2014-09-01 13:33:17 +02:00
worktycho
468c2558d6
Removed isDone check
...
The same data is returned by executeStep so why execute a call when you have the data.
2014-08-31 21:26:02 +01:00
worktycho
361b7d5379
Changed null check to assert
...
Changed the null check to clarify that the function should not be called before the entity has been attached to a world.
2014-08-31 21:14:42 +01:00
Howaner
af125d2a61
Use std::auto_ptr
2014-08-31 22:04:52 +02:00
worktycho
3e7332c70c
Delete the entity before removing from the list
...
Old code was calling dereference on invalid iterator
2014-08-31 20:28:41 +01:00
worktycho
b6d77d9679
Init RankMgr pointer to NULL
2014-08-31 20:26:08 +01:00
Howaner
0d392f53ed
Fixed compile warnings.
2014-08-31 20:53:41 +02:00
Howaner
66417f7a48
Fixed wrong doxy-comment.
2014-08-31 19:29:54 +02:00
Howaner
0beed83ae9
Rewrited furnace.txt loading.
2014-08-31 19:00:36 +02:00
Howaner
e67bb7f431
WebAdmin: Stop webadmin if template can't load.
2014-08-31 15:03:23 +02:00
Howaner
7e5f22141f
WebAdmin: Added "files" folder and load the login template from login_template.html
2014-08-31 12:59:04 +02:00
Jaume Aloy
6180f7df09
Fixed style
2014-08-31 11:28:42 +02:00
worktycho
365d2447d0
Check range of y in HasNearLog
...
Fixes #803
2014-08-31 00:15:48 +01:00
madmaxoft
db663c7ee1
Fixed style.
2014-08-30 22:24:04 +02:00
madmaxoft
26b8471280
Merge branch 'master' into fixes
2014-08-30 22:17:49 +02:00
madmaxoft
fc7da22738
WSSAnvil: Removed leftover debugging code.
2014-08-30 22:11:52 +02:00
madmaxoft
b0a7d93ae1
Fixed MSVC2008 compilation.
...
It was getting confused about which sqrt() overload to call.
2014-08-30 22:11:09 +02:00
Howaner
3ee3a59e75
Changed the IsEnchantable() comment.
2014-08-30 15:06:43 +02:00
Howaner
0fdb177208
Fixed potion removing in creative mode.
2014-08-30 12:46:26 +02:00
Howaner
003206b1b0
Added slowness effect and added entity support.
2014-08-30 12:45:39 +02:00
Howaner
d7ee2245e8
Added SetWalkSpeed() to cMonster.
2014-08-30 12:44:54 +02:00
Howaner
80bd0a5457
Merge branch 'master' into Effects
2014-08-30 12:21:39 +02:00
LO1ZB
ac95173e81
remove orphaned comment.
2014-08-30 00:45:05 +02:00
Jaume Aloy
4900645b28
Added a_Digger check
2014-08-30 00:27:33 +02:00
Mattes D
a2bee74a13
cChunk: Fixed the Coords param.
2014-08-29 23:21:58 +03:00
LO1ZB
5a6ef8b8e5
me being stupid
2014-08-29 20:27:58 +02:00
LO1ZB
e45a27add9
add comments
2014-08-29 20:26:19 +02:00
LO1ZB
75e1316386
fix chunk regenerating
2014-08-29 20:19:45 +02:00
Mattes D
22e3bbd0db
Rewritten block entity loading.
...
Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked.
The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't.
Fixes #1354 .
2014-08-29 19:19:47 +03:00
Tiger Wang
389614c959
A better hotfix for CraftingRecipies
2014-08-29 15:12:45 +01:00
Tiger Wang
431b7ed0b7
Merge branch 'master' of https://github.com/mc-server/MCServer
...
Conflicts:
src/Server.cpp
2014-08-29 14:56:40 +01:00
Tiger Wang
618741f78e
Added new console command with cleanup
2014-08-29 14:43:49 +01:00
Tiger Wang
21ff1d81ab
Improved explosion damage
2014-08-29 13:44:10 +01:00
Tiger Wang
114b14faad
Removed unused code
2014-08-29 13:44:01 +01:00
Tiger Wang
fca5a01145
Improved command block security
2014-08-29 13:41:50 +01:00
Mattes D
d0551e2e0a
VanillaFluidSimulator: Fixed an invalid Y-coord query.
...
This was causing a spam of console messages, along with possible server crash, when liquids passed below the world: http://forum.mc-server.org/showthread.php?tid=1508&pid=15632#pid15632
2014-08-29 14:58:41 +03:00
Mattes D
97c4c057e4
Fixed conversion warning.
2014-08-29 11:20:33 +03:00
Mattes D
42570cbeef
Fixed spaces.
2014-08-29 11:20:23 +03:00
Hownaer
c4d7f7996b
Hotfixed recipe.txt loading.
2014-08-29 00:42:33 +02:00
Hownaer
240ec9b4bd
Added speed entity effect.
2014-08-28 23:02:20 +02:00
Hownaer
4470ebffd7
Fire can be destroyed with the sword in creative-mode
2014-08-28 20:49:34 +02:00
Hownaer
c2260addf4
Merge branch 'master' of https://github.com/mc-server/MCServer
2014-08-28 18:58:58 +02:00
Hownaer
eaf33e22cf
Fixed anvil placing.
2014-08-28 18:57:56 +02:00
Hownaer
4ff34b9f10
APIDump: Added missing cItem things.
2014-08-28 18:18:21 +02:00
Mattes D
e931b649ac
Merge pull request #1323 from mc-server/CraftingFixes
...
Fixed a couple of issues in craftingRecipes.cpp
2014-08-28 17:35:56 +03:00
Mattes D
1c136a6047
Fixed a typo.
2014-08-28 17:04:26 +03:00
Mattes D
d74e49ddc0
Final template keyword style fix.
2014-08-28 17:01:59 +03:00
Mattes D
0cc824d414
Merge pull request #1324 from ChriPiv/master
...
Implement ability to push minecarts on curved rails
2014-08-28 17:01:23 +03:00
Mattes D
271c8c0d32
More template keyword fixes.
2014-08-28 16:58:48 +03:00
Mattes D
52a6b30f32
Merge remote-tracking branch 'origin/master' into CraftingFixes
2014-08-28 16:53:36 +03:00
Mattes D
9b68ff2656
CheckBasicStyle: Added checking for the "template" keyword.
2014-08-28 16:53:26 +03:00
Mattes D
49ac6fadfc
Fixed spaces after "template" keyword.
2014-08-28 16:44:36 +03:00
Hownaer
c0c4ac5236
Added comments.
2014-08-28 15:21:50 +02:00
Hownaer
f1470fcf9f
Fixed bad values in the IsEnchantable() method.
2014-08-28 15:21:38 +02:00
Hownaer
6c3b80f04c
Fixed crashes and use std::swap.
2014-08-28 14:58:03 +02:00
LO1ZB
3c1c073714
remove y-coord from chunks
2014-08-28 11:36:35 +02:00
Hownaer
0f1fd33123
Enchanting table improvements.
2014-08-28 01:21:54 +02:00
reiter
690e6cb6f8
Fixed mob burning.
...
Fixes #1298
2014-08-28 00:01:01 +02:00
Mattes D
e54c78923e
DungeonRooms: Fixed an off-by-one error.
2014-08-27 20:55:28 +03:00
Mattes D
e54a7dc6c4
More basic style fixes.
2014-08-27 15:21:20 +03:00
Mattes D
d8527c5429
Fixed basic style violations.
2014-08-27 15:13:13 +03:00
Mattes D
bc44b96059
CheckBasicStyle: Relaxed the "space after comma".
...
An apostrophe directly following a comma is not a violation.
2014-08-27 15:12:49 +03:00
Mattes D
62e1c45ca5
DungeonRooms: Added a height probability distribution function.
2014-08-27 13:25:27 +03:00
Mattes D
c6beb9760b
DungeonRooms: Added the spawner in the center of the room.
2014-08-27 08:12:26 +03:00
Mattes D
0c3c136c72
DungeonRooms: Chests are never placed next to each other.
2014-08-26 17:46:14 +03:00
Mattes D
a40f358064
DungeonRooms: Random pattern for floors.
2014-08-26 17:25:38 +03:00
Mattes D
2d569ce6dd
DungeonRooms: Replaced explicit switch with CanBeTerraformed().
2014-08-26 17:13:46 +03:00
Mattes D
98974412fa
Merge remote-tracking branch 'origin/master' into DungeonRoomsFinisher
2014-08-26 17:09:16 +03:00
Mattes D
be32c0527c
Merge pull request #1290 from mc-server/Ranks
...
Rewriting permission system to use UUIDs and Ranks
2014-08-26 15:23:21 +03:00
Mattes D
ac4d3a30ed
Added initial dungeon rooms finisher.
2014-08-26 15:16:33 +03:00
Mattes D
bf16c5ed92
Type warning fixes.
2014-08-25 18:25:39 +03:00
Mattes D
8f20c359cd
Fixed a type warning.
2014-08-25 07:28:45 +02:00
Mattes D
3977d53b83
RankMgr: Exported the default-rank functions.
2014-08-24 20:05:28 +02:00
Mattes D
8630b20c52
RankMgr: Default rank is applied to players without any rank.
2014-08-24 20:00:45 +02:00
Christophe Piveteau
a56634799e
Change comment formatting
2014-08-24 15:03:02 +02:00
Mattes D
da67dd39ed
RankMgr: Unified function signature comments in the bindings.
2014-08-23 17:56:23 +02:00
Alexander Harkness
d07134e621
Assume POWER is big-endian, so it compiles.
...
[reference](http://nadeausoftware.com/articles/2012/02/c_c_tip_how_detect_processor_type_using_compiler_predefined_macros#POWER )
We may want to come back and figure out if the processor is running in little-endian mode, but for now assume they're big-endian.
2014-08-23 16:06:34 +01:00
Mattes D
0daacd14d9
RankMgr: Implemented default rank, added defaults.
2014-08-23 03:44:04 +02:00
Howaner
8fa4ac9ad9
Fixed item drop.
...
Fixes #1341
2014-08-22 15:32:27 +02:00
Mattes D
e034b64a5b
Merge remote-tracking branch 'origin/master' into Ranks
2014-08-22 15:18:39 +02:00
Jaume Aloy
7d771953c0
More Enchantments
...
- Added Thorns and Respiration enchantments
2014-08-22 11:49:49 +02:00
Mattes D
33b5952532
Fixed a warning in FastRandom.
2014-08-22 11:12:44 +02:00
Mattes D
d2d63b8a05
World: Report chunk count for the spawn area.
2014-08-22 10:35:51 +02:00
Mattes D
2dfcd678c4
Fixed cPlugin::OnPlayerMoving signature.
2014-08-22 10:33:53 +02:00
Mattes D
51df169ad5
cLuaState: Fixed Vector3<> names pushed to Lua.
2014-08-22 10:33:15 +02:00
Mattes D
64fec204c4
Added initializers for class members.
...
As reported by Coverity, these weren't initialized.
2014-08-21 22:39:53 +02:00
Mattes D
4358421cd4
cSetChunkData: Added missing initializers.
2014-08-21 21:58:08 +02:00
Mattes D
81d238e080
Added cWorld initializers.
2014-08-21 21:53:25 +02:00
Mattes D
d471ee8a9d
Fixed 1.7.2 login packet reading.
...
Fixes #1317 .
2014-08-21 21:38:57 +02:00
Mattes D
c22261252f
Sorted the generated param count.
2014-08-21 21:38:21 +02:00
Mattes D
1e5d770d7f
Fixed a compile-time warning in MSVC.
2014-08-21 21:37:52 +02:00
Mattes D
0c04bf962e
cMojangAPI updates cRankManager's playernames.
2014-08-21 20:47:52 +02:00
Mattes D
326dd7e4c6
RankMgr: Added cRankManager::RemovePlayerRank().
2014-08-21 16:55:39 +02:00
Mattes D
263ea5464b
Removed last remnant of cGroup.
2014-08-21 15:53:22 +02:00
Mattes D
b8d3ddb409
Removed Group.h from Bindings' dependencies.
2014-08-21 15:49:32 +02:00
Mattes D
8acc883187
Removed cGroup and cGroupManager.
2014-08-21 15:29:54 +02:00
Mattes D
936604ca95
cMojangAPI: Fixed MakeUUID___() bindings.
...
ToLua would generate a shadow return value for the input strings.
2014-08-21 15:19:30 +02:00
Jaume Aloy
19d1c976e7
Protection Enchantments, some fixes
...
- Protection echantments (fire, blast, feather falling, protection and
projectile). It isn't finished, add secondary effects and optimize the
code.
- Removed some brackets.
- Silk touch fixed.
2014-08-21 12:08:38 +02:00
Mattes D
bacfca7c20
Merge pull request #1314 from mc-server/Fire
...
Fixed cancelled fire interact from all directions.
2014-08-21 07:50:58 +02:00
STRWarrior
3a113e3a75
Merge pull request #1339 from mc-server/Hooks
...
Added HOOK_SERVER_PING
2014-08-20 22:57:48 +02:00
Howaner
f7774ec336
Merge branch 'master' into Fire
2014-08-20 22:25:05 +02:00
Howaner
4da61e67d7
Renamed a_Motd to a_ServerDescription.
2014-08-20 22:22:38 +02:00
Mattes D
2218f31cde
Exported cServer:ShouldAuthenticate to Lua API.
2014-08-20 22:21:41 +02:00
Howaner
cf5ab14ca5
Added a_ClientHandle to the HOOK_SERVER_PING hook.
2014-08-20 22:19:50 +02:00
Mattes D
1b97e4e6ff
cPlayer: Exported the LoadRank function to Lua API.
2014-08-20 20:37:51 +02:00
Mattes D
15a20b1d2a
RankMgr bindings: fixed GetRankVisuals return value.
2014-08-20 18:09:13 +02:00
Mattes D
81979419ad
RankMgr: Fixed an ignored return value in the API.
2014-08-20 17:56:30 +02:00
Howaner
cfdf39a75f
Added "HOOK_SERVER_PING" call to older protocols
2014-08-20 16:12:05 +02:00
Howaner
2cca4d70c8
Cleaned up code.
2014-08-20 16:04:18 +02:00
Howaner
228dd61995
Added HOOK_SERVER_PING
2014-08-20 16:01:30 +02:00
Howaner
67fc19301e
Removed old classes from the CMakeLists.txt
2014-08-20 12:14:56 +02:00
Howaner
b5ffe06f88
Code formatting fixes.
2014-08-19 22:14:37 +02:00
Jaume Aloy
5008eb8c83
Changed if in BlockHandler
2014-08-19 18:40:42 +02:00
Jaume Aloy
596203e692
Fixes
...
- Changed m_TicksLeftBurning > 0 for IsOnFire()
- Tried to do the changes in BlockHandler.cpp
- Removed m_Creator in ArrowEntity
- Added m_Enchantments in ProjectileEntity CreatorData
- Added blank lines between functions
2014-08-19 17:57:32 +02:00
Mattes D
949aa2f383
cPlayer reads ranks from cRankManager.
2014-08-19 17:34:11 +02:00
Jaume Aloy
07350de514
Changed if for switch
2014-08-19 16:47:33 +02:00
Jaume Aloy
1897f678f9
Added more enchantments and some fixes
...
- Removed Debug messages
- Added Punch enchantment effect
- Added Silk Touch enchantment
- Added Unbreaking enchantment effect
2014-08-19 16:08:17 +02:00
Jaume Aloy
d3fd63c9eb
Added some Enchantments
...
- Bow enchantments: Infinity, Flame and Power
- Sword and tools enchantments: Fire Aspect, Bane of Arthropods, Smite,
Sharpness
2014-08-19 12:38:15 +02:00
Mattes D
e4fc05574b
Player: Silenced a few type conversion warnings.
2014-08-18 22:48:15 +02:00
Christophe Piveteau
c70886a712
Adjust comment formatting
2014-08-18 01:57:44 +02:00
Mattes D
80559406f9
Player saving creates the "players" folder, if needed.
...
Fixes #1268 .
2014-08-17 22:47:00 +02:00
STRWarrior
9522bd842e
SwamplandM: Fixed sometimes having no mountains.
2014-08-18 12:53:36 +02:00
Howaner
a68c70c900
Better OnPlayerMoving hook.
2014-08-16 18:44:14 +02:00
Howaner
9395cf0bca
First implementation of HOOK_SERVER_PING.
2014-08-16 18:02:16 +02:00
Christophe Piveteau
72c02ceb17
Added a lot of comments
2014-08-15 17:54:43 +02:00
Christophe Piveteau
c473d8cfb8
Clarify comment message
2014-08-15 14:00:51 +02:00