1
0
Commit Graph

101 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
faketruth
58ed9498fb Fixed chatlog plugin
Fixed references to settings files in VS2008 project

git-svn-id: http://mc-server.googlecode.com/svn/trunk@948 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11 14:58:41 +00:00
faketruth
e69b0e4001 Added functionality so one plugin can call functions on another plugin :D
Fixed Core plugin file addresses in the VS2008 project

git-svn-id: http://mc-server.googlecode.com/svn/trunk@945 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-10 21:50:46 +00:00
madmaxoft@gmail.com
7b42204b24 All blockticking is now done in cBlockHandlers
git-svn-id: http://mc-server.googlecode.com/svn/trunk@942 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-07 10:08:57 +00:00
madmaxoft@gmail.com
28332c6567 Completely removed the old (buggy) redstone simulator.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 20:04:58 +00:00
madmaxoft@gmail.com
26f0ca1fa7 CryptoPP: Removed an unused file that broke compilation on some *nixes
( http://forum.mc-server.org/showthread.php?tid=566 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@925 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03 20:37:06 +00:00
faketruth
ba2a9b6b2c Added falling block entities. Sand and gravel now properly fall down
Implemented the PACKET_SPAWN_OBJECT packet
Made some things use BLOCKTYPE instead of char

Android: Requests WebAdmin port when pressing the configure button


git-svn-id: http://mc-server.googlecode.com/svn/trunk@915 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-30 16:37:44 +00:00
faketruth
17486c7853 Beds can be slept in now (it doesn't change the time though)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 20:43:42 +00:00
faketruth
fe61687b97 Made beds placeable
Android: Updated some stuff and set default view distance lower

git-svn-id: http://mc-server.googlecode.com/svn/trunk@900 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29 13:41:47 +00:00
faketruth
987b6ac123 Fixed a bug in the inventory system where it would de-sync when dragging items with non-default metadata/health
Android: Updated VS2008 project to point to correct Android files
Android: Updated makefiles to compile CryptoPP
Android: Modified CryptoPP config.h and misc.cpp so it compiles for Android
Android: Added pretty MCServer icons

git-svn-id: http://mc-server.googlecode.com/svn/trunk@893 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-26 14:36:08 +00:00
madmaxoft@gmail.com
41958e31ba Restored Noise's optimization even in debug build, lost in previous rename.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@888 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:19:52 +00:00
madmaxoft@gmail.com
ecfe6ab65b Source files cleanup: The rest of the files renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:09:57 +00:00
madmaxoft@gmail.com
96bc0a2c79 Source files cleanup: ChunkDataSerializer is Protocol-related
git-svn-id: http://mc-server.googlecode.com/svn/trunk@886 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 21:37:46 +00:00
madmaxoft@gmail.com
7abb5f7604 Source files cleanup: OSSupport-related files in a separate subfolder, renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 21:23:33 +00:00
madmaxoft@gmail.com
3953277568 Source files cleanup: Removed unused cBlockToPickup
git-svn-id: http://mc-server.googlecode.com/svn/trunk@884 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 21:09:13 +00:00
madmaxoft@gmail.com
16f44ab7de Source files cleanup: Mobs-related files in a separate subfolder, renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 20:53:08 +00:00
madmaxoft@gmail.com
f59f5f5759 Source files cleanup: WorldStorage-related files in a separate subfolder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@882 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 20:22:46 +00:00
madmaxoft@gmail.com
881ad8d8db Source files cleanup: Generating-related files in a separate subfolder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 20:14:04 +00:00
madmaxoft@gmail.com
251c961eea Source files cleanup: Protocol-related files in a separate subfolder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@880 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 20:03:26 +00:00
madmaxoft@gmail.com
f58c3f2e81 Source files cleanup: UI files renamed
git-svn-id: http://mc-server.googlecode.com/svn/trunk@878 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 17:19:34 +00:00
madmaxoft@gmail.com
a5113218d2 Restored resource files from vc2010 into vc2008
git-svn-id: http://mc-server.googlecode.com/svn/trunk@872 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-22 08:30:19 +00:00
madmaxoft@gmail.com
bc466f07a4 Refactored windows.
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561
For now, only basic clicking works; shift-click not implemented yet.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20 13:25:54 +00:00
madmaxoft@gmail.com
9eed83c33a Merged in a patch for sounds by l0udPL
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564

git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-11 12:01:34 +00:00
madmaxoft@gmail.com
81e7eca286 Fixed profiling to work under the new project layout
git-svn-id: http://mc-server.googlecode.com/svn/trunk@844 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-07 16:40:05 +00:00
madmaxoft@gmail.com
49f6828834 Removed OS dependencies from CryptoPP; Removed unused modules that didn't compile on some platforms
git-svn-id: http://mc-server.googlecode.com/svn/trunk@827 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-04 10:17:27 +00:00
madmaxoft@gmail.com
539364846a Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@808 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-30 21:06:13 +00:00
madmaxoft@gmail.com
f5fe723b2a Added a basic protocol recognizer and the base for 1.3.2 protocol.
Also fixed a few type-related warnings.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@805 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-30 09:56:59 +00:00
madmaxoft@gmail.com
f1d62b77cd Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-29 21:02:39 +00:00
madmaxoft@gmail.com
1651fcd980 Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-28 21:59:49 +00:00
madmaxoft@gmail.com
66f4c9e0c0 Cut out all packet handling to a separate cProtocol descendant
git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-27 17:31:16 +00:00
madmaxoft@gmail.com
d97ad781b4 git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6 2012-08-26 21:01:07 +00:00
madmaxoft@gmail.com
6ad8553a3a Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL)
http://forum.mc-server.org/showthread.php?tid=528

git-svn-id: http://mc-server.googlecode.com/svn/trunk@793 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-26 17:50:42 +00:00
faketruth
7c84349990 WebAdmin should not cause crashes anymore
Got rid of cWebPlugin_Lua
cPlugin_Lua is also a cWebPlugin now, so plugins don't need a separate cWebPlugin object
Changed some stuff to use AString instead of char*

git-svn-id: http://mc-server.googlecode.com/svn/trunk@777 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-22 14:22:21 +00:00
faketruth
12906c026d Moved files used by MCServer to a special MCServer folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@763 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-20 12:20:20 +00:00
madmaxoft@gmail.com
2cae4b24d8 Added Core files to the VC2008 project (so that they can be opened from the IDE there, nothing more)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@749 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18 09:52:11 +00:00
madmaxoft@gmail.com
cd7ead5f6a VC2008: Removed Android-specific files from all Windows build configurations
git-svn-id: http://mc-server.googlecode.com/svn/trunk@748 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18 09:50:10 +00:00
faketruth
c40af4c4ab Android: Pressing back button sends stop command to server
Android: ToJava can call functions on Java by using JNI
Android: Plugins work
Android: Added android specific files to VS2008 project, but they are excluded from compiling

git-svn-id: http://mc-server.googlecode.com/svn/trunk@747 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-17 22:20:35 +00:00
madmaxoft@gmail.com
70a4ca5bc1 Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-17 10:18:07 +00:00
madmaxoft@gmail.com
0e7bef4452 Fixed warnings in md5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@703 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:03:04 +00:00
madmaxoft@gmail.com
5439d0c482 Fixed MSVC project for Squirrel lib, no more linker warnings about vc90.pdb
git-svn-id: http://mc-server.googlecode.com/svn/trunk@702 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 11:59:11 +00:00
madmaxoft@gmail.com
cd3cac71a0 VC2008 project: finally a truly Release build, with full optimization.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@700 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-28 12:21:11 +00:00
madmaxoft@gmail.com
3f30d5dfd2 Added a new cave generator: DualRidgeCaves ( somewhat like http://www.gamedev.net/blog/33/entry-2227887-more-on-minecraft-type-world-gen/ )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@694 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-22 18:51:38 +00:00
madmaxoft@gmail.com
f2181420d7 Added a Release Profiled configuration to Squirrel MSVC2008 project
git-svn-id: http://mc-server.googlecode.com/svn/trunk@686 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21 14:13:14 +00:00
madmaxoft@gmail.com
7198ddba46 Ravines: initial implementation, randomized shapes are working, but still needs some work
git-svn-id: http://mc-server.googlecode.com/svn/trunk@683 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-19 21:49:27 +00:00