1
0
Commit Graph

955 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
90cec2146a Implemented the cBlockArea:RelLine() API function.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1211 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-13 19:54:26 +00:00
madmaxoft@gmail.com
8b1a8bee34 Added HOOK_WEATHER_CHANGING.
http://www.mc-server.org/support/index.php?do=details&task_id=299

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1210 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-13 19:22:08 +00:00
madmaxoft@gmail.com
22b71d0410 Added a forgotten part of the cBlockArea::FillRelCuboid() function.
Now meta, blocklight and skylight can be filled, too

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1209 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-11 19:53:52 +00:00
madmaxoft@gmail.com
cb22e195e2 More API functions in cBlockArea: Create(), Fill(), FillRelArea()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1208 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-11 12:27:02 +00:00
madmaxoft@gmail.com
345da37e96 Added cBlockArea:Merge() API function to merge two block areas using different strategies.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1207 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-10 15:15:41 +00:00
madmaxoft@gmail.com
c497a34536 Fixed ASSERT / VERIFY mismatch in ManualBindings' error handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1206 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-10 14:37:23 +00:00
madmaxoft@gmail.com
576f8589c0 Removed useless logging from cEntity::GetLookVector()
Requested by STR_Warrior http://forum.mc-server.org/showthread.php?tid=434&pid=6368#pid6368

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1205 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-10 13:33:01 +00:00
madmaxoft@gmail.com
48470bb61a cBlockArea: Added empty NBT tags to schematic file saving for better compatibility.
Some tools require the presence of Entities and TileEntities tags in the schematic file and they wouldn't open the file if missing. Writing empty list tags.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1204 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-10 13:24:57 +00:00
madmaxoft@gmail.com
bda7c4ac13 Added cBlockArea:Expand() API function (untested)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1203 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-09 11:03:22 +00:00
madmaxoft@gmail.com
b55afc940b cChunkDesc can now read and write cBlockAreas.
A simple example is provided in the Debuggers plugin.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1201 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-08 20:57:42 +00:00
madmaxoft@gmail.com
7c0a7d662d Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1200 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-08 16:01:44 +00:00
madmaxoft@gmail.com
fe7e07d69d Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1199 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07 10:45:30 +00:00
madmaxoft@gmail.com
ed47a8e409 cBlockArea can now be saved as a .schematic file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07 10:09:42 +00:00
madmaxoft@gmail.com
1ba07a82b6 Added a sanity check to cBlockArea:Crop()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1197 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07 09:19:59 +00:00
madmaxoft@gmail.com
e0535ca6df Added a cGZipFile class for reading GZipped files.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1196 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07 09:15:55 +00:00
madmaxoft@gmail.com
afdbb1d71b cBlockArea can now be loaded from a .schematic file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1195 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-06 22:29:29 +00:00
madmaxoft@gmail.com
a091413125 Added a new API call to cBlockArea: Crop().
Also fixed cBlockArea:MakeIndex(), the indexing was wrong.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1194 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-06 18:22:30 +00:00
madmaxoft@gmail.com
dedb414a50 Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.
http://forum.mc-server.org/showthread.php?tid=464&pid=6312#pid6312

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1193 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-05 19:57:22 +00:00
madmaxoft@gmail.com
2c214603e2 BiomeVisualiser: initial import
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1192 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-03 20:37:13 +00:00
faketruth
fdcad8a72d Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorld
Using templates to generate ForEach* functions instead of MACROS
Better error reporting in ForEach* functions

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1191 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-02 23:55:29 +00:00
madmaxoft@gmail.com
5856500be7 Moved BioGen parameter reading from cComposableGenrator into each BioGen itself
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1190 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-02 18:17:46 +00:00
madmaxoft@gmail.com
d6af6b353d Fixed GCC error in ManualBindings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1189 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-02 16:16:35 +00:00
madmaxoft@gmail.com
e512476a22 Another GCC fix, hopefully this one will work
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1187 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-01 20:29:23 +00:00
madmaxoft@gmail.com
6ce947ef26 Fixed GCC compilation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1186 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-01 20:25:50 +00:00
madmaxoft@gmail.com
0be125aa07 Simplified cWorld::FindAndDoWithPlayer()
It should still work the same - call the callback for the player with the most similar name.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1184 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-01 19:59:58 +00:00
madmaxoft@gmail.com
019c8b5bc7 Moved command API into cPluginManager.
As specified in http://forum.mc-server.org/showthread.php?tid=765 , commands are now bound using a single function, cPluginManager:BindCommand().

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1183 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-01 19:55:42 +00:00
madmaxoft@gmail.com
71bbf2d44b Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions.
Also tweaked the mechanics so that plugins may revive without dropping other plugins out of the picture.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1182 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-28 16:54:11 +00:00
madmaxoft@gmail.com
05534bbee1 Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1180 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-28 16:17:26 +00:00
madmaxoft@gmail.com
f63b1b2e13 cItems: Fixed parameter names according to conventions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1179 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-27 04:04:18 +00:00
madmaxoft@gmail.com
67048ee057 Added cItems to Lua API.
Now HOOK_BLOCK_TO_PICKUPS is fully functional, as demonstrated by HookNotify.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1178 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-27 03:45:40 +00:00
madmaxoft@gmail.com
1a127f5510 Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.
Note that cItems is used in the function signature but not yet exported in the API, TODO!

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-27 02:00:33 +00:00
madmaxoft@gmail.com
1a9960a396 Removed cMCLogger from Lua API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1175 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-27 01:58:23 +00:00
madmaxoft@gmail.com
7a6ec4fb17 Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.
-ING means the event is being processed and may be refused by a plugin, -ED means it has already happenned and the plugin cannot do anything about it.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1174 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-26 07:50:06 +00:00
madmaxoft@gmail.com
2960f43782 Merged the usable portion of the "gens" branch.
Splitting off the Composable generator and fiddling with LuaChunk / ChunkDesc is good, other generators not good yet.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1171 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-25 10:12:29 +00:00
madmaxoft@gmail.com
ac0ad6d367 Adjusted Biomal height generator to have less hills in the rivers.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1165 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-25 00:57:20 +00:00
madmaxoft@gmail.com
467297a922 A brand new biome generator: cBioGenMultiStepMap.
Has proper mushroom biome inside ocean, nice transitions between neighboring biomes. Still needs a bit of tweaking, but generally ok.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1164 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-24 12:15:36 +00:00
madmaxoft@gmail.com
6c97763b2f Obsoleted E_BLOCK_COCA_PLANT in favor of E_BLOCK_COCOA_POD.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1162 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-22 06:46:39 +00:00
madmaxoft@gmail.com
0b37949f2a Fixed a possible crash on server restart.
May be related to FS #294

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1161 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-21 09:07:18 +00:00
madmaxoft@gmail.com
bb36b8d511 Fixed piston placement.
FS #293

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1160 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-20 09:12:56 +00:00
madmaxoft@gmail.com
7632b5ed62 Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK.
http://forum.mc-server.org/showthread.php?tid=464&pid=6163#pid6163

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1158 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-18 18:28:27 +00:00
madmaxoft@gmail.com
9fa8c4f45b Fixed missing bindings in cPlugin
FS #291 - crash on "/help" issued via client

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1143 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-14 08:21:13 +00:00
luksor111@gmail.com
a10239c415 Added missing dig status.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1141 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-13 12:59:48 +00:00
madmaxoft@gmail.com
43e6840719 Merged branch "branches/hooks" into "trunk".
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12 04:46:01 +00:00
madmaxoft@gmail.com
71d71410fd Fixed rclk in doublechests
FS #284

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1127 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-08 05:01:06 +00:00
madmaxoft@gmail.com
8798c529d2 Fixed disappearing pickups - wrong physics simulation.
FS #285

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1125 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-06 19:32:40 +00:00
madmaxoft@gmail.com
8be0b4d113 Added version 1.4.7 to the list of supported versions.
The protocol used is the same.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1123 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-05 22:08:27 +00:00
madmaxoft@gmail.com
2e64b2e5f5 Not sending multiple DC packets to the client.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1120 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-05 19:05:15 +00:00
madmaxoft@gmail.com
412c21a22c Floody fluid simulator can create sourceblocks (configurable in World.ini)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1119 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-04 05:21:07 +00:00
madmaxoft@gmail.com
7860d5156a cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methods
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1118 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-04 05:20:14 +00:00
luksor111@gmail.com
10d78bd93d Fixed compilation error in BlockCauldron.h on Linux
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1117 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-29 12:20:33 +00:00
luksor111@gmail.com
4561b2c22f Cauldrons and Brewing Stands are now placeable
Cauldrons can be filled with water and used to fill bottles

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1116 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-29 11:49:00 +00:00
madmaxoft@gmail.com
0cc3ab7c1e cPickup now uses full cItem, instead of a pointer
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1114 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-28 02:45:20 +00:00
luksor111@gmail.com
4ce5f215ed Fixed OnBlockPlace hook
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1113 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27 21:08:03 +00:00
luksor111@gmail.com
69107bd54f Fixed slab usage in creative mode
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1112 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27 15:07:12 +00:00
luksor111@gmail.com
dcedcc3fe3 Fixed Linux compilation
Fixed flower pot consuming items in creative mode

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1111 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27 10:23:10 +00:00
madmaxoft@gmail.com
01e4d0bd05 Fixed 1.4.6 falling blocks.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1109 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27 07:15:26 +00:00
madmaxoft@gmail.com
025cdfb201 ProtoProxy: Fixed 1.4.6 compatibility with vehicles, logging for entity metadata.
Also removed logging to console, it was slowing the program too much.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1108 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27 07:11:37 +00:00
luksor111@gmail.com
ffcfa7c89b Added flower pots
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1107 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27 01:01:16 +00:00
luksor111@gmail.com
b026dc3034 Dispensers can spawn mobs
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1106 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26 18:15:11 +00:00
luksor111@gmail.com
575abe8691 Dispensers can dispense items and liquids now
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26 17:16:33 +00:00
madmaxoft@gmail.com
17a2c1b388 Adjusted the protocol framework to support different types of falling block spawning.
In brief, with cProtocol, "say what you want done, not how you want me to do it".
But still 1.4.6 crashes on falling block spawning.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1104 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26 09:12:00 +00:00
madmaxoft@gmail.com
641c7f868c Added 1.4.6 items (patch contributed by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1101 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-24 22:28:48 +00:00
madmaxoft@gmail.com
b4ac9d702b Added the 1.4.6 protocol
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1099 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-24 22:09:01 +00:00
madmaxoft@gmail.com
186984e697 PreSimulator finisher should now drop blocks through water and lava (untested)
http://forum.mc-server.org/showthread.php?tid=409&pid=5728#pid5728

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1097 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22 10:45:23 +00:00
madmaxoft@gmail.com
b29af701b9 MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22 10:15:53 +00:00
madmaxoft@gmail.com
aebe130299 Reduced most mobs' constructors to oneliners by passing parameters to superclasses
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22 09:39:13 +00:00
madmaxoft@gmail.com
48c00fdaee Fixed linux compilation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1094 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 22:04:31 +00:00
luksor111@gmail.com
994b02f5af Added sounds to levers and mobs
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 18:05:34 +00:00
madmaxoft@gmail.com
afaf104b40 Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 12:52:14 +00:00
madmaxoft@gmail.com
033af999ba Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 12:21:20 +00:00
madmaxoft@gmail.com
912a1e7adc Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)
http://forum.mc-server.org/showthread.php?tid=625

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 11:04:08 +00:00
madmaxoft@gmail.com
231d6aed35 Extended player inventory by direct r/o access to armor slots
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1086 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 11:02:31 +00:00
madmaxoft@gmail.com
ee34d805be Replaced "const double &" with plain "double" for simplicity
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1085 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 10:59:59 +00:00
madmaxoft@gmail.com
af66f8ebae Fixed a crash in redstone simulator when destroying blocks in Y < 2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1084 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-20 13:56:42 +00:00
madmaxoft@gmail.com
9d5a1a9f6d Fixed a bool evaluation warning in BlockDoor.h
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1083 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-20 09:51:33 +00:00
luksor111@gmail.com
e176745781 Removed chat messages from console
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1082 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-20 06:46:15 +00:00
luksor111@gmail.com
05d71675f6 Added dispensers (they can't dispense items yet)
Fixed crash when digging snow
Moved BlockPlace hook check, so Core plugin will no longer block item usage
Player chat messages are now visible in the console

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19 21:19:36 +00:00
luksor111@gmail.com
a10c4774f5 Implemented double doors
Implemented fence gate
Updated g_BlockTransparent[]
Doors can now only be opened by right clicking
Doors will now drop when not supported by block

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1080 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19 09:29:53 +00:00
madmaxoft@gmail.com
756f20433a Fixed time calculation in cWorld::Tick()
Should fix chunk saving bug in http://forum.mc-server.org/showthread.php?tid=434&pid=5663#pid5663

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1079 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-17 14:23:17 +00:00
madmaxoft@gmail.com
fc9bbbbbf6 cPiston refactoring to use cWorld::GetBlockTypeMeta() and proper types
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1078 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-16 12:16:04 +00:00
madmaxoft@gmail.com
5239c4e709 Made WormNest caves generate smaller.
http://forum.mc-server.org/showthread.php?tid=409&pid=5654#pid5654

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1077 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-16 11:56:52 +00:00
madmaxoft@gmail.com
7f5bb5c3e3 RedstoneSimulator refactoring to use cWorld::GetBlockTypeMeta() as much as possible
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1076 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-16 07:07:30 +00:00
madmaxoft@gmail.com
b1777fa867 Levers (patch contributed by Keyboard)
http://forum.mc-server.org/showthread.php?tid=649

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1075 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-16 05:52:45 +00:00
luksor111@gmail.com
9a839a3a98 Fixed fall damage again
Added sound effects to pistons

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1074 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-15 13:27:01 +00:00
madmaxoft@gmail.com
310c1076a7 cChunk now tracks its neighbors as direct pointers; used in UnboundedRelGetBlock et al.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1073 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-14 22:38:30 +00:00
madmaxoft@gmail.com
15fe5a1d41 Fixed cCriticalSection's debugging functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1072 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-14 22:36:12 +00:00
luksor111@gmail.com
50e87ac978 Fixed warnings in Player.cpp
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1071 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-27 22:17:07 +00:00
luksor111@gmail.com
8ca150b700 Added initial adventure mode support
Added missing Emerald crafting recipe
You get more fall damage when jumping
Torch no longer protects players from fall damage
Fixed Ender Chest drops

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1070 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-27 19:55:23 +00:00
luksor111@gmail.com
65cf4ad33d Furnace now lights up when smelting items
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1069 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-26 14:42:24 +00:00
luksor111@gmail.com
eb7131bd12 Fixed certain blocks crashing clients when mined
Fixed rail duplication glitch
Fixed fall damage calculation
Glass no longer drops glass

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1068 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-26 10:03:34 +00:00
madmaxoft@gmail.com
46c7f75cab Rails don't turn grass into dirt underneath them. (Patch contributed by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1066 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-25 20:31:07 +00:00
luksor111@gmail.com
c24905426c Implemented rail placement mechanics.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1065 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-25 13:50:20 +00:00
luksor111@gmail.com
eed6f9bb7b Fixed drops for: Stone, Mycelium, Redstone Torch.
Fixed item usage for Jukeboxes and Spawn eggs in survival.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1064 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-24 09:50:38 +00:00
madmaxoft@gmail.com
95a94c3db8 ByteBuffer: Fixed buffer overrun possibility.
http://forum.mc-server.org/showthread.php?tid=633&pid=5473#pid5473

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1063 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-22 20:51:06 +00:00
madmaxoft@gmail.com
8191ed3b93 More ByteBuffer checks: Is it used from a single thread only?
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1062 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-22 20:42:33 +00:00
madmaxoft@gmail.com
8eab4f83b9 SocketThreads fixes for crashes reported in FS #272
http://www.mc-server.org/support/index.php?do=details&task_id=272&project=2

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1061 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-22 14:10:21 +00:00
madmaxoft@gmail.com
51553b9306 Added "primaryserverversion" to the "help" list.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1060 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 21:41:33 +00:00
madmaxoft@gmail.com
2fcdbfd428 Added primary server version interface to cRoot and "primaryserverversion" console command.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1059 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 21:28:43 +00:00
madmaxoft@gmail.com
c96447007e Aggressive debug mode cByteBuffer validity checking.
Hopefully fixed the "BytesToEndOfBuffer" assert.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1057 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 20:44:47 +00:00
madmaxoft@gmail.com
6cec0d6306 Adjusted the default for chunk generator structures.
http://forum.mc-server.org/showthread.php?tid=434&pid=5398#pid5398

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1055 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 20:04:49 +00:00