1
0
Commit Graph

871 Commits

Author SHA1 Message Date
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