1
0
Commit Graph

934 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
f5c3cba6ff Fixed player respawning crashing the server.
( http://forum.mc-server.org/showthread.php?tid=520&pid=4789#pid4789 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@935 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 17:19:56 +00:00
madmaxoft@gmail.com
04c43ac8f5 New example plugin using the BlockArea functionality.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@934 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 17:01:01 +00:00
madmaxoft@gmail.com
4c370798d5 BlockArea writing support (BlockTypes with BlockMeta only)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 16:58:31 +00:00
madmaxoft@gmail.com
25b163edbd Lua plugins can get player's equipped item
git-svn-id: http://mc-server.googlecode.com/svn/trunk@932 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 16:57:28 +00:00
madmaxoft@gmail.com
c26a593228 AnvilStats: made FastNBT faster by tweaking the pre-allocation.
Although the file is shared between AnvilStats and MCServer, MCServer doesn't use this tweak (it uses too much memory)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@931 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-05 08:33:25 +00:00
madmaxoft@gmail.com
75a1bd8a37 AnvilStats: added a profiling configuration
git-svn-id: http://mc-server.googlecode.com/svn/trunk@930 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-04 13:35:44 +00:00
madmaxoft@gmail.com
88a97874b8 AnvilStats: aborting calc for no input files.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@929 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-04 13:34:25 +00:00
madmaxoft@gmail.com
9e7cfac327 More 64-bit fixes
git-svn-id: http://mc-server.googlecode.com/svn/trunk@928 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-04 13:29:42 +00:00
madmaxoft@gmail.com
bb8a19c71a AnvilStats: changed all statistics counters to UInt64
git-svn-id: http://mc-server.googlecode.com/svn/trunk@927 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-04 12:32:56 +00:00
madmaxoft@gmail.com
1accc5aee8 AnvilStats: Added the chunk coord range statistics.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@926 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-04 12:07:06 +00:00
madmaxoft@gmail.com
26f0ca1fa7 CryptoPP: Removed an unused file that broke compilation on some *nixes
( http://forum.mc-server.org/showthread.php?tid=566 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@925 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 20:37:06 +00:00
madmaxoft@gmail.com
4168f739e1 Fixed saplings not growing into trees
git-svn-id: http://mc-server.googlecode.com/svn/trunk@924 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 19:01:34 +00:00
madmaxoft@gmail.com
5bbeeb3d66 Added the "collect pickup" sound to 1.3.2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@923 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 18:44:42 +00:00
madmaxoft@gmail.com
c19a0f3da6 Minor style cleanup
git-svn-id: http://mc-server.googlecode.com/svn/trunk@922 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 16:21:46 +00:00
madmaxoft@gmail.com
ea2ed2c918 Moved blockticking into blockhandler classes.
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 08:52:11 +00:00
madmaxoft@gmail.com
9fa165488b sTick: Updated the plugin to work with current code
git-svn-id: http://mc-server.googlecode.com/svn/trunk@920 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 07:24:25 +00:00
madmaxoft@gmail.com
0130e73316 Added BLOCK_FACE_NONE into the plugin API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@919 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 07:23:39 +00:00
madmaxoft@gmail.com
85164fab8e Slight refactoring of BlockHandlers - dropping unneeded virtual functions
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-01 21:08:15 +00:00
faketruth
673fdcd768 Added some missing block enums
Spruce, birch and jungle wood stairs now orient correctly

git-svn-id: http://mc-server.googlecode.com/svn/trunk@916 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-30 19:07:03 +00:00
faketruth
ba2a9b6b2c Added falling block entities. Sand and gravel now properly fall down
Implemented the PACKET_SPAWN_OBJECT packet
Made some things use BLOCKTYPE instead of char

Android: Requests WebAdmin port when pressing the configure button


git-svn-id: http://mc-server.googlecode.com/svn/trunk@915 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-30 16:37:44 +00:00
faketruth
1d8921c151 Fixed initial player head rotation when a player is being spawned on another client
Fixed showing correct item in the player hand when spawned on another client (it didn't include metadata/health before)
Fixed player head rotation when moving and looking around at the same time

git-svn-id: http://mc-server.googlecode.com/svn/trunk@914 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 21:54:17 +00:00
faketruth
789be67922 Forgot to commit BlockBed.cpp
git-svn-id: http://mc-server.googlecode.com/svn/trunk@913 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 21:07:54 +00:00
madmaxoft@gmail.com
325904470c Removed a rogue cSleep from ClientHandle. Since sockets are owned by sockethreads, the client can safely Destroy() itself right after sending a packet.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@912 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 21:03:38 +00:00
faketruth
17486c7853 Beds can be slept in now (it doesn't change the time though)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 20:43:42 +00:00
madmaxoft@gmail.com
c8fb57af72 Fixed memory leaks in cWindow and cProtocolRecognizer
git-svn-id: http://mc-server.googlecode.com/svn/trunk@910 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 19:55:18 +00:00
madmaxoft@gmail.com
70546f25a0 SocketThread: clients aren't double-removed anymore.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@909 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 19:43:34 +00:00
madmaxoft@gmail.com
6eee04b1f9 AnvilStats: can draw biome map (method 1)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@908 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 19:01:05 +00:00
madmaxoft@gmail.com
0c70ac983d Fixed axe crafting (cannot use asterisk)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@907 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 15:06:16 +00:00
madmaxoft@gmail.com
2e0329e618 Removed the extra world from default settings.ini
(Probably an accident from rev 900)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@906 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 14:58:57 +00:00
madmaxoft@gmail.com
09a7bec129 Hopefully fixed creative inventory tossing items out of the window.
( http://forum.mc-server.org/showthread.php?tid=434&pid=4657#pid4657 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@905 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 14:56:33 +00:00
madmaxoft@gmail.com
df0bffc222 SlotArea: removed excessive logging
git-svn-id: http://mc-server.googlecode.com/svn/trunk@904 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 14:55:10 +00:00
madmaxoft@gmail.com
0598fbba0c Crafting recipes for 1.3.2 (patch submitted by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@903 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 14:51:51 +00:00
madmaxoft@gmail.com
4df23d19b7 Unified folder name-casing
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 13:59:32 +00:00
madmaxoft@gmail.com
cd5acb228c Extended the cFile interface with Printf()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@901 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 13:50:05 +00:00
faketruth
fe61687b97 Made beds placeable
Android: Updated some stuff and set default view distance lower

git-svn-id: http://mc-server.googlecode.com/svn/trunk@900 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 13:41:47 +00:00
madmaxoft@gmail.com
cead22a206 AnvilStats: Overall statistics and mobspawner statistics.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@899 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 13:33:45 +00:00
madmaxoft@gmail.com
b903b29057 AnvilStats: Fixed biome format string
git-svn-id: http://mc-server.googlecode.com/svn/trunk@898 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-28 20:31:11 +00:00
madmaxoft@gmail.com
3165458c59 AnvilStats: complete per-biome blocktype statistics
git-svn-id: http://mc-server.googlecode.com/svn/trunk@897 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-28 20:17:29 +00:00
madmaxoft@gmail.com
19a3981eb9 AnvilStats: improved speed (~5x) by caching the entire region file in the processing thread
git-svn-id: http://mc-server.googlecode.com/svn/trunk@896 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-28 12:44:06 +00:00
madmaxoft@gmail.com
6ccc4e3674 AnvilStats: initial project import, can do block and biome statistics
git-svn-id: http://mc-server.googlecode.com/svn/trunk@895 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-27 20:02:25 +00:00
faketruth
6c7e123373 Made Anvil the default storage schema
git-svn-id: http://mc-server.googlecode.com/svn/trunk@894 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-27 14:13:02 +00:00
faketruth
987b6ac123 Fixed a bug in the inventory system where it would de-sync when dragging items with non-default metadata/health
Android: Updated VS2008 project to point to correct Android files
Android: Updated makefiles to compile CryptoPP
Android: Modified CryptoPP config.h and misc.cpp so it compiles for Android
Android: Added pretty MCServer icons

git-svn-id: http://mc-server.googlecode.com/svn/trunk@893 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-26 14:36:08 +00:00
madmaxoft@gmail.com
fb9a00a64e Added the block dig animation packet (patch contributed by l0udPL)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25 09:54:36 +00:00
madmaxoft@gmail.com
7a43f6be09 Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25 08:23:19 +00:00
madmaxoft@gmail.com
24e94e7516 ProtoProxy: fixed after file renaming
git-svn-id: http://mc-server.googlecode.com/svn/trunk@890 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25 08:22:10 +00:00
madmaxoft@gmail.com
cade71ff68 Fixed Lua bindings for file renaming in previous commits
git-svn-id: http://mc-server.googlecode.com/svn/trunk@889 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:25:33 +00:00
madmaxoft@gmail.com
41958e31ba Restored Noise's optimization even in debug build, lost in previous rename.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@888 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:19:52 +00:00
madmaxoft@gmail.com
ecfe6ab65b Source files cleanup: The rest of the files renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:09:57 +00:00
madmaxoft@gmail.com
96bc0a2c79 Source files cleanup: ChunkDataSerializer is Protocol-related
git-svn-id: http://mc-server.googlecode.com/svn/trunk@886 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 21:37:46 +00:00
madmaxoft@gmail.com
7abb5f7604 Source files cleanup: OSSupport-related files in a separate subfolder, renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 21:23:33 +00:00