Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-01-08 | Rewrite cClientHandle::HandleRightClick (#4089) | 9caihezi | 1 | -148/+130 | |
* Add hand parameter to distinguish main hand/off hand. * Add a new function cClientHandle::HandleUseItem to separate the functionality of using an item without a target block. This matches the protocol with client version >= 1.9 * Always actively update the status of a block if the placement fails (by out of reach or rejected by plugin). * Do not call plugin callback CallHookPlayerRightClick(-1, 255, -1, -1, 0, 0, 0) when using item. The CallHookPlayerUsingItem will still be called. Now at most one of CallHookPlayerRightClick, CallHookPlayerUsingBlock, CallHookPlayerUsingItem and CallHookPlayerEating will be called based on the type of action (not including the used version of callbacks). * Do not count using item as BlockInteractionsRate check (Using item takes time). * Now we can open chests(etc.) when sneaking as long as the player's hand is empty. This is what vanilla server does. | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 1 | -1/+1 | |
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | |||||
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -1/+1 | |
2017-10-21 | Implement horse inventory (#4053) | peterbell10 | 1 | -0/+12 | |
* Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | |||||
2017-09-25 | BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) | Bond-009 | 1 | -3/+3 | |
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 1 | -1/+11 | |
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos | |||||
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 1 | -1/+1 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -51/+22 | |
2017-09-08 | Shutdown connection when disconnect packet sent (#3999) | Alexander Harkness | 1 | -4/+10 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -22/+51 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | OnLogin now kicks players properly (#3980) | Alexander Harkness | 1 | -1/+2 | |
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -51/+22 | |
2017-08-30 | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 1 | -2/+2 | |
* Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target | |||||
2017-08-27 | Implement Forge protocol handshake support (#3869) | satoshinm | 1 | -1/+24 | |
2017-08-25 | Add cUUID class (#3871) | peterbell10 | 1 | -34/+7 | |
2017-08-21 | Fully implemented leashes (#3798) | Pablo Beltrán | 1 | -0/+18 | |
2017-08-11 | Removed incorrect assert in cClientHandle::SendRespawn. | Lane Kolbly | 1 | -3/+0 | |
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -4/+25 | |
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 1 | -1/+0 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 1 | -4/+4 | |
2017-08-01 | cWorld::SendBlockTo take player by ref | peterbell10 | 1 | -14/+14 | |
2017-07-28 | Tentative fix for player-limit race condition (#3862) | Tiger Wang | 1 | -8/+14 | |
* Attempts to fix #2257 Derived from d233e9843148313c71fbaba96ccff660e47b07b1 * Changed player count type to int * Clarified certain actions | |||||
2017-06-26 | Fixed memory leak in cClientHandle. (#3794) | Mattes D | 1 | -5/+5 | |
2017-06-09 | Fix assert when clicking blocks at the top of the world. | Mattes D | 1 | -12/+16 | |
2017-05-27 | Add rank prefix and suffix to player name in chat (#3730) | Heiko Hund | 1 | -1/+5 | |
Fixes issue #1721 | |||||
2017-05-24 | Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) | Pablo Beltrán | 1 | -0/+10 | |
Fixes #3714. | |||||
2017-05-19 | Allow enabling/disabling of block change limit | mathiascode | 1 | -1/+1 | |
2017-01-28 | Fixed ClientHandle:GetProtocolVersion returning wrong number. | Mattes D | 1 | -8/+2 | |
2016-12-16 | Initial support for the 1.11 protocol. | Mattes D | 1 | -2/+2 | |
2016-11-19 | Fixed race conditions in cClientHandle's State. | Mattes D | 1 | -157/+208 | |
2016-11-06 | Anticheat fastbreak (#3411) | mohe2015 | 1 | -0/+27 | |
Added block hardness checks when breaking blocks. | |||||
2016-10-21 | Added SendMessageRaw for sending json string. | Lukas Pioch | 1 | -0/+9 | |
2016-10-12 | Spectators added (#2852) | bibo38 | 1 | -2/+54 | |
2016-09-27 | Use cChunkDef::Height for Y coord comparison where applicable. | Moritz Borcherding | 1 | -2/+2 | |
2016-09-25 | Fixed cCompositeChat's constructor LuaAPI bindings. | Mattes D | 1 | -5/+3 | |
The tolua-generated constructor would return an extra string value. | |||||
2016-09-03 | Improve cPlayer::DoMoveToWorld (#3113) | LogicParrot | 1 | -1/+0 | |
2016-08-29 | Proper respawn packets on dimension travel | LogicParrot | 1 | -1/+17 | |
2016-08-28 | Fixed SendUnloadChunk bug (#3353) | LogicParrot | 1 | -1/+1 | |
2016-08-28 | Fix breaking ice in survival not giving a water's source (#3356) | ElNounch | 1 | -1/+1 | |
Fix #3355 | |||||
2016-08-04 | Fixed RasPi builds of unit tests. | Mattes D | 1 | -1/+3 | |
On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds. | |||||
2016-07-21 | Tab completion across worlds (#3270) | Alexander Harkness | 1 | -1/+13 | |
Fixes #2563. | |||||
2016-05-14 | 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) | Pokechu22 | 1 | -1/+16 | |
* Semistable update to 15w31a I'm going through snapshots in a sequential order since it should make things easier, and since protocol version history is written. * Update to 15w34b protocol Also, fix an issue with the Entity Equipment packet from the past version. Clients are able to connect and do stuff! * Partially update to 15w35e Chunk data doesn't work, but the client joins. I'm waiting to do chunk data because chunk data has an incomplete format until 15w36d. * Add '/blk' debug command This command lets one see what block they are looking at, and makes figuring out what's supposed to be where in a highly broken chunk possible. * Fix CRLF normalization in CheckBasicStyle.lua Normally, this doesn't cause an issue, but when running from cygwin, it detects the CR as whitespace and creates thousands of violations for every single line. Lua, when run on windows, will normalize automatically, but when run via cygwin, it won't. The bug was simply that gsub was returning a replaced version, but not changing the parameter, so the replaced version was ignored. * Update to 15w40b This includes chunk serialization. Fully functional chunk serialization for 1.9. I'm not completely happy with the chunk serialization as-is (correct use of palettes would be great), but cuberite also doesn't skip sending empty chunks so this performance optimization should probably come later. The creation of a full buffer is suboptimal, but it's the easiest way to implement this code. * Write long-by-long rather than creating a buffer This is a bit faster and should be equivalent. However, the code still doesn't look too good. * Update to 15w41a protocol This includes the new set passengers packet, which works off of the ridden entity, not the rider. That means, among other things, that information about the previously ridden vehicle is needed when detaching. So a new method with that info was added. * Update to 15w45a * 15w51b protocol * Update to 1.9.0 protocol Closes #3067. There are still a few things that need to be worked out (picking up items, effects, particles, and most importantly inventory), but in general this should work. I'll make a few more changes tomorrow to get the rest of the protocol set up, along with 1.9.1/1.9.2 (which did make a few changes). Chunks, however, _are_ working, along with most other parts of the game (placing/breaking blocks). * Fix item pickup packet not working That was a silly mistake, but at least it was an easy one. * 1.9.2 protocol support * Fix version info found in server list ping Thus, the client reports that it can connect rather than saying that the server is out of date. This required creating separate classes for 1.9.1 and 1.9.2, unfortunately. * Fix build errors generated by clang These didn't happen in MSVC. * Add protocol19x.cpp and protocol19x.h to CMakeLists * Ignore warnings in protocol19x that are ignored in protocol18x * Document BLOCK_FACE and DIG_STATUS constants * Fix BLOCK_FACE links and add separate section for DIG_STATUS * Fix bat animation and object spawning The causes of both of these are explained in #3135, but the gist is that both were typos. * Implement Use Item packet This means that buckets, bows, fishing rods, and several other similar items now work when not looking at a block. * Handle DIG_STATUS_SWAP_ITEM_IN_HAND * Add support for spawn eggs and potions The items are transformed from the 1.9 version to the 1.8 version when reading and transformed back when sending. * Remove spammy potion debug logging * Fix wolf collar color metadata The wrong type was being used, causing several clientside issues (including the screen going black). * Fix 1.9 chunk sending in the nether The nether and the end don't send skylight. * Fix clang build errors * Fix water bottles becoming mundane potions This happened because the can become splash potion bit got set incorrectly. Water bottles and mundane potions are only differentiated by the fact that water bottles have a metadata of 0, so setting that bit made it a mundane potion. Also add missing break statements to the read item NBT switch, which would otherwise break items with custom names and also cause incorrect "Unimplemented NBT data when parsing!" logging. * Copy Protocol18x as Protocol19x Aditionally, method and class names have been swapped to clean up other diffs. This commit is only added to make the following diffs more readable; it doesn't make any other changes (beyond class names). * Make thrown potions use the correct appearence This was caused by potions now using metadata. * Add missing api doc for cSplashPotionEntity::GetItem * Fix compile error in SplashPotionEntity.cpp * Fix fix of cSplashPotionEntity API doc * Temporarilly disable fall damage particles These were causing issues in 1.9 due to the changed effect ID. * Properly send a kick packet when connecting with an invalid version This means that the client no longer waits on the server screen with no indication whatsoever. However, right now the server list ping isn't implemented for unknown versions, so it'll only load "Old" on the ping. I also added a GetVarIntSize method to cByteBuffer. This helps clean up part of the code here (and I think it could clean up other parts), but it may make sense for it to be moved elsewhere (or declared in a different way). * Handle server list pings from unrecognized versions This isn't the cleanest way of writing it (it feels odd to use ProtocolRecognizer to send packets, and the addition of m_InPingForUnrecognizedVersion feels like the wrong technique), but it works and I can't think of a better way (apart from creating a full separate protocol class to handle only the ping... which would be worse). * Use cPacketizer for the disconnect packet This also should fix clang build errors. * Add 1.9.3 / 1.9.4 support * Fix incorrect indentation in APIDesc | |||||
2016-04-24 | Fixed some logout crashes | LogicParrot | 1 | -2/+3 | |
2016-04-23 | ClientHandle destruction thread safety | LogicParrot | 1 | -2/+13 | |
2016-04-19 | Auto clean bad world linkages | LogicParrot | 1 | -0/+1 | |
2016-04-05 | Minor improvements to player freeze | LogicParrot | 1 | -4/+4 | |
2016-04-05 | Improved player freeze code | LogicParrot | 1 | -16/+19 | |
2016-03-31 | Players never fall through unloaded chunks or end up inside solids on teleport | LogicParrot | 1 | -1/+46 | |
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -19/+12 | |
2016-02-18 | Don't remove water after ice block has been destroyed | Lukas Pioch | 1 | -1/+5 | |
2016-02-08 | Prevent player from falling when block breaking is denied | LogicParrot | 1 | -0/+2 | |
2016-01-31 | Updated old forum links | Mathias | 1 | -1/+1 | |
2016-01-22 | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 1 | -1/+1 | |
2016-01-16 | Fix crash when tamed wolf is hit by arrows | LogicParrot | 1 | -1/+4 | |
2016-01-13 | Limited the username length to 16 characters. | bibo38 | 1 | -0/+6 | |
This fixes a client crash, because Minecraft requires that a username is not longer than 16 characters. See also: http://minecraft.gamepedia.com/The_Player#Name Fixes #2545 | |||||
2016-01-12 | Tamed wolf assists owner (attack / defence) | LogicParrot | 1 | -67/+69 | |
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 1 | -0/+6 | |
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | |||||
2015-12-13 | allow use failures to propagate from the entity/block to the player | Gargaj | 1 | -7/+8 | |
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 1 | -2/+3 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-02 | Examined a fix for #2588 | Tiger Wang | 1 | -0/+6 | |
2015-10-21 | Fixed a crash when sending messages too early after connection. | Mattes D | 1 | -1/+12 | |
2015-10-05 | Improved the data structure for storing loaded chunks | tycho | 1 | -7/+7 | |
Should significantly increase the performance of deciding which chunks to stream | |||||
2015-09-25 | Maked it compileable for clang-3.7 | Lukas Pioch | 1 | -5/+5 | |
2015-09-21 | Refactored cProtocol Chat handling | tycho | 1 | -8/+10 | |
2015-08-20 | Fixed food drain bugs | Tiger Wang | 1 | -24/+14 | |
2015-08-12 | Fix old style casts and implicit conversions | Matti Hänninen | 1 | -1/+1 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -23/+23 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -20/+2 | |
2015-07-07 | Fixed warnings generated by 64-bit MSVC. | Mattes D | 1 | -2/+2 | |
2015-06-10 | Reinstate "Chunk queue collapsing" | Tiger Wang | 1 | -15/+12 | |
This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | |||||
2015-06-07 | Revert "Chunk queue collapsing" | worktycho | 1 | -12/+15 | |
2015-06-05 | Made the list of chunks to stream an unordered_set | tycho | 1 | -15/+12 | |
This should increase performance of chunk streaming | |||||
2015-06-02 | Added system and above action bar chat messages | jan64 | 1 | -0/+58 | |
2015-05-30 | Fix Destroy() calling behaviour | Tiger Wang | 1 | -1/+2 | |
* Fixes Core/#142 | |||||
2015-05-29 | Fix for the way connecting clients receive player lists and broadcast chat | b33duck | 1 | -3/+3 | |
2015-05-28 | Fixed the way connecting clients receive player lists and broadcast chat to worlds | b33duck | 1 | -2/+2 | |
2015-05-28 | Potential crash fixes | Tiger Wang | 1 | -6/+3 | |
* Potentially addresses my comment in #1969 * Probably fixes #2145 | |||||
2015-05-26 | Fixed ClientHandle not getting properly removed from the world | tycho | 1 | -2/+9 | |
when socket is closed whilst the client is being added to the world Fixes #1969 | |||||
2015-05-13 | Fixed chat message manipulation by plugins. | Mattes D | 1 | -1/+1 | |
Plugins, in their OnChat hook, can change the chat message sent by a player. | |||||
2015-05-09 | More style checking. | Mattes D | 1 | -6/+6 | |
Spaces around some operators are checked. | |||||
2015-05-07 | Added support for additional data in the ParticleEffect Packet | tycho | 1 | -0/+9 | |
Also started refactoring how broadcasts are handled | |||||
2015-04-19 | ClientHandle: Fixed re-sending refused right-clicks. | Mattes D | 1 | -1/+8 | |
The coords weren't checked against Y boundary and -1 coords weren't sent. This fixes mc-server/Gallery#45. | |||||
2015-04-14 | Placing a fluid from bucket calls plugin hooks. | Mattes D | 1 | -1/+3 | |
Ref.: #1857. | |||||
2015-04-13 | Implement backend for /title command | Scott Moore | 1 | -0/+63 | |
2015-03-21 | Fixed signedness warnings in Protocol. | Mattes D | 1 | -1/+1 | |
2015-03-21 | Fixed signedness issues in protocols. | Mattes D | 1 | -1/+1 | |
2015-03-21 | Unified cByteBuffer types. | Mattes D | 1 | -12/+12 | |
cByteBuffer now reads and writes any of the [U]Int<N> types. | |||||
2015-03-20 | Correct world height validations. | Tommy Santerre | 1 | -0/+6 | |
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | |||||
2015-03-05 | Reverted non-functional changes | Tiger Wang | 1 | -1/+2 | |
2015-02-22 | Fixed race condition for TCP link deleting. | Mattes D | 1 | -2/+6 | |
This could have caused crashes when a client disconnected from the server. | |||||
2015-02-08 | Handle client 'leave bed' request | Tiger Wang | 1 | -25/+3 | |
* Fixes #1728 | |||||
2015-01-27 | Fixed a deadlock in cClientHandle network sending. | Mattes D | 1 | -4/+23 | |
2015-01-27 | Client: Only decode protocol when there's actual data incoming. | Mattes D | 1 | -2/+8 | |
2015-01-27 | Fixed enchant packet handling. | Mattes D | 1 | -3/+3 | |
2015-01-27 | Converted cServer to use the cNetwork API. | Mattes D | 1 | -108/+106 | |
2015-01-18 | Fixed warnings in 1.7 protocol. | Mattes D | 1 | -2/+2 | |
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -148/+10 | |
Fixes #1618. | |||||
2014-12-13 | Own classes for all windows. | Howaner | 1 | -0/+3 | |
2014-12-11 | Cosmetic touchups. | Mattes D | 1 | -1/+1 | |
Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files. | |||||
2014-12-10 | Changed method call to DoesAllowMultiLogin() instead of IsAllowMultiLogin() | Vincent | 1 | -1/+1 | |
Compiles correctly. | |||||
2014-12-09 | Fixed return value in CheckMultiLogin() | Vincent | 1 | -1/+2 | |
2014-12-09 | Fixed indent problems and added return definitions to CheckMultiLogin(). | Vincent | 1 | -3/+3 | |
Changed from IsAllowMultiLogin() to DoesAllowMultiLogin(). Fixed CheckMultiLogin() to not run to the end without returning a value. | |||||
2014-12-08 | Changed CheckMultiLogin() to not have main body wrapped in an if statement. | Vincent | 1 | -19/+22 | |
Added in indent to cPlayerListCallBack in cCallback class inside CheckMultiLogin(). Added doxy-comment for DoWithPlayer(). Changed comments on IsPlayerInQueue() and IsAllowMultiLogin() to doxy-comments. | |||||
2014-12-08 | created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World. | Vincent | 1 | -1/+1 | |
2014-12-08 | Fixed compile errors | Vincent | 1 | -8/+3 | |
2014-12-08 | removed last space in handlehandshake | Vincent | 1 | -1/+0 | |
2014-12-08 | Changed HandleHandshake to return the result of CheckMultiLogin instead of just true since it already returns true if it finds and kicks the current player. | Vincent | 1 | -24/+23 | |
2014-12-08 | Moved the check into a new function and just calls that function and a blank FindAndDoWithPlayer added. | Vincent | 1 | -22/+38 | |
2014-12-07 | changed from using iterator to auto for server and clienthandle | Vincent | 1 | -2/+2 | |
2014-12-07 | Fixed c++11 branch issues. | Mattes D | 1 | -4/+8 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -0/+4 | |
2014-11-30 | Changed Kick message | vincentleung1 | 1 | -2/+2 | |
2014-11-30 | removed extra space and fixed some formatting in cCallback | vincentleung1 | 1 | -3/+3 | |
2014-11-30 | Uses callback for players already in World. | Vincent | 1 | -5/+12 | |
2014-11-29 | fixed naming of strings and changed from i to I | Vincent | 1 | -4/+4 | |
2014-11-29 | issue 1253 - prevent multiple logins with same username | Vincent | 1 | -0/+18 | |
2014-11-25 | ClientHandle: Fixed max block place distance check. | Mattes D | 1 | -4/+10 | |
Fixes #1492 | |||||
2014-11-17 | Fixed a wrong assert in cClientHandle::SetViewDistance(). | Mattes D | 1 | -4/+8 | |
2014-11-15 | Use LastPlacedSign instead of LastPlacedBlock. | Howaner | 1 | -3/+4 | |
2014-11-15 | Renamed m_UsedViewDistance to m_CurrentViewDistance | Howaner | 1 | -8/+8 | |
2014-11-15 | Renamed m_SetViewDistance to m_RequestedViewDistance | Howaner | 1 | -4/+4 | |
2014-11-15 | Fixed a security problem with signs. | Howaner | 1 | -2/+7 | |
2014-11-14 | Use m_UsedViewDistance and m_SetViewDistance. | Howaner | 1 | -8/+10 | |
2014-10-30 | Fixed m_SentChunks list chunk removing. | Howaner | 1 | -1/+1 | |
2014-10-30 | Added a MaxViewDistance option. | Howaner | 1 | -1/+3 | |
2014-10-23 | Use 3 priorities. | Howaner | 1 | -1/+1 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -26/+26 | |
2014-10-21 | Reverted hook move. | Howaner | 1 | -5/+5 | |
2014-10-21 | Use two lists and 2 chunk send prioritys. | Howaner | 1 | -41/+0 | |
2014-10-21 | New c++11 stuff. | Howaner | 1 | -4/+4 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -26/+26 | |
2014-10-20 | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 1 | -13/+5 | |
2014-10-19 | Migrated random generators to std::random | Tiger Wang | 1 | -12/+0 | |
2014-10-16 | Merged branch 'fix_chunks'. | Mattes D | 1 | -3/+34 | |
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -2/+2 | |
2014-10-15 | Usernames are lowercased before generating offline UUID. | Mattes D | 1 | -1/+4 | |
This breaks previous offline UUIDs, but it guarantees that future offline UUIDs will be the same even for usernames with wrong capitalization. | |||||
2014-10-07 | Added distance check. | Howaner | 1 | -0/+12 | |
2014-10-07 | Corrected drops from dead bush, tall grass and cobweb. | Howaner | 1 | -5/+5 | |
2014-10-06 | Stream 4 chunks per tick. Added priority. | Howaner | 1 | -13/+22 | |
2014-10-06 | Better StreamNextChunk() method | Howaner | 1 | -15/+116 | |
2014-10-05 | cClientHandle: Added protocol version knowledge. | Mattes D | 1 | -2/+10 | |
2014-10-03 | Improved furnaces | Tiger Wang | 1 | -1/+1 | |
* Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070 | |||||
2014-10-02 | Optimized chunk loader | Howaner | 1 | -86/+77 | |
2014-09-30 | Rewritten plugin messages, vanilla are being parsed directly. | madmaxoft | 1 | -90/+30 | |
This should finally fix the compatibility problems between 1.7 and 1.8 protocols with the changes in the vanilla plugin messages. | |||||
2014-09-28 | Fixed trailing whitespace. | madmaxoft | 1 | -1/+1 | |
2014-09-27 | Combined conditions | Masy98 | 1 | -8/+11 | |
2014-09-27 | Added barriers correctly | Masy98 | 1 | -0/+5 | |
2014-09-27 | Dropped support for <1.7.x | Tiger Wang | 1 | -14/+0 | |
2014-09-26 | Fixed players custom name in 1.8 | Howaner | 1 | -2/+2 | |
2014-09-18 | Exported player list states to extra functions. | Howaner | 1 | -6/+42 | |
2014-09-17 | BungeeCord compatibility: don't overwrite UUID / properties. | madmaxoft | 1 | -2/+10 | |
2014-09-13 | 1.8: Fixed maps. | Howaner | 1 | -4/+4 | |
2014-09-12 | Play placesound from the middle of the block. | Howaner | 1 | -1/+1 | |
2014-09-12 | Fixed block place sounds. | Howaner | 1 | -2/+14 | |
2014-09-12 | Players in survival mode are not allowed to break a bedrock. | Howaner | 1 | -0/+6 | |
2014-09-12 | Fixed many right click issues. | Howaner | 1 | -4/+10 | |
2014-09-12 | 1.8: Fixed eating. | Howaner | 1 | -0/+1 | |
2014-09-11 | 1.8: Added ParticleEffect packet. | Howaner | 1 | -2/+2 | |
2014-09-09 | 1.8: Added MultiBlockChange packet. | Howaner | 1 | -3/+4 | |
2014-09-09 | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 1 | -1/+1 | |
2014-09-09 | Added the player list to the 1.8 protocol. | Howaner | 1 | -3/+7 | |
2014-09-09 | 1.8: Added new uuid field. | Howaner | 1 | -17/+25 | |
2014-09-08 | More fixes. | Howaner | 1 | -11/+1 | |
2014-09-08 | Fixed more 1.8 packets. | Howaner | 1 | -12/+21 | |
2014-09-02 | Added SetCustomName() to players. | Howaner | 1 | -7/+5 | |
2014-08-28 | Added speed entity effect. | Hownaer | 1 | -1/+1 | |
2014-08-28 | Fire can be destroyed with the sword in creative-mode | Hownaer | 1 | -1/+2 | |
2014-08-28 | Fixed crashes and use std::swap. | Hownaer | 1 | -3/+19 | |
2014-08-28 | remove y-coord from chunks | LO1ZB | 1 | -10/+10 | |
2014-08-22 | Fixed item drop. | Howaner | 1 | -14/+18 | |
Fixes #1341 | |||||
2014-08-21 | Added initializers for class members. | Mattes D | 1 | -0/+10 | |
As reported by Coverity, these weren't initialized. | |||||
2014-08-11 | Revert "Removes the fire if the block under the fire was broken." | Howaner | 1 | -5/+0 | |
This reverts commit 01001d2a49a3366e9b1eccf938d5073ab9a2f06e. | |||||
2014-08-11 | Removes the fire if the block under the fire was broken. | Howaner | 1 | -0/+5 | |
2014-08-11 | Moved the clicked-through block check to the top of the function. | Howaner | 1 | -36/+17 | |
2014-08-11 | Fixed cancelled fire interact from all directions. | Howaner | 1 | -4/+12 | |
2014-08-11 | Exported daylight cycle flag to the protocol. | Howaner | 1 | -9/+3 | |
2014-08-10 | Added a comment and simplified code. | Howaner | 1 | -6/+3 | |
2014-08-07 | Added SetDoDaylightCycle() and IsDaylightCycleEnabled() to cWorld. | Howaner | 1 | -1/+10 | |
I need this for a GameRule plugin. | |||||
2014-08-06 | Resending fire to the client when the interact cancelled. | Howaner | 1 | -0/+8 | |
2014-08-02 | Fixed a bug who can used from hacked clients. | Howaner | 1 | -1/+16 | |
2014-08-01 | Compile fix. | Howaner | 1 | -2/+1 | |
2014-07-31 | Import Statistics.h | Howaner | 1 | -0/+1 | |
2014-07-31 | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 1 | -1/+3 | |
2014-07-31 | Renamed "select..." methods to "set..." and better IsValidEffect() function. | Howaner | 1 | -2/+2 | |
2014-07-31 | Renamed functions and added beacon json saving. | Howaner | 1 | -12/+12 | |
2014-07-30 | Added beacon. | Howaner | 1 | -0/+54 | |
2014-07-30 | MojangAPI: Implemented UUID shortening and dashing. | madmaxoft | 1 | -1/+2 | |
2014-07-29 | Slight cleanup after portals | Tiger Wang | 1 | -2/+1 | |
2014-07-27 | Fixed group color's. | Howaner | 1 | -15/+4 | |
2014-07-23 | Suggestions | Tiger Wang | 1 | -2/+2 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -3/+3 | |
2014-07-20 | Bug and crash fixes | Tiger Wang | 1 | -0/+2 | |
* Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | |||||
2014-07-19 | Fixed attempts to call c_str on ChatColors | archshift | 1 | -4/+4 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -2/+2 | |
2014-07-18 | Fix failed merge and other issues | Tiger Wang | 1 | -2/+2 | |
2014-07-18 | Fixed creative players not being able to drink | archshift | 1 | -3/+4 | |
Fixes #1215 | |||||
2014-07-17 | Normalized comments. | madmaxoft | 1 | -1/+1 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-07-17 | Fixed spaces around single-line comments. | madmaxoft | 1 | -11/+13 | |
There should be at least two spaces in front and one space after //-style comments. | |||||
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -10/+10 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-07-16 | Store properties as Json::Value | Tiger Wang | 1 | -1/+1 | |
2014-07-14 | Player properties are now retrieved | Tiger Wang | 1 | -3/+4 | |
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 1 | -3/+3 | |
2014-07-13 | Revert failed fix for #31 | Tiger Wang | 1 | -27/+4 | |
This reverts commit 69dc9b4c9aea58ebd95e2dbd0205701dfc4ce54e. | |||||
2014-06-30 | Unnecessary return | Howaner | 1 | -2/+0 | |
2014-06-29 | Fixed respawning | Tiger Wang | 1 | -2/+2 | |
* Fixes #1103 | |||||
2014-06-29 | Fixed offline UUID generator. | Mattes D | 1 | -2/+4 | |
It generated invalid UUIDs, too many hex chars. | |||||
2014-06-29 | Send statistics to the player, when he logged in. | Howaner | 1 | -0/+3 | |
2014-06-28 | Fixed issue with breaking blocks at -1 coordinates | Tiger Wang | 1 | -6/+1 | |
2014-06-27 | Added generic entity-collecting. | Mattes D | 1 | -2/+2 | |
Now any cEntity can be collected, not only cPickups. This should help PR #1098. | |||||
2014-06-27 | Removed the md5 library, obsoleted by PolarSSL. | Mattes D | 1 | -13/+9 | |
Fixes #1130. | |||||
2014-06-21 | Added cClientHandle::IsUUIDOnline function. | madmaxoft | 1 | -0/+29 | |
Ref.: #771 | |||||
2014-06-17 | ItemHandler: changed IsDrinkable() to take a short argument | archshift | 1 | -3/+4 | |
2014-06-17 | Implemented drinkable potions, noeffect entity effect, | archshift | 1 | -3/+3 | |
Clears entity effects on death | |||||
2014-06-17 | Implemented milk, added documentation to Pawn.h | archshift | 1 | -3/+3 | |
2014-06-17 | Add more documentation. | Howaner | 1 | -0/+2 | |
2014-06-17 | Add comment. | Howaner | 1 | -0/+1 | |
2014-06-17 | Revert "Fix right click bugs." | Howaner | 1 | -41/+40 | |
This reverts commit 61b6fdde7553dac6e2d5c5a071b9a13fa0d71b2f. | |||||
2014-06-12 | Portals animate and delay correctly | Tiger Wang | 1 | -4/+3 | |
2014-06-08 | Fixed deadlock when moving players to other worlds. | Mattes D | 1 | -16/+5 | |
Fixes #1039, fixes #851 | |||||
2014-06-08 | Proper fix for long interaction. | madmaxoft | 1 | -7/+14 | |
Fixes #1078 and #1038. | |||||
2014-06-04 | Fixed bad coordinate | worktycho | 1 | -1/+1 | |
2014-05-31 | Implemented end and nether portals | Tiger Wang | 1 | -4/+3 | |
2014-05-28 | Fix fire break. | Howaner | 1 | -16/+17 | |
2014-05-28 | Fix right click bugs. | Howaner | 1 | -40/+41 | |
2014-05-27 | ClientHandle.cpp: Process look before pos | archshift | 1 | -1/+1 | |
2014-05-26 | ClientHandle.cpp: remove redundant code | archshift | 1 | -22/+2 | |
HandlePlayerMoveLook() calls HandlePlayerPos() and HandlePlayerLook() to reduce code redundancy. | |||||
2014-05-26 | Revert "Add more move checks" | madmaxoft | 1 | -58/+16 | |
This reverts commit 989312c4e7f517ae324e857cb255211e3fd8bb06. | |||||
2014-05-25 | Hopefully fixed piston duplication issues | Tiger Wang | 1 | -1/+0 | |
* Fixes #879 * Fixes #714 | |||||
2014-05-18 | Implemented cacti damage | Tiger Wang | 1 | -2/+3 | |
+ Implemented cacti damage * Fixed pickup tossing (PR #994 bug) | |||||
2014-05-16 | Add more move checks | Howaner | 1 | -16/+58 | |
- Invalid X/Y/Z/Stance check (std::isnan) - Illegal stance - Illegal position (32.000.000 is the world size) | |||||
2014-05-15 | Fix compile error. | Howaner | 1 | -1/+1 | |
2014-05-15 | Move radius check. | Howaner | 1 | -25/+40 | |
2014-05-11 | Fixed stat serialization | andrew | 1 | -8/+0 | |
2014-05-11 | Statistic Manager | andrew | 1 | -1/+18 | |
2014-05-11 | Rename HandleBlockDigCancel to FinishDigAnimtion. | Howaner | 1 | -3/+3 | |
2014-05-09 | Add block place/break distance check. | Howaner | 1 | -0/+21 | |
2014-05-09 | Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break. | Howaner | 1 | -17/+44 | |
2014-05-06 | Simplified the HandleAnvilItemName() code. | Howaner | 1 | -7/+2 | |
2014-05-05 | Changed HandleAnvilItemName() length to size_t in ClientHandle.h | Howaner | 1 | -1/+1 | |
2014-05-05 | Add clicks, exp subtraction, item check, ... | Howaner | 1 | -1/+1 | |
2014-05-05 | Add MC|ItemName plugin message. | Howaner | 1 | -0/+32 | |
2014-05-02 | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 1 | -3/+3 | |
Ref.: #655. | |||||
2014-05-01 | More ClientHandle fixes. | madmaxoft | 1 | -2/+2 | |
2014-05-01 | Fixed warnings in ClientHandle. | madmaxoft | 1 | -2/+2 | |
2014-05-01 | Fixed crashes in the SSL HTTP connection. | madmaxoft | 1 | -1/+2 | |
2014-04-29 | Delayed sending the KeepAlive packet for 3 seconds after login. | madmaxoft | 1 | -0/+5 | |
This should alleviate #889. | |||||
2014-04-28 | Fixed braces. | madmaxoft | 1 | -1/+5 | |
2014-04-28 | Fixed missing return value warning in MSVC. | madmaxoft | 1 | -0/+1 | |
2014-04-27 | Redstone simulator now directly accesses cChunk | Tiger Wang | 1 | -1/+2 | |
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes | |||||
2014-04-26 | More small fixes. | archshift | 1 | -9/+9 | |
2014-04-26 | Moar alignment. | archshift | 1 | -7/+7 | |
2014-04-26 | Further refactored, Reverted Minecart change | archshift | 1 | -57/+21 | |
Other small changes. | |||||
2014-04-25 | Oops, fixed that. | archshift | 1 | -0/+2 | |
2014-04-25 | Refactored SendChat(), placing the message-type formatting into its own function. | archshift | 1 | -84/+78 | |
Removed default case warning in the process. | |||||
2014-04-24 | Fix armor in survival mode. | Howaner | 1 | -1/+1 | |
2014-04-19 | Declared one mutex as mutable in order to allow for const correct get accessors. | jfhumann | 1 | -4/+4 | |
2014-04-18 | Small style changes | jfhumann | 1 | -1/+1 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -8/+10 | |
2014-04-18 | Removed old include | daniel0916 | 1 | -1/+1 | |
2014-04-17 | Fixed some Errors (not all) | daniel0916 | 1 | -7/+10 | |
2014-04-17 | Modified many things | daniel0916 | 1 | -856/+1 | |
2014-04-16 | Fixed conflicting enchantments checking | daniel0916 | 1 | -23/+23 | |
2014-04-16 | Added deletions from merge conflict | daniel0916 | 1 | -0/+875 | |
2014-04-16 | Fixed merge conflict | daniel0916 | 1 | -877/+0 | |
2014-04-15 | Attempted fix for the client crash with the new protocols. | madmaxoft | 1 | -6/+9 | |
2014-04-15 | Code Optimization | daniel0916 | 1 | -356/+180 | |
2014-04-15 | Added Book Enchanting | daniel0916 | 1 | -1/+310 | |
2014-04-15 | Modified names | daniel0916 | 1 | -47/+47 | |
2014-04-15 | Add linux compatibility | Howaner | 1 | -61/+71 | |
2014-04-14 | Implemented the 1.7.6 protocol and authenticator. | madmaxoft | 1 | -8/+22 | |
Server works both in online and offline modes with 1.7.9. | |||||
2014-04-14 | A client UUID is generated when the server is in offline mode. | madmaxoft | 1 | -0/+24 | |
1.7.9 client works with these changes in offline mode. | |||||
2014-04-14 | Removed Debug Message | daniel0916 | 1 | -2/+0 | |
2014-04-14 | Added/Modified last things for Enchanting System | daniel0916 | 1 | -15/+53 | |
2014-04-14 | Bug fixes | daniel0916 | 1 | -2/+2 | |
2014-04-13 | Fixed invisibility enchantments | daniel0916 | 1 | -1/+3 | |
2014-04-13 | Fixed mistake | daniel0916 | 1 | -1/+1 | |
2014-04-13 | Fixed Server Crash | daniel0916 | 1 | -0/+6 | |
2014-04-13 | Some Fixes | daniel0916 | 1 | -1/+8 | |
2014-04-13 | Added Yggdrasil Authentication System | daniel0916 | 1 | -2/+5 | |
Code by Howaner. Fixes/Changes by me. | |||||
2014-04-12 | Added complete Enchanting System | daniel0916 | 1 | -15/+662 | |
http://minecraft.gamepedia.com/Enchantment_mechanics | |||||
2014-04-12 | Entities handle chunks properly again | Tiger Wang | 1 | -1/+1 | |
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty | |||||
2014-04-04 | Fixed some Clang warnings in protocols. | madmaxoft | 1 | -2/+2 | |
2014-04-02 | Fixed All signedness warnings in HTTPServer.cpp | Tycho | 1 | -1/+1 | |
2014-03-31 | Simplified and fixed slabs, fixes #835 | Tiger Wang | 1 | -1/+1 | |
2014-03-29 | Compare for inequality in FACE_NONE checks | Tiger Wang | 1 | -3/+3 | |
2014-03-29 | Removed leftover clienthandle code | Tiger Wang | 1 | -10/+6 | |
2014-03-29 | Fixed players not updating after world change | Tiger Wang | 1 | -4/+2 | |
Addendum to 6dea7993f2a563a8b3a0746feeb2174922631526 | |||||
2014-03-28 | Fixed block interaction rate check | Tiger Wang | 1 | -2/+4 | |
2014-03-23 | Implemented lilypad placement | Tiger Wang | 1 | -4/+8 | |
2014-03-11 | Fixed a load of format string errors | Tycho | 1 | -1/+1 | |
2014-03-11 | Unified Vector classes | andrew | 1 | -3/+0 | |
2014-03-10 | Removed Some unnessicary macros | Tycho | 1 | -13/+0 | |
2014-03-09 | != FACE_NONE | Tiger Wang | 1 | -1/+1 | |
2014-03-09 | Fixed data length issues | Tiger Wang | 1 | -1/+1 | |
2014-03-09 | CheckBlockInteractionsRate() fixed & enabled | Tiger Wang | 1 | -29/+19 | |
2014-03-09 | Slight plugin messaging changes | Tiger Wang | 1 | -0/+13 | |
- Clients are not allowed to register duplicate channels - Clients are not allowed to use channels that were not registered | |||||
2014-03-08 | Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting. | Jan-Fabian Humann | 1 | -28/+30 | |
2014-03-08 | Fixed issues with int vs size_t and a few other warnings | Tycho | 1 | -2/+2 | |
2014-03-05 | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 1 | -4/+10 | |
2014-03-02 | cBlockInfo now manages the respective cBlockHandler | andrew | 1 | -3/+3 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -1/+1 | |
2014-02-28 | Use switch in GetStepSound | Howaner | 1 | -1/+1 | |
2014-02-28 | Fix Double Slabs, fix Slab Meta and add more things to burnable | Howaner | 1 | -1/+1 | |
2014-02-23 | Use the ItemCategorie::IsSword() Method. | Howaner | 1 | -1/+1 | |
2014-02-23 | No Sword Block Destroying in Creative Mode | Howaner | 1 | -0/+10 | |
2014-02-20 | cClientHandle manages the client-registered plugin channels. | madmaxoft | 1 | -10/+77 | |
Fixes #706. | |||||
2014-02-18 | Map decorators; Map clients | andrew | 1 | -13/+9 | |
2014-02-18 | Implemented paintings, fixes #689 | Tiger Wang | 1 | -0/+8 | |
+ Implemented paintings | |||||
2014-02-17 | Map item handler; Fixed several bugs | andrew | 1 | -2/+0 | |
2014-02-16 | Links sent via chat messages are clickable. | madmaxoft | 1 | -8/+14 | |
Fixes #658. | |||||
2014-02-16 | Add Locale to ClientHandle | Howaner | 1 | -0/+1 | |
2014-02-15 | Implemented cCompositeChat. | madmaxoft | 1 | -1/+11 | |
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | |||||
2014-02-15 | cMap::UpdateRadius | andrew | 1 | -0/+2 | |
2014-02-14 | Send map when selected | andrew | 1 | -0/+13 | |
2014-02-13 | Implementation of in-game maps | andrew | 1 | -0/+18 | |
2014-02-07 | Added sender name to PM if prefixes disabled | Tiger Wang | 1 | -1/+1 | |
* Also moved the PVP setting into Mechanics | |||||
2014-02-07 | Improved chat messaging functions | Tiger Wang | 1 | -6/+108 | |
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API. | |||||
2014-02-06 | Server internally uses new functions | Tiger Wang | 1 | -8/+6 | |
2014-02-05 | Reduced max explosions per tick | Tiger Wang | 1 | -1/+1 | |
2014-02-05 | Fixed explosions bug | Tiger Wang | 1 | -20/+10 | |
* Fixed bug where explosions would sometimes never be sent | |||||
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -5/+5 | |
May Fix #640 | |||||
2014-02-03 | Fixed a crash bug | Tiger Wang | 1 | -8/+2 | |
2014-02-03 | Server now handles join messages also | Tiger Wang | 1 | -9/+11 | |
* Revised as well hook documentation | |||||
2014-02-01 | Changed Signiture of OnDigging | Tycho | 1 | -3/+3 | |
2014-02-01 | Changed Signiture of OnDestroyedByPlayer | Tycho | 1 | -3/+4 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -4/+3 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -1/+2 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-31 | Some updates for enchanting (2) | daniel0916 | 1 | -0/+36 | |
2014-01-26 | Refactored cBlockHandler::OnUse and dependents | Tycho | 1 | -1/+4 | |
2014-01-25 | First attempt at Implementing Interfaces | Tycho | 1 | -1/+1 | |
2014-01-25 | Two minor changes | Tiger Wang | 1 | -1/+1 | |
2014-01-24 | Fixed a possible deadlock on client disconnect. | madmaxoft | 1 | -9/+0 | |
2014-01-23 | Command block fixes 2 | andrew | 1 | -16/+9 | |
2014-01-23 | Split TossItem into three Toss functions (Held, Equipped and Pickup) | Mike Hunsinger | 1 | -2/+3 | |
2014-01-21 | Scoreboard SendTo() | andrew | 1 | -0/+3 | |
2014-01-21 | Scoreboard protocol support | andrew | 1 | -0/+30 | |
2014-01-19 | Removed unneeded paramters | Tiger Wang | 1 | -2/+2 | |
2014-01-19 | Rewritten SocketThreads for proper shutdown scenario. | madmaxoft | 1 | -5/+1 | |
This fixes #560 and #390. | |||||
2014-01-19 | Changed SendBlockEntity format slightly | Tiger Wang | 1 | -3/+6 | |
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug | |||||
2014-01-19 | Implemented MC|Brand response | Tiger Wang | 1 | -3/+9 | |
2014-01-19 | Improved command blocks | Tiger Wang | 1 | -0/+9 | |
* Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity | |||||
2014-01-18 | Command block fixes | andrew | 1 | -5/+12 | |
2014-01-18 | Parse the MC|AdvCdm plugin message | andrew | 1 | -0/+64 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -2/+2 | |
2014-01-15 | Implemented Ctrl-Q drop stack | Tiger Wang | 1 | -0/+11 | |
Also fixed an issue with TossItems not respecting count. | |||||
2014-01-09 | Added cClientHandle::SendPluginMessage(). | madmaxoft | 1 | -0/+9 | |
It is not yet exported in the API, though. | |||||
2014-01-07 | Plugin messages are received and handed to plugins. | madmaxoft | 1 | -0/+9 | |
Note that MCS doesn't currently handle any channel registrations, this will come later on. | |||||
2013-12-31 | fixed ClientHandle warnings | Tycho Bickerstaff | 1 | -0/+1 | |
2013-12-22 | Implented BroadcastParticleEffect | STRWarrior | 1 | -0/+9 | |
2013-12-20 | Fixed the rest of constructor reorders. | madmaxoft | 1 | -21/+20 | |
2013-12-19 | Fixed PlayerAbilities and creative | Tiger Wang | 1 | -3/+3 | |
2013-12-19 | Fixed 1.7 arm swing animation | Tiger Wang | 1 | -1/+23 | |
2013-12-18 | Disconnection message no longer shown if ping | Tiger Wang | 1 | -5/+8 | |
2013-12-18 | The "<>" of a player name is now coloured | Tiger Wang | 1 | -1/+1 | |
2013-12-18 | Fixed 1.7 player disconnection not calling hook | Tiger Wang | 1 | -4/+14 | |
This fixes #357 | |||||
2013-12-18 | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 1 | -1/+1 | |
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | |||||
2013-12-16 | Fixed cClientHandle::Tick() being called from two threads. | madmaxoft | 1 | -6/+43 | |
When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187. | |||||
2013-12-16 | Fixed multiple player spawn broadcasts. | madmaxoft | 1 | -3/+0 | |
2013-12-15 | Fixed calling OnPlayerJoined() in the wrong place. | madmaxoft | 1 | -6/+1 | |
This is the first part of a fix for #187. | |||||
2013-12-15 | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 1 | -2/+0 | |
2013-12-15 | Moved reading flags to the protocol. | STRWarrior | 1 | -17/+3 | |
2013-12-15 | Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function | STRWarrior | 1 | -0/+33 | |
2013-12-14 | Forgot to commit the ClientHandle. | STRWarrior | 1 | -0/+18 | |
2013-12-12 | Unknown packet type extended to 32 bits. | madmaxoft | 1 | -3/+3 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-12-07 | Fixed trapdoors not toggling | Tiger Wang | 1 | -1/+1 | |
The redstone simulator kept on resetting them. | |||||
2013-12-07 | Renamed animation function | Tiger Wang | 1 | -7/+7 | |
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | |||||
2013-12-06 | Fixed bed leave animation | Tiger Wang | 1 | -1/+1 | |
2013-12-06 | Updated comments for slabs | Tiger Wang | 1 | -5/+6 | |
2013-12-02 | Switched to using provided ReadItem function. | Samuel Barney | 1 | -0/+9 | |
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs. | |||||
2013-11-30 | Properly fixed snow height, fixes #98 and #264 | Tiger Wang | 1 | -9/+14 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-15 | finished #143 I believe | Daniel O'Brien | 1 | -2/+5 | |
2013-11-15 | added cProtocol function to pass xp to client | Daniel O'Brien | 1 | -0/+9 | |
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -2/+2 | |
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery | |||||
2013-11-08 | cProtocol::SendWindowOpen() signature changed. | madmaxoft | 1 | -2/+2 | |
This implements #313. | |||||
2013-11-05 | Removed the obsolete SendWholeInventory(cInventory &) function. | madmaxoft | 1 | -11/+2 | |
This won't compile because there's still a change in Protocol17x.cpp pending; the next commit will fix this. | |||||
2013-11-04 | Autogeneration of settings.ini and webadmin.ini | Tiger Wang | 1 | -2/+2 | |
Fixes issue #75 | |||||
2013-11-03 | ClientHandle: Fixed an error in player-joining hook. | madmaxoft | 1 | -2/+2 | |
Players being disconnected used to fire the PlayerJoined hook repeatedly. | |||||
2013-10-29 | Changed GameMode() == 1 to IsGameModeCreative in AggressiveMonster.cpp and ClientHandle.cpp | STRWarrior | 1 | -1/+1 | |
2013-10-29 | Fixed bug where creative inventory didn't work. | STRWarrior | 1 | -1/+1 | |
2013-10-28 | Renamed cWindow constants to include the "wt" prefix. | madmaxoft | 1 | -2/+2 | |
2013-09-22 | Changed a comment | Tiger Wang | 1 | -1/+1 | |
Was a remnant of my TypeType minecarts :D | |||||
2013-09-21 | Fixed pickup spawning with inherited gamemode. | madmaxoft | 1 | -0/+1 | |
2013-09-15 | Removed leftover CanBePlacedOnSide | Tiger Wang | 1 | -7/+0 | |
2013-09-15 | Removed leftover DoesAllowBlockOnTop | Tiger Wang | 1 | -9/+0 | |
2013-09-09 | Removed the cDoors class. | madmaxoft | 1 | -1/+0 | |
The helper functions that it implemented were moved into their respective blockhandlers. | |||||
2013-09-08 | Fixed client spawning. | madmaxoft | 1 | -108/+51 | |
The method used for 1.2.5 clients no longer works. Fixes #139. | |||||
2013-09-06 | Implemented SteerVehicle packet. | madmaxoft | 1 | -0/+9 | |
2013-09-06 | Implemented SteerVehicle packet. | madmaxoft | 1 | -0/+9 | |
2013-08-30 | Shooting a bow kinda works. | madmaxoft | 1 | -4/+4 | |
The arrow is released, but sometimes hits wrong blocks or disappears completely. | |||||
2013-08-29 | Implemented xoft's suggestions [SEE DESC] | Tiger Wang | 1 | -2/+2 | |
Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType | |||||
2013-08-28 | Fixed Minecart spawning issues | Tiger Wang | 1 | -2/+2 | |
Now you can have everything! | |||||
2013-08-24 | Client can no longer place blocks outside the Y range of the world. | madmaxoft | 1 | -1/+6 | |
Fixes #128. | |||||
2013-08-24 | Added comments and fixed a bug | Tiger Wang | 1 | -9/+21 | |
Bug was placing slabs between slabs not making a double slab. | |||||
2013-08-24 | Fixed final slab bug | Tiger Wang | 1 | -1/+1 | |
This bug allowed a double slab to be made below by placing a compatible slab on a "top" slab. The coordinates are always one lower, so now it checks to see if the slab orientation can be made into a double. | |||||
2013-08-23 | Double slabs work *choke choke* | Tiger Wang | 1 | -20/+49 | |
2013-08-22 | Another fix for #31. | madmaxoft | 1 | -0/+6 | |
This seems to have done it, no more crashes for me. | |||||
2013-08-20 | Added a delay between the kick packet and socket close. | madmaxoft | 1 | -2/+17 | |
This should have helped #31, but the client disagrees. | |||||
2013-08-20 | Fixed player spawning. | madmaxoft | 1 | -0/+10 | |
Now the player is spawned only after the chunk they're in is sent to the client. Hopefully no more falling-through-terrain-while-loggin-in. | |||||
2013-08-19 | Fixed the extreme strain on the world tick thread. | madmaxoft | 1 | -0/+2 | |
Block changes were sent even with empty changesets, causing a lot of lost CPU cycles. | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -3/+2 | |
2013-08-18 | Added cWindow property manipulation API. | madmaxoft | 1 | -17/+17 | |
Now enchantment table and furnace properties can be set by a plugin | |||||
2013-08-14 | ClientHandle no longer queues chat messages. | madmaxoft | 1 | -47/+17 | |
It is no longer needed to queue chat messages, because the protocol is parsed within the Tick thread itself, without holding any SocketThread CS. | |||||
2013-08-14 | Player counts are now properly handled. | madmaxoft | 1 | -1/+37 | |
Fixes #80 | |||||
2013-08-13 | Clients are now ticked in cServer first, then in cWorld once they get assigned a world. | madmaxoft | 1 | -31/+32 | |
2013-08-12 | Removed cServer::BroadcastChat() and cServer::SendMessage(). | madmaxoft | 1 | -6/+8 | |
These two functions make it difficult to move to the new ticking system, and they aren't used anyway. If so required, they can be emulated by ForEachWorld / ForEachPlayer calls. | |||||
2013-08-11 | Moved MaxPlayers and Description from cWorld to cServer. | madmaxoft | 1 | -7/+7 | |
Also started creating a new cWorld::cTickThread class, but not used yet. | |||||
2013-08-11 | Added OnPlayerAnimation() hook. | madmaxoft | 1 | -0/+6 | |
Initial patch by @STR_Warrior, updated to account for different animation packets. | |||||
2013-08-10 | Removed extra disconnect message | Tiger Wang | 1 | -5/+0 | |
There seems to be already one in the HandleDisconnect hook function. | |||||
2013-08-09 | Fixed some formatting issues I accidentally introduced | James Ravenscroft | 1 | -0/+2 | |
2013-08-09 | Added IsSwimming and IsSubmerged flags and access methods | James Ravenscroft | 1 | -4/+2 | |
2013-08-08 | Fixed the jump food exhaustion being added when player is swimming | James Ravenscroft | 1 | -3/+8 | |
2013-08-02 | Implemented OnPlayerRightClickingEntity() hook | madmaxoft | 1 | -0/+4 | |
Fixes FS 425 | |||||
2013-07-31 | Implemented the actual tab completion for commands and playernames. | madmaxoft | 1 | -1/+1 | |
Each command is reported only if the player has the permission to use it. | |||||
2013-07-30 | Tab completion packet is handled and sent. | madmaxoft | 1 | -0/+26 | |
This only handles the network comm and the overall design logic, the actual completion is not yet implemented, only dummy values are returned for now. | |||||
2013-07-29 | Added the "Edit Sign" packet sent to the client placing a sign. | madmaxoft | 1 | -0/+9 | |
Fixes issue #20. The 1.6.2 client wouldn't open the sign editor UI unless it receives a special packet | |||||
2013-07-28 | Player eating is now properly broadcast to other players. | madmaxoft | 1 | -0/+5 | |
Also fixed the API relating to food, determining player gamemode, and removed several unneeded API functions. | |||||
2013-07-28 | Implemented basic eating support. | madmaxoft | 1 | -12/+8 | |
Food is now properly consumed and it takes 1.5 sec. | |||||
2013-07-12 | First implementation of movement-related hunger and API | madmaxoft@gmail.com | 1 | -9/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-08 | Color codes are stripped from the DC message | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1670 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-07 | Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes. | madmaxoft@gmail.com | 1 | -0/+11 | |
Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-07 | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 1 | -148/+157 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-05 | Unmounting vehicles implemented in the 1.6.1 way | madmaxoft@gmail.com | 1 | -0/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1650 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-05 | Fixed 1.6.1's movement speed | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1649 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-03 | Fixed player moving between worlds. | madmaxoft@gmail.com | 1 | -13/+54 | |
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-06-29 | Fixed crouch-placing unplaceable items (FS #399) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1632 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-22 | Plugins can modify message in the OnChat() hook handler. | madmaxoft@gmail.com | 1 | -2/+3 | |
FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-18 | Crouching will allow block placement on otherwise functional blocks. | madmaxoft@gmail.com | 1 | -2/+2 | |
Fixes FS #382 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1607 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-18 | Added a crude limiter for explosions sent to client. | madmaxoft@gmail.com | 1 | -1/+27 | |
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 | More TNT fixes. | madmaxoft@gmail.com | 1 | -1/+1 | |
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-16 | Added an elaborative comment on the deadlock prevention code | madmaxoft@gmail.com | 1 | -1/+12 | |
(FS #375) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1597 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-15 | First attempt at fixing the inter-threading deadlocks between the tick thread and the socket thread | madmaxoft@gmail.com | 1 | -1/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1591 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlers | madmaxoft@gmail.com | 1 | -4/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | Implemented proper player crouching. | madmaxoft@gmail.com | 1 | -4/+18 | |
Fixes FS #365 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1553 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-30 | LuaWindow: Initial code, the window can be opened, but not much manipulated | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | Moved BlockEntities to a separate folder | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-24 | Refactored cInventory to use cItemGrid for the actual Storage | madmaxoft@gmail.com | 1 | -4/+3 | |
This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-19 | Inventory code cleanup, players can now see each other's armor | madmaxoft@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-08 | Refactored window clicking code to use different click actions | madmaxoft@gmail.com | 1 | -5/+5 | |
First part of solving FS #371; should fix #370. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1459 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-19 | Fixed Linux compilation, slight code cleanup | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-18 | Initial implementation of explosions and TNT block | keyboard.osh@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -16/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-04 | Fixed personal crafting grid not being tossed on inventory close. | madmaxoft@gmail.com | 1 | -4/+4 | |
FS #355, http://www.mc-server.org/support/index.php?do=details&task_id=355 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1358 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-02 | Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdate | keyboard.osh@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-18 | Added support for the packet #28 (0x1C): ENTITY_VELOCITY | keyboard.osh@gmail.com | 1 | -0/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 1 | -1/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-27 | Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it. | madmaxoft@gmail.com | 1 | -2/+2 | |
Still not perfect - chunk and region calculations can be made into a single CPU instruction - SAR - but not all compilers are known to support that (">>" operator on signed datatypes needs to perform arithmetic shift, C/C++ standard makes it implementation-specific; MSVC and GCC do what we need, LLVM unknown) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1224 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-21 | Moved the Speed member into cEntity class instead of its descendants. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-18 | Minecarts can now be placed. | madmaxoft@gmail.com | 1 | -0/+9 | |
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-14 | Fixed one-hit-blocks not being broken server-side | madmaxoft@gmail.com | 1 | -2/+4 | |
FS #301 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1213 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-13 | Added missing dig status. | luksor111@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1141 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -171/+307 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-05 | Not sending multiple DC packets to the client. | madmaxoft@gmail.com | 1 | -6/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1120 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-27 | Fixed OnBlockPlace hook | luksor111@gmail.com | 1 | -10/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1113 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-26 | Adjusted the protocol framework to support different types of falling block spawning. | madmaxoft@gmail.com | 1 | -0/+9 | |
In brief, with cProtocol, "say what you want done, not how you want me to do it". But still 1.4.6 crashes on falling block spawning. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1104 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-24 | Added the 1.4.6 protocol | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1099 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 1 | -6/+4 | |
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-20 | Removed chat messages from console | luksor111@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1082 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-19 | Added dispensers (they can't dispense items yet) | luksor111@gmail.com | 1 | -15/+21 | |
Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-18 | Fixed wrong c++ standard assumptions about bools. | madmaxoft@gmail.com | 1 | -2/+4 | |
Should fix FS #265. http://forum.mc-server.org/showthread.php?tid=629&pid=5415#pid5415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1053 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-16 | Fixed boolean comparison. | madmaxoft@gmail.com | 1 | -1/+1 | |
Don't compare booleans to false / true, use them directly. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1048 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-16 | Removed log message when spawning players on a client. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1047 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-12 | Fixed block breaking in survival. | luksor111@gmail.com | 1 | -4/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1038 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-11 | Hopefully a fix for crash when chunks are added to a client being destroyed. | madmaxoft@gmail.com | 1 | -4/+21 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1032 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-01 | Refactored the world time. | madmaxoft@gmail.com | 1 | -7/+10 | |
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-22 | You can now see particles and hear sounds when other players are destroying blocks. | luksor111@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1004 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Added jukeboxes (patch contributed by Luksor) | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-18 | Converted some const char*s and std::strings to AStrings | faketruth | 1 | -0/+9 | |
Added a cPlayer:RemoveFromGroup() so players can be removed from groups programmatically Added a cClientHandle:SetUsername to be used by Lua. I'm curious what ThuGie can do with his plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@978 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-17 | Fixed a vulnerability in cClientHandle::HandleRespawn() | faketruth | 1 | -1/+9 | |
Changed some hook locations: Moved HOOK_PLAYER_JOIN to where HOOK_PLAYER_SPAWN was (before player is added to the world) Added HOOK_PLAYER_SPAWN to after a player's initial spawn and after a player is re-spawned after death git-svn-id: http://mc-server.googlecode.com/svn/trunk@972 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-10 | Added an option to disable/enable PVP on a per world basis | faketruth | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@944 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Fixed an invalid direction to AddDirection() | madmaxoft@gmail.com | 1 | -8/+11 | |
( http://forum.mc-server.org/showthread.php?tid=571&pid=4821#pid4821 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@939 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Completely removed the old (buggy) redstone simulator. | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-01 | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 1 | -3/+3 | |
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-30 | Added falling block entities. Sand and gravel now properly fall down | faketruth | 1 | -0/+8 | |
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-29 | Removed a rogue cSleep from ClientHandle. Since sockets are owned by sockethreads, the client can safely Destroy() itself right after sending a packet. | madmaxoft@gmail.com | 1 | -4/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@912 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Beds can be slept in now (it doesn't change the time though) | faketruth | 1 | -0/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Unified folder name-casing | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-25 | Added the block dig animation packet (patch contributed by l0udPL) | madmaxoft@gmail.com | 1 | -2/+45 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-25 | Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247) | madmaxoft@gmail.com | 1 | -27/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -23/+23 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: ChunkDataSerializer is Protocol-related | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@886 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: OSSupport-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -4/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Removed unused cBlockToPickup | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@884 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Mobs-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Protocol-related files in a separate subfolder | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@880 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: UI files renamed | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@878 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Fixed position confirming for 1.3.2 (FS #245) | madmaxoft@gmail.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@877 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Fixed players not spawning to others when they join the server. | madmaxoft@gmail.com | 1 | -0/+3 | |
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 | Tweaked logging. | madmaxoft@gmail.com | 1 | -0/+6 | |
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-20 | Refactored windows. | madmaxoft@gmail.com | 1 | -12/+14 | |
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-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -0/+11 | |
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-07 | Relaxed the check for held item, the client sometimes sends wrong ItemType. | madmaxoft@gmail.com | 1 | -2/+9 | |
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-06 | Added protocol-specific authentication, now works for both 1.2.5 and 1.3.2 | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@841 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-06 | ClientHandle: added an overflow buffer for outgoing data, it fixes the "bad packet id" problem with 1.3.2. | madmaxoft@gmail.com | 1 | -5/+32 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@837 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-05 | Added the possibility of reserved player slots by implementing the HandleHandshake hook! | faketruth | 1 | -0/+17 | |
More info: http://forum.mc-server.org/showthread.php?tid=555 git-svn-id: http://mc-server.googlecode.com/svn/trunk@836 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-04 | Fixed a possible race condition in cClientHandle's packet sending code; prepared for moving cSocket out of cClientHandle's ownership. | madmaxoft@gmail.com | 1 | -2/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@832 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-02 | Next iteration on the 1.3.2 protocol. Still no good, but sometimes it just gets through. For your testing pleasures ;) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@819 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-01 | Fix for Rev 814, the correct cPlayer object is actually sent into the callbacks. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@816 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-01 | Implemented: http://www.mc-server.org/support/index.php?do=details&task_id=239&project=2&dev=26 | lapayo94@gmail.com | 1 | -1/+1 | |
Fixed Bug on build collision git-svn-id: http://mc-server.googlecode.com/svn/trunk@813 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Progress on the 1.3.2 protocol. | madmaxoft@gmail.com | 1 | -2/+2 | |
Sometimes the client lets the player through, but most of the times the connection breaks for no apparent reason. git-svn-id: http://mc-server.googlecode.com/svn/trunk@812 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Another possible deadlock in cClientHandle averted. Hope this is the one. | madmaxoft@gmail.com | 1 | -5/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@810 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Fixed one possibility of a deadlock in cClientHandle::SendChunkData() | madmaxoft@gmail.com | 1 | -13/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@809 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-30 | Added a basic protocol recognizer and the base for 1.3.2 protocol. | madmaxoft@gmail.com | 1 | -25/+10 | |
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 | cProtocol handles the initial handshake up to player login | madmaxoft@gmail.com | 1 | -58/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@804 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-29 | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-28 | Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore. | madmaxoft@gmail.com | 1 | -38/+36 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-27 | Cut out all packet handling to a separate cProtocol descendant | madmaxoft@gmail.com | 1 | -892/+175 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-26 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6 | madmaxoft@gmail.com | 1 | -0/+16 | |
2012-08-25 | cSocket doesn't use cPackets. | madmaxoft@gmail.com | 1 | -10/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@790 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-25 | cWorld doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+58 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@789 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-25 | Removed cPackets from cChunk. | madmaxoft@gmail.com | 1 | -2/+69 | |
Also decoupled a possible deadlock in player login code. git-svn-id: http://mc-server.googlecode.com/svn/trunk@788 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | cPickup doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+13 | |
Also, Lua API change, OnCollectItem -> OnCollectPickup; first param is cPlayer to match other callbacks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@786 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -0/+77 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Window, Chest, Furnace and Pawn are not using cPackets at all | madmaxoft@gmail.com | 1 | -0/+39 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -49/+286 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Another handful of packets rewritten. | madmaxoft@gmail.com | 1 | -31/+123 | |
Also changed cItem::m_ItemID into m_ItemType of type short. Easier handling. m_ItemID kept for compatibility reasons (Lua-interface etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@756 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Fixed Bug #236 | lapayo94@gmail.com | 1 | -3/+3 | |
Workbench, Chest and Furnace are usable again git-svn-id: http://mc-server.googlecode.com/svn/trunk@755 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Chat packet handled in the new way; fixed missing packet sending for inventory slot. | madmaxoft@gmail.com | 1 | -26/+28 | |
Again, API change! cPlugin:OnChat() has had its parameters swapped, to match all the other callbacks - Player first, Message second git-svn-id: http://mc-server.googlecode.com/svn/trunk@751 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. | madmaxoft@gmail.com | 1 | -115/+196 | |
This breaks plugin API! Plugins need to modify their hook functions to match those used in the Core plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@750 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-17 | Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 ) | madmaxoft@gmail.com | 1 | -15/+37 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-15 | Added temporary debug statistics of the RelEntMoveLook packet removal efficiency | madmaxoft@gmail.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@740 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-06 | A bit of cleanup and documentation around the UI window handling | madmaxoft@gmail.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@716 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-17 | Simple health regeneration system | lapayo94@gmail.com | 1 | -14/+3 | |
Prepared for food git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Fixed some small bugs :) | lapayo94@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -560/+78 | |
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-13 | The gamemode is now only saved if it is different from the current gamemode. | lapayo94@gmail.com | 1 | -1/+2 | |
Default gamemode now depends on the joined world, not on the default world git-svn-id: http://mc-server.googlecode.com/svn/trunk@661 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-12 | Save last gamemode | lapayo94@gmail.com | 1 | -1/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@660 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Leaves: Applied patch by Luksor. | cedeel@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@624 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Proper kick reasons! | cedeel@gmail.com | 1 | -3/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@621 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Lit furnaces can be used by players | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@617 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Basic handling of vines. No growth yet. | cedeel@gmail.com | 1 | -13/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@615 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Fixed placing block on tall grass (FS #209) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@614 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Fixed snow again, this time for real. | cedeel@gmail.com | 1 | -2/+17 | |
I didn't realize the client would also try to replace the snow from the sides. git-svn-id: http://mc-server.googlecode.com/svn/trunk@612 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Fixes placing blocks on snow. | cedeel@gmail.com | 1 | -10/+21 | |
Also a little formatting. git-svn-id: http://mc-server.googlecode.com/svn/trunk@611 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -2084/+2084 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-13 | Added a BlockToPickup hook for modifying pickups when a player breaks a block. | madmaxoft@gmail.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@602 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Disallowed placing cacti in water | madmaxoft@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@592 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@584 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Bonemeal is consumed in survival mode when used on growable blocks | madmaxoft@gmail.com | 1 | -1/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-08 | Sugarcane grows and can be grown using bonemeal. | madmaxoft@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@578 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too. | madmaxoft@gmail.com | 1 | -3/+33 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Repeaters' delays can be set by rclk | madmaxoft@gmail.com | 1 | -3/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Multiple packets are serialized in one request. | madmaxoft@gmail.com | 1 | -5/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@568 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Added more statistics to the packet queue overfill problem. | madmaxoft@gmail.com | 1 | -2/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@566 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | (Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher. | madmaxoft@gmail.com | 1 | -1/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@565 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool. | madmaxoft@gmail.com | 1 | -41/+41 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-04 | Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project files | cedeel@gmail.com | 1 | -4/+21 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@546 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-02 | ClientHandle dumps the contents of all packets in the queue if the packet queue gets overloaded to the point of client-kicking. Use this to debug FS #197. | madmaxoft@gmail.com | 1 | -0/+63 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@540 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Seeds can now be planted and they grow (albeit too quickly and too non-uniformly, need to fix blocktick selection) | madmaxoft@gmail.com | 1 | -1/+28 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@523 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Farmland is created using a hoe on dirt or grass. | madmaxoft@gmail.com | 1 | -2/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@520 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Refactored item-eating from cClientHandle into cPlayer | madmaxoft@gmail.com | 1 | -71/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@519 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later. | madmaxoft@gmail.com | 1 | -65/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -4/+33 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-10 | Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks! | madmaxoft@gmail.com | 1 | -1/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-03 | Logging OnBlockDig and OnBlockPlace only in Debug mode ( http://mc-server.org/support/index.php?do=details&task_id=133&project=2 ) | madmaxoft@gmail.com | 1 | -2/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@447 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-26 | Added the supported client version to banner; shamelessly added myself to the authors list ;) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@436 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense. | madmaxoft@gmail.com | 1 | -7/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@431 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Protocol version bumped up to 29 (MC 1.2.4), seems to work. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@430 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Removed the split between 1.2.3 and 1.1, left only 1.2.3 code | madmaxoft@gmail.com | 1 | -16/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@429 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-22 | Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists. | madmaxoft@gmail.com | 1 | -4/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@426 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-11 | Not sending chunks to the client twice | madmaxoft@gmail.com | 1 | -21/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@399 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed a few obsoleted functions | madmaxoft@gmail.com | 1 | -6/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Using references instead of pointers for sending packets | madmaxoft@gmail.com | 1 | -15/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@394 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -1/+11 | |
cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-07 | Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380 | faketruth | 1 | -1/+0 | |
Also removed the SetClientHandle() function from cPlayer Added a Destroyed() function to cEntity that is called ONLY ONCE after an entity has been 'destroyed' Cleaned up some code, using enums for GameMode and Weather and replaced some 'const char *' with 'const AString &' Exposed some more functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@382 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | Fixed rev368's ChunkSender, now sends properly even chunks that are loaded. Fixed a deadlock in cClientHandle vs TickThread over cClientHandle::m_CSChunkLists | madmaxoft@gmail.com | 1 | -4/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@371 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-05 | ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :) | madmaxoft@gmail.com | 1 | -33/+22 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-04 | Changed signed char to unsigned char in block packets, so we can receive height up to 255 | faketruth | 1 | -4/+6 | |
Blocks placed above 128 limit don't become obsidian anymore. This was due to the cChunk::MakeIndex() function return 0 when outside of bounds, it now returns an 'error constant' git-svn-id: http://mc-server.googlecode.com/svn/trunk@356 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-03 | Got rid of some hardcoded numbers, now using hardcoded variables! woo | faketruth | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-02 | That should not have been committed... | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@354 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-01 | Started carefully moving to 1.2.2 | faketruth | 1 | -1/+18 | |
Clients can get up to the login packet, after which the server tries to send chunks but in the wrong format and the client disconnects git-svn-id: http://mc-server.googlecode.com/svn/trunk@347 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-29 | Fixed the authenticator bug | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@344 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-29 | Making sure cClientHandle::m_Player was NULL after authentication completed | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@343 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Setting the m_bDestroyed flag only after the cClienthandle is truly destroyed; cClientHandle's destructor now locks loaded chunk lists | madmaxoft@gmail.com | 1 | -3/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@340 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | Attempt at fixing crashes with disconnecting players | madmaxoft@gmail.com | 1 | -0/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@329 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :) | madmaxoft@gmail.com | 1 | -115/+73 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@328 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | Extended SocketThreads for writing support (unusable in cClientHandle due to too many deadlock possibilities) | madmaxoft@gmail.com | 1 | -9/+8 | |
Extended the range of ignored packets in pre-game client states (fixes connection issues with some mods installed) git-svn-id: http://mc-server.googlecode.com/svn/trunk@327 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | Made the viewdistance settable by users and default in settings.ini. The default is 9. | madmaxoft@gmail.com | 1 | -6/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@326 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-22 | Fixed a bug that no chunks were unloaded on the client. Now chunks are properly unloaded on the clients. | faketruth | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@318 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) | madmaxoft@gmail.com | 1 | -12/+9 | |
Also fixed a threading issue when a player connecting might have gotten stuck in "Downloading world" forever git-svn-id: http://mc-server.googlecode.com/svn/trunk@304 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Fixed heightmap optimization from rev 302; removed a few more cChunkPtrs | madmaxoft@gmail.com | 1 | -11/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@303 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -1/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Using own ASSERT() that logs to file | faketruth | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 1 | -14/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Got rid of dangerous GetEntity(), not using DoWithEntity() | faketruth | 1 | -6/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window) | madmaxoft@gmail.com | 1 | -87/+85 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@263 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -294/+406 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core) | madmaxoft@gmail.com | 1 | -9/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties. | madmaxoft@gmail.com | 1 | -110/+65 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@244 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-07 | Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility. | madmaxoft@gmail.com | 1 | -23/+38 | |
Moved data sending from cPacket into cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@240 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-05 | Now showing proper error messages when sockets fail :) | faketruth | 1 | -1/+1 | |
Crossplatform GetLastError function in cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@234 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-03 | cClientHandle: split packet handling into separate functions for clarity | madmaxoft@gmail.com | 1 | -969/+1158 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@229 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-02 | cClientHandle: gotten rid of the obnoxious m_pState, now using direct members instead | madmaxoft@gmail.com | 1 | -332/+333 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@228 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 1 | -40/+28 | |
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | sprintf() begone! Replaced with StringUtils' Printf() | madmaxoft@gmail.com | 1 | -8/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-31 | Slight code cleanup, no big changes | madmaxoft@gmail.com | 1 | -40/+126 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@202 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -8/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-23 | Cactus towers can be destroyed by removing the bottom block | faketruth | 1 | -1/+53 | |
Added checks whether flowers/mushrooms/saplings can be placed on surface Added checks for cactus to see if it's allowed to be placed Fluids now wash away certain items (flower, sapling, cactus) git-svn-id: http://mc-server.googlecode.com/svn/trunk@169 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-20 | MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think) | faketruth | 1 | -2/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@165 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-19 | Terrain generation is synchronous again, async generation has bugs. | faketruth | 1 | -1/+33 | |
Made some funky smart pointer things for chunks. Fixed a bug where the client would override the player position on the server and back again, resulting in sending too many chunks to the client which it doesn't even need. Fixed some compiler warnings in cPickup.cpp git-svn-id: http://mc-server.googlecode.com/svn/trunk@164 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-02 | Fixed crashing bug in cClientHandle::~cClientHandle | faketruth | 1 | -1/+3 | |
When there are players in the server, and a client connects as far as the handshake and then disconnects, the server crashed. This is because there is no m_Player yet after the handshake, and the destructor uses m_Player without checking if it exists git-svn-id: http://mc-server.googlecode.com/svn/trunk@163 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | Fixed the numchunks console command. | faketruth | 1 | -8/+8 | |
Added some form of reference counting to cChunk to make sure it's not referenced when deleting it. Right now it's only needed due to the generation of chunks in a separate thread and adding it to the spread light list in cWorld git-svn-id: http://mc-server.googlecode.com/svn/trunk@161 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) | lapayo94@gmail.com | 1 | -17/+37 | |
(Separation is not perfect yet, because maybe there are some mayor changes needed :D) - implemented CreativeInventoryAction (was mistakenly called CreateInventoryAction) -> Fixed meta data for creative selected blocks ->->Slabs/Steps are now placed correctly - slabs can now be build to a double slab - fixed a bug in the inventory which put items with different meta values in the same slot git-svn-id: http://mc-server.googlecode.com/svn/trunk@160 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | Chests, furnaces and dispensers face the correct way now. | faketruth | 1 | -0/+5 | |
http://mc-server.org/support/index.php?do=details&task_id=88 git-svn-id: http://mc-server.googlecode.com/svn/trunk@159 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-31 | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks | faketruth | 1 | -16/+6 | |
Players should not spawn in the ground anymore. When an entity was added to cWorld twice (which shouldn't happen actually), the server would crash when the entity is destroyed, this should be fixed now. git-svn-id: http://mc-server.googlecode.com/svn/trunk@158 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Initial food handling by cedeel | mtilden@gmail.com | 1 | -13/+30 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@156 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Chests open and close on clients when opened/closed | mtilden@gmail.com | 1 | -1/+1 | |
- Beginnings of "Double Chest". All that's needed is detection when 2 chests get put next to each other, block other chests from then touching them on any side, load/save with the m_JoinedChest seeing each other and adding and making sure the left side is always the top rows. I'm not sure exactly at this moment how to do all of the detection and saving/loading of the double chest stuff so if you've any ideas feel free to point out some areas in the server code or implement it yourself. git-svn-id: http://mc-server.googlecode.com/svn/trunk@154 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Pickups should now burn in fire | lapayo94@gmail.com | 1 | -2/+9 | |
- The player no longer gets an empty bucket when in creative mode - improved the simulators again (moved to std::list because this should be faster with so many objects) (But the water simulation still is very slow) git-svn-id: http://mc-server.googlecode.com/svn/trunk@153 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - implemented the fire simulation in native c++ (cFireSimulator) | lapayo94@gmail.com | 1 | -84/+43 | |
- Changed the Durationsystem for Items. cPlayer::UseEquippedItem calls cItem::DamageItem this function damages the item if it has a duration. (needed the duration also in another place so this saves code ;)) - added some other burning blocks - the mobtypes for the settings.ini which i must have forgotten in the last commit git-svn-id: http://mc-server.googlecode.com/svn/trunk@150 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Fixed too fast actions kick for real | mtilden@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@149 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | Fixed some small memory leaks | lapayo94@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@148 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Didn't notice steak missing as well | mtilden@gmail.com | 1 | -0/+8 | |
Interesting to note, when you make a food item handled with health it gets rid of the eating animation, this seems backwards. git-svn-id: http://mc-server.googlecode.com/svn/trunk@143 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Added chicken to eating | mtilden@gmail.com | 1 | -0/+9 | |
- Increased max interactions again, seems to be fine now for even the fastest clickers. git-svn-id: http://mc-server.googlecode.com/svn/trunk@142 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | I'll lower my frequency of commits.. 1000 default ends up sent more often than calc'd packets. | mtilden@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@135 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Oops, accidentally left debug print | mtilden@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@134 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | - Added basic ping handling. | mtilden@gmail.com | 1 | -3/+27 | |
Not sure what's up with the MC client, though. It doesn't seem to end up giving good results like the KA packet return is hanging and waiting for other things to process instead of being handled on its own to give a true result. Feel free to update if there's any way to deliver truer results. git-svn-id: http://mc-server.googlecode.com/svn/trunk@133 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Slightly cleaner block change interactions static in header | mtilden@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@130 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Set player interaction kicking to 5 interactions per .1 seconds to help with lag disconnects. Still need to change code to lessen the false positives. | admin@omencraft.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@128 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() | faketruth | 1 | -0/+14 | |
Changed isValidItem to IsValidItem in Core.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@126 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Fixed the little check for max players. If somehow a player was able to connect and the number of players would exceed the max players, everybody is allowed in and the server will never be 'full'. It's fixed now | faketruth | 1 | -9/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@122 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 1 | -3/+7 | |
- Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Default Notchian Ping (static until ping implemented through keepalive send/receive) | mtilden@gmail.com | 1 | -2/+10 | |
- Player "left" message regardless of exit reason git-svn-id: http://mc-server.googlecode.com/svn/trunk@119 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Scoreboard deleting moved to cClientHandle::~cClientHandle() with checks. Please test this every way you can with clients disconnecting from the internet, crashing, etc. It should work on all cases as every client gets called in this part to be 'Deleted' | mtilden@gmail.com | 1 | -6/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@118 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Cleaned up PLI Packet and its creation/sending and fixed bug of player not being removed on scoreboard (forgot to send color in the removal packet) | mtilden@gmail.com | 1 | -6/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@116 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard display | mtilden@gmail.com | 1 | -0/+11 | |
- Added xC9 PlayerListItem packet and added code for player names to be added and removed from the scoreboard (need a catch-all for client disconnects: crashes, timeouts, etc) - Changed wid wording to a_WindowType git-svn-id: http://mc-server.googlecode.com/svn/trunk@113 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Hold item is now dropped when inventory is closed | lapayo94@gmail.com | 1 | -2/+4 | |
Thanks to mtilden for this ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 ) Also the items in the 4 crafting slots are now dropped. git-svn-id: http://mc-server.googlecode.com/svn/trunk@107 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Code improvements | lapayo94@gmail.com | 1 | -0/+1 | |
Fixed authentication (Can be activated now) Added MersenneTwister.h Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 and http://forum.mc-server.org/showthread.php?tid=183&pid=1418#pid1418 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@106 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | - improved and simplified the door system (shorter, clearer) | lapayo94@gmail.com | 1 | -26/+25 | |
- Doors now drop a complete door & other part gets destroyed - Build a function for pickup counts (cBlockToPickup::PickupCount) (Default is 1) git-svn-id: http://mc-server.googlecode.com/svn/trunk@104 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :O | faketruth | 1 | -7/+21 | |
Chunks are now generated before the player is able to see them. This is done because after a chunks is done generating, some blocks might still need to be set (parts of trees from neighboring chunk), causing more bandwidth to be used (each changed block needs to be sent to clients again) and (fps) lagging the clients when changing a lot of blocks. Calculating ahead fixes these issues. Separated the placing of foliage (trees and stuff) when generated chunks into a new function GenerateFoliage() Cleaned up the VS2010 project, now using some VS2010 specific functions like dependencies on projects (no need for setting library dependencies manually). VS2010 project now compiles way faster in Release by using multi threading. git-svn-id: http://mc-server.googlecode.com/svn/trunk@103 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-24 | Max. players and MOTD are now changeable in the settings.ini | lapayo94@gmail.com | 1 | -3/+9 | |
Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1381#pid1381 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@101 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-23 | Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at | faketruth | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@100 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-22 | Digging leaves with shears now drops leaves | lapayo94@gmail.com | 1 | -1/+2 | |
Falling Sand now notifies water around Implemented Function to get the relative chunk position in the total position (cChunk::PositionToWorldPosition) Pistons don´t drop water and lava items anymore when stopping water/lava implemented Getter for lava and water simulator IsBlockWater and IsBlockLava function in Defines.h git-svn-id: http://mc-server.googlecode.com/svn/trunk@97 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-21 | - Crafting fixed in 1.0.0 | lapayo94@gmail.com | 1 | -7/+26 | |
- Server compatible with the weapons and equip again. (Some Packets were incompatible) - fixed bucket bugs (not all) - Fixed clients getting crashed by wrong Pickups - fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin) - maybe some other things I can´t recall atm Big Grin git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-11 | Found and fixed a bug not letting users place blocks in water or lava. | admin@omencraft.com | 1 | -2/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@91 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Fixed logging in underground bug this time. A hack, but it works. :D | admin@omencraft.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@90 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Can now set gamemode via lua. | admin@omencraft.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@89 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work. | admin@omencraft.com | 1 | -15/+70 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@87 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Added code for doors. Doors now place correctly but opening them is buggy and I need to change the current opening code to use bitwise operators. | admin@omencraft.com | 1 | -2/+48 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@85 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings. | admin@omencraft.com | 1 | -17/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@83 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-09 | Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState) | admin@omencraft.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@82 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-08 | It's a Squirrel!! | faketruth | 1 | -0/+1 | |
In SquirrelBindings.h use #define USE_SQUIRREL 1 to enable squirrel git-svn-id: http://mc-server.googlecode.com/svn/trunk@76 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-07 | Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update. | admin@omencraft.com | 1 | -15/+34 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@74 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-07 | Added Sebi's changes to pistons and item drops. | admin@omencraft.com | 1 | -13/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@72 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-07 | Pistons now generate noise and animate when moving. | admin@omencraft.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@71 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Redstone wire now updates correctly when added and removed. it also updates all currently programmed redstone items and wire circuits. Also cleaned up the mess I left of the code. | admin@omencraft.com | 1 | -2/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@69 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Redstone is now self aware. It's not quite as dumb as it used to be at any rate. Redstone wires have no range and understand they are supposed to stay on whenever there's an active torch touching it. (Need to add other power devices) | admin@omencraft.com | 1 | -9/+29 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@68 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch. | admin@omencraft.com | 1 | -7/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-05 | Added all the items up to Beta 1.9.5. Added pistons and piston class. | admin@omencraft.com | 1 | -2/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@63 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-04 | Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance. | admin@omencraft.com | 1 | -5/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@51 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-03 | Fixed some redstone items and a bug that prevented floats from client to server packets reading correctly on 64 bit linux. | admin@omencraft.com | 1 | -2/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@50 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-03 | Added some redstone items. | admin@omencraft.com | 1 | -6/+30 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@49 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-03 | Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:) | admin@omencraft.com | 1 | -7/+17 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@48 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Added New/Invaid State and Thunderbolt packets. For testing purposes it now rains whenever a player opens a workbench and stops when they pen a chest. The rain start/stop in only sent to the sole clientopening the items. | admin@omencraft.com | 1 | -7/+26 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@47 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Fixed some "Entity was not found in any chunk!" warnings | faketruth | 1 | -4/+8 | |
Player's current world is saved in the player file. When a player joins the server, the player joins the last world he was in. It seems MCServer can finally run multiple worlds! It just needs functionality to switch between them git-svn-id: http://mc-server.googlecode.com/svn/trunk@46 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Fixed player spawn teleport postion. | admin@omencraft.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@45 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | fixed player spawning in the ground. | admin@omencraft.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@42 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | Accidentally removed a line of code | faketruth | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@41 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yet | faketruth | 1 | -46/+49 | |
Players are now stored in separate folder /players instead of in the world folder (!so move the folder!) Fixed a memory leak/error in cPickup.cpp Multiple worlds are stored in cRoot cClientHandle lists are taken out of cWorld and now stored in cServer Worlds now have names to distinguish them by Some functions in the Core plugin now distinguish between worlds git-svn-id: http://mc-server.googlecode.com/svn/trunk@40 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | Put in some sanity checks to ensure players don't interact with blocks too quickly. Changed gamemode to be player based. (MCServer crashes when picking up an item. Need to find and fix bug.) | admin@omencraft.com | 1 | -5/+23 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@38 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | Players can now place blocks in creative mode. The blocks players select from the creative mode inventory are not stored in the players' inventory. (I kind of like that) | admin@omencraft.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@37 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -15/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-27 | Fixed a memory leak | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@19 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Made several recomended changes. Gamemode is now world based. Need to add it to player. | admin@omencraft.com | 1 | -3/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@18 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet. | admin@omencraft.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@17 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice. | admin@omencraft.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@16 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode. | admin@omencraft.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@15 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier. | admin@omencraft.com | 1 | -3/+70 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@12 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-23 | Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. | faketruth | 1 | -19/+3 | |
MCSocket.h should soon be deprecated and deleted Do a full rebuild (mine bugged out when I didn't) git-svn-id: http://mc-server.googlecode.com/svn/trunk@8 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-21 | Compiles for linux | faketruth | 1 | -2/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@6 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+1082 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |