madmaxoft@gmail.com
f4bf435528
BiomeGen: cca 3% speedup
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@706 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 16:44:47 +00:00
madmaxoft@gmail.com
bd871e0848
Fixed *nix compilation for md5.cpp
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@705 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:38:34 +00:00
madmaxoft@gmail.com
9dc0e3c233
Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:07:22 +00:00
madmaxoft@gmail.com
0e7bef4452
Fixed warnings in md5
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@703 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:03:04 +00:00
madmaxoft@gmail.com
e806198388
Fixed a few gcc warnings
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@701 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-28 12:21:50 +00:00
madmaxoft@gmail.com
015b3a5d19
Caves and Ravines: fixed compilation and linking issues on gcc
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@699 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-28 12:20:36 +00:00
madmaxoft@gmail.com
5b69087b72
Removed bottom lava from caves generator, added a new finish generator BottomLava for that. Also fixed a slight error in SameBlock composition generator cfg
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@698 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 21:00:11 +00:00
madmaxoft@gmail.com
ccd7e3f38c
Basic WormNestCaves are working
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@697 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 18:37:37 +00:00
madmaxoft@gmail.com
b521456a01
Initial WormNestCaves commit. Won't generate caves, only the schematic for caves' centers.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@696 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 16:47:55 +00:00
madmaxoft@gmail.com
a68b9bd986
Fixed a possible crash in Ravines.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@695 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-27 16:46:15 +00:00
madmaxoft@gmail.com
3f30d5dfd2
Added a new cave generator: DualRidgeCaves ( somewhat like http://www.gamedev.net/blog/33/entry-2227887-more-on-minecraft-type-world-gen/ )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@694 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22 18:51:38 +00:00
madmaxoft@gmail.com
a8ff9f511f
Ravines: removed an unneeded member
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@693 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22 18:49:33 +00:00
madmaxoft@gmail.com
b29e9487f4
Noise: made interpolation methods public static, so that they can be used by the outside world as well
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@692 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22 18:48:59 +00:00
madmaxoft@gmail.com
0e99d44f03
Added a (disabled) debugging code for anvil underground overviewing, useful for exploring MC cave generation style
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@690 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 17:07:46 +00:00
madmaxoft@gmail.com
02edaa4c81
Grass blockticking fix
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@689 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 15:25:55 +00:00
madmaxoft@gmail.com
ab860e6573
Slight cChunk optimization
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@688 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 14:47:44 +00:00
madmaxoft@gmail.com
588a2619aa
Implemented the missing HOOK_PLAYER_SPAWN hook (although its name is not too good, should be PLAYER_AUTH)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@687 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 14:33:38 +00:00
madmaxoft@gmail.com
917d75edbe
Ravines: implemented linear finishing, now the ravine walls are smooth.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@685 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-20 16:22:07 +00:00
madmaxoft@gmail.com
c3c149d62e
Ravines: removed a debugging feature from release builds
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@684 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-19 21:54:50 +00:00
madmaxoft@gmail.com
7198ddba46
Ravines: initial implementation, randomized shapes are working, but still needs some work
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@683 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-19 21:49:27 +00:00
madmaxoft@gmail.com
9e3dfb3863
SocketThreads: hopefully fixed MacOSX failure with client ping crashing the server
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@681 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-18 10:45:01 +00:00
lapayo94@gmail.com
aaf772f68a
Fixed incompatibility to apples c++ compiler...
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@680 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17 14:33:51 +00:00
lapayo94@gmail.com
f473f13585
Simple health regeneration system
...
Prepared for food
git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17 12:02:03 +00:00
madmaxoft@gmail.com
3cfa4152e6
Fixed compilation on OS X and maybe *nix as well
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@678 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17 11:11:01 +00:00
lapayo94@gmail.com
86a991c5a8
Some code improvements
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 19:20:37 +00:00
madmaxoft@gmail.com
520dee1a90
Fixed a copypasta error in previous commit
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@676 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 19:10:12 +00:00
madmaxoft@gmail.com
3eff147355
Changed GetBlockMeta to return NIBBLETYPE instead of char
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@675 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 18:29:33 +00:00
madmaxoft@gmail.com
ee4a6df36b
Fixed a compilation warning
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@674 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 18:20:35 +00:00
lapayo94@gmail.com
d3b7a39f92
fixed redstone repeater placement
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@673 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 18:19:25 +00:00
lapayo94@gmail.com
ba70a15191
Fixed some small bugs :)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 13:30:33 +00:00
lapayo94@gmail.com
14dce23845
A new Block handling system :o
...
It was really a lot of work :D
Took me the complete weekend :D
Would really like to here your opinion on this =)
The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 20:36:34 +00:00
madmaxoft@gmail.com
265a969391
cThread uses AString instead of char * for name (fixed a warning)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@670 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 20:32:50 +00:00
madmaxoft@gmail.com
2c490d4229
World threads are stopped before the plugin mgr for clean exit (FS #228 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@669 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 20:07:38 +00:00
madmaxoft@gmail.com
e65d28484d
Disabled MSVC deprecation / security warnings for external libraries - we expect them to be secure enough
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@668 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 14:02:05 +00:00
madmaxoft@gmail.com
933305fd95
Removed the deprecated confusing E_BLOCK_WOOD
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@667 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 13:35:43 +00:00
madmaxoft@gmail.com
6cf4772b54
Leaves blocks allowed one more block of distance from a log block before they decay
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@666 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 13:34:53 +00:00
madmaxoft@gmail.com
eddc360bd7
Basic jungle trees with vines, efficient trees handling.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@665 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 13:33:43 +00:00
madmaxoft@gmail.com
8af0df4309
Fixed case comparison - used the builtin function
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@663 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13 19:25:53 +00:00
lapayo94@gmail.com
f4b66cbbdb
fixed /tp command
...
made cWorld::DoWithPlayer case insensitive
git-svn-id: http://mc-server.googlecode.com/svn/trunk@662 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13 17:22:58 +00:00
lapayo94@gmail.com
abf9e3f6dd
The gamemode is now only saved if it is different from the current gamemode.
...
Default gamemode now depends on the joined world, not on the default world
git-svn-id: http://mc-server.googlecode.com/svn/trunk@661 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13 15:26:27 +00:00
lapayo94@gmail.com
6c5a42737f
Save last gamemode
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@660 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-12 20:55:29 +00:00
lapayo94@gmail.com
5f6c7409c1
fixed bug http://www.mc-server.org/support/index.php?do=details&task_id=212&project=2
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@658 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-12 19:28:34 +00:00
lapayo94@gmail.com
2f3dc03005
Missed a file
...
Patched the server to allow shutdown from other threads
git-svn-id: http://mc-server.googlecode.com/svn/trunk@657 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-12 18:11:28 +00:00
lapayo94@gmail.com
ff2225dee0
http://www.mc-server.org/support/index.php?do=details&task_id=153
...
+ simple code improvements
git-svn-id: http://mc-server.googlecode.com/svn/trunk@656 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-12 17:26:00 +00:00
lapayo94@gmail.com
273ddcbfff
Fixed some bugs within the squirrel plugin system.
...
Implemented feature request www.mc-server.org/support/index.php?do=details&task_id=53
git-svn-id: http://mc-server.googlecode.com/svn/trunk@655 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-10 16:46:15 +00:00
lapayo94@gmail.com
7276cc0f9b
Authentication should work now..
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@654 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-10 07:16:42 +00:00
lapayo94@gmail.com
38459c9c17
Removed some debug messages and removed an old file
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@653 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-09 20:25:50 +00:00
lapayo94@gmail.com
d82e2449a0
Improved Squirrel Bindings
...
Added AddCommand / BindCommand for Squirrel Plugins
git-svn-id: http://mc-server.googlecode.com/svn/trunk@652 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-09 15:53:17 +00:00
lapayo94@gmail.com
4b62d1c463
BlockArea name change reverted
...
fixed VS2008 building
git-svn-id: http://mc-server.googlecode.com/svn/trunk@649 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-09 07:00:28 +00:00
lapayo94@gmail.com
083228a10d
Squirrel Plugins
...
I worked a little bit on the squirrel Bindings
They work now on linux and windows :) (OSX is untested, but should work also) but they are very limited at the moment. (Only made OnChat working)
I also fixed some small bugs.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@648 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-08 21:01:08 +00:00
madmaxoft@gmail.com
358e74ded8
Added a lilypad finisher
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@647 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-03 19:16:09 +00:00
madmaxoft@gmail.com
b587a7f3a5
Temporary jungle trees (swamp-like), based on code by STR_Warrior). Also vines don't overwrite leaves anymore.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@646 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 19:54:47 +00:00
madmaxoft@gmail.com
a627a3a261
Leaves decay adjusted to 4 blocks in between the leaves and the log, instead of previous 3
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@645 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 19:51:31 +00:00
madmaxoft@gmail.com
919f896894
Leaves decay properly - if they are not connected to a log
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@644 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 19:22:05 +00:00
madmaxoft@gmail.com
eab3f29bc0
Only apple leaves can drop apples
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@643 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 19:15:38 +00:00
madmaxoft@gmail.com
3cb643c9cb
BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypes
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@642 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 16:38:30 +00:00
madmaxoft@gmail.com
bf13084f1f
cBlockArea object added (with only minimal testing so far)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 16:30:17 +00:00
madmaxoft@gmail.com
6b96805f5c
Patch from STR_Warrior, OreNest counts adjustment
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@640 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 11:32:03 +00:00
madmaxoft@gmail.com
14584f69e6
Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@639 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 11:21:21 +00:00
madmaxoft@gmail.com
c3de7bc14f
ChunkDef: Fixed getters taking a const ptr
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@638 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 08:03:40 +00:00
madmaxoft@gmail.com
ed5578fd24
Removed json-related methods from Lua API
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@634 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-19 21:31:00 +00:00
madmaxoft@gmail.com
602c2ec1b1
Made ForEach API safer to use, now supports Destroy()-ing objects, too ( http://forum.mc-server.org/showthread.php?tid=434&pid=3513#pid3513 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@633 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-19 20:31:21 +00:00
madmaxoft@gmail.com
3943697dcf
Fixed a possible crash when restarting / stopping the server.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@632 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-19 17:34:22 +00:00
cedeel@gmail.com
beaf37a013
Crops aren't uprooted if farmland is dry.
...
Vanilla behavior confirmed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@630 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-18 16:25:57 +00:00
madmaxoft@gmail.com
e5fdc133bc
Removed the deprecated GetBlockEntity(), added several enumerators to replace it.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@629 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-17 19:58:39 +00:00
cedeel@gmail.com
d8eda6b479
Logs completion of chunk saving (FS #215 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@628 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-17 09:10:49 +00:00
madmaxoft@gmail.com
517ab45d8c
Macro-ized the ForEachSomethingInChunk Lua glue code (will soon be used for block entities, too)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@627 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-17 06:57:13 +00:00
madmaxoft@gmail.com
d7669c6709
Fixed leaves blockticking - must touch neighboring chunks, too, instead of self at wrong places.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@626 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-17 05:34:37 +00:00
madmaxoft@gmail.com
3efd8fdabb
Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden door
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@625 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16 18:44:07 +00:00
cedeel@gmail.com
861fa61dfc
Leaves: Applied patch by Luksor.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@624 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16 18:12:43 +00:00
cedeel@gmail.com
1afe0d2534
Quick fix to support authentication.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@623 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16 17:02:25 +00:00
madmaxoft@gmail.com
18a99085f4
Added new hooks: UPDATING_SIGN and UPDATED_SIGN. The first one is capable of changing the sign text by returning the new four lines along with the bool value
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@622 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16 15:06:14 +00:00
cedeel@gmail.com
4d6433ac30
Proper kick reasons!
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@621 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16 08:53:38 +00:00
madmaxoft@gmail.com
ada984facf
Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16 08:35:07 +00:00
cedeel@gmail.com
c4f785e0be
Lua binding for cVine fixed
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@619 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15 22:40:51 +00:00
madmaxoft@gmail.com
7d4abe001e
Rewritten ForEach using #define-s, new ones can be added as a simple one-liner
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@618 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15 21:31:06 +00:00
madmaxoft@gmail.com
ceeb3d4c54
Lit furnaces can be used by players
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@617 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15 20:59:27 +00:00
madmaxoft@gmail.com
a06b72c18d
Anvil: added support for signs (why was it still missing??)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@616 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15 20:58:52 +00:00
cedeel@gmail.com
3ef6ecb8d2
Basic handling of vines. No growth yet.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@615 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15 15:55:53 +00:00
madmaxoft@gmail.com
cd0271a244
Fixed placing block on tall grass (FS #209 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@614 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15 07:38:02 +00:00
cedeel@gmail.com
6327d63e25
Only spawn nether mobs in nether biome.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@613 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 23:25:26 +00:00
cedeel@gmail.com
6f70fb2845
Fixed snow again, this time for real.
...
I didn't realize the client would also try to replace the snow from the sides.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@612 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 20:43:23 +00:00
cedeel@gmail.com
7450e573c3
Fixes placing blocks on snow.
...
Also a little formatting.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@611 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 20:06:25 +00:00
madmaxoft@gmail.com
e1b5f0af04
Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually work
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@610 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 19:20:31 +00:00
madmaxoft@gmail.com
0f39e9b10b
Added a world parameter to HOOK_CHUNK_GENERATING.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@609 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 17:30:37 +00:00
cedeel@gmail.com
92c59963f8
Attempt to bring sanity to newlines across systems.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 13:06:06 +00:00
cedeel@gmail.com
0b29b3b3cf
Added HOOK_WEATHER_CHANGE.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@605 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 12:24:39 +00:00
faketruth
79f9841449
Exported the ItemCategory functions and added a IsTool() function to it, for easy checking whether an item is a tool
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@603 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-13 18:14:20 +00:00
madmaxoft@gmail.com
1c60680fba
Added a BlockToPickup hook for modifying pickups when a player breaks a block.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@602 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-13 17:37:23 +00:00
madmaxoft@gmail.com
2eaa22840d
Modified ToLua additional script to allow multi-usertype virtual functions
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@601 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-13 17:19:13 +00:00
faketruth
ee9e024bed
I think the chunk generation hooks for Lua are pretty good now, though it might still need some tweaking
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@600 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-13 15:52:28 +00:00
cedeel@gmail.com
900c26dc30
Revamped the weather system.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@599 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-13 00:46:23 +00:00
madmaxoft@gmail.com
223967b80d
Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTING
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@598 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-12 21:30:32 +00:00
madmaxoft@gmail.com
5e6c736859
Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@597 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-12 20:03:46 +00:00
cedeel@gmail.com
e147996f06
Fixed an error
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@596 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-12 19:21:52 +00:00
cedeel@gmail.com
b2d8e74acf
Allow current items
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@595 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-12 18:56:17 +00:00
faketruth
373dac3204
Added implementation of E_PLUGIN_CHUNK_GENERATING lua hook
...
It crashes the server when a plugin actually overrides default behavior though...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@594 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-11 19:25:55 +00:00
madmaxoft@gmail.com
429ccb59b5
Fixed a bug in crafting recipes - would consume multiple items of asterisked ingredients (FS #205 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@593 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 18:52:30 +00:00
madmaxoft@gmail.com
6bf5fa0d88
Disallowed placing cacti in water
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@592 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 16:51:52 +00:00
madmaxoft@gmail.com
e0f74160ea
Snow cover breaks when the block below it is removed (FS #184 ).
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@591 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 16:27:42 +00:00
madmaxoft@gmail.com
a23e4f3177
Fixed a forgotten ini file read
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@590 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 16:23:01 +00:00
madmaxoft@gmail.com
47b675e47c
More ini settings save their defaults
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@588 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 15:37:34 +00:00
madmaxoft@gmail.com
8233a425fb
World generator uses the new Ini interface; also set new defaults for the generator to match the best generation we currently have
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@587 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 15:26:52 +00:00
madmaxoft@gmail.com
a9350c4361
New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorld
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@586 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 15:12:52 +00:00
madmaxoft@gmail.com
8189487258
Sugarcane and cactus max height can be set in world.ini.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@585 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 13:00:14 +00:00
madmaxoft@gmail.com
2c241bb9a4
Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@584 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 12:44:02 +00:00
madmaxoft@gmail.com
ec61713221
Cacti grow by themselves and by bonemeal
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@583 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 12:03:49 +00:00
madmaxoft@gmail.com
0e236c03f9
Bonemeal is consumed in survival mode when used on growable blocks
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@582 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 11:32:34 +00:00
madmaxoft@gmail.com
648c7fe943
Tall grass finally drops seeds
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@581 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09 11:31:42 +00:00
madmaxoft@gmail.com
79f05c8973
Biomal CompoGen now correctly produces sand in desert mountains, too
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@580 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08 14:55:20 +00:00
madmaxoft@gmail.com
308f6b846f
Fixed random drops not occurring at all
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@579 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08 14:52:17 +00:00
madmaxoft@gmail.com
6d36a82e19
Sugarcane grows and can be grown using bonemeal.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@578 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08 14:17:33 +00:00
cedeel@gmail.com
bda3b96681
Simplify ifdef. Makes compiling possible on BSD
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@577 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08 12:23:56 +00:00
madmaxoft@gmail.com
fbabf9ee8c
Sugarcane and Pumpkins get placed (quite rarely) in the SprinkleSmallFoliage FinishGen
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@576 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08 12:16:39 +00:00
cedeel@gmail.com
2295c1d7cb
Configurable classic composition generator
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@575 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-08 01:56:44 +00:00
madmaxoft@gmail.com
876014b8e8
Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 21:07:21 +00:00
madmaxoft@gmail.com
f8167f3577
Nightbuild: bindings are automatically update before the build
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@572 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 20:30:29 +00:00
madmaxoft@gmail.com
73a30d302b
BlockChecking split into a separate function
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@571 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 19:06:27 +00:00
madmaxoft@gmail.com
c0a73ef89d
Repeaters' delays can be set by rclk
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 11:57:51 +00:00
madmaxoft@gmail.com
4f1222b20a
Grass grows under vines
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@569 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 11:24:56 +00:00
madmaxoft@gmail.com
fd08accf52
Multiple packets are serialized in one request.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@568 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 10:49:22 +00:00
madmaxoft@gmail.com
508d5d6e12
Fixed a typo in grass spreading causing much of the "too many packets" error.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@567 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 09:46:00 +00:00
madmaxoft@gmail.com
cf872484af
Added more statistics to the packet queue overfill problem.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@566 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 09:27:59 +00:00
madmaxoft@gmail.com
b0ffd6ad94
(Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@565 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 08:46:21 +00:00
madmaxoft@gmail.com
9b28ca6577
Snow drops snowballs only when mined with a shovel
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@564 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-07 06:50:54 +00:00
madmaxoft@gmail.com
36650da187
Grass spreads to adjacent dirt blocks. Doesn't check dest light yet.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@563 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-06 20:54:58 +00:00
madmaxoft@gmail.com
e52229d0d6
Hopefully fixed lighting around chests and crops
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@562 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-06 20:33:54 +00:00
madmaxoft@gmail.com
1cca9b13b3
Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-06 20:18:50 +00:00
madmaxoft@gmail.com
116bd7ce34
BlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtu
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@560 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-06 19:46:49 +00:00
madmaxoft@gmail.com
fe89194248
Fixed webadmin for the fixed stringsplitting
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@559 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-05 16:03:50 +00:00
madmaxoft@gmail.com
d832996e19
New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@558 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-05 15:20:48 +00:00
madmaxoft@gmail.com
ff3b10507f
Fixed tolua++ sources to consider AString a builtin string type. Fixed tolua++ VC projects for compilation with local Lua.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@551 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 14:58:17 +00:00
cedeel@gmail.com
6fb868d196
Fixed Linux compilation.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@550 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 13:35:41 +00:00
madmaxoft@gmail.com
b355bdecce
Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 12:08:20 +00:00
cedeel@gmail.com
b17d12c86f
Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project files
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@546 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-03 23:35:17 +00:00
madmaxoft@gmail.com
3e1303823e
Biomal composition gen: added the bedrock layer at the bottom
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@542 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 20:53:19 +00:00
madmaxoft@gmail.com
a7c87e92ce
Added the Biomal composition generator.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@541 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 20:44:15 +00:00
madmaxoft@gmail.com
783ca913d4
ClientHandle dumps the contents of all packets in the queue if the packet queue gets overloaded to the point of client-kicking. Use this to debug FS #197 .
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@540 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 17:56:36 +00:00
madmaxoft@gmail.com
018d941daf
Fixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max()
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 14:20:22 +00:00
madmaxoft@gmail.com
39a59d6806
Added a cHeiGenCache object for caching generated heightmaps. World generation is now about twice as fast as before Rev 535 :)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@538 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 13:45:57 +00:00
madmaxoft@gmail.com
5e831256ef
Added a cBioGenCache object for caching generated biomes
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@537 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 13:21:59 +00:00
madmaxoft@gmail.com
7abaede245
Added the Biomal height generator, made it the default height generator.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@536 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 12:19:20 +00:00
madmaxoft@gmail.com
1d6c55afcc
Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@534 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 09:38:51 +00:00
madmaxoft@gmail.com
43c9546203
Fixed a nasty int overflow bug in blockticking code ( http://forum.mc-server.org/showthread.php?tid=457 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@533 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-01 06:25:30 +00:00
madmaxoft@gmail.com
e8c905f078
DistortedVoronoi biome generator
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@532 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-31 20:34:58 +00:00
madmaxoft@gmail.com
c95b11b83a
cWorld::UnloadUnusedChunks() exported to Lua
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@531 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-31 20:04:32 +00:00
madmaxoft@gmail.com
85cf908260
Fixed melons and pumpkins generating in a wrong place.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@530 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-31 16:46:05 +00:00
madmaxoft@gmail.com
c2cc32031e
Added more statistics to the "chunkstats" server console command
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@528 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 21:30:33 +00:00
madmaxoft@gmail.com
7af3df03a0
Added support for SetNextBlockTick() function callable from Lua
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 21:29:51 +00:00
madmaxoft@gmail.com
3d031490be
Melon and pumpkin stems now grow melons and pumpkins
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@526 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 20:31:31 +00:00
madmaxoft@gmail.com
403c99f8fa
Fixed blocktick distribution
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@525 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 19:35:57 +00:00
madmaxoft@gmail.com
f8328346b5
Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@524 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 18:20:38 +00:00
madmaxoft@gmail.com
38862ad018
Seeds can now be planted and they grow (albeit too quickly and too non-uniformly, need to fix blocktick selection)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@523 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 16:50:59 +00:00
madmaxoft@gmail.com
ceffb64760
Farmland gets hydrated and dehydrated. Fixed an off-by-one error in neighbor-chunk manipulation.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@522 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 15:40:53 +00:00
madmaxoft@gmail.com
bb44d25d60
Fixed a crash when chunks were loaded / generated with entities ( http://forum.mc-server.org/showthread.php?tid=450 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@521 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 13:11:58 +00:00
madmaxoft@gmail.com
2372419d0c
Farmland is created using a hoe on dirt or grass.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@520 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-29 20:45:25 +00:00
madmaxoft@gmail.com
322ba59c3a
Refactored item-eating from cClientHandle into cPlayer
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@519 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-29 19:56:07 +00:00
madmaxoft@gmail.com
9d6a5b9ce0
Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-29 14:59:43 +00:00
madmaxoft@gmail.com
3c97a8e8a5
Cacti don't gather snow
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@517 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-28 16:49:17 +00:00
madmaxoft@gmail.com
1a0bfd8d28
Chests and Furnaces are now saved properly into Anvil scheme.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@516 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-28 16:47:57 +00:00
madmaxoft@gmail.com
825ce1e5e0
Ice finisher generator; fixed snow on water.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@515 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 17:41:34 +00:00
madmaxoft@gmail.com
1338caba88
Added a snow finisher generator
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@514 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 17:30:52 +00:00
madmaxoft@gmail.com
7c72bbb706
Added some useful biome synonyms; added block property IsSnowable; alphabetically sorted block property setting
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@513 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 17:30:27 +00:00
madmaxoft@gmail.com
8fd7274f4c
Voronoi has a minimum cell size of 4 blocks now, to avoid some extreme corner-cases
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@512 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 14:31:00 +00:00
madmaxoft@gmail.com
79fddd3be0
Added a voronoi biome generator ( #180 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@511 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 14:17:47 +00:00
madmaxoft@gmail.com
fbc497b97d
DebugBiomes composition generator now uses only blocks suitable for terrain (from an internal list)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@510 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 14:05:36 +00:00
madmaxoft@gmail.com
5d4e9e18da
Added wool and netherrack block IDs
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@509 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 14:02:13 +00:00
madmaxoft@gmail.com
d02df740ef
Restructured biome generators with a list of available biomes to use a common ancestor (preparation for Voronoi and DistortedVoronoi)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@508 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 11:07:23 +00:00
madmaxoft@gmail.com
925f45a4fa
ConstantBiome parsing now uses the string-to-biome conversion ( #183 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@507 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 10:57:36 +00:00
madmaxoft@gmail.com
ba2f0c6229
Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates ( #179 ). Added string-to-biome conversion ( #183 ). Added OreNests to default Structures configuration.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@506 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 10:51:04 +00:00
madmaxoft@gmail.com
3d3c51b179
Improved logging on mis-configuration in cPlayer and cWorldStorage
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@505 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 10:49:17 +00:00
madmaxoft@gmail.com
a4a418a679
Merged the composable_generator branch into the trunk
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25 07:18:52 +00:00
madmaxoft@gmail.com
3fe79d8516
Removed a debugging construct that accidentally leaked into previous commit
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@485 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-08 11:34:04 +00:00
madmaxoft@gmail.com
f2681777fb
Fast NBT writer (Saving a chunk is now about twice as fast)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@484 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-08 11:31:54 +00:00
madmaxoft@gmail.com
05a1f89286
Fixed two "bottlenecks" found using profiling - MakeIndex() instead of MakeIndexNoCheck()
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@483 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-08 09:25:15 +00:00
madmaxoft@gmail.com
35c8bc4c58
Fast NBT Parser (loading a chunk is now about 10 times faster)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@481 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-07 20:22:04 +00:00
madmaxoft@gmail.com
b73fba7c08
Updated version text to include 1.2.5; ChunkSender doesn't serialize chunk packets for chunks without a client
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@480 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-07 18:52:40 +00:00
madmaxoft@gmail.com
9cb8872851
Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-23 21:20:32 +00:00
madmaxoft@gmail.com
60b5f4b66b
Lapis gets generated (thanks, Fordship)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@463 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-15 07:37:36 +00:00
faketruth
ae3fa2b622
Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core plugin
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@457 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-11 12:16:13 +00:00
madmaxoft@gmail.com
2b0dd758d5
Added error messages to socket closing error conditions for *nix
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@456 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-10 14:56:42 +00:00
madmaxoft@gmail.com
23cfcc6ffd
Added the permission "builtin.regeneratechunk" needed for regenerating chunks using a command.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@455 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-10 12:32:39 +00:00
madmaxoft@gmail.com
c51a4b9469
Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks!
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-10 11:22:11 +00:00
madmaxoft@gmail.com
e009569060
Compression error -5 fix
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@452 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-04 14:36:52 +00:00
madmaxoft@gmail.com
3fe1622eda
Fixed a parsing error in NBT classes (doubles weren't parsing correctly);
...
Added a working NBT serialization (verified in another project)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@451 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-04 12:07:38 +00:00
madmaxoft@gmail.com
0d0ad37da1
StringUtils' GetDirectoryContents() now accepts empty string and interprets it as "current directory" (*nix fix)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@450 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-04 10:50:43 +00:00
madmaxoft@gmail.com
b5a646d94a
Logging OnBlockDig and OnBlockPlace only in Debug mode ( http://mc-server.org/support/index.php?do=details&task_id=133&project=2 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@447 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-03 14:07:18 +00:00
madmaxoft@gmail.com
00ea7d12c1
Attempted a fix for cSocket's Bind() call on MacOS-based systems (initializing the whole sockaddr_in structure with zeroes first)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@446 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-03 13:37:00 +00:00
faketruth
d975e5bf04
cSocket.cpp should also compile on Mac now (I hope)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@443 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-31 19:07:48 +00:00
faketruth
64f8549604
Fixed a crash when fluid would try to go below the world (y = -1)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@442 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-31 12:10:17 +00:00
faketruth
091d958b0c
Got rid of sPluginManagerState
...
/pluginlist now also shows the number of active plugins
Fixed crash caused by lingering bound Lua commands http://forum.mc-server.org/showthread.php?tid=212&pid=2541#pid2541
Added error messages when binding commands to an invalid plugin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@440 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-28 18:11:06 +00:00
madmaxoft@gmail.com
fcb9b281e0
Fixed a possible crash in ChunkSender - a client would be reported as removed but still would be in the internal queue.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@438 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-27 19:23:44 +00:00
madmaxoft@gmail.com
ce053d1b9b
Removed the unneeded header wdirent.h
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@437 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-26 20:40:15 +00:00
madmaxoft@gmail.com
05252babc6
Added the supported client version to banner; shamelessly added myself to the authors list ;)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@436 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-26 18:09:10 +00:00
madmaxoft@gmail.com
ba5b6ca751
A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringList
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@433 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-25 14:24:51 +00:00
madmaxoft@gmail.com
534e221316
Fixed the Log altogether (doesn't use NULL-to-va_list assignment, compiles for RaspberryPi)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@432 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-25 13:29:07 +00:00
madmaxoft@gmail.com
5783437436
Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@431 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24 13:28:53 +00:00
madmaxoft@gmail.com
3c3d1c60a3
Protocol version bumped up to 29 (MC 1.2.4), seems to work.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@430 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24 12:10:23 +00:00
madmaxoft@gmail.com
e1ef489e08
Removed the split between 1.2.3 and 1.1, left only 1.2.3 code
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@429 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24 11:40:29 +00:00
madmaxoft@gmail.com
b69ac328c0
Reverted the previous commit - it is useless, since entities still depend heavily on cWorld
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@428 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24 11:14:34 +00:00
madmaxoft@gmail.com
be31652c40
Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-23 21:12:48 +00:00
madmaxoft@gmail.com
389062a1ed
Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@426 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-22 15:53:40 +00:00
madmaxoft@gmail.com
2786ad306a
Fixed player heads always pointing north (new EntityHeadLook packet)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@424 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-19 17:15:35 +00:00
madmaxoft@gmail.com
8d9e539f33
Fixed a warning in a Release build
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@423 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-19 14:21:52 +00:00
madmaxoft@gmail.com
fedd0dd95f
Made some logging output debug-only
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@421 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-19 09:40:56 +00:00
madmaxoft@gmail.com
1e90dad245
Basic cWindow thread-safety
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@420 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-19 09:37:10 +00:00
madmaxoft@gmail.com
f72d1e1821
SocketThreads: proper thread finishing sequence (doesn't trigger AppVerifier checks :)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@419 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-19 09:36:34 +00:00
faketruth
cbfca006f7
Got rid of cPlayer::sPlayerState
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@418 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-16 16:16:37 +00:00
faketruth
445d31acc9
That didn't work.. I forgot some cChunk functions were changed. Now it should compile again
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@417 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-16 15:52:26 +00:00
faketruth
38b219de62
Exposed a function to Lua to get a block's sky light value
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@416 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-16 15:48:40 +00:00
madmaxoft@gmail.com
8127148f4c
Actually commented out the Anvil terrain inversion code
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@415 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14 21:49:22 +00:00
madmaxoft@gmail.com
2386d79541
Anvil support: Added a debugging section for inverting terrain (So that MC cave generator can be seen in action). Commented out, so that it doesn't make it into the release versions
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@414 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14 21:45:04 +00:00
madmaxoft@gmail.com
b974b1ea59
Unified the chunk data to use the BLOCKDATA datatype.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14 21:21:03 +00:00
madmaxoft@gmail.com
0b24efeb00
Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14 20:56:09 +00:00
madmaxoft@gmail.com
393e34d571
Fixed the server not waiting for the world to save completely before stopping
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@410 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-13 21:13:34 +00:00
madmaxoft@gmail.com
8be2528350
Removed an unwarranted assert in cChunkSender
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@409 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-13 20:32:11 +00:00
madmaxoft@gmail.com
b8041509e5
Small optimizations in the SetNibble() and GetNibble() functions; removed unused lighting functions from cChunk
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@408 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-13 20:26:36 +00:00
madmaxoft
d0a606959b
Fixed a few warnings, lifted up the block interactinos limit to 20 (10 was not enough for Creative mode)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@407 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-13 09:28:24 +00:00
madmaxoft@gmail.com
12ce4e3a1a
Gotten rid of stricmp MSVC warnings
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@406 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12 19:43:25 +00:00
madmaxoft@gmail.com
57659f010e
*nix compilation fix (for rev 402)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@405 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12 19:42:50 +00:00
madmaxoft@gmail.com
10c8c75bb7
Added a flat terrain generator with settable terrain height
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@404 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12 19:39:41 +00:00
madmaxoft@gmail.com
cb1edaf6df
Fixed MapChunk packets to include (fake) biome data, makes clients happy
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@403 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12 19:29:31 +00:00
madmaxoft@gmail.com
b789d5ebf6
Fixing compilation on Drawin 9 / MacOS X
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@402 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12 13:31:34 +00:00
madmaxoft@gmail.com
cb2de47247
Stopping the ChunkSender upon server stop
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@401 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-11 22:29:15 +00:00
faketruth
e06c2001ba
Fixed a small bug in chunk version check D:
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@400 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-11 13:07:25 +00:00
madmaxoft@gmail.com
af44154ff5
Not sending chunks to the client twice
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@399 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-11 10:48:20 +00:00
madmaxoft@gmail.com
dc8004d5e6
Anvil format: fixed loading with XZY ordering
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@398 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-11 10:47:37 +00:00
madmaxoft@gmail.com
219be8186c
Fixed a few obsoleted functions
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 22:27:24 +00:00
faketruth
f90a8928e7
Completely integrated the new axis ordering. Will update worlds accordingly
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@396 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 22:10:15 +00:00
madmaxoft@gmail.com
4004129e11
Anvil support: compatible with both chunk orderings
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@395 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 21:42:18 +00:00
madmaxoft@gmail.com
e7731242c1
Using references instead of pointers for sending packets
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@394 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 21:34:47 +00:00
madmaxoft@gmail.com
732b7349fa
Fixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned on
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@393 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 19:30:06 +00:00
madmaxoft@gmail.com
1a5ebb44aa
Fixed *nix threading issue;
...
Thread objects now use variable names consistent with MCS convention;
Fixed a few *nix threading cornercases
git-svn-id: http://mc-server.googlecode.com/svn/trunk@392 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 17:37:00 +00:00
faketruth
e5b91a8d97
Was using "#else if" which is not valid apparently, now using "#elif"
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@391 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 13:49:40 +00:00
faketruth
68f3ea56bd
You can change axis ordering by setting AXIS_ORDER to AXIS_ORDER_XZY in cChunk.h !THIS WILL SCREW UP YOUR WORLDS THOUGH!
...
Still need to update world storage schemes, converters and such
git-svn-id: http://mc-server.googlecode.com/svn/trunk@390 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 02:39:36 +00:00
faketruth
62ba8f5a20
Using more of the index functions in cChunk, so it should be easy enough to flip the axis ordering now
...
Added some more functions that use Vector3i for block coordinates in cChunk
git-svn-id: http://mc-server.googlecode.com/svn/trunk@389 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10 00:25:05 +00:00
faketruth
f43b65cf53
cClientHandles have a unique ID now to distinguish them
...
cAuthenticator uses unique client ID for authentication
Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked
Using callback reference instead of pointer in GetChunkData and affiliates
GetChunkData returns false when failed, and true when succeeded
Renamed entity type enums to something prettier
Exposed some functions to Lua
git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-09 13:42:28 +00:00
madmaxoft@gmail.com
11810e05e4
Using the _DEBUG macro for *nix debug builds as well; trying to force 8-byte alignment on critical sections ( http://forum.mc-server.org/showthread.php?tid=384 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@387 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-09 09:39:48 +00:00
madmaxoft@gmail.com
7219e74c7c
Anvil format: loading chests' contents.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07 22:09:55 +00:00
madmaxoft@gmail.com
4544d5d3b9
ChunkSender: Fixed a potential crash: removing a client means that no Send() is called on that client anymore
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@384 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07 20:06:18 +00:00
madmaxoft@gmail.com
0cee2428c1
WSSCompact: fixed switched version values (!); removed unused methods
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@383 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07 20:03:44 +00:00
faketruth
787382caf8
Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380
...
Also removed the SetClientHandle() function from cPlayer
Added a Destroyed() function to cEntity that is called ONLY ONCE after an entity has been 'destroyed'
Cleaned up some code, using enums for GameMode and Weather and replaced some 'const char *' with 'const AString &'
Exposed some more functions to Lua
git-svn-id: http://mc-server.googlecode.com/svn/trunk@382 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07 13:36:30 +00:00
madmaxoft@gmail.com
d63b092e02
No need to reset zlib (copypasta error)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@381 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07 11:31:54 +00:00
madmaxoft@gmail.com
69a4ee5383
Added the Anvil level format (MCA) support, read-only for the time being. Now MCS can read your worlds from the official server :)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@380 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07 11:28:24 +00:00
faketruth
bae54ee7bd
Sticky pistons should work as well now
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@379 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06 22:17:36 +00:00
madmaxoft@gmail.com
b20fa171a4
Added a little documentation on ChunkSender.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@378 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06 21:58:32 +00:00
faketruth
944dec3a4e
Fixed redstone repeater bug where it could not get the direction when it has delay bits set
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@377 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06 21:56:12 +00:00
madmaxoft@gmail.com
3d0eced7e7
ChunkSender won't send NULL packets anymore
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@376 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06 21:48:45 +00:00
madmaxoft@gmail.com
7ee0667b75
Fixed rev 373 not compiling on linux
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@375 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06 21:32:22 +00:00
faketruth
01577bed9d
Yay redstone repeaters!
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@374 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06 21:06:51 +00:00