1
0
Commit Graph

949 Commits

Author SHA1 Message Date
luksor111@gmail.com
35e174b4c1 Made DeepSnow remove flowers and mushrooms while snowing.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1001 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-22 14:32:54 +00:00
madmaxoft@gmail.com
ba8a5184c8 Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1000 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21 21:15:57 +00:00
madmaxoft@gmail.com
5ebbf6f4e2 cFinishGenPreSimulator sets correct fluid type (stationary in the middle, flowing on chunk borders / holes next to water.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@999 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21 21:15:44 +00:00
madmaxoft@gmail.com
879b7262b4 Added the first part of the PreSimulator finisher, drops floating sand and gravel to ground.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@998 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21 20:06:31 +00:00
madmaxoft@gmail.com
460ee6892b Added more item stacking sizes (patch contributed by Hanfer)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@997 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21 19:32:40 +00:00
madmaxoft@gmail.com
87b60df058 Fixed manual bindings' ForEachXXX mapping not checking the object instance for validity.
( http://forum.mc-server.org/showthread.php?tid=591&pid=5007#pid5007 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@996 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21 08:14:27 +00:00
madmaxoft@gmail.com
9f60f83ea7 My OCD has alpha-sorted some stuff :)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@995 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21 08:01:59 +00:00
madmaxoft@gmail.com
3f9e876d70 Added jukeboxes (patch contributed by Luksor)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21 07:46:28 +00:00
madmaxoft@gmail.com
e30bec4fd6 Double chests are now working, and with sound. (FS #69)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@993 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 21:53:09 +00:00
madmaxoft@gmail.com
3ac98f3f26 ProtoProxy: ListenPort and ConnectPort are now settable on commandline, the defaults have switched (listens on 25564, connects to localhost:25565)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@992 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 21:52:34 +00:00
madmaxoft@gmail.com
12edc53ab5 Double chests are formed correctly in all situations (meta is adjusted for the neighboring chest)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@991 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 20:16:55 +00:00
madmaxoft@gmail.com
573480b1fe Got rid of nonsense logging in cPiston's direction calc.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@990 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 19:38:03 +00:00
madmaxoft@gmail.com
4afb8bceb7 Chest does check if it can be placed at the coords specified (the client does the check itself, too, but this may be good for scripts)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@989 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 19:25:24 +00:00
madmaxoft@gmail.com
80ad008957 Profiled build has a different filename
git-svn-id: http://mc-server.googlecode.com/svn/trunk@988 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 19:24:27 +00:00
madmaxoft@gmail.com
b08c1c7726 Removed excessive debug loggin in Floody fluid simulator.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@987 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 11:47:50 +00:00
madmaxoft@gmail.com
d006ea5337 Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@986 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 11:40:34 +00:00
madmaxoft@gmail.com
c9224b09e9 PACKET_DESTROY_ENTITY isn't sent for self when the player is kicked (FS #254)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@985 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-20 10:36:50 +00:00
madmaxoft@gmail.com
d2780443c6 Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@984 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19 22:09:33 +00:00
madmaxoft@gmail.com
6a5ebcd6ca Ravines: Drill only through specific blocks (FS #259)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@983 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19 20:55:34 +00:00
madmaxoft@gmail.com
bd29042dcd Removed unused [Physics].Water section from settings.ini.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@982 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19 20:51:46 +00:00
madmaxoft@gmail.com
ee15bbcf5d WormNestCaves: drills only through specific blocks (FS #259)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@981 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19 20:29:48 +00:00
madmaxoft@gmail.com
9a9f15eec6 Fluids will wash away crops and sugarcane.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@980 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19 18:48:34 +00:00
madmaxoft@gmail.com
1b4b905f75 Added spawn eggs with mobs (patch committed by Luksor)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@979 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19 18:30:46 +00:00
faketruth
2a197705ac Converted some const char*s and std::strings to AStrings
Added a cPlayer:RemoveFromGroup() so players can be removed from groups programmatically
Added a cClientHandle:SetUsername to be used by Lua. I'm curious what ThuGie can do with his plugin.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@978 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18 21:54:56 +00:00
madmaxoft@gmail.com
c68aa68c69 Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18 19:41:29 +00:00
madmaxoft@gmail.com
d2fc9cd9ee Fixed item damage value not being read from the 1.3.2 protocol (wtf, why was it disabled?)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@976 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18 17:47:42 +00:00
madmaxoft@gmail.com
99c9b2e11d Reverted previous commit, chose a different solution, much cleaner.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@975 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18 13:39:42 +00:00
madmaxoft@gmail.com
7aa87d1818 Made constants in cChunkDef enums, compilation fixes for gcc.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@974 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18 10:42:47 +00:00
madmaxoft@gmail.com
84da8a2353 Added basic spawn eggs (patch contributed by Luksor)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@973 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18 09:36:30 +00:00
faketruth
dc7f91c2a1 Fixed a vulnerability in cClientHandle::HandleRespawn()
Changed some hook locations:
Moved HOOK_PLAYER_JOIN to where HOOK_PLAYER_SPAWN was (before player is added to the world)
Added HOOK_PLAYER_SPAWN to after a player's initial spawn and after a player is re-spawned after death

git-svn-id: http://mc-server.googlecode.com/svn/trunk@972 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-17 12:19:20 +00:00
madmaxoft@gmail.com
4b05df30d1 More blocks can be washed away by fluids.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@971 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16 20:49:17 +00:00
madmaxoft@gmail.com
45c58077f7 Fixed floody fluid sim making downward fluid behave like source blocks.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@970 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16 19:52:55 +00:00
madmaxoft@gmail.com
226b9ad8eb Decreased logging in floody fluid simulator.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@969 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16 19:34:07 +00:00
madmaxoft@gmail.com
cda079f83b Turned sTick plugin into general Debuggers plugin, added the Blaze Rod Of Enquiry (rclk with a blaze rod prints out the blocktypes and metas)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@968 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16 08:20:45 +00:00
faketruth
6d121a4914 Core: fixed /help and /pluginlist
git-svn-id: http://mc-server.googlecode.com/svn/trunk@967 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-15 22:55:45 +00:00
madmaxoft@gmail.com
f9dab57d8b Fixed DelayedFluidSimulator.
Floody fluid simulator is now woken up properly across chunk borders.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@966 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-15 20:16:43 +00:00
madmaxoft@gmail.com
164f0e7de9 Floody fluid sim: reads params from world.ini; water and lava react together into cobblestone / stone / obsidian
git-svn-id: http://mc-server.googlecode.com/svn/trunk@965 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14 20:10:03 +00:00
madmaxoft@gmail.com
41a38e8d90 Floody fluid simulator now dries up correctly, too.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@964 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14 18:30:16 +00:00
madmaxoft@gmail.com
5b7de82a79 Initial Floody fluid simulator.
Can spread, cannot dry.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@963 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14 17:06:21 +00:00
madmaxoft@gmail.com
dd554175a4 Biomal CompoGen now generates sea with STATIONARY_WATER instead of regular WATER.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@962 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14 17:05:00 +00:00
madmaxoft@gmail.com
331ad53b60 Fixed the bucket handling code trying to simulate at the wrong coords (client sends all coords as -1 to signify "item use")
git-svn-id: http://mc-server.googlecode.com/svn/trunk@961 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14 17:03:18 +00:00
madmaxoft@gmail.com
46cb1e9429 BlockArea: Added const-ness to non-modifying functions, so that a const cBlockArea & can be used.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@960 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14 17:02:06 +00:00
faketruth
41ba1a7642 Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)
Removed cPlugin_Lua, obviously
cPluginManager stores plugins by their (folder)name
cPluginManager now scans the Plugins folder for potential plugins and adds them as non-loaded plugins
Added a DisablePlugin and LoadPlugin to disable and load plugins on a per-plugin basis instead of all at once
cPluginManager::FindPlugins refreshes the plugin list by removing non-existing plugins and adding new plugins
Made it incredibly easy to use new plugins from the WebAdmin
Exposed some food/hunger related functions in cPlayer to Lua

git-svn-id: http://mc-server.googlecode.com/svn/trunk@959 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 23:34:47 +00:00
madmaxoft@gmail.com
b4ca06b9d9 Better split of the fluid simulator functionality; removed the old LavaSimulator and WaterSimulator files.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@958 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 16:24:50 +00:00
madmaxoft@gmail.com
ad883a233b Forgotten file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@957 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 14:10:07 +00:00
madmaxoft@gmail.com
f7da7c2536 Preparation for multiple fluid simulators.
Moved all simulators into a subfolder.
Replaced cWaterSimulator and cLavaSimulator with a generic cFluidSimulator.
Moved original fluid simulation into cClassicFluidSimulator.
Fluid simulator parameters (MaxHeight, Falloff) are read from the world.ini file (can have nether-like lava with lower falloff)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@956 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 09:53:28 +00:00
madmaxoft@gmail.com
7bca7f3cb9 ProtoProxy: Fixed parsing of the PACKET_PLAYER_ABILITIES packet.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@955 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 09:48:18 +00:00
madmaxoft@gmail.com
dfce9595e9 ProtoProxy: Added the PACKET_ENTITY_ACTION packet handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@954 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 09:40:55 +00:00
madmaxoft@gmail.com
a2f6243b21 Added delayed ticking to Lua API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@953 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 08:56:12 +00:00
faketruth
12b536d467 Core: Removed /home since other plugins want to use it
git-svn-id: http://mc-server.googlecode.com/svn/trunk@951 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11 21:02:02 +00:00