1
0
Commit Graph

669 Commits

Author SHA1 Message Date
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
e99263f4d0 Fixed previous commit's recipes and items.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@557 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-05 14:33:47 +00:00
madmaxoft@gmail.com
2e8180b4e5 Added crafting recipes and items, courtesy of Taugeshtu
git-svn-id: http://mc-server.googlecode.com/svn/trunk@556 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-05 13:39:36 +00:00
madmaxoft@gmail.com
4a2730fe04 Added specific wood types, modified recipes accordingly
git-svn-id: http://mc-server.googlecode.com/svn/trunk@555 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 17:39:07 +00:00
cedeel@gmail.com
53aea5724d strstream is deprecated, using sstream instead
git-svn-id: http://mc-server.googlecode.com/svn/trunk@554 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 15:24:54 +00:00
madmaxoft@gmail.com
c167b4d7a3 Fixed crafting.txt filename in the nighbuild script
git-svn-id: http://mc-server.googlecode.com/svn/trunk@553 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 15:08:06 +00:00
madmaxoft@gmail.com
f0e759e2d4 Eliminated unused files from a ToLua library VC2008 project
git-svn-id: http://mc-server.googlecode.com/svn/trunk@552 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 15:06:59 +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
madmaxoft@gmail.com
ce5d97d65b Fixed MSVC2010 projects for new zlib
git-svn-id: http://mc-server.googlecode.com/svn/trunk@548 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 06:31:25 +00:00
madmaxoft@gmail.com
40480fbbd4 Fixed MSVC2008 projects for new zlib
git-svn-id: http://mc-server.googlecode.com/svn/trunk@547 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 05:43:42 +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
0cc4395a97 Added planks into items.ini
git-svn-id: http://mc-server.googlecode.com/svn/trunk@545 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-03 19:59:31 +00:00
madmaxoft@gmail.com
5e2bf3f2fd Updated items.ini (by Luksor)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@544 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-03 10:37:33 +00:00
madmaxoft@gmail.com
24e907480d Integrated recipes by Luksor; cleaned the file up, hopefully clarified the syntax.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@543 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-03 07:08:32 +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
4ea767f39b Core: fixed old API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@535 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02 10:49:18 +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
2ccc87286c My first Lua plugin, yay! sTick allows a player to force a blocktick on any block by rightclicking it with a stick.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@529 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-30 21:31:42 +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