1
0

Commit Graph

  • 876014b8e8 Bonemeal 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
  • f8167f3577 Nightbuild: bindings are automatically update before the build madmaxoft@gmail.com 2012-06-07 20:30:29 +00:00
  • 73a30d302b BlockChecking split into a separate function madmaxoft@gmail.com 2012-06-07 19:06:27 +00:00
  • c0a73ef89d Repeaters' delays can be set by rclk madmaxoft@gmail.com 2012-06-07 11:57:51 +00:00
  • 4f1222b20a Grass grows under vines madmaxoft@gmail.com 2012-06-07 11:24:56 +00:00
  • fd08accf52 Multiple packets are serialized in one request. madmaxoft@gmail.com 2012-06-07 10:49:22 +00:00
  • 508d5d6e12 Fixed a typo in grass spreading causing much of the "too many packets" error. madmaxoft@gmail.com 2012-06-07 09:46:00 +00:00
  • cf872484af Added 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
  • 9b28ca6577 Snow drops snowballs only when mined with a shovel madmaxoft@gmail.com 2012-06-07 06:50:54 +00:00
  • 36650da187 Grass spreads to adjacent dirt blocks. Doesn't check dest light yet. madmaxoft@gmail.com 2012-06-06 20:54:58 +00:00
  • e52229d0d6 Hopefully fixed lighting around chests and crops madmaxoft@gmail.com 2012-06-06 20:33:54 +00:00
  • 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. madmaxoft@gmail.com 2012-06-06 20:18:50 +00:00
  • 116bd7ce34 BlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtu madmaxoft@gmail.com 2012-06-06 19:46:49 +00:00
  • fe89194248 Fixed webadmin for the fixed stringsplitting madmaxoft@gmail.com 2012-06-05 16:03:50 +00:00
  • d832996e19 New 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
  • e99263f4d0 Fixed previous commit's recipes and items. madmaxoft@gmail.com 2012-06-05 14:33:47 +00:00
  • 2e8180b4e5 Added crafting recipes and items, courtesy of Taugeshtu madmaxoft@gmail.com 2012-06-05 13:39:36 +00:00
  • 4a2730fe04 Added specific wood types, modified recipes accordingly madmaxoft@gmail.com 2012-06-04 17:39:07 +00:00
  • 53aea5724d strstream is deprecated, using sstream instead cedeel@gmail.com 2012-06-04 15:24:54 +00:00
  • c167b4d7a3 Fixed crafting.txt filename in the nighbuild script madmaxoft@gmail.com 2012-06-04 15:08:06 +00:00
  • f0e759e2d4 Eliminated unused files from a ToLua library VC2008 project madmaxoft@gmail.com 2012-06-04 15:06:59 +00:00
  • ff3b10507f Fixed 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
  • 6fb868d196 Fixed Linux compilation. cedeel@gmail.com 2012-06-04 13:35:41 +00:00
  • 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. madmaxoft@gmail.com 2012-06-04 12:08:20 +00:00
  • ce5d97d65b Fixed MSVC2010 projects for new zlib madmaxoft@gmail.com 2012-06-04 06:31:25 +00:00
  • 40480fbbd4 Fixed MSVC2008 projects for new zlib madmaxoft@gmail.com 2012-06-04 05:43:42 +00:00
  • b17d12c86f Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project files cedeel@gmail.com 2012-06-03 23:35:17 +00:00
  • 0cc4395a97 Added planks into items.ini madmaxoft@gmail.com 2012-06-03 19:59:31 +00:00
  • 5e2bf3f2fd Updated items.ini (by Luksor) madmaxoft@gmail.com 2012-06-03 10:37:33 +00:00
  • 24e907480d Integrated recipes by Luksor; cleaned the file up, hopefully clarified the syntax. madmaxoft@gmail.com 2012-06-03 07:08:32 +00:00
  • 3e1303823e Biomal composition gen: added the bedrock layer at the bottom madmaxoft@gmail.com 2012-06-02 20:53:19 +00:00
  • a7c87e92ce Added the Biomal composition generator. madmaxoft@gmail.com 2012-06-02 20:44:15 +00:00
  • 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. madmaxoft@gmail.com 2012-06-02 17:56:36 +00:00
  • 018d941daf Fixed 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
  • 39a59d6806 Added 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
  • 5e831256ef Added a cBioGenCache object for caching generated biomes madmaxoft@gmail.com 2012-06-02 13:21:59 +00:00
  • 7abaede245 Added the Biomal height generator, made it the default height generator. madmaxoft@gmail.com 2012-06-02 12:19:20 +00:00
  • 4ea767f39b Core: fixed old API madmaxoft@gmail.com 2012-06-02 10:49:18 +00:00
  • 1d6c55afcc Added 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
  • 43c9546203 Fixed a nasty int overflow bug in blockticking code ( http://forum.mc-server.org/showthread.php?tid=457 ) madmaxoft@gmail.com 2012-06-01 06:25:30 +00:00
  • e8c905f078 DistortedVoronoi biome generator madmaxoft@gmail.com 2012-05-31 20:34:58 +00:00
  • c95b11b83a cWorld::UnloadUnusedChunks() exported to Lua madmaxoft@gmail.com 2012-05-31 20:04:32 +00:00
  • 85cf908260 Fixed melons and pumpkins generating in a wrong place. madmaxoft@gmail.com 2012-05-31 16:46:05 +00:00
  • 2ccc87286c My 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
  • c2cc32031e Added more statistics to the "chunkstats" server console command madmaxoft@gmail.com 2012-05-30 21:30:33 +00:00
  • 7af3df03a0 Added support for SetNextBlockTick() function callable from Lua madmaxoft@gmail.com 2012-05-30 21:29:51 +00:00
  • 3d031490be Melon and pumpkin stems now grow melons and pumpkins madmaxoft@gmail.com 2012-05-30 20:31:31 +00:00
  • 403c99f8fa Fixed blocktick distribution madmaxoft@gmail.com 2012-05-30 19:35:57 +00:00
  • f8328346b5 Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 ) madmaxoft@gmail.com 2012-05-30 18:20:38 +00:00
  • 38862ad018 Seeds 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
  • ceffb64760 Farmland 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
  • bb44d25d60 Fixed a crash when chunks were loaded / generated with entities ( http://forum.mc-server.org/showthread.php?tid=450 ) madmaxoft@gmail.com 2012-05-30 13:11:58 +00:00
  • 2372419d0c Farmland is created using a hoe on dirt or grass. madmaxoft@gmail.com 2012-05-29 20:45:25 +00:00
  • 322ba59c3a Refactored item-eating from cClientHandle into cPlayer madmaxoft@gmail.com 2012-05-29 19:56:07 +00:00
  • 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. madmaxoft@gmail.com 2012-05-29 14:59:43 +00:00
  • 3c97a8e8a5 Cacti don't gather snow madmaxoft@gmail.com 2012-05-28 16:49:17 +00:00
  • 1a0bfd8d28 Chests and Furnaces are now saved properly into Anvil scheme. madmaxoft@gmail.com 2012-05-28 16:47:57 +00:00
  • 825ce1e5e0 Ice finisher generator; fixed snow on water. madmaxoft@gmail.com 2012-05-27 17:41:34 +00:00
  • 1338caba88 Added a snow finisher generator madmaxoft@gmail.com 2012-05-27 17:30:52 +00:00
  • 7c72bbb706 Added some useful biome synonyms; added block property IsSnowable; alphabetically sorted block property setting madmaxoft@gmail.com 2012-05-27 17:30:27 +00:00
  • 8fd7274f4c Voronoi 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
  • 79fddd3be0 Added a voronoi biome generator (#180) madmaxoft@gmail.com 2012-05-27 14:17:47 +00:00
  • fbc497b97d DebugBiomes composition generator now uses only blocks suitable for terrain (from an internal list) madmaxoft@gmail.com 2012-05-27 14:05:36 +00:00
  • 5d4e9e18da Added wool and netherrack block IDs madmaxoft@gmail.com 2012-05-27 14:02:13 +00:00
  • d02df740ef Restructured 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
  • 925f45a4fa ConstantBiome parsing now uses the string-to-biome conversion (#183) madmaxoft@gmail.com 2012-05-27 10:57:36 +00:00
  • ba2f0c6229 Added 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
  • 3d3c51b179 Improved logging on mis-configuration in cPlayer and cWorldStorage madmaxoft@gmail.com 2012-05-27 10:49:17 +00:00
  • a4a418a679 Merged the composable_generator branch into the trunk madmaxoft@gmail.com 2012-05-25 07:18:52 +00:00
  • 5f29a3e134 Fixed output directory structure in the "Release profiled" configuration madmaxoft@gmail.com 2012-05-09 06:31:32 +00:00
  • 3fe79d8516 Removed a debugging construct that accidentally leaked into previous commit madmaxoft@gmail.com 2012-05-08 11:34:04 +00:00
  • f2681777fb Fast NBT writer (Saving a chunk is now about twice as fast) madmaxoft@gmail.com 2012-05-08 11:31:54 +00:00
  • 05a1f89286 Fixed two "bottlenecks" found using profiling - MakeIndex() instead of MakeIndexNoCheck() madmaxoft@gmail.com 2012-05-08 09:25:15 +00:00
  • 90740aff3c Added 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
  • 35c8bc4c58 Fast NBT Parser (loading a chunk is now about 10 times faster) madmaxoft@gmail.com 2012-05-07 20:22:04 +00:00
  • b73fba7c08 Updated 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
  • 9cb8872851 Anvil 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
  • 60b5f4b66b Lapis gets generated (thanks, Fordship) madmaxoft@gmail.com 2012-04-15 07:37:36 +00:00
  • ae3fa2b622 Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core plugin faketruth 2012-04-11 12:16:13 +00:00
  • 2b0dd758d5 Added error messages to socket closing error conditions for *nix madmaxoft@gmail.com 2012-04-10 14:56:42 +00:00
  • 23cfcc6ffd Added the permission "builtin.regeneratechunk" needed for regenerating chunks using a command. madmaxoft@gmail.com 2012-04-10 12:32:39 +00:00
  • 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! madmaxoft@gmail.com 2012-04-10 11:22:11 +00:00
  • e009569060 Compression error -5 fix madmaxoft@gmail.com 2012-04-04 14:36:52 +00:00
  • 3fe1622eda Fixed 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
  • 0d0ad37da1 StringUtils' GetDirectoryContents() now accepts empty string and interprets it as "current directory" (*nix fix) madmaxoft@gmail.com 2012-04-04 10:50:43 +00:00
  • b5a646d94a Logging OnBlockDig and OnBlockPlace only in Debug mode ( http://mc-server.org/support/index.php?do=details&task_id=133&project=2 ) madmaxoft@gmail.com 2012-04-03 14:07:18 +00:00
  • 00ea7d12c1 Attempted 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
  • d975e5bf04 cSocket.cpp should also compile on Mac now (I hope) faketruth 2012-03-31 19:07:48 +00:00
  • 64f8549604 Fixed a crash when fluid would try to go below the world (y = -1) faketruth 2012-03-31 12:10:17 +00:00
  • 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 faketruth 2012-03-28 18:11:06 +00:00
  • fcb9b281e0 Fixed 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
  • ce053d1b9b Removed the unneeded header wdirent.h madmaxoft@gmail.com 2012-03-26 20:40:15 +00:00
  • 05252babc6 Added the supported client version to banner; shamelessly added myself to the authors list ;) madmaxoft@gmail.com 2012-03-26 18:09:10 +00:00
  • ba5b6ca751 A 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
  • 534e221316 Fixed 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
  • 5783437436 Added 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
  • 3c3d1c60a3 Protocol version bumped up to 29 (MC 1.2.4), seems to work. madmaxoft@gmail.com 2012-03-24 12:10:23 +00:00
  • e1ef489e08 Removed 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
  • b69ac328c0 Reverted the previous commit - it is useless, since entities still depend heavily on cWorld madmaxoft@gmail.com 2012-03-24 11:14:34 +00:00