876014b8e8Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too.
madmaxoft@gmail.com
2012-06-07 21:07:21 +00:00
f8167f3577Nightbuild: bindings are automatically update before the build
madmaxoft@gmail.com
2012-06-07 20:30:29 +00:00
73a30d302bBlockChecking split into a separate function
madmaxoft@gmail.com
2012-06-07 19:06:27 +00:00
c0a73ef89dRepeaters' delays can be set by rclk
madmaxoft@gmail.com
2012-06-07 11:57:51 +00:00
4f1222b20aGrass grows under vines
madmaxoft@gmail.com
2012-06-07 11:24:56 +00:00
fd08accf52Multiple packets are serialized in one request.
madmaxoft@gmail.com
2012-06-07 10:49:22 +00:00
508d5d6e12Fixed a typo in grass spreading causing much of the "too many packets" error.
madmaxoft@gmail.com
2012-06-07 09:46:00 +00:00
cf872484afAdded more statistics to the packet queue overfill problem.
madmaxoft@gmail.com
2012-06-07 09:27:59 +00:00
b0ffd6ad94(Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher.
madmaxoft@gmail.com
2012-06-07 08:46:21 +00:00
9b28ca6577Snow drops snowballs only when mined with a shovel
madmaxoft@gmail.com
2012-06-07 06:50:54 +00:00
36650da187Grass spreads to adjacent dirt blocks. Doesn't check dest light yet.
madmaxoft@gmail.com
2012-06-06 20:54:58 +00:00
e52229d0d6Hopefully fixed lighting around chests and crops
madmaxoft@gmail.com
2012-06-06 20:33:54 +00:00
1cca9b13b3Item-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.
madmaxoft@gmail.com
2012-06-06 20:18:50 +00:00
116bd7ce34BlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtu
madmaxoft@gmail.com
2012-06-06 19:46:49 +00:00
fe89194248Fixed webadmin for the fixed stringsplitting
madmaxoft@gmail.com
2012-06-05 16:03:50 +00:00
d832996e19New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld)
madmaxoft@gmail.com
2012-06-05 15:20:48 +00:00
e99263f4d0Fixed previous commit's recipes and items.
madmaxoft@gmail.com
2012-06-05 14:33:47 +00:00
2e8180b4e5Added crafting recipes and items, courtesy of Taugeshtu
madmaxoft@gmail.com
2012-06-05 13:39:36 +00:00
53aea5724dstrstream is deprecated, using sstream instead
cedeel@gmail.com
2012-06-04 15:24:54 +00:00
c167b4d7a3Fixed crafting.txt filename in the nighbuild script
madmaxoft@gmail.com
2012-06-04 15:08:06 +00:00
f0e759e2d4Eliminated unused files from a ToLua library VC2008 project
madmaxoft@gmail.com
2012-06-04 15:06:59 +00:00
ff3b10507fFixed tolua++ sources to consider AString a builtin string type. Fixed tolua++ VC projects for compilation with local Lua.
madmaxoft@gmail.com
2012-06-04 14:58:17 +00:00
6fb868d196Fixed Linux compilation.
cedeel@gmail.com
2012-06-04 13:35:41 +00:00
b355bdecceAdded the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.
madmaxoft@gmail.com
2012-06-04 12:08:20 +00:00
ce5d97d65bFixed MSVC2010 projects for new zlib
madmaxoft@gmail.com
2012-06-04 06:31:25 +00:00
40480fbbd4Fixed MSVC2008 projects for new zlib
madmaxoft@gmail.com
2012-06-04 05:43:42 +00:00
24e907480dIntegrated recipes by Luksor; cleaned the file up, hopefully clarified the syntax.
madmaxoft@gmail.com
2012-06-03 07:08:32 +00:00
3e1303823eBiomal composition gen: added the bedrock layer at the bottom
madmaxoft@gmail.com
2012-06-02 20:53:19 +00:00
a7c87e92ceAdded the Biomal composition generator.
madmaxoft@gmail.com
2012-06-02 20:44:15 +00:00
783ca913d4ClientHandle 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.
madmaxoft@gmail.com
2012-06-02 17:56:36 +00:00
018d941dafFixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max()
madmaxoft@gmail.com
2012-06-02 14:20:22 +00:00
39a59d6806Added a cHeiGenCache object for caching generated heightmaps. World generation is now about twice as fast as before Rev 535 :)
madmaxoft@gmail.com
2012-06-02 13:45:57 +00:00
5e831256efAdded a cBioGenCache object for caching generated biomes
madmaxoft@gmail.com
2012-06-02 13:21:59 +00:00
7abaede245Added the Biomal height generator, made it the default height generator.
madmaxoft@gmail.com
2012-06-02 12:19:20 +00:00
4ea767f39bCore: fixed old API
madmaxoft@gmail.com
2012-06-02 10:49:18 +00:00
1d6c55afccAdded Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua)
madmaxoft@gmail.com
2012-06-02 09:38:51 +00:00
c95b11b83acWorld::UnloadUnusedChunks() exported to Lua
madmaxoft@gmail.com
2012-05-31 20:04:32 +00:00
85cf908260Fixed melons and pumpkins generating in a wrong place.
madmaxoft@gmail.com
2012-05-31 16:46:05 +00:00
2ccc87286cMy first Lua plugin, yay! sTick allows a player to force a blocktick on any block by rightclicking it with a stick.
madmaxoft@gmail.com
2012-05-30 21:31:42 +00:00
c2cc32031eAdded more statistics to the "chunkstats" server console command
madmaxoft@gmail.com
2012-05-30 21:30:33 +00:00
7af3df03a0Added support for SetNextBlockTick() function callable from Lua
madmaxoft@gmail.com
2012-05-30 21:29:51 +00:00
3d031490beMelon and pumpkin stems now grow melons and pumpkins
madmaxoft@gmail.com
2012-05-30 20:31:31 +00:00
403c99f8faFixed blocktick distribution
madmaxoft@gmail.com
2012-05-30 19:35:57 +00:00
38862ad018Seeds can now be planted and they grow (albeit too quickly and too non-uniformly, need to fix blocktick selection)
madmaxoft@gmail.com
2012-05-30 16:50:59 +00:00
ceffb64760Farmland gets hydrated and dehydrated. Fixed an off-by-one error in neighbor-chunk manipulation.
madmaxoft@gmail.com
2012-05-30 15:40:53 +00:00
2372419d0cFarmland is created using a hoe on dirt or grass.
madmaxoft@gmail.com
2012-05-29 20:45:25 +00:00
322ba59c3aRefactored item-eating from cClientHandle into cPlayer
madmaxoft@gmail.com
2012-05-29 19:56:07 +00:00
9d6a5b9ce0Added 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.
madmaxoft@gmail.com
2012-05-29 14:59:43 +00:00
8fd7274f4cVoronoi has a minimum cell size of 4 blocks now, to avoid some extreme corner-cases
madmaxoft@gmail.com
2012-05-27 14:31:00 +00:00
79fddd3be0Added a voronoi biome generator (#180)
madmaxoft@gmail.com
2012-05-27 14:17:47 +00:00
fbc497b97dDebugBiomes composition generator now uses only blocks suitable for terrain (from an internal list)
madmaxoft@gmail.com
2012-05-27 14:05:36 +00:00
5d4e9e18daAdded wool and netherrack block IDs
madmaxoft@gmail.com
2012-05-27 14:02:13 +00:00
d02df740efRestructured biome generators with a list of available biomes to use a common ancestor (preparation for Voronoi and DistortedVoronoi)
madmaxoft@gmail.com
2012-05-27 11:07:23 +00:00
925f45a4faConstantBiome parsing now uses the string-to-biome conversion (#183)
madmaxoft@gmail.com
2012-05-27 10:57:36 +00:00
ba2f0c6229Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates (#179). Added string-to-biome conversion (#183). Added OreNests to default Structures configuration.
madmaxoft@gmail.com
2012-05-27 10:51:04 +00:00
3d3c51b179Improved logging on mis-configuration in cPlayer and cWorldStorage
madmaxoft@gmail.com
2012-05-27 10:49:17 +00:00
a4a418a679Merged the composable_generator branch into the trunk
madmaxoft@gmail.com
2012-05-25 07:18:52 +00:00
5f29a3e134Fixed output directory structure in the "Release profiled" configuration
madmaxoft@gmail.com
2012-05-09 06:31:32 +00:00
3fe79d8516Removed a debugging construct that accidentally leaked into previous commit
madmaxoft@gmail.com
2012-05-08 11:34:04 +00:00
f2681777fbFast NBT writer (Saving a chunk is now about twice as fast)
madmaxoft@gmail.com
2012-05-08 11:31:54 +00:00
05a1f89286Fixed two "bottlenecks" found using profiling - MakeIndex() instead of MakeIndexNoCheck()
madmaxoft@gmail.com
2012-05-08 09:25:15 +00:00
90740aff3cAdded a profiling option to the VC2008 projects, using the MS standalone profiler (see vc2008/profile_run.cmd for details and usage)
madmaxoft@gmail.com
2012-05-08 09:22:32 +00:00
35c8bc4c58Fast NBT Parser (loading a chunk is now about 10 times faster)
madmaxoft@gmail.com
2012-05-07 20:22:04 +00:00
b73fba7c08Updated version text to include 1.2.5; ChunkSender doesn't serialize chunk packets for chunks without a client
madmaxoft@gmail.com
2012-05-07 18:52:40 +00:00
9cb8872851Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers)
madmaxoft@gmail.com
2012-04-23 21:20:32 +00:00
ae3fa2b622Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core plugin
faketruth
2012-04-11 12:16:13 +00:00
2b0dd758d5Added error messages to socket closing error conditions for *nix
madmaxoft@gmail.com
2012-04-10 14:56:42 +00:00
23cfcc6ffdAdded the permission "builtin.regeneratechunk" needed for regenerating chunks using a command.
madmaxoft@gmail.com
2012-04-10 12:32:39 +00:00
c51a4b9469Added 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!
madmaxoft@gmail.com
2012-04-10 11:22:11 +00:00
3fe1622edaFixed a parsing error in NBT classes (doubles weren't parsing correctly); Added a working NBT serialization (verified in another project)
madmaxoft@gmail.com
2012-04-04 12:07:38 +00:00
0d0ad37da1StringUtils' GetDirectoryContents() now accepts empty string and interprets it as "current directory" (*nix fix)
madmaxoft@gmail.com
2012-04-04 10:50:43 +00:00
00ea7d12c1Attempted a fix for cSocket's Bind() call on MacOS-based systems (initializing the whole sockaddr_in structure with zeroes first)
madmaxoft@gmail.com
2012-04-03 13:37:00 +00:00
d975e5bf04cSocket.cpp should also compile on Mac now (I hope)
faketruth
2012-03-31 19:07:48 +00:00
64f8549604Fixed a crash when fluid would try to go below the world (y = -1)
faketruth
2012-03-31 12:10:17 +00:00
091d958b0cGot 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
faketruth
2012-03-28 18:11:06 +00:00
fcb9b281e0Fixed a possible crash in ChunkSender - a client would be reported as removed but still would be in the internal queue.
madmaxoft@gmail.com
2012-03-27 19:23:44 +00:00
ce053d1b9bRemoved the unneeded header wdirent.h
madmaxoft@gmail.com
2012-03-26 20:40:15 +00:00
05252babc6Added the supported client version to banner; shamelessly added myself to the authors list ;)
madmaxoft@gmail.com
2012-03-26 18:09:10 +00:00
ba5b6ca751A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringList
madmaxoft@gmail.com
2012-03-25 14:24:51 +00:00
534e221316Fixed the Log altogether (doesn't use NULL-to-va_list assignment, compiles for RaspberryPi)
madmaxoft@gmail.com
2012-03-25 13:29:07 +00:00
5783437436Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense.
madmaxoft@gmail.com
2012-03-24 13:28:53 +00:00
3c3d1c60a3Protocol version bumped up to 29 (MC 1.2.4), seems to work.
madmaxoft@gmail.com
2012-03-24 12:10:23 +00:00
e1ef489e08Removed the split between 1.2.3 and 1.1, left only 1.2.3 code
madmaxoft@gmail.com
2012-03-24 11:40:29 +00:00
b69ac328c0Reverted the previous commit - it is useless, since entities still depend heavily on cWorld
madmaxoft@gmail.com
2012-03-24 11:14:34 +00:00