Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2016-10-12 | Spectators added (#2852) | bibo38 | 1 | -1/+10 | |
2016-10-09 | cChunk::SetAlwaysTicked implies cChunk::stay (#3361) | LogicParrot | 1 | -0/+2 | |
2016-09-03 | Configurable dirty unused chunk cap to avoid RAM overuse (#3359) | LogicParrot | 1 | -0/+13 | |
Configurable dirty unused chunk cap to avoid RAM overuse | |||||
2016-06-03 | Makes tall grass and large flowers bonemealable | QUSpilPrgm | 1 | -0/+31 | |
Adds the bonemeal particle effect to some more places | |||||
2016-06-03 | Update Dispensers and let them act more like in Vanilla | QUSpilPrgm | 1 | -8/+11 | |
- Added code to make bonemeal, potions, minecarts, XP bottles and boats work inside dispensers - Dispensers are now able to place TNT if the block is transparent but not air - Added return value that indicates the success of pumpkin, melon, sugarcane and cactus growing functions - Changed return value of "GrowRipePlant" so that it actually indicates if the block was able to grow - Fixed "GrowSugarcane" and "GrowCactus" in "GrowRipePlant" so that it only grows them a single block | |||||
2016-05-14 | 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) | Pokechu22 | 1 | -1/+13 | |
* 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-23 | Out of world blocks are now always considered air blocks | LogicParrot | 1 | -10/+0 | |
2016-04-22 | Reduced unnecessary block updates | LogicParrot | 1 | -10/+12 | |
2016-04-06 | Revert "Move mob tick code to cChunk" | LogicParrot | 1 | -40/+10 | |
2016-04-06 | Move mob tick code to cChunk | LogicParrot | 1 | -10/+40 | |
2016-04-05 | Improved player freeze code | LogicParrot | 1 | -2/+13 | |
2016-03-31 | Players never fall through unloaded chunks or end up inside solids on teleport | LogicParrot | 1 | -1/+1 | |
2016-03-30 | Entities are never lost | LogicParrot | 1 | -3/+2 | |
2016-02-20 | Fix #3030 | Alexander Harkness | 1 | -9/+1 | |
Logicparrot's instructions | |||||
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -48/+34 | |
2016-02-03 | cMonster::m_Target safety across worlds | LogicParrot | 1 | -1/+9 | |
2016-02-02 | Fixed cChunk::m_Entities corruption upon world travel | LogicParrot | 1 | -1/+28 | |
2016-01-31 | Updated old forum links | Mathias | 1 | -1/+1 | |
2016-01-21 | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 1 | -69/+94 | |
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 1 | -96/+0 | |
-> 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 | -2/+3 | |
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 1 | -1/+1 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-23 | Adjusted height validation using cChunkDef::IsValidHeight() | Julian Laubstein | 1 | -9/+9 | |
2015-11-03 | Implemented brewing | Lukas Pioch | 1 | -0/+53 | |
2015-09-25 | Maked it compileable for clang-3.7 | Lukas Pioch | 1 | -1/+1 | |
2015-09-19 | Fixed wrong assumtion regarding RemoveClient | tycho | 1 | -1/+5 | |
Remove client can be called with a client that is not present in the chunk | |||||
2015-09-19 | Fixed erase | tycho | 1 | -1/+1 | |
2015-09-18 | Removed a significant performance issue. | tycho | 1 | -78/+62 | |
Iterating through the list of clients in chunks was taking up a significant amount of time with larger numbers of clients due to processor stalls. Changing the data structure to a vector fixed the issue. | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -1/+0 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -25/+25 | |
2015-07-01 | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 1 | -1/+1 | |
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | |||||
2015-06-30 | BlockArea: Fixed a crash with areas higher than chunk height. | Mattes D | 1 | -1/+1 | |
2015-06-23 | Call Neighbour changed handlers when a melon is created | tycho | 1 | -0/+3 | |
Should prevent cascading farmland updates on breaking melons | |||||
2015-06-23 | Fixed melon metadata when growing from stem. | Mattes D | 1 | -6/+9 | |
2015-06-10 | Reinstate "Chunk queue collapsing" | Tiger Wang | 1 | -16/+0 | |
This reinstates commit f36acb683594daff5af3971dcbe3c3a171628b78 and reverts commit adfbc42c021e1bcfcb355933c0fd784306ce0e18. | |||||
2015-06-10 | Implemented nether portal scanning code. | Lane Kolbly | 1 | -1/+1 | |
2015-06-07 | Revert "Chunk queue collapsing" | worktycho | 1 | -0/+16 | |
2015-06-05 | Moved Chunk Broadcasts over to the regular queue | tycho | 1 | -16/+0 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -2/+2 | |
Ad fix a load of warnings | |||||
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 1 | -9/+9 | |
2015-05-09 | More style checking. | Mattes D | 1 | -3/+3 | |
Spaces around some operators are checked. | |||||
2015-05-09 | Fixed some Visual Studio warnings | Tiger Wang | 1 | -1/+1 | |
2015-03-21 | Fixed signedness warnings in Protocol. | Mattes D | 1 | -2/+2 | |
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -2/+2 | |
2015-03-20 | Correct world height validations. | Tommy Santerre | 1 | -3/+3 | |
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-09 | Fixed client kick/crash if many block changes happend | Howaner | 1 | -3/+15 | |
2015-02-25 | Weather: Snow starts forming when the top block is at the right height or higher | STRWarrior | 1 | -66/+57 | |
2015-02-25 | Fixed flowing water turning into ice when snowing | STRWarrior | 1 | -1/+1 | |
2015-01-26 | fix logic bug in cChunk::FastSetBlock filtering out leaves meta changes | Raekye | 1 | -7/+9 | |
- send update if it's not a leaves block and (the original checks) | |||||
2015-01-26 | filter out leaves meta changes from being sent to the client | Raekye | 1 | -0/+4 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -1/+1 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -8/+8 | |
Fixes #1618. | |||||
2014-12-21 | cChunk: Fixed missing initialization. | Mattes D | 1 | -0/+2 | |
Fixes CID 72670. | |||||
2014-11-27 | Chunk: Fixed same-name iterators. | Mattes D | 1 | -5/+5 | |
2014-11-18 | Moved all Noise-related files into a separate folder. | Mattes D | 1 | -1/+1 | |
2014-10-25 | Cleaned up simulators | Tiger Wang | 1 | -3/+3 | |
2014-10-23 | Use 3 priorities. | Howaner | 1 | -1/+1 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -51/+51 | |
2014-10-21 | Use two lists and 2 chunk send prioritys. | Howaner | 1 | -1/+1 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -51/+51 | |
2014-10-19 | Fixed error with non-const function | Julian Laubstein | 1 | -1/+1 | |
2014-10-19 | Migrated random generators to std::random | Tiger Wang | 1 | -1/+0 | |
2014-10-18 | Furnaces now update their block entity type | Tiger Wang | 1 | -1/+1 | |
Therefore improving cChunk's variable boundary checking. | |||||
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -5/+5 | |
2014-10-06 | Stream 4 chunks per tick. Added priority. | Howaner | 1 | -1/+1 | |
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-09-28 | Update Chunk.cpp | worktycho | 1 | -1/+1 | |
2014-09-28 | Use factory method to construct redstone simulator data | Tycho | 1 | -1/+1 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -0/+1 | |
2014-09-26 | Fixed issue with casting | tycho | 1 | -0/+3 | |
2014-09-19 | Implemented mob spawner. | Howaner | 1 | -2/+5 | |
2014-09-11 | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 1 | -3/+3 | |
THis wil hopefully allow for unit testing | |||||
2014-09-11 | 1.8: Added ParticleEffect packet. | Howaner | 1 | -2/+2 | |
2014-09-11 | Fixed a redstone sim failure with droppers. | Mattes D | 1 | -1/+1 | |
2014-09-06 | Removed chunk's unused Y coord. | Mattes D | 1 | -3/+3 | |
This fixes the second issue of #1313. | |||||
2014-09-05 | Rewritten chunk status to specify whether the chunk is in queue. | Mattes D | 1 | -12/+38 | |
This fixes #1370. | |||||
2014-09-03 | Added cWorld::ForEachEntityInBox() | madmaxoft | 1 | -0/+25 | |
2014-08-29 | Rewritten block entity loading. | Mattes D | 1 | -0/+10 | |
Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked. The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't. Fixes #1354. | |||||
2014-08-28 | remove y-coord from chunks | LO1ZB | 1 | -4/+3 | |
2014-08-19 | Code formatting fixes. | Howaner | 1 | -0/+1 | |
2014-08-14 | CheckBasicStyle checks the src folder as well. | madmaxoft | 1 | -10/+16 | |
2014-08-06 | Fixed style issues | Tycho | 1 | -3/+3 | |
2014-08-05 | Removed dependecy of redstone simulator on NoteBlock | Tycho | 1 | -0/+1 | |
2014-08-05 | Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly | Tycho | 1 | -0/+34 | |
2014-07-30 | Exported the beacon. | Howaner | 1 | -0/+33 | |
2014-07-24 | Added a queue for setting chunk data. | madmaxoft | 1 | -23/+17 | |
Fixes #1196. | |||||
2014-07-22 | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 1 | -12/+7 | |
2014-07-21 | Suggestions | Tiger Wang | 1 | -3/+3 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -43/+43 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 1 | -2/+3 | |
2014-07-20 | Bug and crash fixes | Tiger Wang | 1 | -3/+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 style: spaces after commas. | madmaxoft | 1 | -3/+3 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -2/+2 | |
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/+11 | |
There should be at least two spaces in front and one space after //-style comments. | |||||
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -14/+14 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 1 | -2/+2 | |
2014-07-12 | Suggestions and bug fix | Tiger Wang | 1 | -1/+1 | |
* Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft | |||||
2014-07-10 | Fixed style consistency. | madmaxoft | 1 | -59/+62 | |
2014-07-10 | Implemented support for forced chunk ticking. | madmaxoft | 1 | -2/+28 | |
Fixes #1160. | |||||
2014-07-07 | Implemented trapped chests & others | Tiger Wang | 1 | -3/+5 | |
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | |||||
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-24 | Added asserts for cChunk::GetBlockEntity() coords. | Mattes D | 1 | -0/+6 | |
2014-06-21 | Fixed invalid iterators | Tiger Wang | 1 | -23/+10 | |
2014-06-19 | Nullify deleted pointers. | archshift | 1 | -0/+4 | |
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -1/+3 | |
2014-06-14 | Added generic Allocation Pool Interface | Tycho | 1 | -1/+1 | |
2014-06-14 | fixed spaces | Tycho | 1 | -1/+1 | |
2014-06-12 | Fixed order of initalisation | Tycho | 1 | -2/+2 | |
2014-06-12 | Removed unnessicary indirection from Entity iterator list | Tycho | 1 | -5/+5 | |
2014-06-12 | Portals animate and delay correctly | Tiger Wang | 1 | -41/+33 | |
2014-06-10 | Portal improvements and suggestions | Tiger Wang | 1 | -1/+14 | |
2014-06-05 | Suggestions | Tiger Wang | 1 | -2/+5 | |
2014-06-05 | Redstone fixes and improvements [SEE DESC] | Tiger Wang | 1 | -0/+1 | |
Haha, see desc. * Improved redstone speed through a marking dirty system. Only a select few devices are still continuously simulated * Fixed redstone crashing with recent piston changes | |||||
2014-06-04 | Removed use of auto | Tiger Wang | 1 | -1/+1 | |
2014-06-01 | Suggestions two | Tiger Wang | 1 | -7/+9 | |
2014-05-31 | Implemented end and nether portals | Tiger Wang | 1 | -36/+38 | |
2014-05-29 | Added comments, reformatted code. | madmaxoft | 1 | -3/+3 | |
2014-05-29 | Cauldrons fill | Tiger Wang | 1 | -1/+0 | |
2014-05-29 | More comments! | Tiger Wang | 1 | -5/+4 | |
2014-05-25 | Hopefully fixed piston duplication issues | Tiger Wang | 1 | -5/+6 | |
* Fixes #879 * Fixes #714 | |||||
2014-05-24 | Implemented style changes | Tycho | 1 | -2/+2 | |
2014-05-23 | Implemented Allocation Pool use by cChunkData | Tycho | 1 | -1/+3 | |
2014-05-21 | Fixed stylistic issues | Tycho | 1 | -2/+2 | |
2014-05-21 | Renamed cChunkBuffer to cChunkData | Tycho | 1 | -19/+19 | |
2014-05-21 | Fixed minor style issues | Tycho | 1 | -4/+4 | |
2014-05-10 | Fixed bug in setting metas | Tycho | 1 | -18/+0 | |
2014-05-02 | Fixed a buffer overflow in cChunk:SetLight(). | madmaxoft | 1 | -2/+2 | |
There are only half as many bytes for light than there are blocktypes. | |||||
2014-04-27 | Redstone simulator now directly accesses cChunk | Tiger Wang | 1 | -1/+19 | |
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes | |||||
2014-04-27 | Fixed bad merge | Tycho | 1 | -13/+9 | |
2014-04-26 | Implemented Chunk Sparsing with segments | Tycho | 1 | -153/+33 | |
2014-04-25 | Implemented comments | Tiger Wang | 1 | -6/+6 | |
2014-04-24 | Fixed indent | Tiger Wang | 1 | -1/+1 | |
2014-04-24 | Another small speed improvement? | Tiger Wang | 1 | -12/+2 | |
2014-04-24 | Implemented suggestions | Tiger Wang | 1 | -22/+6 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -2/+2 | |
2014-04-12 | Implemented the skeleton code for the beacon. | STRWarrior | 1 | -0/+2 | |
There is no handling for the GUI. It can now check how big the pyramid is under the beacon. | |||||
2014-04-10 | Replaced all the .data() calls so the code compiles in VS2008 | Tycho | 1 | -5/+5 | |
2014-04-08 | Fixed missing - that caused all neighbour lookups to go to the chunkmap | Tycho | 1 | -1/+1 | |
2014-04-07 | Maybe speed improvements? | Tiger Wang | 1 | -47/+28 | |
* Use a single index to determine from when to begin copying data * Use heightmap to determine first nonair block | |||||
2014-04-07 | Attempt to fix errors | Tiger Wang | 1 | -2/+2 | |
2014-04-07 | Blocklight and skylight now compressed | Tiger Wang | 1 | -24/+82 | |
2014-04-05 | Nibbletypes are compressed | Tiger Wang | 1 | -15/+34 | |
+ Added nibble compression * Fixed an off by one | |||||
2014-04-04 | Speed and memory improvements | Tiger Wang | 1 | -61/+14 | |
* Changed array to be continuous, so no more layer splitting | |||||
2014-04-03 | Fixed some bugs | Tiger Wang | 1 | -3/+5 | |
* Fixed undefined behaviour * Fixed compression failure | |||||
2014-04-02 | Performance improvements and chunk flipping fixed | Tiger Wang | 1 | -30/+32 | |
2014-03-28 | Fixed a potential crash | Tiger Wang | 1 | -1/+1 | |
2014-03-27 | Fixed chunk neighbor-getting for long distances. | madmaxoft | 1 | -0/+11 | |
This fixes a server hang when teleporting to coords too far away. | |||||
2014-03-23 | Sort of implementation of chunk sparsing | Tiger Wang | 1 | -17/+92 | |
Issues: * Chunks are flipped * Slow/inefficient/badly coded * Only blocktypes are 'compressed' | |||||
2014-03-07 | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 1 | -1/+1 | |
2014-03-07 | Add Flower Pots | Howaner | 1 | -0/+35 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -5/+5 | |
2014-02-24 | Removed an unused member variable from cChunk. | madmaxoft | 1 | -7/+0 | |
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -3/+3 | |
2014-02-23 | Add Heads completely | Howaner | 1 | -0/+33 | |
2014-02-23 | Add Skulls/Heads | Howaner | 1 | -0/+2 | |
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -3/+3 | |
2014-02-18 | Add Heads completely | Howaner | 1 | -0/+33 | |
2014-02-18 | Added cWorld:SetAreaBiome() API function. | madmaxoft | 1 | -0/+32 | |
Fixes #675. | |||||
2014-02-17 | Add Skulls/Heads | Howaner | 1 | -0/+2 | |
2014-02-08 | Initial ChunkStay code. | madmaxoft | 1 | -1/+0 | |
2014-02-02 | Changed Signiture of OnUpdate | Tycho | 1 | -4/+10 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -1/+1 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -2/+4 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-18 | Basic command block implementation | andrew | 1 | -0/+34 | |
2014-01-16 | Disabled excessive entity-related logging in Debug mode. | madmaxoft | 1 | -2/+15 | |
2013-12-30 | Fixed compilation in VC2008. | madmaxoft | 1 | -13/+7 | |
Also removed an unused inline header file (yuck). | |||||
2013-12-22 | fixed bad merge | Tycho Bickerstaff | 1 | -4/+0 | |
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -11/+4 | |
2013-12-22 | Implented BroadcastParticleEffect | STRWarrior | 1 | -0/+16 | |
2013-12-21 | Chunk is now warnings clean | Tycho Bickerstaff | 1 | -3/+2 | |
2013-12-20 | Fixed the rest of constructor reorders. | madmaxoft | 1 | -20/+21 | |
2013-12-20 | Attempt at fixing cChunkDef::Height signedness. | madmaxoft | 1 | -6/+1 | |
2013-12-15 | This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions. | STRWarrior | 1 | -0/+32 | |
2013-12-14 | Implemented note block playing and fixed wire | Tiger Wang | 1 | -0/+32 | |
Game of Thrones music in Minecraft, here I come! | |||||
2013-12-13 | Improved redstone loading performance | Tiger Wang | 1 | -2/+10 | |
2013-12-13 | Fixed QueueSetBlock not sending to client changes | Tiger Wang | 1 | -2/+1 | |
2013-12-13 | Redstone data is now loaded on chunk load | Tiger Wang | 1 | -0/+6 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-12-09 | Fixed warning unchecked enum value at Chunk.cpp line 841 | worktycho | 1 | -2/+4 | |
2013-12-07 | Added basic ender chests | Tiger Wang | 1 | -0/+2 | |
Note that they just mirror chests now, so no per player inventory. | |||||
2013-12-07 | Renamed animation function | Tiger Wang | 1 | -2/+2 | |
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | |||||
2013-12-06 | Fixed duplication glitch with QueueSetBlock | Tiger Wang | 1 | -5/+26 | |
If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched. | |||||
2013-12-04 | Fixed an error in cChunk's block ticking. | madmaxoft | 1 | -2/+2 | |
Absolute coords were passed to a handler expecting relative coords. | |||||
2013-11-30 | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 1 | -1/+18 | |
2013-11-27 | Fixed VC2008 compilation, normalized include paths. | madmaxoft | 1 | -1/+1 | |
2013-11-27 | Fixed some of tiger's derpyness. | Alexander Harkness | 1 | -1/+1 | |
2013-11-26 | Fixed loads more of them. | Alexander Harkness | 1 | -1/+1 | |
2013-11-24 | Attempt to fix compilation | Tiger Wang | 1 | -2/+2 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-20 | Added cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt() functions. | madmaxoft | 1 | -0/+44 | |
Also exported them to the Lua API. | |||||
2013-11-18 | Redstone Megacommit [SEE DESC] | Tiger Wang | 1 | -7/+7 | |
+ Updated BlockID - look for yourself * Improved button, repeater, lever, and comparator code -> simplification and splitting of some stuff from the redstone simulator file * Fixed buttons not breaking when in an invalid game state * Fixed QueueSetBlock -> improved (AGAIN) piston code + Rewrote redstone simulator Fixes: #57, #58, #205, and part of #131. Fixes FS issues: 281, 116, and 102 | |||||
2013-11-14 | Added cSignEntity into API, added cChunkDesc:GetBlockEntity(). | madmaxoft | 1 | -86/+5 | |
This fixes both #228 and #347. | |||||
2013-11-12 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -3/+10 | |
* BoundingBox now returns FACE_NONE + Arrows can be picked up * Arrows dug up resume physics simulations * Added sound effects for bows, lava to stone, and arrows * Fixed SoundParticleEffect on <1.7 protocols | |||||
2013-10-30 | Last of the nitpicker note fixes. Added some inline commenting. | Samuel Barney | 1 | -0/+1 | |
2013-10-29 | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. | Samuel Barney | 1 | -2/+11 | |
2013-10-28 | Got spiders and other mobs respecting night and day for spawning | Samuel Barney | 1 | -1/+2 | |
2013-10-28 | Made mob spawning code use the chunk so that it could use varying sizes of areas for different mobs. | Samuel Barney | 1 | -32/+20 | |
2013-10-27 | Added cChunk::UnboundedRelGetBlockLights(). | madmaxoft | 1 | -0/+23 | |
This queries both BlockLight and SkyLight for the specified block. | |||||
2013-10-26 | Moving spawning position to the center of the block. | Samuel Barney | 1 | -1/+3 | |
2013-10-24 | Using provided UnboundedRelGetBlockBlockLight and UnboundedRelGetBlockSkyLight. | Samuel Barney | 1 | -5/+3 | |
2013-10-24 | Removed my hackish Light functions | Samuel Barney | 1 | -96/+0 | |
2013-10-23 | Invalid light value is now 127 | Samuel Barney | 1 | -5/+5 | |
2013-10-22 | Implemented UnboundedRel BlockLight and SkyLight. | madmaxoft | 1 | -250/+109 | |
Also unified the various UnboundedRel operations to use the same underlying structure. | |||||
2013-10-21 | Added two new unbounded del functions to deal with looking up the lighting. | Samuel Barney | 1 | -11/+100 | |
2013-10-21 | Swapped which block is checked for light first. | Samuel Barney | 1 | -4/+4 | |
2013-10-21 | Current Mob Spawning code. | Samuel Barney | 1 | -7/+22 | |
2013-09-09 | replacing dynamic_cast by c-style cast | mgueydan | 1 | -11/+4 | |
2013-09-08 | replacing C-style cast by dynamic_cast | mgueydan | 1 | -1/+1 | |
2013-09-08 | Replacing chunCk by chunk | mgueydan | 1 | -1/+1 | |
2013-09-08 | replacing asserts by ASSERTs | mgueydan | 1 | -3/+3 | |
2013-09-08 | renaming the cChunk::getRandomBlock method + removing a buggy working log | mgueydan | 1 | -2/+2 | |
2013-09-08 | Adding glue to call everything done in last commits - now the mobs are spawning | mgueydan | 1 | -0/+61 | |
2013-09-08 | Disabeling current mob spawning and tick | mgueydan | 1 | -2/+6 | |
2013-09-08 | Adding an Empty shell that would launch mob spawner - not called yet | mgueydan | 1 | -0/+37 | |
2013-09-07 | Adding mob census (sorry this is a big commit as work was done before git integration i couldn't split it more) | mgueydan | 1 | -0/+39 | |
2013-08-19 | Fixed the extreme strain on the world tick thread. | madmaxoft | 1 | -0/+5 | |
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 | -2/+2 | |
2013-08-19 | cChunk::SetBlock() now uses cChunk::FastSetBlock() for the common code path. | madmaxoft | 1 | -69/+11 | |
2013-08-19 | Removed an unused CriticalSection from cChunk. | madmaxoft | 1 | -19/+5 | |
Fixes #109 | |||||
2013-08-18 | Implemented cWorld:QueueSetBlock(), as requested for delayed blocksetting. | madmaxoft | 1 | -0/+36 | |
Untested yet, so might not work. | |||||
2013-08-18 | Removed SetServerBlock griefing. | madmaxoft | 1 | -55/+0 | |
2013-08-18 | Properly fixed piston non-animation | Tiger Wang | 1 | -0/+55 | |
Fixes #57 | |||||
2013-07-07 | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 1 | -58/+58 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-25 | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 1 | -1/+1 | |
Should fix FS #400 and partially fix FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-20 | Furnaces light up visually when they're cooking | madmaxoft@gmail.com | 1 | -2/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-13 | Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it. | madmaxoft@gmail.com | 1 | -11/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-12 | Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return values | madmaxoft@gmail.com | 1 | -1/+3 | |
FS #364 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1582 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 | -2/+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 | -2/+2 | |
Fixes FS #365 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1553 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | Moved BlockEntities to a separate folder | madmaxoft@gmail.com | 1 | -7/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | Block entities now receive the cChunk param in their Tick() function | madmaxoft@gmail.com | 1 | -1/+1 | |
They can safely access that chunk and any of its neighbors during ticking. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1526 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | cChunk: Added the GetRelNeighborChunkAdjustCoords() function | madmaxoft@gmail.com | 1 | -0/+66 | |
Not only does it return the proper neighbor chunk, but also it adjusts the relative coords to be in that returned chunk. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1523 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-only | madmaxoft@gmail.com | 1 | -1/+103 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1522 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-26 | Implemented droppers | madmaxoft@gmail.com | 1 | -0/+123 | |
Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-19 | Fixed entity chunking. | madmaxoft@gmail.com | 1 | -1/+3 | |
Sand simulator was off, sand in negative coords wouldn't fall properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@1489 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-17 | Removed pickup logging | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1487 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-13 | Added logging to pickup collection when a player is near and when collecting. | madmaxoft@gmail.com | 1 | -0/+9 | |
This should help fix the inactive pickups bug, http://forum.mc-server.org/showthread.php?tid=434&pid=8019#pid8019 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1480 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-06 | Fixed player teleporting too far away ("Entity lost") | madmaxoft@gmail.com | 1 | -3/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1452 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-28 | Fixed most of client slowdowns caused by sending too many block changes (bad condition in FastSetBlock) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1431 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-27 | Fixed a few possible crashes with out-of-bounds Y coords | madmaxoft@gmail.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1413 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 | -18/+124 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-09 | Fixed chunk possibly writing to uninitialized memory | madmaxoft@gmail.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1376 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-06 | Mineshafts: Added random loot to generated chests and fixed chest direction | madmaxoft@gmail.com | 1 | -2/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-03 | Added a debugging log for melon-growing to catch FS #349 | madmaxoft@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-01 | Proper fix for FS #347. Also unification of ticking block entities. | madmaxoft@gmail.com | 1 | -26/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1348 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-22 | Fixed block update queueing and water meta change not propagated to clients. | madmaxoft@gmail.com | 1 | -17/+57 | |
Fixes FS #333. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-18 | Added support for the packet #28 (0x1C): ENTITY_VELOCITY | keyboard.osh@gmail.com | 1 | -0/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-15 | Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking. | madmaxoft@gmail.com | 1 | -12/+24 | |
Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Small performance improvements in fluid simulator. | madmaxoft@gmail.com | 1 | -26/+33 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1276 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Fix for the Vaporize fluid simulator when loading chunks. | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1271 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-09 | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 1 | -0/+6 | |
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 1 | -3/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Simulators are woken up upon chunk load | madmaxoft@gmail.com | 1 | -0/+39 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1248 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-02 | Floody fluid simulator has been converted to use direct chunk access | madmaxoft@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1236 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-01 | New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data. | madmaxoft@gmail.com | 1 | -13/+16 | |
http://forum.mc-server.org/showthread.php?tid=617&pid=6626#pid6626 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1233 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-28 | Fixed previous commit. | madmaxoft@gmail.com | 1 | -1/+1 | |
I'm too sleepy and shouldn't be let around the sources :P git-svn-id: http://mc-server.googlecode.com/svn/trunk@1230 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-28 | Fixed a bug in cChunk::QueueTickBlockNeighbors() that caused the tick thread to overload easily | madmaxoft@gmail.com | 1 | -3/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1229 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-28 | Simulators now have direct access to the cChunk object in the WakeUp() call | madmaxoft@gmail.com | 1 | -63/+103 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-05 | Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature. | madmaxoft@gmail.com | 1 | -0/+2 | |
http://forum.mc-server.org/showthread.php?tid=464&pid=6312#pid6312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1193 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-26 | Dispensers can dispense items and liquids now | luksor111@gmail.com | 1 | -1/+63 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. | madmaxoft@gmail.com | 1 | -6/+6 | |
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-19 | Added dispensers (they can't dispense items yet) | luksor111@gmail.com | 1 | -0/+15 | |
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-12-14 | cChunk now tracks its neighbors as direct pointers; used in UnboundedRelGetBlock et al. | madmaxoft@gmail.com | 1 | -2/+118 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1073 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-11 | Removed an unused obsolete function chain - cWorld::GetChunkBlockData() | madmaxoft@gmail.com | 1 | -12/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1036 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-11 | Fixed FS #268 - if a block entity breaking is disallowed by a plugin, the entire blockentity is sent back to the client | madmaxoft@gmail.com | 1 | -6/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1031 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-22 | Made DeepSnow remove flowers and mushrooms while snowing. | luksor111@gmail.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1001 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) | madmaxoft@gmail.com | 1 | -0/+84 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1000 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Added jukeboxes (patch contributed by Luksor) | madmaxoft@gmail.com | 1 | -0/+31 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-20 | Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block. | madmaxoft@gmail.com | 1 | -0/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@986 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-19 | Removed unused [Physics].Water section from settings.ini. | madmaxoft@gmail.com | 1 | -10/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@982 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-15 | Fixed DelayedFluidSimulator. | madmaxoft@gmail.com | 1 | -1/+1 | |
Floody fluid simulator is now woken up properly across chunk borders. git-svn-id: http://mc-server.googlecode.com/svn/trunk@966 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | Floody fluid simulator now dries up correctly, too. | madmaxoft@gmail.com | 1 | -16/+72 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@964 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-13 | Preparation for multiple fluid simulators. | madmaxoft@gmail.com | 1 | -2/+0 | |
Moved all simulators into a subfolder. Replaced cWaterSimulator and cLavaSimulator with a generic cFluidSimulator. Moved original fluid simulation into cClassicFluidSimulator. Fluid simulator parameters (MaxHeight, Falloff) are read from the world.ini file (can have nether-like lava with lower falloff) git-svn-id: http://mc-server.googlecode.com/svn/trunk@956 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-07 | All blockticking is now done in cBlockHandlers | madmaxoft@gmail.com | 1 | -95/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@942 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-06 | BlockArea writing support (BlockTypes with BlockMeta only) | madmaxoft@gmail.com | 1 | -0/+53 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Fixed saplings not growing into trees | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@924 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -31/+1 | |
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-01 | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 1 | -6/+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-29 | Beds can be slept in now (it doesn't change the time though) | faketruth | 1 | -0/+12 | |
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 | -1/+1 | |
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 | -0/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -20/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Removed unused cBlockToPickup | madmaxoft@gmail.com | 1 | -79/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@884 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -0/+16 | |
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-04 | Fixed FS #243, server crash after restart. The blockhandler table and the itemhandler table weren't properly re-initialized. | madmaxoft@gmail.com | 1 | -3/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@830 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-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-27 | Cut out all packet handling to a separate cProtocol descendant | madmaxoft@gmail.com | 1 | -109/+0 | |
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-26 | Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL) | madmaxoft@gmail.com | 1 | -0/+15 | |
http://forum.mc-server.org/showthread.php?tid=528 git-svn-id: http://mc-server.googlecode.com/svn/trunk@793 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-25 | cWorld doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+16 | |
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 | -94/+53 | |
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/+16 | |
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 | -4/+55 | |
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/+32 | |
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 | -0/+96 | |
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 | -0/+32 | |
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-07-21 | Slight cChunk optimization | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@688 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -193/+21 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | Leaves blocks allowed one more block of distance from a log block before they decay | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@666 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-09 | BlockArea name change reverted | lapayo94@gmail.com | 1 | -1/+1 | |
fixed VS2008 building git-svn-id: http://mc-server.googlecode.com/svn/trunk@649 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-08 | Squirrel Plugins | lapayo94@gmail.com | 1 | -1/+1 | |
I worked a little bit on the squirrel Bindings They work now on linux and windows :) (OSX is untested, but should work also) but they are very limited at the moment. (Only made OnChat working) I also fixed some small bugs. git-svn-id: http://mc-server.googlecode.com/svn/trunk@648 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | Leaves decay adjusted to 4 blocks in between the leaves and the log, instead of previous 3 | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@645 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | Leaves decay properly - if they are not connected to a log | madmaxoft@gmail.com | 1 | -31/+109 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@644 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-19 | Made ForEach API safer to use, now supports Destroy()-ing objects, too ( http://forum.mc-server.org/showthread.php?tid=434&pid=3513#pid3513 ) | madmaxoft@gmail.com | 1 | -5/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@633 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-18 | Crops aren't uprooted if farmland is dry. | cedeel@gmail.com | 1 | -3/+12 | |
Vanilla behavior confirmed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@630 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Removed the deprecated GetBlockEntity(), added several enumerators to replace it. | madmaxoft@gmail.com | 1 | -0/+154 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@629 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Fixed leaves blockticking - must touch neighboring chunks, too, instead of self at wrong places. | madmaxoft@gmail.com | 1 | -23/+54 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Leaves: Applied patch by Luksor. | cedeel@gmail.com | 1 | -1/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@624 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 1 | -0/+17 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -1643/+1643 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Snow cover breaks when the block below it is removed (FS #184). | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@591 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Sugarcane and cactus max height can be set in world.ini. | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@585 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Cacti grow by themselves and by bonemeal | madmaxoft@gmail.com | 1 | -0/+47 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@583 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-08 | Sugarcane grows and can be grown using bonemeal. | madmaxoft@gmail.com | 1 | -60/+98 | |
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 | -1/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | BlockChecking split into a separate function | madmaxoft@gmail.com | 1 | -93/+94 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@571 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Repeaters' delays can be set by rclk | madmaxoft@gmail.com | 1 | -0/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Fixed a typo in grass spreading causing much of the "too many packets" error. | madmaxoft@gmail.com | 1 | -5/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@567 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Grass spreads to adjacent dirt blocks. Doesn't check dest light yet. | madmaxoft@gmail.com | 1 | -17/+52 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@563 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 | -9/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-01 | Fixed a nasty int overflow bug in blockticking code ( http://forum.mc-server.org/showthread.php?tid=457 ) | madmaxoft@gmail.com | 1 | -3/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@533 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-31 | Fixed melons and pumpkins generating in a wrong place. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@530 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Added support for SetNextBlockTick() function callable from Lua | madmaxoft@gmail.com | 1 | -18/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Melon and pumpkin stems now grow melons and pumpkins | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@526 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Fixed blocktick distribution | madmaxoft@gmail.com | 1 | -6/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@525 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Farmland gets hydrated and dehydrated. Fixed an off-by-one error in neighbor-chunk manipulation. | madmaxoft@gmail.com | 1 | -3/+75 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@522 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Fixed a crash when chunks were loaded / generated with entities ( http://forum.mc-server.org/showthread.php?tid=450 ) | madmaxoft@gmail.com | 1 | -26/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@521 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 | -189/+176 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-28 | Chests and Furnaces are now saved properly into Anvil scheme. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@516 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -101/+143 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-08 | Fixed two "bottlenecks" found using profiling - MakeIndex() instead of MakeIndexNoCheck() | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@483 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 | -29/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 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 | -13/+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 | -8/+17 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@426 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Unified the chunk data to use the BLOCKDATA datatype. | madmaxoft@gmail.com | 1 | -7/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 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 | -126/+135 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Using references instead of pointers for sending packets | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@394 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned on | madmaxoft@gmail.com | 1 | -2/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@393 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Was using "#else if" which is not valid apparently, now using "#elif" | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@391 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | You can change axis ordering by setting AXIS_ORDER to AXIS_ORDER_XZY in cChunk.h !THIS WILL SCREW UP YOUR WORLDS THOUGH! | faketruth | 1 | -0/+4 | |
Still need to update world storage schemes, converters and such git-svn-id: http://mc-server.googlecode.com/svn/trunk@390 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Using more of the index functions in cChunk, so it should be easy enough to flip the axis ordering now | faketruth | 1 | -76/+61 | |
Added some more functions that use Vector3i for block coordinates in cChunk git-svn-id: http://mc-server.googlecode.com/svn/trunk@389 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -9/+9 | |
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-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 | -62/+53 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-04 | The world can now truly be made higher by incrementing cChunk::c_ChunkHeight to 256. !!HOWEVER THIS WILL DESTROY YOUR SAVED WORLD!! | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@357 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 | -9/+16 | |
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 | -87/+87 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-02 | Finally got the multiblock packet working! It seems the byte order was wrong | faketruth | 1 | -5/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@352 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-02 | MultiBlock packet is working partly.. I really don't understand what's wrong with this packet :/ | faketruth | 1 | -0/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@351 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-01 | New redstone simulator. Should work without crashes! | faketruth | 1 | -1/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@345 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Server uses ~40% less CPU now | faketruth | 1 | -86/+92 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@339 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Chunk now has an indicator of load failure; Chunk generator uses cChunkStay | madmaxoft@gmail.com | 1 | -0/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | New cChunkStay class for temporarily keeping chunks loaded even when then have no clients. For now unused, will be used by generator and lighting in the future. | madmaxoft@gmail.com | 1 | -1/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@330 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | Plain pointer cChunkPtr finishing touches; removed cChunk's critical sections | madmaxoft@gmail.com | 1 | -162/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@325 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | cChunk: removed unused code | madmaxoft@gmail.com | 1 | -6/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@323 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-22 | Added some asserts to trace a bug | faketruth | 1 | -1/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@319 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 | -5/+6 | |
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 | -16/+42 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@303 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Optimized hightmap recalc when setting a chunk's block | madmaxoft@gmail.com | 1 | -7/+31 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@302 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -3/+7 | |
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-18 | Substantial cWorld::FastSetBlock() speed up by queueing all such calls and processing them later chunk-wise (makes growing trees in the generator fast again) | madmaxoft@gmail.com | 1 | -8/+28 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@295 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries. | madmaxoft@gmail.com | 1 | -0/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@293 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Thread-safe chunk generation, storage and generator are queried for progress while initializing server | madmaxoft@gmail.com | 1 | -8/+8 | |
Note that this commit breaks foliage generation - there are no trees in the chunks generated! git-svn-id: http://mc-server.googlecode.com/svn/trunk@292 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. | madmaxoft@gmail.com | 1 | -5/+6 | |
cChunk fix - setting a block to the same value doesn't mark chunk dirty (resulted in un-unloadable chunks) git-svn-id: http://mc-server.googlecode.com/svn/trunk@279 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Marking chunk dirty after generating | madmaxoft@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@276 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Heightmap is properly generated after loading chunks now, so /spawn and /top should work properly again | faketruth | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@274 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properly | madmaxoft@gmail.com | 1 | -7/+146 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 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 | -0/+13 | |
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 | -361/+343 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | Removed unused code | madmaxoft@gmail.com | 1 | -44/+113 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@249 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 | -5/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 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 | -2/+2 | |
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 | AString logging fix | madmaxoft@gmail.com | 1 | -7/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@217 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | sprintf() begone! Replaced with StringUtils' Printf() | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Removed a few duplicate includes | madmaxoft@gmail.com | 1 | -2/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@215 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-30 | Fixed a problem in cCSLock (sorry); reverted cChunk | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@195 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-30 | Added a WebAdmin interface to view users their groups, and the permissions of groups. | faketruth | 1 | -1/+1 | |
cChunk::Tick did an assertion in cCSLock, I used a cCSUnlock to fix it, but not sure if this is correct. git-svn-id: http://mc-server.googlecode.com/svn/trunk@194 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-30 | More cFile cleanup; removed old format writing for block entities | madmaxoft@gmail.com | 1 | -176/+199 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@193 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 | -10/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-26 | Working on a new plugin design with Lua. While retaining backwards compatibility of course... | faketruth | 1 | -28/+28 | |
In this new design a plugin consists of a folder with Lua files, this should enable plugin developers to keep things separate and have more overview. git-svn-id: http://mc-server.googlecode.com/svn/trunk@172 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-26 | Probably fixed a deadlock! http://www.mc-server.org/support/index.php?do=details&task_id=147 | faketruth | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@171 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-23 | Cactus towers can be destroyed by removing the bottom block | faketruth | 1 | -0/+1 | |
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-19 | Terrain generation is synchronous again, async generation has bugs. | faketruth | 1 | -43/+13 | |
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-01 | Fixed the numchunks console command. | faketruth | 1 | -0/+76 | |
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 | |||||
2011-12-31 | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks | faketruth | 1 | -105/+8 | |
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-28 | This bug should be fixed now http://mc-server.org/support/index.php?do=details&task_id=112 | faketruth | 1 | -6/+44 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@145 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithms | faketruth | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@127 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 | -72/+72 | |
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 | - improved Simulator system | lapayo94@gmail.com | 1 | -26/+1 | |
-> Manager handles all ticks -> advantage: Much easier to add new simulators, because you only have to register them in the manager - moved sand and gravel simulation to a Simulator-class (cSandSimulator) - Made Squid a little bit more funny and realistic, because it dies now when it´s not in water -Escaping mobs run now faster than normal (They just walked away before :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@125 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 1 | -4/+5 | |
- 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 | Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cpp | faketruth | 1 | -236/+3 | |
New generators should inherit cWorldGenerator and implement their own generation algorithms git-svn-id: http://mc-server.googlecode.com/svn/trunk@117 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed | faketruth | 1 | -7/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@115 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 | -21/+31 | |
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-22 | Digging leaves with shears now drops leaves | lapayo94@gmail.com | 1 | -4/+31 | |
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-11-15 | Changed chunk generation so any surface sand with air underneath it will turn into sandstone to prevent most sand cave-ins due to odd cave placement. | admin@omencraft.com | 1 | -12/+37 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@93 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support. | admin@omencraft.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@86 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-09 | Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations. | admin@omencraft.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@80 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-08 | Fixed bug in cChunk.cpp not calculating RedstoneCircuits at the correct positions. Also, forgot to mention you can now place colored wool. | admin@omencraft.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@75 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 | -4/+21 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@74 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 | -10/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-05 | Change SetBlock to FastSetBlock in cRedstone.cpp and grass will now grow if any one hit block is above it. | admin@omencraft.com | 1 | -6/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@65 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Fixed some "Entity was not found in any chunk!" warnings | faketruth | 1 | -10/+18 | |
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-01 | fixed player spawning in the ground. | admin@omencraft.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@42 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 | -33/+32 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-25 | Using SSE instructions for noise (terrain generation) | faketruth | 1 | -9/+9 | |
Unfortunately the noise functions is only like 7% faster, so you won't even notice git-svn-id: http://mc-server.googlecode.com/svn/trunk@9 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-21 | Compiles for linux | faketruth | 1 | -6/+9 | |
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/+1388 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |