1
0
Commit Graph

86 Commits

Author SHA1 Message Date
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
lapayo94@gmail.com
86a991c5a8 Some code improvements
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 19:20:37 +00:00
lapayo94@gmail.com
14dce23845 A new Block handling system :o
It was really a lot of work :D
Took me the complete weekend :D

Would really like to here your opinion on this =)
The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 20:36:34 +00:00
madmaxoft@gmail.com
e65d28484d Disabled MSVC deprecation / security warnings for external libraries - we expect them to be secure enough
git-svn-id: http://mc-server.googlecode.com/svn/trunk@668 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 14:02:05 +00:00
madmaxoft@gmail.com
a9839b968b Squirrel: removed CLR from dependencies (we're not in C#)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@664 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13 19:30:11 +00:00
lapayo94@gmail.com
d82e2449a0 Improved Squirrel Bindings
Added AddCommand / BindCommand for Squirrel Plugins

git-svn-id: http://mc-server.googlecode.com/svn/trunk@652 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-09 15:53:17 +00:00
lapayo94@gmail.com
81a41c25fc Sorry...
Now everything should work :)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@651 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-09 07:13:08 +00:00
lapayo94@gmail.com
112d968b4a Missed precompiled headers in Release Mode
git-svn-id: http://mc-server.googlecode.com/svn/trunk@650 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-09 07:07:17 +00:00
lapayo94@gmail.com
4b62d1c463 BlockArea name change reverted
fixed VS2008 building

git-svn-id: http://mc-server.googlecode.com/svn/trunk@649 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-09 07:00:28 +00:00
madmaxoft@gmail.com
bf13084f1f cBlockArea object added (with only minimal testing so far)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-02 16:30:17 +00:00
madmaxoft@gmail.com
c2f340d309 Fixed a (non-fatal) error in the profiling script
git-svn-id: http://mc-server.googlecode.com/svn/trunk@631 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-18 16:28:18 +00:00
cedeel@gmail.com
3ef6ecb8d2 Basic handling of vines. No growth yet.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@615 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15 15:55:53 +00:00
madmaxoft@gmail.com
be24f193d7 Moved LuaFunctions.h into the Bindings section of the project
git-svn-id: http://mc-server.googlecode.com/svn/trunk@604 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-13 20:31:07 +00:00
madmaxoft@gmail.com
1c60680fba Added a BlockToPickup hook for modifying pickups when a player breaks a block.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@602 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-13 17:37:23 +00:00
madmaxoft@gmail.com
5e6c736859 Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@597 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-12 20:03:46 +00:00
faketruth
373dac3204 Added implementation of E_PLUGIN_CHUNK_GENERATING lua hook
It crashes the server when a plugin actually overrides default behavior though...

git-svn-id: http://mc-server.googlecode.com/svn/trunk@594 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-11 19:25:55 +00:00