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
madmaxoft@gmail.com
07097534a3
Biome lists can have ":count" in them for adjusting biome occurence rate. Some more error logging.
...
Idea created at FS #274 , http://www.mc-server.org/support/index.php?do=details&task_id=274
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1054 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 19:45:28 +00:00
madmaxoft@gmail.com
65bc09f8e8
Fixed wrong c++ standard assumptions about bools.
...
Should fix FS #265 .
http://forum.mc-server.org/showthread.php?tid=629&pid=5415#pid5415
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1053 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-18 21:50:05 +00:00
madmaxoft@gmail.com
fcdaaae64b
CraftingRecipes parse now dumps lines it cannot parse.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1052 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-18 13:09:13 +00:00
faketruth
8ad7747902
Android: Made the initial pre-calculated spawn area smaller
...
Android: Fixed FastNBT
Android: Fixed level.dat reading/writing
GroupManager uses groups.example.ini as default
WebAdmin uses webadmin.example.ini as default
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1049 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-16 22:06:12 +00:00
madmaxoft@gmail.com
b65a22fc1f
Fixed boolean comparison.
...
Don't compare booleans to false / true, use them directly.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1048 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-16 16:03:56 +00:00
madmaxoft@gmail.com
052abcabc7
Removed log message when spawning players on a client.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1047 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-16 15:56:41 +00:00
madmaxoft@gmail.com
c360d683e0
Fixed crashes caused LightingThread overwriting memory where it shouldn't (yay valgrind!)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1046 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-16 09:40:15 +00:00
luksor111@gmail.com
ea8545dff1
- Added the "wait" music disc
...
- Vines can now be placed on leaves
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15 18:57:47 +00:00
madmaxoft@gmail.com
635386faad
More valgrind fixes
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1044 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15 14:02:17 +00:00
madmaxoft@gmail.com
28c345a841
Added an assert for unknown protocol, so that the function isn't missed when upgrading to a new protocol.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1043 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15 13:36:14 +00:00
madmaxoft@gmail.com
e41b15565c
Added support for 1.4.4 client, using the 1.4.2 protocol class
...
No MCServer-supported packets changed. Initial patch by Setimes.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1042 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15 11:00:40 +00:00
madmaxoft@gmail.com
9f4b6ffc6c
Added a Printf() function that returns a new AString by value.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1041 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15 10:58:46 +00:00
madmaxoft
76ab9fc0a8
More valgrind uninitialized var fixing
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1040 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-13 15:58:27 +00:00
madmaxoft
1b75e74a9e
Fixed a valgrind error in lighting thread (uninitialized var value)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1039 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-13 15:50:49 +00:00
luksor111@gmail.com
f32091f98c
Fixed block breaking in survival.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1038 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-12 11:10:01 +00:00
madmaxoft@gmail.com
e8e678e1b7
Added DeadBushes finisher (initial patch by STR_Warrior; DeathBushes FTW!)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1037 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-11 15:35:49 +00:00
madmaxoft@gmail.com
934d3fe565
Removed an unused obsolete function chain - cWorld::GetChunkBlockData()
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1036 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-11 15:06:31 +00:00
madmaxoft@gmail.com
f46d4bd561
Settings.ini is read only once on server start
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1035 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-11 14:23:47 +00:00
madmaxoft@gmail.com
83b949f490
PrimaryServerVersion is not force-saved into settings.ini.
...
Server admins are advised to keep the value undefined, which will default in the latest supported version being the primary
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1034 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-11 14:15:59 +00:00
madmaxoft@gmail.com
6b34a94477
Cleanup: Removed deprecated functions from Lua API
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1033 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-11 14:05:48 +00:00
madmaxoft@gmail.com
e34f097543
Hopefully a fix for crash when chunks are added to a client being destroyed.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1032 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-11 14:00:58 +00:00
madmaxoft@gmail.com
f948551971
Fixed FS #268 - if a block entity breaking is disallowed by a plugin, the entire blockentity is sent back to the client
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1031 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-11 08:48:38 +00:00
faketruth
727446f6d5
Made settings.ini default to settings.example.ini when it doesn't exist
...
I suggest to do the same with the other ini files?
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1030 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-10 15:13:09 +00:00
madmaxoft@gmail.com
8f637d401d
Fixed a bug introduced in rev 1023 (ThuGie's crash)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1029 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-10 14:02:20 +00:00
madmaxoft@gmail.com
8e84cbc083
Protocol 1.4.2: found out and fixed the reason behind the fake "login" packet: the locale_viewdistance packet had been extended
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1028 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-10 14:01:07 +00:00
madmaxoft@gmail.com
f7ef93611c
Removed the SquirrelVM.
...
It has been crashing the server. http://forum.mc-server.org/showthread.php?tid=610
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1024 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-08 19:09:35 +00:00
madmaxoft
99a6252d6a
Hotfix for ThuGie's crash, with a sanity check in debug mode.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1023 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-07 10:42:21 +00:00
madmaxoft@gmail.com
4cebaa99f8
Refactored the world time.
...
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-01 21:38:20 +00:00
luksor111@gmail.com
77064aa486
Added Bats and Witches.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1021 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-01 10:56:47 +00:00
luksor111@gmail.com
4b998cfedc
Pickups no longer crash clients.
...
Removed some unnecessary includes.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1020 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-31 20:47:09 +00:00
luksor111@gmail.com
9012e834d7
Initial 1.4.2 support.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1019 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-31 20:18:01 +00:00
madmaxoft@gmail.com
08a20492ef
Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct version
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-31 19:54:42 +00:00
madmaxoft@gmail.com
1de9e41915
Fixed gcc compilation
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1017 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28 21:01:54 +00:00
madmaxoft@gmail.com
265c810079
Fixed NBT IntArray serialization; Biomes are now saved to / loaded from Anvil
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1015 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28 17:30:10 +00:00
madmaxoft@gmail.com
96f7246df1
Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua API
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1014 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28 14:57:35 +00:00
madmaxoft@gmail.com
1cd213fa60
Fixed more valgrind issues
...
( http://forum.mc-server.org/showthread.php?tid=598&pid=5139#pid5139 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1013 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-27 07:51:01 +00:00
madmaxoft@gmail.com
31a326382a
Critical sections aren't heap-allocated in linux anymore.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1012 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-26 15:03:44 +00:00
madmaxoft@gmail.com
403ef6bcdc
Fixed a valgrind warning in BlockDirt.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1011 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-26 08:47:30 +00:00
madmaxoft@gmail.com
2c9e187189
Fixed up a few valgrind warnings
...
( http://forum.mc-server.org/showthread.php?tid=598&pid=5071#pid5071 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1010 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-25 19:20:29 +00:00
sebi.noreply@gmail.com
e33e9111ab
Fixed issues with pickups.
...
* Now when picking up max. stack amount is checked.
* Added cInventory::AddItemAnyAmount() which will not fail if it cannot add all items (it will just modify amount)
* If there is no space in inventory and picking up stacked items, it will try to fill stacks already in inventory, partially picking up the item.
* When closing inventory player will drop any items it's currently 'dragging'
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1008 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-24 12:48:25 +00:00
madmaxoft@gmail.com
5c5463c335
#grammarnazi: fixed tabs to spaces and alpha-sort
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1007 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-23 19:48:16 +00:00
madmaxoft@gmail.com
c3ad0ff460
Adjusted the number and sizes of ore nests (Patch contributed by STR_Warrior)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1006 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-23 19:39:30 +00:00
luksor111@gmail.com
1e45242546
New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1005 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-23 18:13:37 +00:00
luksor111@gmail.com
9855316494
You can now see particles and hear sounds when other players are destroying blocks.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1004 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-22 20:45:56 +00:00
madmaxoft@gmail.com
331d012849
Slight formatting tuneup to the previous commit.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1003 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-22 18:04:15 +00:00
madmaxoft@gmail.com
793ae5359d
Vine decay (patch contributed by funmaker)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1002 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-22 18:00:05 +00:00
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
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
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
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