Tiger Wang
7ecf50c309
Fixed block break packet number
2014-01-16 22:42:47 +00:00
Tiger Wang
d3bc92c65d
Fixed #535
2014-01-16 21:51:30 +01:00
Tiger Wang
c4da025d5a
Updated Core! ±±±___±±±
2014-01-15 14:08:41 +00:00
Tiger Wang
e3b839b69f
Yes newline at end of file :D
2014-01-14 18:16:13 +00:00
Tiger Wang
a66e154b90
Final improvements to Minecarts
...
* Fixed curved rails being a little broken
+ Implemented detector rails
+ Implemented block collisions on rails
* Fixed snapping to rail
- Removed minecart physics conditions in Entity.cpp as minecarts use
their own simulator when on rails
Fixes #148 and #217 ; partially implemented #215 .
This is Cave Johnson, and we're done here.
2014-01-13 22:37:09 +00:00
Tiger Wang
edefa27a48
Detaching improvements
...
* Players now search for an area around themselves to teleport to when
detaching from something
2014-01-12 23:23:36 +00:00
Tiger Wang
1d81db6446
Fixed wire, rail, and pressure plate unpowering
2014-01-12 23:19:08 +00:00
Tiger Wang
e114008559
Fixed settings plugin generation after IniFile
2014-01-12 14:03:50 +00:00
Tiger Wang
e932c69b82
Fixed VS2013 compile and updated Core
2014-01-12 13:59:39 +00:00
Tiger Wang
ec6c510bd4
Multiple enhancements and fixes to minecarts
...
+ They are destroyed instantly by creative mode
* Physics is much improved
+ Basic implementation of powered rails
2014-01-12 13:28:37 +00:00
Tiger Wang
318c353ee4
Fixed rails powering
2014-01-11 21:32:42 +00:00
Tiger Wang
ff57381631
Did some stuff with the vectors
2014-01-11 14:26:18 +00:00
Tiger Wang
6b25ef4fa3
Fixed a door bug and reduced code
...
Doors wouldn't get powered by repeaters, and some blocks, like glass,
were viable middle blocks when they shouldn't have been.
2014-01-11 01:52:14 +00:00
Tiger Wang
b068b73ad9
Renamed g_TorchPlaceable...
...
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2014-01-11 01:51:24 +00:00
Tiger Wang
d5b38402ed
Fixed doors, fixes #453
2014-01-10 21:35:41 +00:00
Tiger Wang
e7fba08e6c
Major refactoring of redstone
...
This commit is a refactoring of the redstone code, mainly the functions
handling the removal of invalid blocks from power supplier data
structures. Its aim is to improve performance and potentially reduce the
memory footprint of the data structures.
It works to reduce the amount of GetBlock()s triggered every tick.
Before, a GetBlock() was requested for every single item in the data
lists, as well as for every single redstone block in a chunk. Following
these changes, the AddBlock() event is utilised more effectively to only
update the lists when needed (a block is changed), as well as to insert
the block type (and update it when needed) alongside the coordinates
into the main redstone simulator chunkdata list.
In short, a single GetBlock() is now cached, with this cache being
updated when the simulator is awoken due to a block change.
At least, I *hope* that this is what it does :P
2014-01-10 20:31:05 +00:00
Tiger Wang
6c65b050ca
Updated Core
2014-01-07 21:29:01 +00:00
Tiger Wang
f578dbfc54
Graceful shutdown on SIGTERM
2014-01-07 21:23:26 +00:00
Tiger Wang
524aecc106
Updated submodules
2014-01-07 17:25:20 +00:00
Tiger Wang
1d96a615b5
Fixed favicons
2014-01-07 16:53:40 +00:00
Tiger Wang
a43f819bba
Regenerated VS2013 files
2014-01-07 14:09:03 +00:00
Tiger Wang
d41f724a40
Writing a plugin APIDump article ( #382 )
2013-12-26 15:11:48 +00:00
Tiger Wang
f1142af455
Server now handles death messages
2013-12-26 14:55:19 +00:00
Tiger Wang
d0572e73a0
Moved increment operator to back of variables
2013-12-26 00:12:06 +00:00
Tiger Wang
548273c8f7
Preliminary mobile entity saving
...
* Fixes #252
* Alleviates #380
+ Adds mob saving
* Fixed some debug !ASSERTs
2013-12-25 16:07:52 +00:00
Tiger Wang
1a02d94ed2
Fixed rails not updating with diagonals
2013-12-25 14:12:48 +00:00
Tiger Wang
40c2826a21
Braced up some code
2013-12-25 14:05:37 +00:00
Tiger Wang
508e505ace
Used IsGamemodeCreative() function
2013-12-24 23:47:04 +00:00
Tiger Wang
9e5e415674
Merge pull request #469 from mc-server/Android_Update
...
Android update
2013-12-24 08:20:55 -08:00
Tiger Wang
ae6cb01e56
Fixed comments in main.cpp and Player.cpp
2013-12-24 15:16:30 +00:00
Tiger Wang
c6314e8935
Implemented stone and wooden pressure plates
2013-12-24 15:02:55 +00:00
Tiger Wang
89f87f66a5
Improved knockback animation
...
* Critical hits now actually increase damage
* Looking down at an entity and hitting them still produces upwards
motion (as per Vanilla experience)
* Reduced force to be more realistic
2013-12-24 15:02:35 +00:00
Tiger Wang
1014c737a4
Improved player fall particle positions
2013-12-23 21:18:01 +00:00
Tiger Wang
76444470a4
Provides an enhancement to daylight sensors
2013-12-23 15:22:05 +00:00
Tiger Wang
9c796bf6b4
Clarified some code in Player.cpp
2013-12-23 09:51:41 +00:00
Tiger Wang
d8221854d2
Fixed a comment in Entity.cpp
2013-12-23 09:41:45 +00:00
Tiger Wang
003043f8ab
Added some comments in main.cpp
2013-12-23 09:41:34 +00:00
Tiger Wang
11fbfb458d
Daylight sensor sensing enhancement
2013-12-22 23:20:43 +00:00
Tiger Wang
48b388aa97
A fix for daylight sensors
2013-12-22 20:06:15 +00:00
Tiger Wang
b02a81678c
Implemented knockback and critical hit
2013-12-22 20:04:17 +00:00
Tiger Wang
43e8196309
Added many event catchers
...
* Window close
* CTRL-C
* etc.
2013-12-22 20:03:58 +00:00
Tiger Wang
945ba36d1b
Implemented fall particles
2013-12-22 20:03:09 +00:00
Tiger Wang
acb5a36a6a
Daylight sensors
2013-12-22 00:33:22 +00:00
Tiger Wang
5b2ac381b6
Fixed them again, confound it
2013-12-22 00:30:21 +00:00
Tiger Wang
432a28d935
Fixed repeaters delay, maybe
...
Also added basic daylight sensors, though because GetBlockSkylight
always is 15, it doesn't work.
2013-12-20 21:19:13 +00:00
Tiger Wang
c08910d4af
Fixed assertion during dirt block OnUpdate()
2013-12-19 23:06:26 +00:00
Tiger Wang
03a8dfc4a8
Fixed PlayerAbilities and creative
2013-12-19 20:53:47 +00:00
Tiger Wang
53e8c067ea
Fixed 1.7 arm swing animation
2013-12-19 16:03:43 +00:00
Tiger Wang
53ff372624
Fixed dust from being placed on nonsolids
2013-12-19 15:57:35 +00:00
Tiger Wang
b083979cb2
Fixed repeaters not updating power
2013-12-19 15:57:15 +00:00
Tiger Wang
2dd823da09
Disconnection message no longer shown if ping
2013-12-18 22:06:36 +00:00
Tiger Wang
b4ac4a14fa
Prettified command error messages
...
Using the magic of overlords (overloads) and standards compliance.
2013-12-18 22:05:41 +00:00
Tiger Wang
aaaa53ce9d
The "<>" of a player name is now coloured
2013-12-18 18:18:06 +00:00
Tiger Wang
26632bbb8a
Fixed 1.7 player disconnection not calling hook
...
This fixes #357
2013-12-18 18:17:17 +00:00
Tiger Wang
db5d7963e2
Renamed back EntityAnimation to PlayerAnimation
...
This fixes #411 and partially reverts
30ead79049
2013-12-18 16:11:15 +00:00
Tiger Wang
13a22918e5
Fixed wire powering blocks beneath
2013-12-17 23:05:42 +00:00
Tiger Wang
09c47fabd2
Fixed bad repeater power queuing in corner case
...
Repeaters remain queued to power even if their original source has since
unpowered. Also functionised and cleaned up code.
2013-12-17 23:05:27 +00:00
Tiger Wang
ed80ff9fc8
Merge pull request #438 from mc-server/Boats
...
Implemented boating functionality.
2013-12-16 14:14:44 -08:00
Tiger Wang
3e6fd5c6e5
Removed some old cRedstone remnants
2013-12-16 17:35:20 +00:00
Tiger Wang
ba4eae2d16
Implemented xoft's suggestions
2013-12-15 15:36:20 +00:00
Tiger Wang
b87055f7a5
Fixed wire repeater checking
2013-12-15 13:56:32 +00:00
Tiger Wang
bbcef6d6eb
Wires now power repeaters properly
2013-12-15 13:08:08 +00:00
Tiger Wang
ceb11cb477
Fixed the hopefully final wire self-powering bug
2013-12-15 12:17:29 +00:00
Tiger Wang
765b847281
Potentially fixed debug asserts
2013-12-14 19:29:50 +00:00
Tiger Wang
7f9f6f5095
Wires no longer power if a block cuts them off
...
Also reduced more unneeded code.
2013-12-14 19:11:15 +00:00
Tiger Wang
95be80cdb5
Implemented note block playing and fixed wire
...
Game of Thrones music in Minecraft, here I come!
2013-12-14 16:52:22 +00:00
Tiger Wang
46787a8a1b
Update Core
2013-12-14 12:29:43 +00:00
Tiger Wang
5685e5ba33
Fixed compilating!
2013-12-14 12:10:05 +00:00
Tiger Wang
4622d4ac09
Improved player permissions logging
2013-12-14 02:54:08 +00:00
Tiger Wang
0aeece7fda
Fixes to redstone wire and torches
...
+ Wires now power blocks around the block beneath
* Torches no longer power off if it is on a linked powered block
* Enhanced code, split functions, etc.
2013-12-14 02:40:54 +00:00
Tiger Wang
4e11095441
Groups.ini and Users.ini are now generated
2013-12-14 02:02:26 +00:00
Tiger Wang
d94ee0fa79
Removed loads of unneeded code again
2013-12-14 01:14:09 +00:00
Tiger Wang
d110d798d2
Reduced loads of unneeded code
...
Merged wire powering detection code into a single function.
2013-12-14 00:43:05 +00:00
Tiger Wang
99043091df
Improved redstone loading performance
2013-12-13 19:01:15 +00:00
Tiger Wang
3757054d81
Fixed QueueSetBlock not sending to client changes
2013-12-13 00:06:47 +00:00
Tiger Wang
6b6905fe1c
Redstone data is now loaded on chunk load
2013-12-12 23:49:10 +00:00
Tiger Wang
cd35bd2c49
Fixed pistons being viable middle block
...
Also an excuse to update submodules
2013-12-11 18:42:38 +00:00
Tiger Wang
9987611792
Provides a possible fix for repeater timings
...
Not completely reliable, but at least some types of clock work.
2013-12-10 21:24:02 +00:00
Tiger Wang
e2e8c9624c
Readded initial line
2013-12-10 10:31:42 +00:00
Tiger Wang
b6e0234985
Fixed compile (alas, no more goto)
2013-12-10 10:29:36 +00:00
Tiger Wang
bc8d926398
Reverted APIDump changes
...
They were wrong!
2013-12-10 00:33:48 +00:00
Tiger Wang
0905369fc7
Fixed Floody lava to stone fizzle
2013-12-10 00:29:59 +00:00
Tiger Wang
1dec73be0b
Added repeater delays
...
They DO sometimes get stuck though :P
2013-12-10 00:21:24 +00:00
Tiger Wang
ebad87d870
Slight redstone wire performance improvement
2013-12-09 23:48:06 +00:00
Tiger Wang
aecdfebf36
Changed more FastSetBlocks to SetBlocks
...
Fixes duplication bugs.
2013-12-09 23:43:26 +00:00
Tiger Wang
97a1147aca
Improved pickups spawning speed again
2013-12-09 23:43:06 +00:00
Tiger Wang
303e086e73
Fixed VS013 compile
2013-12-09 17:58:44 +00:00
Tiger Wang
166f07029d
Fixed binding generation and VS2013 compile
2013-12-08 14:45:24 +00:00
Tiger Wang
9c1b7c8b6e
Readded redstone lamp handler
2013-12-08 14:07:32 +00:00
Tiger Wang
1d554677b4
Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeatures
...
Conflicts:
src/Bindings/Bindings.cpp
src/Bindings/Bindings.h
src/Blocks/BlockHandler.cpp
2013-12-08 14:02:45 +00:00
Tiger Wang
f64dd786aa
Fixed tabcompletion packet, fixes #356
2013-12-08 13:37:10 +00:00
Tiger Wang
0148685d4e
Fixed falling block metas, fixes #406
2013-12-08 00:32:02 +00:00
Tiger Wang
838d4d5d1d
Bonemeal has particles, fixes #393
2013-12-07 23:45:33 +00:00
Tiger Wang
b779d84663
Console trims its commands before executing 'em
2013-12-07 22:35:24 +00:00
Tiger Wang
405f67dac8
Fixed water starting fires
2013-12-07 22:35:01 +00:00
Tiger Wang
16db8533e1
Improved piston animations
2013-12-07 20:29:09 +00:00
Tiger Wang
5bed85aba0
Fixed some new 1.7 client crash bugs
...
Some technical blocks were removed; trying to render them as items
caused a crash.
2013-12-07 18:03:56 +00:00
Tiger Wang
a61082ffee
Changed some FastSetBlocks to SetBlock
...
Should fix some duplication glitches.
2013-12-07 14:55:19 +00:00
Tiger Wang
1932cc38a1
Fixed trapdoors not toggling
...
The redstone simulator kept on resetting them.
2013-12-07 14:41:58 +00:00
Tiger Wang
347e80bdd8
Added basic ender chests
...
Note that they just mirror chests now, so no per player inventory.
2013-12-07 00:18:58 +00:00