1
0
Commit Graph

1539 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
4fe7801cfc Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code.
Should fix FS #400 and partially fix FS #381

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-25 06:36:59 +00:00
nielsbreu@gmail.com
ce1a56836a ActivatorRail is craftable (Patch by tonibm19)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1625 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-24 19:02:14 +00:00
nielsbreu@gmail.com
146b3d568a The weather doesn't change if the dimension is not Overworld.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1624 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-24 16:50:32 +00:00
nielsbreu@gmail.com
4212c4ba12 Fixed piston crafting and redstone blocks can be crafted. (Patch by tonibm19)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1623 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-24 12:14:30 +00:00
madmaxoft@gmail.com
943dcaea14 Plugins can modify message in the OnChat() hook handler.
FS #376

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 19:08:34 +00:00
madmaxoft@gmail.com
9dd0486faf Added the End height and composition generators.
Also made the dimension in world.ini specifiable by a string. Exported StringToDimension() and StringToBiome() to Lua API.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1621 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 18:41:08 +00:00
nielsbreu@gmail.com
c8fc397b43 Made redstone lamps turn on when powered and turn off when not powered.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1620 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 11:45:41 +00:00
nielsbreu@gmail.com
c153a5c6df Dispensers spawn fire if it has Flint and steel.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1619 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 10:03:41 +00:00
nielsbreu@gmail.com
5a18b9b6b7 TNT changes to primed TNT when powered by redstone.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1618 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 08:42:49 +00:00
madmaxoft@gmail.com
e2281df8d8 Dispensers dispense primed TNT
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1617 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-21 21:19:47 +00:00
madmaxoft@gmail.com
fe02bf374a Explosions don't produce warnings in cBlockArea; fixed logging in cBlockArea
Fixes FS #389

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1616 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-21 21:19:02 +00:00
madmaxoft@gmail.com
d95756c5cc Simulators are woken up after an explosion.
Fixes FS #391

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1615 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-21 20:47:58 +00:00
madmaxoft@gmail.com
c867bdac24 Updated the stacking (Patch contributed by Stephen304)
http://forum.mc-server.org/showthread.php?tid=503&pid=8609#pid8609

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1614 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-20 18:29:34 +00:00
madmaxoft@gmail.com
0aba613084 Furnace window progressbars are initialized when the window is opened
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1613 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-20 11:46:08 +00:00
madmaxoft@gmail.com
8dd5fe5070 Furnaces light up visually when they're cooking
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-20 11:41:44 +00:00
madmaxoft@gmail.com
512c342782 Implemented hopper output
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1611 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-20 11:02:09 +00:00
madmaxoft@gmail.com
d633f8a671 Fixed a crash when placing new furnaces
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1610 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-20 11:01:13 +00:00
madmaxoft@gmail.com
30f808034c Improved comment
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1609 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-19 20:21:26 +00:00
nielsbreu@gmail.com
bcfa09aa14 Explosions do not effect the terrain when they are in water.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1608 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18 20:32:22 +00:00
madmaxoft@gmail.com
73fb71e164 Crouching will allow block placement on otherwise functional blocks.
Fixes FS #382

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1607 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18 20:15:29 +00:00
madmaxoft@gmail.com
32f28bf1fb Added a crude limiter for explosions sent to client.
Now the client can survive even 3000k TNT blocks exploding without jerking much.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18 19:32:31 +00:00
madmaxoft@gmail.com
961c7bc51e Added the API for spawning primed TNTs
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1605 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18 19:31:33 +00:00
madmaxoft@gmail.com
b2138b132c More TNT fixes.
Chain-reaction TNTs are spawned in proper coordinates (FS #390)
Centralized Primed TNT entity spawning and made available to the plugins.
Internal changes for better TNT performance.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1604 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18 19:09:51 +00:00
madmaxoft@gmail.com
547c341325 TNT fixes.
Other blocks can be placed next to TNT.
Explosions activate nearby TNT blocks.
TNT doesn't destroy bedrock, obsidian and liquid blocks.
Server doesn't crash when a TNT (or other entity) leaves the valid Y range.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1603 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18 08:24:34 +00:00
madmaxoft@gmail.com
c48b5c52ae Extended the cloc stats for the entire project
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1602 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 21:17:26 +00:00
madmaxoft@gmail.com
97eda34a94 Rewritten furnaces
Furnaces now smelt the correct number of items.
Furnaces store their contents in a cItemGrid.
Furnace window is updated with correct items and progressbars.
Furnace recipes now use ticks instead of milliseconds.
Furnaces save and load their state completely, not missing a smelt operation.
Hoppers take items out of furnaces.
Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 20:24:07 +00:00
madmaxoft@gmail.com
64f70c2e2c Core: fixed a warning message when using the /item command
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1600 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 17:23:01 +00:00
madmaxoft@gmail.com
b929efc9a6 cItem: Added useful utility functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1599 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 14:12:25 +00:00
nielsbreu@gmail.com
b984da5a9e Added respawn screen when switching worlds.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1598 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 10:35:32 +00:00
madmaxoft@gmail.com
588d4dc907 Added an elaborative comment on the deadlock prevention code
(FS #375)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1597 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16 08:51:05 +00:00
madmaxoft@gmail.com
360c579105 Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACK
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1596 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 20:24:22 +00:00
nielsbreu@gmail.com
9dfff6810c Fixed compilation on linux.
Any idea why SendMessageA works on Windows and not on linux?

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1595 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 18:26:00 +00:00
nielsbreu@gmail.com
d88f390b9e Entity: Added IsTNT
Once again I wasn't paying attention..

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1594 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 18:11:27 +00:00
nielsbreu@gmail.com
07a1ffb499 Entity: Added IsTNT
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1593 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 18:09:54 +00:00
nielsbreu@gmail.com
f3319c4d5f You can only sleep when the time is day, and beds explode if the dimension is not Overworld.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1592 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 17:10:34 +00:00
madmaxoft@gmail.com
a67760f7c9 First attempt at fixing the inter-threading deadlocks between the tick thread and the socket thread
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1591 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 15:29:20 +00:00
madmaxoft@gmail.com
92fc62fb4b Fixed The MagicCarpet plugin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1590 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 14:26:21 +00:00
madmaxoft@gmail.com
def8f859ba Fixed Linux compilation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1589 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15 08:00:24 +00:00
nielsbreu@gmail.com
1e6e39f10a Added the option of saving all the chunks of a world using the webadmin.
FS #354

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1588 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13 17:05:53 +00:00
madmaxoft@gmail.com
03c6bb9f85 Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13 07:36:43 +00:00
madmaxoft@gmail.com
732190e9f9 ProtectionAreas: Added proper ignored files
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1586 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13 07:17:10 +00:00
madmaxoft@gmail.com
5c38a831bf cItemGrid: Added IsSlotEmpty() functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1585 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13 06:13:56 +00:00
madmaxoft@gmail.com
9cef5838a8 ChestEntity: fixed bindings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1584 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-12 12:30:47 +00:00
madmaxoft@gmail.com
007e75de9d Implemented the Hopper block handler
Hoppers can be placed properly, but won't work yet.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1583 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-12 08:22:34 +00:00
madmaxoft@gmail.com
fe3712284e Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return values
FS #364

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1582 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-12 07:14:06 +00:00
madmaxoft@gmail.com
bb3e53df08 ProtectionAreas: Added a license file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1581 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 10:06:31 +00:00
madmaxoft@gmail.com
9a6694f56c ProtectionAreas: Improved command help strings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1580 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 09:59:51 +00:00
madmaxoft@gmail.com
30924db508 ProtectionAreas: Moved all strings sent to players to a separate language file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1579 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 09:55:46 +00:00
madmaxoft@gmail.com
c6ddc89e92 ProtectionAreas: usernames are now handled case-insensitive
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1578 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-11 08:11:08 +00:00
nielsbreu@gmail.com
9280e355de Added dragon egg to falling blocks.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1577 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-10 19:00:18 +00:00