1
0
Commit Graph

1594 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
cd007c2908 Plugins folder: ignoring everything not explicitly added
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1681 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-26 08:48:02 +00:00
madmaxoft@gmail.com
1b20cfa425 cEntity doesn't process physics / burning when in an invalid chunk
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1680 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-24 20:36:12 +00:00
madmaxoft@gmail.com
df34c43293 Server shuts down when the stdin is closed (linux Ctrl+D / win Ctrl+Z)
Fixes FS #419

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1679 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-24 20:25:27 +00:00
madmaxoft@gmail.com
bb4bb018ab Docs: Added the cPawn -> cPlayer API class inheritance
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1678 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-24 20:18:57 +00:00
madmaxoft@gmail.com
a96ee0abfa cListenThread initializes m_ShouldReuseAddr to false (valgrind error)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-22 19:55:10 +00:00
madmaxoft@gmail.com
889402a56a Simulators don't simulate in invalid chunks (valgrind error)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1676 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-22 19:54:27 +00:00
madmaxoft@gmail.com
168c760b06 Added the docs folder with some documents that have piled up in my working copy
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1675 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-21 20:01:35 +00:00
madmaxoft@gmail.com
2fca0567bf Added a StringToMobType() function to the Lua API (patch contributed by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1674 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-12 20:28:41 +00:00
madmaxoft@gmail.com
4fb771f3ff First implementation of movement-related hunger and API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-12 20:01:25 +00:00
madmaxoft@gmail.com
f5e475d44f Added the cFastRandom class
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1672 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-11 08:34:41 +00:00
madmaxoft@gmail.com
94a92a219b Server sends PlayerMaxSpeed after a respawn.
http://forum.mc-server.org/showthread.php?tid=434&pid=8912#pid8912

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1671 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-08 18:30:27 +00:00
madmaxoft@gmail.com
97dc5a5365 Color codes are stripped from the DC message
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1670 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-08 13:00:09 +00:00
madmaxoft@gmail.com
791bf732fd 1.6.2 protocol implemented, both in MCServer and in ProtoProxy
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1669 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-08 12:59:15 +00:00
madmaxoft@gmail.com
a40585ec99 Pickups have an initial health of 5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1668 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-08 07:23:44 +00:00
madmaxoft@gmail.com
9214a134ca World: More unused variables removed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1667 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 20:48:50 +00:00
madmaxoft@gmail.com
3df8cfb091 World: Removed an unused variable
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1666 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 20:41:43 +00:00
madmaxoft@gmail.com
254295b5b8 Squid: fixed a possible crash caused by access to a wrong chunk
Fixes FS #411.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1665 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 20:20:18 +00:00
madmaxoft@gmail.com
a72c6d9613 Ice is a solid block.
Helps with FS #381

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1664 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 19:58:33 +00:00
madmaxoft@gmail.com
0756c72486 Core: /tp command can teleport either to a player or to a set of XYZ coords
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1663 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 19:57:56 +00:00
madmaxoft@gmail.com
a3c8b12ee9 Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore.
Fixes FS #409.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1662 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 15:09:05 +00:00
madmaxoft@gmail.com
5951bc76ec Added StringUtils functions to Lua API; added StripColorCodes(); ChatLog now strips color codes from logged messages.
Fixes FS #398

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1661 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 14:42:07 +00:00
madmaxoft@gmail.com
0224a4f7fc Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.
Fixes FS #415

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 14:13:43 +00:00
madmaxoft@gmail.com
b1d05b0f57 Improved function names for protocol packet sending; alpha-sorted the function lists
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07 13:06:06 +00:00
madmaxoft@gmail.com
8f18510dec AnvilStats: moved into the Tools folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1658 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06 19:56:03 +00:00
madmaxoft@gmail.com
b2214a56c4 ProtoProxy: moved into the Tools folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1657 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06 19:45:36 +00:00
madmaxoft@gmail.com
567df6aacf MemDumpAnalysis: moved into the Tools folder; uses the global Expat library now.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1656 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06 19:44:54 +00:00
madmaxoft@gmail.com
209ad87026 BiomeVisualiser: Moved into the Tools folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1655 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06 19:43:13 +00:00
nielsbreu@gmail.com
4b18fd2eb1 Added missing "Colors", Documented the code + Cleanup.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1654 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06 18:24:33 +00:00
nielsbreu@gmail.com
daff3ca687 Just a tiny speedup for the motd loading.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1653 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06 13:30:10 +00:00
nielsbreu@gmail.com
983e29f065 Simplefied the motd loading function.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1652 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06 11:13:29 +00:00
madmaxoft@gmail.com
762f78774d Declaring full 1.6.1 compatibility
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1651 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 21:14:55 +00:00
madmaxoft@gmail.com
37590c4bd8 Unmounting vehicles implemented in the 1.6.1 way
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1650 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 21:11:06 +00:00
madmaxoft@gmail.com
b818addde4 Fixed 1.6.1's movement speed
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1649 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 21:02:08 +00:00
madmaxoft@gmail.com
1e37002528 ProtoProxy: Updated to protocol 1.6.1 (#73)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1648 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 20:56:54 +00:00
nielsbreu@gmail.com
ae22e2545d The motd is now loaded from a file in the root dir called motd.txt. You can easily edit the modt and add colors to it.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1647 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 19:56:32 +00:00
madmaxoft@gmail.com
de5cec7419 Initial 1.6.1 protocol support.
The client connects and is capable of basic gameplay, but the player moves at an incredible speed (50 blocks / sec).

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1646 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 19:40:19 +00:00
madmaxoft@gmail.com
eff79ee55f Fixed a crash when moving a player to a non-existent world (reported by tonibm19)
http://forum.mc-server.org/showthread.php?tid=434&pid=8865#pid8865 crashdump.zip/crash_mcs_165c.dmp

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1645 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 17:04:12 +00:00
nielsbreu@gmail.com
cc4a1cad39 Reduced the amount of tables.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1644 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 11:13:21 +00:00
madmaxoft
e27a5db409 Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan)
Fixes FS #277.
API change: added an optional parameter to cItemGrid:AddItem(), cItemGrid:AddItems(), cInventory:AddItem() and cInventory:AddItems()

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1643 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-03 13:56:11 +00:00
nielsbreu@gmail.com
504f6192f7 Updated LimitWorld. (Patch by tonibm19)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1642 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-03 08:13:53 +00:00
madmaxoft@gmail.com
f7b8a301f8 Fixed player moving between worlds.
Fixes FS #407.
Also fixes a few possible deadlocks between SocketThreads and TickThread

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1641 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-03 07:47:35 +00:00
madmaxoft@gmail.com
2f8eebaad1 dtOnFire damage wasn't dealt properly
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1640 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 18:52:24 +00:00
madmaxoft@gmail.com
37f6c78404 Added DamageType translation to API
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1639 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 18:46:45 +00:00
madmaxoft@gmail.com
2e9cf0ae28 Fixed burn / fire damage in each game tick.
http://forum.mc-server.org/showthread.php?tid=434&pid=8798#pid8798

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1638 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 18:37:27 +00:00
nielsbreu@gmail.com
3a6e9983f5 Fixed /stop command. The console still doesn't get closed though(FS#249).
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1637 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 11:42:59 +00:00
nielsbreu@gmail.com
0ba7a42762 Updated the /back and /top command.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1636 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 10:54:34 +00:00
madmaxoft@gmail.com
37276a4430 Rewritten entity-on-fire management ("forever on fire" bugs)
Fixes FS #297 and part of FS #403.
Added sizes to all entities.
Moved all damage-related functions from cPawn to cEntity
API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords()

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 10:39:56 +00:00
madmaxoft@gmail.com
3cfe865df3 Changed the crafting recipe for book to match vanilla since 1.3.1 (fix contributed by mgueydan)
Fixes FS #404

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1634 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-30 20:57:00 +00:00
nielsbreu@gmail.com
290ab0b588 The LimitWorlds function now uses cCuboid
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1633 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-30 19:14:22 +00:00
madmaxoft@gmail.com
623adcad0f Fixed crouch-placing unplaceable items (FS #399)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1632 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-29 15:45:46 +00:00