1
0
Commit Graph

893 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
fb9a00a64e Added the block dig animation packet (patch contributed by l0udPL)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25 09:54:36 +00:00
madmaxoft@gmail.com
7a43f6be09 Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25 08:23:19 +00:00
madmaxoft@gmail.com
24e94e7516 ProtoProxy: fixed after file renaming
git-svn-id: http://mc-server.googlecode.com/svn/trunk@890 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25 08:22:10 +00:00
madmaxoft@gmail.com
cade71ff68 Fixed Lua bindings for file renaming in previous commits
git-svn-id: http://mc-server.googlecode.com/svn/trunk@889 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:25:33 +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
849dbf094c Added to the ignore list: the *nix output executable and Core's banned / whitelist inifiles
git-svn-id: http://mc-server.googlecode.com/svn/trunk@879 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 17:22:23 +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
a3b7dbb13d Fixed position confirming for 1.3.2 (FS #245)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@877 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 16:54:03 +00:00
madmaxoft@gmail.com
926030e89a Fixed players not spawning to others when they join the server.
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4633#pid4633

git-svn-id: http://mc-server.googlecode.com/svn/trunk@876 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 16:39:12 +00:00
madmaxoft@gmail.com
578c9c4694 Tweaked logging.
Less output for UI.
More output for player pos confirming (FS #245) and for player spawning

git-svn-id: http://mc-server.googlecode.com/svn/trunk@875 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 16:25:32 +00:00
madmaxoft@gmail.com
60c29274d3 Fixed entity equipment packet in the 1.3.2 protocol.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@874 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 15:57:25 +00:00
madmaxoft@gmail.com
45eddd63ad ProtoProxy: added the PACKET_PLAYER_ABILITIES packet parsing for client-side
git-svn-id: http://mc-server.googlecode.com/svn/trunk@873 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 15:56:42 +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
a7f9ce86cd Fixed a potential crash in shift-click (gcc warning)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@871 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-21 21:42:23 +00:00
madmaxoft@gmail.com
fd1519c352 Removed the VC2010 project file - it was not maintained for some time anyway. If anyone wants to use VC2010, just open the 2008 project.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@870 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-21 21:40:20 +00:00
madmaxoft@gmail.com
50c6a66092 Working shift-click support in crafting areas; window update working in 1.3.2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@869 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-21 20:50:34 +00:00
madmaxoft@gmail.com
fdf8387092 UI: Added shift-click support to most slot areas, except crafting.
Also fixed survival inventory's crafting grid not working.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@868 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20 20:10:46 +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
2b35b9a724 ProtoProxy: moar packets! (can now sustain parsing while connected to vanilla server, most of the times)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@866 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20 11:36:09 +00:00
madmaxoft@gmail.com
6229de5e67 ProtoProxy: Added the PACKET_UPDATE_TILE_ENTITY packet handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@865 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-19 07:17:47 +00:00
madmaxoft@gmail.com
44e38e9643 ProtoProxy: added handling of several spawning packets
git-svn-id: http://mc-server.googlecode.com/svn/trunk@864 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-19 07:11:31 +00:00
madmaxoft@gmail.com
184d7269c1 ProtoProxy: Added the ENTITY-class packets handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@863 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18 11:59:41 +00:00
madmaxoft@gmail.com
13e5ee887c ProtoProxy: Added the PACKET_MAP_CHUNK_BULK packet handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@862 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18 08:35:06 +00:00
madmaxoft@gmail.com
5d62d8158c ProtoProxy: Added the PACKET_SET_EXPERIENCE packet handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@861 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18 08:17:38 +00:00
madmaxoft@gmail.com
e32a85f752 ProtoProxy: added the CHANGE_GAME_STATE packet handling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@860 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18 08:13:12 +00:00
madmaxoft@gmail.com
049557e60c ProtoProxy: added more packets, mostly windowing-related
git-svn-id: http://mc-server.googlecode.com/svn/trunk@859 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-14 17:13:56 +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
faketruth
2132599cbb Core's Web Chat should work on FireFox again. Apparently it appends "charset=utf-8" to the content type which was not properly handled.
Right now any trailing data in the content type is ignored, which seems to work

git-svn-id: http://mc-server.googlecode.com/svn/trunk@857 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-09 12:30:16 +00:00
madmaxoft@gmail.com
92c7d48af0 ItemToString() now recognizes matches that are in the ini without metadata.
"323:0" -> "sign", although ini says "sign=323" only.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@856 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 21:49:27 +00:00
faketruth
917259f2e7 Core now uses built in item functions ( StringToItem() ) for the /item command
git-svn-id: http://mc-server.googlecode.com/svn/trunk@855 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 21:41:17 +00:00
madmaxoft@gmail.com
27b02efffa StringToItem() sets item's count to 1 after a successful parse
git-svn-id: http://mc-server.googlecode.com/svn/trunk@854 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 21:33:53 +00:00
madmaxoft@gmail.com
3f1eb05593 Fixed item damage not being set properly in StringToItem()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@853 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 21:20:36 +00:00
madmaxoft@gmail.com
985fd3ca2c Set leaves as a transparent block.
Initiated by STR_Warrior, http://forum.mc-server.org/showthread.php?tid=434&pid=4512#pid4512

git-svn-id: http://mc-server.googlecode.com/svn/trunk@852 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 21:08:21 +00:00
faketruth
8199aeb18a GetLocalDirectory should not include FILE_IO_PREFIX since that is already included in cIniFile
git-svn-id: http://mc-server.googlecode.com/svn/trunk@851 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 20:51:47 +00:00
faketruth
6bc916fc3c Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder.
Core now stores banned players and whitelist data in its own directory

git-svn-id: http://mc-server.googlecode.com/svn/trunk@850 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 20:49:29 +00:00
madmaxoft@gmail.com
675d35cd46 Another fix for the case-sensitiveness. WTF, STL allows different signatures for Debug and Release builds?
git-svn-id: http://mc-server.googlecode.com/svn/trunk@849 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 17:02:11 +00:00
madmaxoft@gmail.com
fbefff45b1 Fixed the case-sensitiveness of the item map.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@848 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 16:38:27 +00:00
madmaxoft@gmail.com
8c43857b73 Added the ItemToString() and ItemTypeToString() functions.
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4506#pid4506

git-svn-id: http://mc-server.googlecode.com/svn/trunk@847 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 16:08:29 +00:00
madmaxoft@gmail.com
a66f6d905d Relaxed the check for held item, the client sometimes sends wrong ItemType.
http://forum.mc-server.org/showthread.php?tid=549&pid=4502#pid4502

git-svn-id: http://mc-server.googlecode.com/svn/trunk@846 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-07 20:53:37 +00:00
madmaxoft@gmail.com
4f052b2650 ProtoProxy: fixed a few mis-interpreted packets, added block placement packet parsing. Added leftover dumping for unparsed data (should not happen, if so, parsing is probably wrong)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@845 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-07 20:15:06 +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