Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cRoot::SaveAllChunks() doesn't wait for the save (deadlocks). | madmaxoft | 2013-11-15 | 1 | -1/+1 |
| | | | | Rather, it only queues the save task onto each world's tick thread. | ||||
* | Removed BlockEntities' constructors from the API. | madmaxoft | 2013-11-15 | 14 | -630/+30 |
| | | | | Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating). | ||||
* | Fixed growing issue with crops. | Samuel Barney | 2013-11-14 | 1 | -0/+6 |
| | |||||
* | Added cNoteEntity to Lua API. | madmaxoft | 2013-11-14 | 4 | -39/+171 |
| | | | | Ref. #228. | ||||
* | Exported cJukeboxEntity to Lua API. | madmaxoft | 2013-11-14 | 5 | -41/+180 |
| | | | | Ref. #228 | ||||
* | Added cSignEntity into API, added cChunkDesc:GetBlockEntity(). | madmaxoft | 2013-11-14 | 15 | -168/+495 |
| | | | | This fixes both #228 and #347. | ||||
* | Merge pull request #344 from marmot21/playerxp | Mattes D | 2013-11-14 | 6 | -752/+1158 |
|\ | | | | | PlayerXp | ||||
| * | fixed function name | Daniel O'Brien | 2013-11-14 | 1 | -1/+1 |
| | | |||||
| * | luaExport | Daniel O'Brien | 2013-11-14 | 3 | -5/+260 |
| | | |||||
| * | fixed comment | Daniel O'Brien | 2013-11-13 | 1 | -1/+1 |
| | | |||||
| * | changed function name | Daniel O'Brien | 2013-11-13 | 2 | -4/+4 |
| | | |||||
| * | minor changes | Daniel O'Brien | 2013-11-13 | 2 | -6/+6 |
| | | |||||
| * | changed name convention | Daniel O'Brien | 2013-11-13 | 2 | -5/+5 |
| | | |||||
| * | Fixed problems with code style etc | Daniel O'Brien | 2013-11-13 | 3 | -53/+90 |
| | | |||||
| * | Merge remote-tracking branch 'upstream/master' into playerxp | Daniel O'Brien | 2013-11-13 | 4 | -50/+157 |
| |\ | |||||
| * | | Player Xp, includes get/set and addExperience | Daniel O'Brien | 2013-11-13 | 1 | -1/+1 |
| | | | |||||
| * | | Player Xp, includes get/set and addExperience | Daniel O'Brien | 2013-11-13 | 1 | -1/+2 |
| | | | |||||
| * | | Player Xp | Daniel O'Brien | 2013-11-13 | 4 | -748/+861 |
| | | | |||||
* | | | Fix for NULL arithmetic compiler warning in Linux. | madmaxoft | 2013-11-13 | 2 | -4/+16 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/WolfUpdate' | madmaxoft | 2013-11-13 | 2 | -28/+36 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: source/Mobs/Wolf.h | ||||
| * | | | Now using a TickFollowPlayer function. | STRWarrior | 2013-11-12 | 2 | -46/+60 |
| | | | | |||||
| * | | | Removed #include "../Root.h" since it isn't needed. | STRWarrior | 2013-11-10 | 1 | -1/+0 |
| | | | | |||||
* | | | | Implemented the "help" console command in the server. | madmaxoft | 2013-11-13 | 1 | -1/+33 |
| | | | | | | | | | | | | | | | | Fixes #42. | ||||
* | | | | Console "reload" command implemented in MCServer, rather than in a plugin. | madmaxoft | 2013-11-13 | 2 | -0/+26 |
| | | | | | | | | | | | | | | | | First part of #42. | ||||
* | | | | cPluginManager:BindCommand() and :BindConsoleComman() now report full Lua stacktrace on failure. | madmaxoft | 2013-11-13 | 1 | -2/+6 |
| | | | | |||||
* | | | | Fixed compiler warning. | madmaxoft | 2013-11-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | PluginManager::Bind displays more information in the error message. | madmaxoft | 2013-11-13 | 1 | -2/+2 |
| |_|/ |/| | | |||||
* | | | Merge pull request #339 from nesco/master | Mattes D | 2013-11-13 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Bug correction | ||||
| * | | | Bug correction | nesco | 2013-11-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Syntax error | ||||
* | | | | Merge pull request #337 from nesco/master | Mattes D | 2013-11-13 | 4 | -49/+156 |
|\| | | | |_|/ |/| | | Updating enchantments list and ID/Metas List and some properties to the 1.7.2 version of Minecraft | ||||
| * | | compatibility update | nesco | 2013-11-13 | 1 | -3/+7 |
| | | | |||||
| * | | compatibility update | nesco | 2013-11-13 | 1 | -1/+3 |
| | | | |||||
| * | | Update Enchantments.cpp | nesco | 2013-11-13 | 1 | -2/+2 |
| | | | |||||
| * | | Update Enchantments.h | nesco | 2013-11-13 | 1 | -2/+2 |
| | | | |||||
| * | | Delete BiomeID.h | nesco | 2013-11-12 | 1 | -76/+0 |
| | | | |||||
| * | | Sorting by Name on g_BlockTransparent | nesco | 2013-11-12 | 1 | -4/+4 |
| | | | |||||
| * | | BiomeFile, if not needed, will be removed | nesco | 2013-11-12 | 1 | -0/+76 |
| | | | |||||
| * | | Update BlockID.cpp | nesco | 2013-11-12 | 1 | -1/+1 |
| | | | |||||
| * | | Corrected the comma error | nesco | 2013-11-12 | 1 | -2/+2 |
| | | | |||||
| * | | Update BlockID.cpp | nesco | 2013-11-12 | 1 | -3/+3 |
| | | | |||||
| * | | Update Enchantments.cpp | nesco | 2013-11-12 | 1 | -2/+2 |
| | | | |||||
| * | | Assigning properties to the blocks recently added. | nesco | 2013-11-12 | 1 | -10/+19 |
| | | | |||||
| * | | Update BlockID.h | nesco | 2013-11-12 | 1 | -2/+2 |
| | | | |||||
| * | | Replace tabs by spaces | nesco | 2013-11-12 | 1 | -35/+35 |
| | | | |||||
| * | | Update BlockID.h | nesco | 2013-11-12 | 1 | -0/+12 |
| | | | |||||
| * | | Update in progress to minecraft 1.7 | nesco | 2013-11-12 | 1 | -4/+82 |
| | | | |||||
| * | | Added the new enchantments of Minecraft 1.7 | nesco | 2013-11-12 | 1 | -1/+2 |
| | | | | | | | | | | | | -Luck of the sea -Lure | ||||
| * | | Added the new enchantments of Minecraft 1.7 | nesco | 2013-11-12 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | Added the following enchantments : Luck of the Sea : ID = 61 Lure : ID = 62 | ||||
* | | | Merge remote-tracking branch 'origin/fixes'. | madmaxoft | 2013-11-13 | 18 | -91/+264 |
|\ \ \ | |/ / |/| | | |||||
| * | | Bundled fixes [SEE DESC] | Tiger Wang | 2013-11-12 | 9 | -25/+147 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Bundled fixes [SEE DESC] | Tiger Wang | 2013-11-10 | 9 | -19/+24 |
| | | | | | | | | | | | | | | | | | | * Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery | ||||
| * | | Bundled fixes [SEE DESC] | Tiger Wang | 2013-11-10 | 8 | -44/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata | ||||
* | | | cWindow: Fixed item dupe glitch with painting (#278) | madmaxoft | 2013-11-12 | 1 | -2/+2 |
| | | | |||||
* | | | Fixed dblclicking in crafting slot area. | madmaxoft | 2013-11-11 | 2 | -0/+15 |
| | | | | | | | | | | | | Fixes #229. | ||||
* | | | Fixed cRoot::FindAndDoWithPlayer(). | madmaxoft | 2013-11-10 | 1 | -2/+2 |
| | | | | | | | | | | | | Now /kick and /ban work. | ||||
* | | | Protocol 1.7: Fixed crashes and d/c with bad packets. | madmaxoft | 2013-11-10 | 1 | -3/+3 |
| | | | | | | | | | | | | Fixes #332. | ||||
* | | | Merge pull request #330 from tonibm19/patch-1 | Mattes D | 2013-11-10 | 1 | -6/+9 |
|\ \ \ | | | | | | | | | Added sheep dyeing | ||||
| * | | | Fixes (SEE DESC) | tonibm19 | 2013-11-10 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | Entity metadata is broadcasted. If player is in survival, his equipped item is removed. If you have green dye, and sheep is green, your equipped item won't be removed. | ||||
| * | | | STR_Warrior was right. | tonibm19 | 2013-11-10 | 1 | -160/+1 |
| | | | | | | | | | | | | Simplified code. | ||||
| * | | | Fixed compilation | tonibm19 | 2013-11-10 | 1 | -3/+2 |
| | | | | |||||
| * | | | You can no longer color with wood | tonibm19 | 2013-11-10 | 1 | -158/+161 |
| | | | | |||||
| * | | | Added sheep dyeing | tonibm19 | 2013-11-10 | 1 | -2/+156 |
| | | | | |||||
* | | | | Removed #include "../Root.h" since it isn't needed. | STRWarrior | 2013-11-10 | 1 | -1/+0 |
| | | | | |||||
* | | | | Small code-style fixes. | madmaxoft | 2013-11-10 | 2 | -22/+32 |
| | | | | |||||
* | | | | Merge branch 'master' into WolfUpdate | madmaxoft | 2013-11-10 | 8 | -7/+180 |
|\ \ \ \ | |_|_|/ |/| | | | |||||
| * | | | Implemented inventory dblclick. | madmaxoft | 2013-11-10 | 4 | -5/+133 |
| | | | | | | | | | | | | | | | | Implements #229. | ||||
| * | | | Added cItem::GetMaxStackSize() | madmaxoft | 2013-11-10 | 4 | -2/+47 |
| |/ / | |||||
* | | | Renamed variables in cWolf. | STRWarrior | 2013-11-10 | 2 | -29/+29 |
| | | | |||||
* | | | Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks. | STRWarrior | 2013-11-10 | 3 | -7/+20 |
| | | | | | | | | | | | | You are able to dye the collar. | ||||
* | | | The owner object isn't stored anymore. Instead we use the name of the player. | STRWarrior | 2013-11-10 | 2 | -10/+24 |
| | | | | | | | | | | | | This means only players can now have a wolf, but it fixes the bug where when you log out the wolf isn't your wolf anymore. | ||||
* | | | Using cMonster::Tick instead of super::cMonster::Tick | STRWarrior | 2013-11-10 | 1 | -1/+1 |
| | | | |||||
* | | | Wolves can now be owned by an entity. | STRWarrior | 2013-11-10 | 2 | -17/+100 |
|/ / | | | | | | | | | | | | | | | | | They only sit when right clicked by their owner. They beg if the closest player has meat or bones in his hand. They follow their owner. They teleport to their owner if they are more then 30 blocks away. They don't attack players if they are not angry anymore. They don't move if they are sitting. | ||||
* | | Protocol 1.7: Attempt at fixing SoundParticleEffect packet. | madmaxoft | 2013-11-10 | 1 | -5/+3 |
| | | |||||
* | | Fixed Player animation packet. | madmaxoft | 2013-11-10 | 1 | -1/+1 |
|/ | | | | Fixes #329. | ||||
* | Removed cStringMap. | madmaxoft | 2013-11-09 | 8 | -264/+216 |
| | | | | It wasn't used for anything anymore. | ||||
* | Fixed cTracer's tolua markup. | madmaxoft | 2013-11-09 | 1 | -18/+38 |
| | | | | Cleaned up unneeded member variables. | ||||
* | Fixed sprinting in 1.7 protocol. | madmaxoft | 2013-11-08 | 1 | -1/+17 |
| | | | | Fixes #324 | ||||
* | Declaring 1.7.2 compatibility. | madmaxoft | 2013-11-08 | 2 | -2/+3 |
| | |||||
* | MobSpawner: Added skeleton and wolf conditions. | madmaxoft | 2013-11-08 | 1 | -19/+91 |
| | | | | This fixes the flood of warnings in the server console in Debug mode. | ||||
* | cProtocol::SendWindowOpen() signature changed. | madmaxoft | 2013-11-08 | 15 | -48/+59 |
| | | | | This implements #313. | ||||
* | Fixed code style. | madmaxoft | 2013-11-08 | 1 | -2/+2 |
| | |||||
* | Protocol 1.7: Fixed using entities. | madmaxoft | 2013-11-08 | 1 | -2/+1 |
| | | | | The mouse buttons were swapped. | ||||
* | Protocol 1.7: Copied Mob Metadata code from 1.2.5. | madmaxoft | 2013-11-08 | 3 | -19/+197 |
| | |||||
* | Merge pull request #321 from mc-server/1.7pickupsfix | Mattes D | 2013-11-08 | 2 | -5/+8 |
|\ | | | | | Fix for entity spawning in general | ||||
| * | Added hardcore client effect | Tiger Wang | 2013-11-07 | 2 | -2/+5 |
| | | | | | | | | Also fixed multiple world comments issue. | ||||
| * | Fix for entity spawning in general | Tiger Wang | 2013-11-07 | 1 | -3/+3 |
| | | |||||
* | | Changed variable name | tonibm19 | 2013-11-08 | 1 | -7/+6 |
| | | |||||
* | | Changed variable name | tonibm19 | 2013-11-08 | 1 | -2/+1 |
| | | |||||
* | | Now chicken drop eggs | tonibm19 | 2013-11-08 | 1 | -1/+6 |
| | | |||||
* | | Now chickens can drop eggs. | tonibm19 | 2013-11-08 | 1 | -3/+33 |
|/ | | | They drop an egg every 5 or 10 minutes. | ||||
* | Possible fix for 1.7 pickup spawning | Tiger Wang | 2013-11-07 | 1 | -1/+1 |
| | |||||
* | Protocol 1.7: Fixed the Spawn Mob packet. | madmaxoft | 2013-11-07 | 1 | -1/+1 |
| | | | | This should fix #318 | ||||
* | Protocol 1.7: Added the remaining server-bound packets. | madmaxoft | 2013-11-06 | 2 | -15/+99 |
| | |||||
* | Protocol 1.7: Added more server-bound packets. | madmaxoft | 2013-11-06 | 2 | -25/+138 |
| | |||||
* | Protocol 1.7: Finished the client-bound packets. | madmaxoft | 2013-11-06 | 1 | -7/+32 |
| | |||||
* | Made the cDeadlockDetect class work in clang. | madmaxoft | 2013-11-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #312 from SamJBarney/master | Mattes D | 2013-11-05 | 3 | -45/+38 |
|\ | | | | | Flowers, mushrooms and air are no longer collidable. | ||||
| * | More documentation. | Samuel Barney | 2013-11-05 | 1 | -1/+4 |
| | | |||||
| * | Added missing check for a_LineOfSight | Samuel Barney | 2013-11-05 | 1 | -1/+1 |
| | | |||||
| * | cTracer can now handle mob sight. | Samuel Barney | 2013-11-05 | 2 | -4/+10 |
| | | |||||
| * | Added more documentation. Changed cTracer::Trace to return a bool instead of an int because it was only returning 1 or 0 anyways. | Samuel Barney | 2013-11-05 | 2 | -7/+12 |
| | | |||||
| * | Moved cTracer::SetValues to be an internal function because it is only ever used in cTracer::Trace. | Samuel Barney | 2013-11-05 | 2 | -37/+16 |
| | | | | | | | | | | Removed SetValues from Bindings.cpp. Added some commenting to explain what each function does in cTracer. | ||||
| * | Reworked collision to use g_BlockIsSolid | Samuel Barney | 2013-11-05 | 1 | -15/+6 |
| | | |||||
| * | Flowers, mushrooms and air are no longer collidable. | Samuel Barney | 2013-11-05 | 1 | -6/+15 |
| | | |||||
* | | Merge pull request #309 from mc-server/configautogen | Mattes D | 2013-11-05 | 13 | -77/+101 |
|\ \ | | | | | | | Autogeneration of settings.ini and webadmin.ini | ||||
| * | | Implemented suggestions | Tiger Wang | 2013-11-05 | 6 | -24/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Reverted changes to WebAdmin.cpp IPv6 ports and Server.cpp server description + Added default value explicitly for HardCore value * Split PluginManager plugin defaults write to new function - Removed a commented block from BlockTorch and... + Added g_BlockIsTorchPlaceable to Defines.h | ||||
| * | | Removed settings/webadmin.example.ini files | Tiger Wang | 2013-11-04 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | Additionally, added some default plugins to autogeneration. Also moved nbt examples to docs/NBT Examples. | ||||
| * | | Autogeneration of settings.ini and webadmin.ini | Tiger Wang | 2013-11-04 | 11 | -65/+80 |
| | | | | | | | | | | | | Fixes issue #75 | ||||
* | | | Clarified cBlockHandler::ConvertToPickups() dox. | madmaxoft | 2013-11-05 | 1 | -1/+1 |
| | | | |||||
* | | | Protocol 1.7: More client-bound packets. | madmaxoft | 2013-11-05 | 1 | -17/+27 |
| | | | | | | | | | | | | Also removed the SendWholeInventory(cInventory &) function, as promised in prev commit. | ||||
* | | | Removed the obsolete SendWholeInventory(cInventory &) function. | madmaxoft | 2013-11-05 | 10 | -46/+2 |
| | | | | | | | | | | | | This won't compile because there's still a change in Protocol17x.cpp pending; the next commit will fix this. | ||||
* | | | Merge pull request #307 from mc-server/MobImprovements | Mattes D | 2013-11-05 | 10 | -10/+122 |
|\ \ \ | |/ / |/| | | Mob projectiles | ||||
| * | | Fixed indentation. | STRWarrior | 2013-11-05 | 2 | -0/+2 |
| | | | |||||
| * | | Skeleton, Ghast and Blaze's projectile code is now in their respective class. | STRWarrior | 2013-11-04 | 8 | -68/+91 |
| | | | |||||
| * | | Skeleton.cpp doesn't have to load ProjectileEntity.h and Entity.h. | STRWarrior | 2013-11-02 | 1 | -3/+0 |
| | | | |||||
| * | | Skeletons, Blazes and Ghasts now shoot their projectile to the target. | STRWarrior | 2013-11-02 | 1 | -5/+63 |
| | | | |||||
| * | | Zombies and Skeletons don't walk into the sun anymore. | STRWarrior | 2013-11-02 | 4 | -0/+32 |
| | | | |||||
* | | | Protocol 1.7: Added more client-bound packets. | madmaxoft | 2013-11-04 | 2 | -15/+166 |
| |/ |/| | | | | | Untested, still more to come. | ||||
* | | Protocol 1.7: Added client status packet. | madmaxoft | 2013-11-03 | 1 | -1/+22 |
| | | |||||
* | | Merge pull request #306 from tigerw/master | Mattes D | 2013-11-03 | 1 | -2/+2 |
|\ \ | | | | | | | Flipped some variables in Portals | ||||
| * | | Flipped some variables in Portals | Tiger Wang | 2013-11-02 | 1 | -2/+2 |
| | | | | | | | | | | | | To make them work on the X axis. | ||||
* | | | Protocol 1.7: Rewritten packet-sending to use cPacketizer. | madmaxoft | 2013-11-03 | 2 | -166/+402 |
| | | | | | | | | | | | | Implemented enough of the protocol that the client now spawns in the world (but cannot do anything). | ||||
* | | | cByteBuffer: Fixed GetUsedSpace() off-by-one error. | madmaxoft | 2013-11-03 | 1 | -1/+1 |
| | | | |||||
* | | | ClientHandle: Fixed an error in player-joining hook. | madmaxoft | 2013-11-03 | 1 | -2/+2 |
| | | | | | | | | | | | | Players being disconnected used to fire the PlayerJoined hook repeatedly. | ||||
* | | | Added cEntity:GetYaw() and cEntity:SetYaw(). | madmaxoft | 2013-11-03 | 4 | -6/+108 |
| | | | | | | | | | | | | This is the preferred way to get / set rotation, GetRotation() and SetRotation is obsoleted due to bad name. | ||||
* | | | Added cPlayer::GetEffectiveGameMode(). | madmaxoft | 2013-11-03 | 1 | -0/+4 |
|/ / | |||||
* | | Merge pull request #303 from tigerw/bugfixes | Mattes D | 2013-11-02 | 3 | -2/+298 |
|\ \ | | | | | | | Nether portal creation | ||||
| * | | Split border finder into separate function | Tiger Wang | 2013-11-02 | 1 | -10/+16 |
| | | | |||||
| * | | Implement suggestions | Tiger Wang | 2013-11-02 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | - Removed unneeded parameter * Changed 0 - 1 to -1 | ||||
| * | | Readded BlockPortal.h (portals) | Tiger Wang | 2013-11-02 | 2 | -0/+110 |
| | | | |||||
| * | | Fixed compile error (portals) | Tiger Wang | 2013-11-02 | 1 | -2/+182 |
| | | | | | | | | | | | | WITH A FULL REFORK | ||||
* | | | Fixed bow damage in creative | Tiger Wang | 2013-11-02 | 2 | -2/+6 |
| | | | | | | | | | | | | Also reverted indenting change | ||||
* | | | Fixed dropspensing speed and position | Tiger Wang | 2013-11-02 | 1 | -1/+22 |
| | | | |||||
* | | | Multiple fixes | Tiger Wang | 2013-11-02 | 4 | -12/+17 |
|/ / | | | | | | | | | | | * Fixed #282 * Fixed bow not taking damage * Enhanced Player.cpp code | ||||
* | | Protocol 1.7: Implemented the first batch of sent packets. | madmaxoft | 2013-11-01 | 6 | -3/+658 |
| | | |||||
* | | Merge branch 'master' of https://github.com/mc-server/MCServer | madmaxoft | 2013-11-01 | 1 | -0/+8 |
|\ \ | |||||
| * \ | Merge pull request #302 from SamJBarney/master | Mattes D | 2013-10-31 | 1 | -0/+8 |
| |\ \ | | | | | | | | | Broken rail blocks now stack. | ||||
| | * | | Adhering to project standards. | Samuel Barney | 2013-10-31 | 1 | -1/+6 |
| | | | | |||||
| | * | | Added missing conventions for windows. | Samuel Barney | 2013-10-31 | 1 | -1/+1 |
| | | | | |||||
| | * | | Broken rail blocks now stack. | Samuel Barney | 2013-10-30 | 1 | -0/+3 |
| | | | | |||||
* | | | | Merge branch 'griefer'sdelight' of git://github.com/tigerw/MCServer. | madmaxoft | 2013-11-01 | 1 | -1/+18 |
|\ \ \ \ | |||||
| * | | | | TNT Spawns Pickups | Tiger Wang | 2013-10-24 | 1 | -1/+15 |
| | | | | | | | | | | | | | | | | | | | | Fixes FS#397. | ||||
* | | | | | Protocol 1.7: Added skeleton functions for reading client packets. | madmaxoft | 2013-10-31 | 2 | -20/+349 |
| | | | | | | | | | | | | | | | | | | | | Untested, this is skeleton code only. | ||||
* | | | | | ByteBuffer: Writing a string doesn't modify it (missing const). | madmaxoft | 2013-10-31 | 2 | -3/+3 |
| |/ / / |/| | | | |||||
* | | | | Protocol 1.7: Added status ping handling. | madmaxoft | 2013-10-30 | 2 | -0/+27 |
| | | | | |||||
* | | | | Fixed a compiler warning. | madmaxoft | 2013-10-30 | 1 | -26/+31 |
| |/ / |/| | | | | | | | | Also updated code to match our style. | ||||
* | | | Merge pull request #292 from SamJBarney/MobSpawning | Mattes D | 2013-10-30 | 7 | -88/+157 |
|\ \ \ | | | | | | | | | Mob Spawning based on light values | ||||
| * | | | Last of the nitpicker note fixes. Added some inline commenting. | Samuel Barney | 2013-10-30 | 1 | -0/+1 |
| | | | | |||||
| * | | | Changes based on madmaxoft's nitpicker notes. | Samuel Barney | 2013-10-29 | 5 | -19/+16 |
| | | | | |||||
| * | | | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. | Samuel Barney | 2013-10-29 | 7 | -17/+73 |
| | | | | |||||
| * | | | Merge branch 'master' of https://github.com/SamJBarney/MCServer into MobSpawning | Samuel Barney | 2013-10-28 | 32 | -729/+534 |
| |\ \ \ | |||||
| * | | | | Got spiders and other mobs respecting night and day for spawning | Samuel Barney | 2013-10-28 | 3 | -14/+23 |
| | | | | | |||||
| * | | | | Made mob spawning code use the chunk so that it could use varying sizes of areas for different mobs. | Samuel Barney | 2013-10-28 | 3 | -52/+79 |
| | | | | | |||||
| * | | | | Disabling Endermen and spiders until I rework the CanSpawnHere to take a chunk and a position. | Samuel Barney | 2013-10-26 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | Moving spawning position to the center of the block. | Samuel Barney | 2013-10-26 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | Checked Endermen; they work; adding them back in. | Samuel Barney | 2013-10-25 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Fixed mob spawning so that hostile mobs will not spawn incorrectly. | Samuel Barney | 2013-10-25 | 1 | -68/+38 |
| | | | | | |||||
| * | | | | Using provided UnboundedRelGetBlockBlockLight and UnboundedRelGetBlockSkyLight. | Samuel Barney | 2013-10-24 | 1 | -5/+3 |
| | | | | | |||||
| * | | | | Merge branch 'master' of https://github.com/SamJBarney/MCServer into MobSpawning | Samuel Barney | 2013-10-24 | 14 | -382/+340 |
| |\ \ \ \ | |||||
| * | | | | | Removed my hackish Light functions | Samuel Barney | 2013-10-24 | 2 | -98/+0 |
| | | | | | | |||||
| * | | | | | Bats only spawn where there is no sunlight, and the light level is below 5 | Samuel Barney | 2013-10-23 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Invalid light value is now 127 | Samuel Barney | 2013-10-23 | 1 | -5/+5 |
| | | | | | | |||||
| * | | | | | Added two new unbounded del functions to deal with looking up the lighting. | Samuel Barney | 2013-10-21 | 2 | -11/+103 |
| | | | | | | |||||
| * | | | | | Swapped which block is checked for light first. | Samuel Barney | 2013-10-21 | 1 | -4/+4 |
| | | | | | | |||||
| * | | | | | Current Mob Spawning code. | Samuel Barney | 2013-10-21 | 3 | -22/+37 |
| | | | | | | |||||
* | | | | | | Added 1.7 to protocol recognizer. | madmaxoft | 2013-10-30 | 6 | -11/+447 |
| | | | | | | | | | | | | | | | | | | | | | | | | The 1.7 protocol currently only reports server description and playercount. | ||||
* | | | | | | Merge pull request #301 from SamJBarney/master | Mattes D | 2013-10-29 | 1 | -2/+2 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Grass no longer grows under water, and water on top kills it. | ||||
| * | | | | | | Grass no longer grows under water, and water on top kills it. | Samuel Barney | 2013-10-29 | 1 | -2/+2 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #299 from tonibm19/master | Mattes D | 2013-10-29 | 3 | -3/+19 |
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | Saddles are dropped, chicken spawn out of thrown eggs. | ||||
| * | | | | | | Using tabs | tonibm19 | 2013-10-29 | 1 | -2/+2 |
| | | | | | | | |||||
| * | | | | | | fixed indentation | tonibm19 | 2013-10-28 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | extra line | tonibm19 | 2013-10-28 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | attempt at fixing indentation | tonibm19 | 2013-10-28 | 1 | -3/+2 |
| | | | | | | | |||||
| * | | | | | | Extra line | tonibm19 | 2013-10-28 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Fixed indentation | tonibm19 | 2013-10-28 | 1 | -5/+2 |
| | | | | | | | |||||
| * | | | | | | Added random chicken spawn when throwing an egg | tonibm19 | 2013-10-28 | 1 | -2/+13 |
| | | | | | | | |||||
| * | | | | | | Now saddled horses spawn a saddle pickup when killed | tonibm19 | 2013-10-28 | 1 | -1/+4 |
| | | | | | | | |||||
| * | | | | | | Now saddle pigs spawn a saddle pickup when killed | tonibm19 | 2013-10-28 | 1 | -0/+4 |
| | | | | | | | |||||
* | | | | | | | Changed GameMode() == 1 to IsGameModeCreative in AggressiveMonster.cpp and ClientHandle.cpp | STRWarrior | 2013-10-29 | 2 | -2/+2 |
| |/ / / / / |/| | | | | | |||||
* | | | | | | Fixed bug where creative inventory didn't work. | STRWarrior | 2013-10-29 | 1 | -1/+1 |
| |_|_|/ / |/| | | | | |||||
* | | | | | MC uses VarInts only up to 32-bits. | madmaxoft | 2013-10-28 | 2 | -13/+13 |
| | | | | | |||||
* | | | | | cByteBuffer: Added the VarInt and VarUTF8String type reading and writing. | madmaxoft | 2013-10-28 | 2 | -5/+147 |
|/ / / / | | | | | | | | | | | | | This implements #296. | ||||
* | | | | Fixed indentation in tonibm19's code. | madmaxoft | 2013-10-28 | 1 | -3/+3 |
| | | | | |||||
* | | | | Merge pull request #294 from tonibm19/patch-3 | Mattes D | 2013-10-28 | 1 | -2/+5 |
|\ \ \ \ | | | | | | | | | | | Correct wool drops when shearing a sheep. | ||||
| * | | | | Fixed compilation | tonibm19 | 2013-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | STR_Warrior code had an error (I copied&pasted it before) | ||||
| * | | | | Use STR_Warrior code and changed variable name | tonibm19 | 2013-10-28 | 1 | -17/+4 |
| | | | | | |||||
| * | | | | Extra line | tonibm19 | 2013-10-27 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Sheep fixes. | tonibm19 | 2013-10-27 | 1 | -4/+19 |
| | | | | | | | | | | | | | | | | | | | | Now amount of wool you get when shearing a sheep is random. Sheeps only spawn in white color (I will add sheep dying soon). | ||||
* | | | | | Renamed cWindow constants to include the "wt" prefix. | madmaxoft | 2013-10-28 | 8 | -40/+40 |
|/ / / / | |||||
* | | | | Added cChunk::UnboundedRelGetBlockLights(). | madmaxoft | 2013-10-27 | 2 | -0/+28 |
| | | | | | | | | | | | | | | | | This queries both BlockLight and SkyLight for the specified block. | ||||
* | | | | Authenticator doesn't save the ini file. | madmaxoft | 2013-10-27 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | Didn't load it -> shouldn't save it. | ||||
* | | | | Merge branch 'origin/LoadWorlds/cAuthenticatorINI' | madmaxoft | 2013-10-27 | 4 | -18/+9 |
|\ \ \ \ | |||||
| * | | | | Changed "cIniFile IniFile" to cIniFile & IniFile" | STRWarrior | 2013-10-26 | 4 | -6/+6 |
| | | | | | |||||
| * | | | | Both the LoadWorlds() function and cAuthenticator now use the cIniFile object from the Root::Start() function. | STRWarrior | 2013-10-26 | 4 | -17/+9 |
| | | | | | |||||
* | | | | | Merge branch 'IniFileCleanup' | madmaxoft | 2013-10-26 | 12 | -608/+200 |
|\ \ \ \ \ | |||||
| * | | | | | cIniFile: Renamed functions to make meaning more explicit. | madmaxoft | 2013-10-25 | 4 | -417/+159 |
| | | | | | | | | | | | | | | | | | | | | | | | | For example KeyComment() -> GetKeyComment() / AddKeyComment() | ||||
| * | | | | | cIniFile doesn't store filename internally anymore. | madmaxoft | 2013-10-25 | 12 | -193/+43 |
| |/ / / / | |||||
* / / / / | cMonster: Improved doxycomments. | madmaxoft | 2013-10-25 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | Renamed cMonster::GetSpawnRate() to GetSpawnDelay(). | madmaxoft | 2013-10-24 | 5 | -35/+76 |
| | | | | |||||
* | | | | cPickup cleanup. | madmaxoft | 2013-10-24 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fixed cPickup's constructor's parameter naming. | madmaxoft | 2013-10-24 | 2 | -3/+3 |
| | | | | |||||
* | | | | Cleanup in cPlayer. | madmaxoft | 2013-10-24 | 1 | -2/+4 |
| | | | | |||||
* | | | | Unified cPlayer's Heal() function with cEntity's. | madmaxoft | 2013-10-24 | 2 | -11/+11 |
| | | | | |||||
* | | | | Merge pull request #286 from tigerw/pickupdelay | Alexander Harkness | 2013-10-24 | 7 | -13/+19 |
|\ \ \ \ | |_|/ / |/| | | | Pickups now have collection delay when vomited | ||||
| * | | | Pickups now have collection delay when vomited | Tiger Wang | 2013-10-24 | 7 | -13/+19 |
| | |/ | |/| | | | | | | | Implements FS#394. | ||||
* | | | Fixed cLuaWindow's binding. | madmaxoft | 2013-10-23 | 3 | -25/+6 |
| | | | | | | | | | | | | No longer exporting multiple inheritance. | ||||
* | | | Fixed bindings for cHopperEntity:GetOutputBlockPos(). | madmaxoft | 2013-10-23 | 4 | -51/+48 |
| | | | |||||
* | | | Fixed cDropSpenserEntity bindings generating an extra var. | madmaxoft | 2013-10-23 | 3 | -30/+11 |
| | | | | | | | | | | | | Caused by inadvertently exporting multiple-inheritance from a class that is not Lua-exported. | ||||
* | | | Exported cHopperEntity to API. | madmaxoft | 2013-10-23 | 4 | -21/+157 |
| | | | | | | | | | | | | This allows hoppers to be created by plugins during chunk generation. | ||||
* | | | Removed cRoot:m_PrimaryServerVersion from Lua API. | madmaxoft | 2013-10-23 | 4 | -41/+10 |
| | | | | | | | | | | | | We have the accessor methods for it. | ||||
* | | | Temporary fix for world not locking chunkmap in TickMobs. | madmaxoft | 2013-10-22 | 1 | -0/+3 |
| | | | | | | | | | | | | Reported as #283; this is a hotfix only. | ||||
* | | | Fixed an assert in cMonster | madmaxoft | 2013-10-22 | 1 | -2/+2 |
| | | | |||||
* | | | Implemented UnboundedRel BlockLight and SkyLight. | madmaxoft | 2013-10-22 | 2 | -258/+124 |
| | | | | | | | | | | | | Also unified the various UnboundedRel operations to use the same underlying structure. | ||||
* | | | Added ASSERTs to all ChunkDef operations. | madmaxoft | 2013-10-21 | 1 | -15/+40 |
| |/ |/| | | | | | This should avoid errors such as #276. | ||||
* | | Fixed GetHTMLEscapedString() binding, removed obsolete memory function from API. | madmaxoft | 2013-10-21 | 4 | -57/+13 |
| | | |||||
* | | Fixed memory leak in cMobFamilyCollecter. | madmaxoft | 2013-10-20 | 3 | -52/+21 |
| | | |||||
* | | Reimplemented cMonster::FamilyFromType() as a simple switch (duh!) | madmaxoft | 2013-10-20 | 1 | -38/+27 |
| | | |||||
* | | Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster. | madmaxoft | 2013-10-20 | 7 | -89/+96 |
| | | |||||
* | | Fixed binary search in StringToMobType(). | madmaxoft | 2013-10-20 | 1 | -3/+3 |
| | | |||||
* | | Fixed memory leaks in cMobSpawner. | madmaxoft | 2013-10-20 | 3 | -62/+55 |
| | | |||||
* | | Moved all MobTypesManager functions to cMonster. | madmaxoft | 2013-10-20 | 8 | -290/+351 |
| | | | | | | | | This removes some of the memory leaks and is more logical in structure. Also the functions are exported to Lua. | ||||
* | | Rewritten MobTypesManager not to leak memory. | madmaxoft | 2013-10-20 | 2 | -126/+112 |
| | | |||||
* | | Fixed loading allowed mobs in world. | madmaxoft | 2013-10-20 | 43 | -161/+320 |
| | | |||||
* | | Merge branch 'htmlescape'. | madmaxoft | 2013-10-20 | 3 | -51/+85 |
|\ \ | |||||
| * | | Added a string reserve. | Alexander Harkness | 2013-10-19 | 1 | -0/+1 |
| | | | |||||
| * | | Fixed compile error. silly parentheses creeping in. | Alexander Harkness | 2013-10-19 | 1 | -1/+1 |
| | | | |||||
| * | | Changed the code according to xoft's suggestions. | Alexander Harkness | 2013-10-19 | 1 | -10/+10 |
| | | | |||||
| * | | Fixed general failings with everything. Fixes #211. | Alexander Harkness | 2013-10-19 | 2 | -15/+16 |
| | | | | | | | | | | | | My editor fixed some extra tabs in globals. | ||||
| * | | Added a HTML escaping function to cWebAdmin. | Alexander Harkness | 2013-10-19 | 2 | -38/+80 |
|/ / | | | | | | | Apparently my editor fixed some failed tabs too. | ||||
* | | Adapted code style. | madmaxoft | 2013-10-18 | 5 | -85/+157 |
| | | |||||
* | | StringToItem() recognizes "ItemName:Dmg" strings. | madmaxoft | 2013-10-18 | 1 | -18/+21 |
| | | | | | | | | This allows commands such as "/i woodenshovel:40" | ||||
* | | Fixed item-breaking. | madmaxoft | 2013-10-18 | 1 | -1/+1 |
| | | | | | | | | This fixes #232. | ||||
* | | Fixed indentation and re-styled conditions. | madmaxoft | 2013-10-18 | 1 | -38/+44 |
| | | |||||
* | | Merge pull request #259 from tonibm19/patch-2 | Mattes D | 2013-10-18 | 1 | -30/+38 |
|\ \ | | | | | | | Fixed horse saddle | ||||
| * | | Moved lines | tonibm19 | 2013-10-17 | 1 | -16/+17 |
| | | | | | | | | | don't know if I did well | ||||
| * | | More fixes | tonibm19 | 2013-10-17 | 1 | -3/+8 |
| | | | | | | | | | | | | - You can only tame horses with nothing at hand - Fixed rearing | ||||
| * | | Improved horse saddling [SEE DESC] | tonibm19 | 2013-10-16 | 1 | -32/+32 |
| | | | | | | | | | Now it checks if horse is already saddled, and if it's, you don't lose the saddle. Also, if the horse isn't tammed, you can't saddle it. | ||||
| * | | Added extra line | tonibm19 | 2013-10-15 | 1 | -0/+1 |
| | | | |||||
| * | | Fixed saddle horse | tonibm19 | 2013-10-15 | 1 | -4/+5 |
| |/ | |||||
* | | Fixed webadmin logging. | madmaxoft | 2013-10-18 | 3 | -3/+17 |
| | | | | | | | | This fixes #262. | ||||
* | | Merge pull request #253 from SamJBarney/master | Mattes D | 2013-10-18 | 28 | -227/+1329 |
|\ \ | | | | | | | Merge of Mob Spawning code by mgueydan | ||||
| * | | Removed reading default values from settings.ini for worlds. | Samuel Barney | 2013-10-14 | 1 | -10/+1 |
| | | | |||||
| * | | General fixes to get the new Monster spawning code working. | Samuel Barney | 2013-10-14 | 1 | -6/+17 |
| | | | | | | | | | | | | Also wrote in some code to use the default settings for monsters located in settings.ini | ||||
| * | | Merge branch 'MobSpawning' of https://github.com/mgueydan/MCServer into MobSpawning | Samuel Barney | 2013-10-14 | 28 | -227/+1325 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Mobs/Bat.h source/Mobs/Monster.h source/World.cpp | ||||
| | * \ | Merge branch 'master' into MobSpawning | mgueydan | 2013-09-22 | 23 | -182/+2361 |
| | |\ \ | |||||
| | * | | | Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancy | mgueydan | 2013-09-10 | 11 | -29/+9 |
| | | | | | |||||
| | * | | | Changing Bat to AMbiant creature | mgueydan | 2013-09-10 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | replacing dynamic_cast by c-style cast | mgueydan | 2013-09-09 | 1 | -11/+4 |
| | | | | | |||||
| | * | | | replacing C-style cast by dynamic_cast | mgueydan | 2013-09-08 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Replacing chunCk by chunk | mgueydan | 2013-09-08 | 5 | -12/+12 |
| | | | | | |||||
| | * | | | replacing asserts by ASSERTs | mgueydan | 2013-09-08 | 3 | -6/+10 |
| | | | | | |||||
| | * | | | removing an assert + correcting a distance calculation bug | mgueydan | 2013-09-08 | 1 | -3/+9 |
| | | | | | |||||
| | * | | | renaming the cChunk::getRandomBlock method + removing a buggy working log | mgueydan | 2013-09-08 | 3 | -6/+3 |
| | | | | | |||||
| | * | | | Adding mobtype filter inside world.ini | mgueydan | 2013-09-08 | 2 | -9/+15 |
| | | | | | |||||
| | * | | | Adding glue to call everything done in last commits - now the mobs are spawning | mgueydan | 2013-09-08 | 3 | -140/+135 |
| | | | | | |||||
| | * | | | Disabeling current mob spawning and tick | mgueydan | 2013-09-08 | 3 | -8/+13 |
| | | | | | |||||
| | * | | | Implementing the MobSpawner (not used yet) that contains spawning rules | mgueydan | 2013-09-08 | 5 | -9/+384 |
| | | | | | |||||
| | * | | | Adding an Empty shell that would launch mob spawner - not called yet | mgueydan | 2013-09-08 | 5 | -3/+109 |
| | | | | | |||||
| | * | | | Adding mob census (sorry this is a big commit as work was done before git integration i couldn't split it more) | mgueydan | 2013-09-07 | 14 | -0/+622 |
| | | | | | |||||
| | * | | | Adding a getType in Monster that return an enum instead of an int or char | mgueydan | 2013-09-07 | 1 | -1/+2 |
| | | | | | |||||
| | * | | | relockating mobs includes (they probably will end somewhere else in order not to recompile world each time you update a mob) | mgueydan | 2013-09-07 | 2 | -23/+24 |
| | | | | | |||||
| | * | | | Adding Family for monsters : Hostile/Passive/Water/Ambient | mgueydan | 2013-09-07 | 9 | -6/+56 |
| | | | | | |||||
| | * | | | Adding Water and Lava as transparency blocks | mgueydan | 2013-09-07 | 1 | -0/+4 |
| | | | | | |||||
| * | | | | Merge branch 'master' of https://github.com/mc-server/MCServer | Samuel Barney | 2013-10-14 | 45 | -132/+1115 |
| |\ \ \ \ | |||||
| * | | | | | Mobs no longer spawn up in the air. | Samuel Barney | 2013-10-14 | 1 | -0/+2 |
| | | | | | | |||||
* | | | | | | Fixed compilation errors. | madmaxoft | 2013-10-16 | 1 | -2/+6 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Fixed a big fail.I did | tonibm19 | 2013-10-15 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Added extra line (yes, again) | tonibm19 | 2013-10-15 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Added basic milk code. | tonibm19 | 2013-10-15 | 1 | -5/+12 |
| | | | | | |||||
* | | | | | Added extra line | tonibm19 | 2013-10-15 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Added horse saddling | tonibm19 | 2013-10-15 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | It uses pig code, sorry if it don't works, i'm a noob, but it should work. | ||||
* | | | | | Update BlockID.cpp | Sofapriester | 2013-10-15 | 1 | -1/+1 |
| |/ / / |/| | | | | | | | | | | | | | | | | | | | Added g_BlockIsTorchPlaceable[E_BLOCK_STONE_BRICKS] = true; -> this should fix Issue #254 -> Please check if ok Thx | ||||
* | | | | WebAdmin honors the [WebAdmin].Enable setting. | madmaxoft | 2013-10-13 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | This fixes #234. | ||||
* | | | | Fixed WebAdmin's request parameters. | madmaxoft | 2013-10-13 | 4 | -7/+41 |
| | | | | | | | | | | | | | | | | Also added doxycomments on what they really contain. | ||||
* | | | | Merge branch 'metadata' of git://github.com/tigerw/MCServer into tigerw-metadata. | madmaxoft | 2013-10-13 | 38 | -121/+976 |
|\ \ \ \ | |||||
| * | | | | Eight round of fixes | Tiger Wang | 2013-10-13 | 6 | -29/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed IsA() to *long if statement* - Removed deprecated values in Entity.h - to blazes with the plugins! * Renamed villager type enumerations to be LESS SHOUTY and more vt-y + Use vtMax for World.cpp testificate spawning | ||||
| * | | | | Seventh round of fixes | Tiger Wang | 2013-10-13 | 1 | -21/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed arrows not critical-effecting because they were in MOBS! (derp) * Used cMonster::mtXX as per xoft's suggestions | ||||
| * | | | | Sixth round of fixes | Tiger Wang | 2013-10-11 | 2 | -4/+9 |
| | | | | | | | | | | | | | | | | | | | | * Made horse rearing time fixed instead of random | ||||
| * | | | | Fifth round of fixes | Tiger Wang | 2013-10-11 | 3 | -7/+22 |
| | | | | | | | | | | | | | | | | | | | | * Enumerated Villager spawning | ||||
| * | | | | Fourth round of fixes | Tiger Wang | 2013-10-11 | 2 | -135/+153 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Switchified WriteMobMetadata * Renamed Horse functions to be better | ||||
| * | | | | Third round of fixes | Tiger Wang | 2013-10-11 | 8 | -82/+106 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Split WriteMetadata into three functions for common, entity, and mob * Edited a few mob sizes to Vanilla values | ||||
| * | | | | Second round of fixes | Tiger Wang | 2013-10-09 | 17 | -112/+140 |
| | | | | | | | | | | | | | | | | | | | | * Implemented suggestions | ||||
| * | | | | Initial round of fixes | Tiger Wang | 2013-10-08 | 4 | -25/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed intentional misspelling of baby! :D * Better chested horse bool name * Fixed some weird continuity issues with my recent changes not being pushed up initially * Fixed derpy hexadecimal values | ||||
| * | | | | Initial Metadata Commit [SEE DESC] | Tiger Wang | 2013-10-08 | 22 | -95/+710 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned | ||||
* | | | | | Merge pull request #226 from SamJBarney/master | Mattes D | 2013-10-13 | 1 | -1/+7 |
|\ \ \ \ \ | | |/ / / | |/| | | | Crop blocks now respect light. | ||||
| * | | | | Removed faulty code dealing with water. | Samuel Barney | 2013-10-13 | 1 | -3/+2 |
| | | | | | |||||
| * | | | | Crop blocks now respect water and light. Currently a block has to be "watered" or the crop has a chance of breaking anyways. | Samuel Barney | 2013-10-12 | 1 | -1/+8 |
| | | | | | |||||
* | | | | | Re-added the cWorld:GetSignLines() to the API. | madmaxoft | 2013-10-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | Somehow this got lost somewhere. | ||||
* | | | | | Added 1.7 biome constants. | madmaxoft | 2013-10-12 | 2 | -2/+89 |
|/ / / / | |||||
* | | | | Fix: Wrong arg name | Samuel Barney | 2013-10-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #224 from tonibm19/patch-7 | Mattes D | 2013-10-12 | 1 | -3/+24 |
|\ \ \ \ | | | | | | | | | | | Added Horses, Blazes and EnderDragons spawning. | ||||
| * | | | | Added more ghast spawning probability | tonibm19 | 2013-10-12 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Added extra line | tonibm19 | 2013-10-12 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Mob spawning changes | tonibm19 | 2013-10-12 | 1 | -4/+24 |
| | | | | | | | | | | | | | | | Added EnderDragon, Blaze and Horse spawning. | ||||
* | | | | | Fixed and exported cWorld:QueueTask(). | madmaxoft | 2013-10-12 | 4 | -3/+105 |
|/ / / / | | | | | | | | | | | | | This implements #220. | ||||
* | | | | Fixed second logger constructor. | madmaxoft | 2013-10-12 | 2 | -22/+43 |
| | | | | |||||
* | | | | CompoGen and HeiGen read their settings in their respective Initialize() functions. | madmaxoft | 2013-10-11 | 8 | -92/+199 |
| | | | | |||||
* | | | | Added GetIniItemSet() function. | madmaxoft | 2013-10-11 | 4 | -8/+73 |
| | | | | | | | | | | | | | | | | It reads a block / item description from the specified INI file value and returns as cItem; stores and uses the default if value doesn't exist. | ||||
* | | | | Generator: Renamed cBiomeGenerator's Initialize() to InitializeBiomeGen(). | madmaxoft | 2013-10-10 | 4 | -19/+19 |
| | | | | | | | | | | | | | | | | This will allow initializing generators that implement both cBiomeGenerator and other generators. | ||||
* | | | | Fixed cFile::CopyFile Linux compilation. | madmaxoft | 2013-10-09 | 1 | -7/+3 |
| | | | | |||||
* | | | | APIDump: Documented the new cFile API functions. | madmaxoft | 2013-10-09 | 1 | -2/+2 |
| | | | | |||||
* | | | | Moved cMakeDir::MakeDir to cFile::CreateFolder. | madmaxoft | 2013-10-09 | 11 | -62/+66 |
| | | | | | | | | | | | | | | | | And exported to Lua. | ||||
* | | | | Added static cFile functions to Lua API. | madmaxoft | 2013-10-09 | 6 | -16/+320 |
| | | | | |||||
* | | | | Fixed warning in cFireSimulator. | madmaxoft | 2013-10-09 | 1 | -13/+8 |
| | | | | | | | | | | | | | | | | All code paths now have a return value. | ||||
* | | | | Implemented the two memory-statistics functions in cRoot. | madmaxoft | 2013-10-08 | 5 | -57/+185 |
| | | | | | | | | | | | | | | | | This fixes #185. cWebAdmin::GetMemoryUsage() is accessible but deprecated (with a warning output to the screen). | ||||
* | | | | Cleaned up cEntity's enums. | madmaxoft | 2013-10-08 | 3 | -43/+22 |
| | | | | | | | | | | | | | | | | Several were obsoleted and unused, others weren't supposed to be exported to the Lua API. | ||||
* | | | | Merge pull request #208 from mc-server/NewWebServer | Mattes D | 2013-10-07 | 23 | -312/+3142 |
|\ \ \ \ | | | | | | | | | | | New web server | ||||
| * | | | | Fixed memory leaks in the HTTP framework | madmaxoft | 2013-10-06 | 5 | -6/+43 |
| | | | | | |||||
| * | | | | cListenThread: Fixed thread termination. | madmaxoft | 2013-10-06 | 1 | -1/+4 |
| | | | | | |||||
| * | | | | Added proper shutdown to HTTPServer. | madmaxoft | 2013-10-06 | 2 | -0/+10 |
| | | | | | |||||
| * | | | | Merge branch 'master' into NewWebServer | madmaxoft | 2013-10-06 | 15 | -107/+274 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | This should simplify merging | ||||
| * | | | | | Removed remnants of the old webserver. | madmaxoft | 2013-10-06 | 2 | -32/+2 |
| | | | | | | |||||
| * | | | | | WebAdmin uses the new HTTP functionality. | madmaxoft | 2013-10-05 | 10 | -301/+414 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is a partial implementation of #183. | ||||
| * | | | | | Fixed Base64Decode() returning wrong value. | madmaxoft | 2013-10-05 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | cHTTPConnection sends Content-Length with HTTP errors, too. | madmaxoft | 2013-10-05 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Added Basic auth support to cHTTPRequest. | madmaxoft | 2013-10-04 | 7 | -1/+136 |
| | | | | | | |||||
| * | | | | | HTTP Server can now parse multipart/form-data forms; better architecture. | madmaxoft | 2013-10-04 | 7 | -185/+318 |
| | | | | | | |||||
| * | | | | | Fixed MultiPartParser's boundary parsing. | madmaxoft | 2013-10-04 | 2 | -1/+2 |
| | | | | | | |||||
| * | | | | | Added cEnvelopeParser and cMultipartParser. | madmaxoft | 2013-10-04 | 4 | -0/+532 |
| | | | | | | |||||
| * | | | | | Added cNameValueParser. | madmaxoft | 2013-10-04 | 2 | -0/+482 |
| | | | | | | |||||
| * | | | | | Added StrToLower(), URLDecode() and ReplaceAllCharOccurrences(). | madmaxoft | 2013-10-04 | 2 | -0/+20 |
| | | | | | | |||||
| * | | | | | Improved the HTTPFormParser code. | madmaxoft | 2013-09-28 | 2 | -57/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | No change to the functionality. | ||||
| * | | | | | Fixed recognition of multipart-form-data forms. | madmaxoft | 2013-09-28 | 2 | -2/+3 |
| | | | | | | |||||
| * | | | | | Created basic cHTTPFormParser. | madmaxoft | 2013-09-28 | 5 | -2/+316 |
| | | | | | | | | | | | | | | | | | | | | | | | | It can parse forms in the application/x-www-form-urlencoded encoding, used for forms without file uploads. | ||||
| * | | | | | Added URLDecode() and ReplaceAllCharOccurrences() to StringUtils. | madmaxoft | 2013-09-28 | 2 | -0/+76 |
| | | | | | | |||||
| * | | | | | Added UserData to cHTTPRequest. | madmaxoft | 2013-09-27 | 2 | -1/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | Callbacks may store one pointer of per-request data in the cHTTPRequest object. The object doesn't touch this data (doesn't own it). | ||||
| * | | | | | Added cHTTPServer callbacks; fixed keep-alives. | madmaxoft | 2013-09-27 | 4 | -13/+132 |
| | | | | | | | | | | | | | | | | | | | | | | | | The HTTP server now calls callbacks specified in its start function (debugified atm.) and it processes multiple requests on a single connection. | ||||
| * | | | | | Fixed leaking HTTPRequest objects | madmaxoft | 2013-09-27 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | Fixed parsing and implemented write nofitication. | madmaxoft | 2013-09-27 | 6 | -13/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | The web connection finally works with a browser. | ||||
| * | | | | | Split cHTTPConnection implementation into a separate file. | madmaxoft | 2013-09-27 | 4 | -205/+238 |
| | | | | | | |||||
| * | | | | | Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes. | madmaxoft | 2013-09-27 | 8 | -466/+811 |
| | | | | | | |||||
| * | | | | | Implemented basic HTTP message header parsing. | madmaxoft | 2013-09-24 | 4 | -4/+467 |
| | | | | | | |||||
* | | | | | | Fixed startup timings on server restart. | madmaxoft | 2013-10-07 | 1 | -4/+3 |
| | | | | | | |||||
* | | | | | | Fixed authenticator thread restart. | madmaxoft | 2013-10-07 | 2 | -1/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes #209. | ||||
* | | | | | | Plugin folders now check for "." and "..". | madmaxoft | 2013-10-06 | 1 | -2/+2 |
| |/ / / / |/| | | | | | | | | | | | | | | This fixes #207. | ||||
* | | | | | Optimized cBlockFarmlandHandler in wet weather. | madmaxoft | 2013-10-04 | 1 | -27/+26 |
| | | | | | | | | | | | | | | | | | | | | The area isn't read at all when the weather is wet, since it isn't needed. | ||||
* | | | | | Added cWorld::IsWeatherXXX() functions | madmaxoft | 2013-10-04 | 3 | -3/+143 |
| | | | | | |||||
* | | | | | Added comparison for desert biomes. | Samuel Barney | 2013-10-04 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Rain now waters farmland. | Samuel Barney | 2013-10-04 | 1 | -0/+8 |
| | | | | | |||||
* | | | | | Merge branch 'master' of https://github.com/mc-server/MCServer | Samuel Barney | 2013-10-02 | 10 | -48/+70 |
|\ \ \ \ \ | |||||
| * \ \ \ \ | Merge pull request #193 from tigerw/bugfixes | Mattes D | 2013-10-01 | 8 | -39/+49 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Startup messages revision. | ||||
| | * | | | | | Removed unneeded statement | Tiger Wang | 2013-09-30 | 2 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also LOGINFO'd "Starting WebAdmin" | ||||
| | * | | | | | Improvements to startup timer | Tiger Wang | 2013-09-29 | 2 | -17/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested by xoft. Also reverted changes of displayed protocol version. | ||||
| | * | | | | | Minor startup streamlining | Tiger Wang | 2013-09-28 | 8 | -41/+60 |
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * LOGD'd unneeded debugging messages, streamlining startup + Added a basic timer for how long in seconds it took to start up + Added two checks for plural (plugin/s, second/s) | ||||
| * | | | | | Merge pull request #199 from tigerw/moar-bugfixes | Mattes D | 2013-10-01 | 1 | -5/+17 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Fixed a fire simulator bug | ||||
| | * | | | | | Fixed issues | Tiger Wang | 2013-09-30 | 1 | -2/+2 |
| | | | | | | | |||||
| | * | | | | | Fixed a fire simulator bug | Tiger Wang | 2013-09-30 | 1 | -6/+18 |
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fire now doesn't stay when it isn't on a flammable block. Fixes the "fire creates chandeliers" bug in report #131 | ||||
| * | | | | | Fixed a typo in cEntity doxycomments. | madmaxoft | 2013-09-27 | 1 | -4/+4 |
| | | | | | | |||||
* | | | | | | Added glass pane as transparent. Removed excess g_BlockOneHitDig[E_BLOCK_REDSTONE_WIRE]. | Samuel Barney | 2013-10-01 | 1 | -1/+1 |
|/ / / / / | |||||
* | / / / | Removed cChunkDesc::SetChunkCoords() from Lua API. | madmaxoft | 2013-09-25 | 3 | -41/+5 |
| |/ / / |/| | | | |||||
* | | | | Fixed a few compiler warnings | madmaxoft | 2013-09-22 | 3 | -23/+36 |
| | | | | |||||
* | | | | Merge pull request #186 from tigerw/bugfixes | Mattes D | 2013-09-22 | 14 | -47/+117 |
|\| | | | | | | | | | | | One feature and a few changes | ||||
| * | | | Removed some unneeded includes | Tiger Wang | 2013-09-22 | 9 | -12/+0 |
| | | | | |||||
| * | | | Changed a comment | Tiger Wang | 2013-09-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Was a remnant of my TypeType minecarts :D | ||||
| * | | | Added button placement handler | Tiger Wang | 2013-09-22 | 4 | -1/+112 |
| | | | | | | | | | | | | | | | | Also removed an unneeded variable in the stair handler | ||||
| * | | | Removed OnDigging for Redstone devices | Tiger Wang | 2013-09-22 | 6 | -30/+1 |
| | | | | |||||
| * | | | Increase piston delay to a second | Tiger Wang | 2013-09-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Another fix for #57 | ||||
| * | | | Changed to SetBlockMeta | Tiger Wang | 2013-09-22 | 3 | -3/+3 |
| | | | | |||||
* | | | | Updated coding style to match ours. | madmaxoft | 2013-09-22 | 1 | -4/+8 |
| | | | | |||||
* | | | | Implemented Apple-specific GetMemoryUsage. | Samuel Barney | 2013-09-22 | 1 | -2/+11 |
| | | | | |||||
* | | | | Prepared cWebAdmin for Apple-specific GetMmeoryUsage() | madmaxoft | 2013-09-21 | 1 | -0/+8 |
| | | | | |||||
* | | | | Fixed Linux threading issues. | madmaxoft | 2013-09-21 | 4 | -17/+8 |
| | | | | |||||
* | | | | Fixed cFile:IsFolder() and plugin-loading. | madmaxoft | 2013-09-21 | 2 | -3/+4 |
| | | | | | | | | | | | | | | | | This should fix loading plugins on Linux. | ||||
* | | | | Implemented cWebAdmin:GetMemoryUsage() on Linux proper. | madmaxoft | 2013-09-21 | 4 | -60/+109 |
| | | | | | | | | | | | | | | | | Also the function now returns an int, number of KiB used, or -1 on failure. | ||||
* | | | | Fixed pickup spawning with inherited gamemode. | madmaxoft | 2013-09-21 | 2 | -1/+2 |
| | | | | |||||
* | | | | Linux compilation fix #3. | madmaxoft | 2013-09-21 | 1 | -2/+2 |
| | | | | |||||
* | | | | Linux compilation fix #2. | madmaxoft | 2013-09-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fixed Linux compilation. | madmaxoft | 2013-09-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fixed compilation from previous commit. | madmaxoft | 2013-09-21 | 2 | -2/+2 |
| | | | | |||||
* | | | | Merge branch 'bugfixes' of git://github.com/tigerw/MCServer into tigerw-bugfixes | madmaxoft | 2013-09-20 | 27 | -118/+614 |
|\| | | | |||||
| * | | | Fixed pickup block spawning | Tiger Wang | 2013-09-19 | 1 | -8/+9 |
| | | | | |||||
| * | | | Implemented xoft's suggestions | Tiger Wang | 2013-09-19 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fixed new monster aggressiveness issue | Tiger Wang | 2013-09-19 | 2 | -4/+4 |
| | | | | |||||
| * | | | Fixed pickups | Tiger Wang | 2013-09-18 | 4 | -23/+16 |
| | | | | |||||
| * | | | Added moar mobs! | Tiger Wang | 2013-09-18 | 19 | -91/+421 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Added dragons + Added golems + Added giants + Added horses + Added some missing items + Added missing spawn egg metas | ||||
| * | | | Implemented redstone comparators | Tiger Wang | 2013-09-18 | 6 | -2/+174 |
| | | | | | | | | | | | | | | | | They can be placed and toggled, but stills needs proper redstone support | ||||
* | | | | Fixed rounding errors in cProtocol125::SendExplosion(). | madmaxoft | 2013-09-19 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | This should fix #129. | ||||
* | | | | Fixed a crash in cEntity when the entity was at BlockY == 0. | madmaxoft | 2013-09-19 | 1 | -3/+2 |
| | | | | |||||
* | | | | Added support for 1.6.3 and 1.6.4 protocols. | madmaxoft | 2013-09-19 | 4 | -2/+14 |
| | | | | | | | | | | | | | | | | No relevant changes have been detected, using the 1.6.2 protocol handler. | ||||
* | | | | Added a global "g_Plugin" object to all Lua plugins. | madmaxoft | 2013-09-18 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | This allows plugins to have an empty Initialize function and implementing all their initialization at global level, thus modularising everything. | ||||
* | | | | Improved error message in cPlugin:AddWebTab() API. | madmaxoft | 2013-09-18 | 1 | -4/+6 |
| | | | | |||||
* | | | | Added cPlugin:GetLocalFolder() API function. | madmaxoft | 2013-09-18 | 4 | -9/+43 |
| | | | | | | | | | | | | | | | | This supersedes the cPlugin:GetLocalDirectory() function. | ||||
* | | | | Proper folder / file distinction in plugin loading. | madmaxoft | 2013-09-18 | 3 | -3/+20 |
| | | | | |||||
* | | | | cPluginManager:BindConsoleCommand can be called with the dot operator, too. | madmaxoft | 2013-09-18 | 1 | -15/+20 |
| | | | | |||||
* | | | | cPluginManager:BindCommand can be called with the dot operator, too. | madmaxoft | 2013-09-18 | 1 | -12/+19 |
| | | | | |||||
* | | | | Merge pull request #176 from tigerw/bugfixes | Mattes D | 2013-09-18 | 7 | -89/+68 |
|\| | | | | | | | | | | | Fixed repeater and wood placement | ||||
| * | | | Multiple fixes [SEE DESC] | Tiger Wang | 2013-09-18 | 7 | -89/+68 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed two random block handling files in the item handling section that didn't do anything. (One was an attempt at making slabs work, but failed to realise that the coords would have to be the block CLICKED, and another was just a random empty file for handling wooden planks.) * Fixed placing repeater blocks not directioning properly * Fixed wood directions breaking plank metadata | ||||
* | | | | Merge pull request #175 from tigerw/bugfixes | Mattes D | 2013-09-17 | 3 | -3/+68 |
|\| | | | | | | | | | | | Bugfixes | ||||
| * | | | Snow now supports meta values | Tiger Wang | 2013-09-17 | 1 | -2/+22 |
| | | | | | | | | | | | | | | | | Fixes #98 | ||||
| * | | | Added wood directions | Tiger Wang | 2013-09-17 | 1 | -0/+45 |
| | | | | | | | | | | | | | | | | + Added wood directions | ||||
| * | | | Fixed undead burning | Tiger Wang | 2013-09-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | (c'mon xoft, test ya code :P) | ||||
* | | | | Merge pull request #172 from tigerw/bugfixes | Alexander Harkness | 2013-09-17 | 2 | -20/+21 |
|\| | | | | | | | | | | | Fixes to torches and entities - because they were derpy zubzubs. | ||||
| * | | | Fixed derpy comparison | Tiger Wang | 2013-09-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fixed friction for entities | Tiger Wang | 2013-09-16 | 1 | -13/+13 |
| | | | | | | | | | | | | | | | | Due to a misplaced else, other entities weren't getting friction | ||||
| * | | | Torch fixes [SEE DESC] | Tiger Wang | 2013-09-16 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Torches snap to neighbour when placed on bottom * CanBeAt takes into account cobblestone walls + Used more BLOCK_FACEs instead of numbers | ||||
* | | | | Fixed missing newline. | Alexander Harkness | 2013-09-16 | 1 | -0/+1 |
|/ / / | |||||
* | | | Vanilla like maximum and default view distance | tonibm19 | 2013-09-16 | 1 | -3/+2 |
| | | | |||||
* | | | Attempt at fixing linux crash on player login. | Matyas Dolak | 2013-09-16 | 1 | -1/+11 |
| | | | | | | | | | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1244 | ||||
* | | | Exported cMonster:GetMobType() to the Lua API. | madmaxoft | 2013-09-16 | 3 | -3/+38 |
| | | | |||||
* | | | Removed cWorld:SaveAllChunks() from the API. | madmaxoft | 2013-09-16 | 3 | -35/+3 |
| | | | | | | | | | | | | Use cWorld:QueueSaveAllChunks() instead, the old function was prone to deadlocks. | ||||
* | | | cWorld:QueueTickBlock takes the delay in ticks. | madmaxoft | 2013-09-16 | 4 | -16/+19 |
| | | | |||||
* | | | Fixed doxycomments of cWorld plant-growing code | madmaxoft | 2013-09-15 | 2 | -7/+12 |
| | | | |||||
* | | | Fixed previous commit | madmaxoft | 2013-09-15 | 2 | -38/+4 |
| | | | |||||
* | | | Removed cWorld deprecated API: SetWorldTime() | madmaxoft | 2013-09-15 | 1 | -6/+0 |
| | | | |||||
* | | | Removed obsoleted cWorld functions from the API: | madmaxoft | 2013-09-15 | 3 | -70/+5 |
| | | | | | | | | | | | | | | | GetClassStatic() (is used only internally by ManualBindings) GetTime() (is replaced with GetWorldAge() and GetTimeOfDay() | ||||
* | | | Fixed previous commit. | madmaxoft | 2013-09-15 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed API bindings of cWorld:GetSignLines(), exported cWorld:UseBlockEntity(). | madmaxoft | 2013-09-15 | 4 | -32/+74 |
| | | | |||||
* | | | Fixed tigerw's leftovers. | madmaxoft | 2013-09-15 | 1 | -6/+0 |
| | | | |||||
* | | | Updated the bindings again. | madmaxoft | 2013-09-15 | 2 | -3/+3 |
| | | | |||||
* | | | Merge branch 'pickups' of git://github.com/tigerw/MCServer into tigerw-pickups | madmaxoft | 2013-09-15 | 12 | -78/+135 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: source/BlockID.cpp source/Entities/Entity.cpp | ||||
| * | | | Added break | Tiger Wang | 2013-09-15 | 1 | -0/+1 |
| | | | | |||||
| * | | | Even better pickup physics | Tiger Wang | 2013-09-13 | 1 | -18/+23 |
| | | | | |||||
| * | | | Even more fixes [SEE DESC] | Tiger Wang | 2013-09-13 | 4 | -23/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed minecarts breaking completely due to stuff * Rails are now non solid again + Added IsRail inline bool - Removed Herobrine | ||||
| * | | | Fixed water speed issues | Tiger Wang | 2013-09-13 | 1 | -5/+6 |
| | | | | |||||
| * | | | Implemented xoft's suggestions again | Tiger Wang | 2013-09-12 | 1 | -19/+16 |
| | | | | |||||
| * | | | Implemented xoft's suggestions | Tiger Wang | 2013-09-11 | 1 | -5/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | I totally didn't copy this from the fire simulator... (I did, but I changed it quite a bit :P) | ||||
| * | | | Fixed two bugs | Tiger Wang | 2013-09-11 | 1 | -6/+6 |
| | | | | |||||
| * | | | Fixed DropSpensers not rotating properly | Tiger Wang | 2013-09-09 | 1 | -1/+1 |
| | | | | |||||
| * | | | Added a few changes [SEE DESC] | Tiger Wang | 2013-09-09 | 5 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revised pickup comments * SlotArea pickup tossing now reflects Player.cpp * Removed unneeded ItemShears comment (was working already) * Sand and gravel pickups spawn with correct speed | ||||
| * | | | A few Minecart fixes | Tiger Wang | 2013-09-09 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | | | | | * Removed unneeded flatrail setpos * Fixed health checking | ||||
| * | | | Fixed formatting and removed gravity thing | Tiger Wang | 2013-09-07 | 2 | -2/+2 |
| | | | | |||||
| * | | | Further physics improvements [SEE DESC] | Tiger Wang | 2013-09-05 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was mainly focused on pickups, but it works for other things too. * Entities no longer clip through blocks positive-vertically (this fixes pickup issues as well). * Entities lie flat against a block when they hit it. * Reduced entity (mainly pickup) block clipping in non vertical directions. | ||||
| * | | | Pickups spawn with correct speed and position | Tiger Wang | 2013-09-04 | 2 | -30/+12 |
| | | | | | | | | | | | | | | | | Added a comment-space as well. | ||||
| * | | | Players toss a little further | Tiger Wang | 2013-09-04 | 1 | -1/+1 |
| | | | | |||||
| * | | | Pickups are a little less jittery | Tiger Wang | 2013-09-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | They also spawn closer to player mouth. | ||||
| * | | | Added better push out of entities | Tiger Wang | 2013-09-04 | 1 | -1/+8 |
| | | | | |||||
* | | | | Merge branch 'bugfixes' of git://github.com/tigerw/MCServer into tigerw-bugfixes | madmaxoft | 2013-09-15 | 21 | -229/+161 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Blocks/BlockTorch.h | ||||
| * | | | | Fixed pistons pulling un-pullables | Tiger Wang | 2013-09-15 | 1 | -1/+7 |
| | | | | | |||||
| * | | | | Mycelium now has correct placement sound | Tiger Wang | 2013-09-15 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | Torches work properly | Tiger Wang | 2013-09-15 | 4 | -59/+149 |
| | | | | | | | | | | | | | | | | | | | | Also fixed a naming inconsistency concerning quartz stairs. | ||||
| * | | | | Removed leftover CanBePlacedOnSide | Tiger Wang | 2013-09-15 | 3 | -19/+0 |
| | | | | | |||||
| * | | | | Removed leftover DoesAllowBlockOnTop | Tiger Wang | 2013-09-15 | 3 | -22/+1 |
| | | | | | |||||
| * | | | | Removed torch top placement prevention | Tiger Wang | 2013-09-13 | 1 | -6/+0 |
| | | | | | |||||
| * | | | | Removed place on top and side preventions | Tiger Wang | 2013-09-13 | 13 | -113/+0 |
| | | | | | |||||
* | | | | | Fixed cWorld bindings for GetBlockInfo() and GetBlockTypeMeta(). | madmaxoft | 2013-09-15 | 4 | -100/+119 |
| | | | | | | | | | | | | | | | | | | | | They no longer require the superficial arguments. | ||||
* | | | | | Updated the automatic bindings. | madmaxoft | 2013-09-15 | 2 | -2/+36 |
| | | | | | |||||
* | | | | | Set the minimum viewdistance to 3. | madmaxoft | 2013-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Fixes #167. | ||||
* | | | | | Fixed empty-handed itemhandler. | madmaxoft | 2013-09-14 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | This should fix FS 430. | ||||
* | | | | | Added an extra line. | tonibm19 | 2013-09-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | In first commit it says I removed first line | ||||
* | | | | | Fixed mobs attack range being too long | tonibm19 | 2013-09-13 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | It was set to 5, I think 2 is better because now mobs can kill you when there is a block (or 2) between you and monster. | ||||
* | | | | | Added StringSplitAndTrim() to Lua API | madmaxoft | 2013-09-11 | 1 | -6/+22 |
| | | | | | |||||
* | | | | | Merge pull request #159 from tigerw/bugfix | Mattes D | 2013-09-11 | 5 | -5/+107 |
|\ \ \ \ \ | | | | | | | | | | | | | Multiple fixes and features | ||||
| * | | | | | More changes [SEE DESC] | Tiger Wang | 2013-09-11 | 2 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improved (again) pumpkin direction handling * Fixed spacing in Entity.cpp | ||||
| * | | | | | Pumpkins | Tiger Wang | 2013-09-11 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Better player gamemode detection | Tiger Wang | 2013-09-11 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | moved reflection code to PlayerYawToMetadata | worktycho | 2013-09-11 | 1 | -4/+3 |
| | | | | | | |||||
| * | | | | | changed the subtaraction to a flip | worktycho | 2013-09-11 | 1 | -3/+3 |
| | | | | | | |||||
| * | | | | | Added player void damage | Tiger Wang | 2013-09-11 | 1 | -3/+6 |
| | | | | | | |||||
| * | | | | | Added void damage | Tiger Wang | 2013-09-11 | 2 | -0/+29 |
| | | | | | | |||||
| * | | | | | Entities now maintain speed outside of world | Tiger Wang | 2013-09-10 | 1 | -2/+9 |
| | | | | | | |||||
| * | | | | | Pumpkin and JackOLantern support | Tiger Wang | 2013-09-10 | 2 | -0/+65 |
| |/ / / / | | | | | | | | | | | | | | | | Fixes #99 | ||||
* | | | | | Fixed codepage conversion | madmaxoft | 2013-09-10 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Fixed a crash on immediate re-login. | madmaxoft | 2013-09-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Fixes #155. | ||||
* | | | | | Merge branch 'boats' of git://github.com/tigerw/MCServer. | madmaxoft | 2013-09-09 | 10 | -2/+224 |
|\ \ \ \ \ | |||||
| * | | | | | Fixed a bunch of stuff | Tiger Wang | 2013-09-08 | 4 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed compilation * Made it less obvious I COPIED ALL THE CODE from Minecarts * Fixed alignment spaces to make xoft happy | ||||
| * | | | | | Initial boat support | Tiger Wang | 2013-09-08 | 8 | -1/+217 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | + Boats are saved + Boats have physics + Boats spawn | ||||
| * | | | | Implemented SteerVehicle packet. | madmaxoft | 2013-09-06 | 5 | -6/+43 |
| | | | | | |||||
| * | | | | Moved daylight burning directly into cMonster. | madmaxoft | 2013-09-06 | 6 | -40/+46 |
| | | | | | |||||
| * | | | | Removed TimedWait from cEvent. | madmaxoft | 2013-09-06 | 2 | -57/+0 |
| |/ / / | | | | | | | | | | | | | Unsupported on MacOS. | ||||
* | | | | Removed the cDoors class. | madmaxoft | 2013-09-09 | 5 | -97/+112 |
| | | | | | | | | | | | | | | | | The helper functions that it implemented were moved into their respective blockhandlers. | ||||
* | | | | Removed the "charging bow" debug message. | madmaxoft | 2013-09-08 | 1 | -1/+0 |
| | | | | |||||
* | | | | Fixed torch placement. | madmaxoft | 2013-09-08 | 1 | -7/+17 |
| | | | | | | | | | | | | | | | | This is related to #127, but until we know more about the change, I'm not closing the issue. | ||||
* | | | | Alpha-sorted g_BlockIsSnowable[]. | madmaxoft | 2013-09-08 | 1 | -2/+2 |
| | | | | |||||
* | | | | Thrown ender pearls are saved properly to MCA. | madmaxoft | 2013-09-08 | 1 | -0/+1 |
| | | | | |||||
* | | | | Fixed client spawning. | madmaxoft | 2013-09-08 | 2 | -114/+54 |
| | | | | | | | | | | | | | | | | The method used for 1.2.5 clients no longer works. Fixes #139. | ||||
* | | | | Re-added the top line. | STRWarrior | 2013-09-08 | 1 | -0/+1 |
| | | | | |||||
* | | | | Added E_BLOCK_LILY_PAD to g_BlockIsSnowable. | STRWarrior | 2013-09-08 | 1 | -2/+3 |
| | | | | |||||
* | | | | Implemented proper chunk unloading in all 1.3.2+ clients | madmaxoft | 2013-09-08 | 1 | -2/+11 |
| |_|/ |/| | | |||||
* | | | Merged branch 'Projectiles'. | madmaxoft | 2013-09-07 | 23 | -182/+2361 |
|\ \ \ | |_|/ |/| | | |||||
| * | | Added a (disabled) block logging to projectile path-tracing. | madmaxoft | 2013-09-07 | 1 | -0/+10 |
| | | | |||||
| * | | Updated the API bindings. | madmaxoft | 2013-09-07 | 2 | -46/+118 |
| | | | |||||
| * | | Implemented loading more projectiles from MCA. | madmaxoft | 2013-09-07 | 4 | -14/+151 |
| | | | |||||
| * | | Implemented ghast fireball and firecharge projectiles | madmaxoft | 2013-09-07 | 2 | -9/+161 |
| | | | |||||
| * | | Renamed cWorld::DoExplosiontAt() to cWorld::DoExplosionAt() | madmaxoft | 2013-09-07 | 7 | -15/+15 |
| | | | |||||
| * | | Arrows have proper yaw and pitch when shot, and stop when they hit a block. | madmaxoft | 2013-09-07 | 4 | -8/+70 |
| | | | |||||
| * | | Removed an unused include | madmaxoft | 2013-09-04 | 1 | -2/+1 |
| | | | |||||
| * | | Added cEntity's gravity to the Lua API. | madmaxoft | 2013-09-03 | 3 | -2/+73 |
| | | | |||||
| * | | Implemented exact block hit position. | madmaxoft | 2013-09-03 | 2 | -26/+31 |
| | | | | | | | | | | | | Arrows now stick out of blocks at the exact position where they hit. | ||||
| * | | Added cArrowEntity's criticalness to the API. | madmaxoft | 2013-09-03 | 3 | -22/+99 |
| | | | |||||
| * | | Arrows deal damage based on their speed. | madmaxoft | 2013-09-03 | 2 | -4/+13 |
| | | | |||||
| * | | Projectiles slow down in water and lava. | madmaxoft | 2013-09-02 | 1 | -3/+14 |
| | | | |||||
| * | | Projectiles don't collide with their creators. | madmaxoft | 2013-09-02 | 1 | -2/+6 |
| | | | |||||
| * | | cBoundingBox: Only forward collisions are calculated. | madmaxoft | 2013-09-02 | 2 | -6/+16 |
| | | | |||||
| * | | Arrows deal damage. | madmaxoft | 2013-09-01 | 2 | -4/+127 |
| | | | | | | | | | | | | Still needs some tweaks, they hit the shooter most of the time. | ||||
| * | | Made cBoundingBox class inclusive in both coord edges. | madmaxoft | 2013-09-01 | 2 | -9/+56 |
| | | | | | | | | | | | | Also added (a disabled) self-test to cBoundingBox. | ||||
| * | | Fixed an error in cBoundingBox's line-collision algorithm. | madmaxoft | 2013-09-01 | 2 | -17/+12 |
| | | | |||||
| * | | Added dtRangedAttack, fixed faulty StringTODamageType() | madmaxoft | 2013-09-01 | 2 | -17/+26 |
| | | | |||||
| * | | Added line collision calculation to cBoundingBox. | madmaxoft | 2013-09-01 | 6 | -46/+527 |
| | | | |||||
| * | | Renamed BLOCK_FACE constants to use the new coord-wise names. | madmaxoft | 2013-09-01 | 1 | -9/+17 |
| | | | | | | | | | | | | The old names are still present, but deprecated. | ||||
| * | | Added the cBoundingBox class. | madmaxoft | 2013-09-01 | 5 | -8/+862 |
| | | | |||||
| * | | Thrown ender pearls now teleport and hurt. | madmaxoft | 2013-08-30 | 2 | -1/+8 |
| | | | |||||
* | | | Fixed a missing initialization in cMonster. | madmaxoft | 2013-09-07 | 1 | -2/+3 |
| | | | | | | | | | | | | This should fix commit ff762a7ece6400eaeb5e21f3fea7cad00786a8d9 's all-mobs burning. | ||||
* | | | Implemented SteerVehicle packet. | madmaxoft | 2013-09-06 | 5 | -6/+43 |
| | | | |||||
* | | | Moved daylight burning directly into cMonster. | madmaxoft | 2013-09-05 | 6 | -40/+46 |
| | | | |||||
* | | | Merge branch 'master' of git://github.com/tigerw/MCServer into tigerw-master | madmaxoft | 2013-09-05 | 19 | -29820/+30136 |
|\ \ \ | | |/ | |/| | |||||
| * | | Fixed inconsistent meta naming | Tiger Wang | 2013-09-03 | 4 | -81/+81 |
| | | | |||||
| * | | Merge remote-tracking branch 'upstream/master' | Tiger Wang | 2013-09-02 | 56 | -1475/+4012 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Bindings.cpp source/Entities/Entity.cpp Updated from upsteam | ||||
| * | | | Minecart enhancements [SEE DESC] | Tiger Wang | 2013-09-02 | 2 | -113/+242 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Curved rails. Better physics. Better code as improved by xoft. Stuff. | ||||
| * | | | Physics enhancements | Tiger Wang | 2013-08-29 | 2 | -29/+37 |
| | | | | | | | | | | | | | | | | | | | | Minecarts no longer glitch on flat rails Improved acceleration, speed limit, and stopping | ||||
| * | | | Corrected comment TypeType | Tiger Wang | 2013-08-29 | 1 | -1/+1 |
| | | | | |||||
| * | | | Implemented xoft's suggestions [SEE DESC] | Tiger Wang | 2013-08-29 | 14 | -132/+105 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | | Fixed Minecart spawning issues | Tiger Wang | 2013-08-28 | 10 | -34/+41 |
| | | | | | | | | | | | | | | | | Now you can have everything! | ||||
| * | | | Zomb-ee and Skellingtons burning improvements | Tiger Wang | 2013-08-27 | 2 | -10/+14 |
| | | | | | | | | | | | | | | | | | | | | They don't burn unless they are in direct view of the sun god or are protected by the sands of the souls of the underworld. | ||||
| * | | | Preliminary Minecart physics handling [SEE DESC] | Tiger Wang | 2013-08-27 | 3 | -5/+200 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes physics handling for the following scenarios: Flat rails in orientations [N, S, W, E] Ascending/descending rails in orientations [N, S, W, E] Powered rails are NOT handled (they don't respond to redstone). Curved rails are NOT handled (I haven't figured out how to do them :P) Please note that I have not tried to emulate vanilla behaviour because of a lack of knowledge on velocity unites/C++. We can say it's a feature or something. :P | ||||
* | | | | Removed TimedWait from cEvent. | madmaxoft | 2013-09-05 | 2 | -57/+0 |
| |/ / |/| | | | | | | | | Unsupported on MacOS. | ||||
* | | | Exported BroadcastSoundEffect and BroadcastSoundParticleEffect to the Lua API | STRWarrior | 2013-09-01 | 3 | -30325/+30416 |
| |/ |/| | |||||
* | | Basic support for thrown items - eggs, snowballs and ender pearls. | madmaxoft | 2013-08-30 | 6 | -29/+309 |
| | | | | | | | | They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA. | ||||
* | | Moved throw pos and speed calculation from cProjectileEntity into cPlayer. | madmaxoft | 2013-08-30 | 6 | -124/+128 |
| | | |||||
* | | Merged in the Projectiles branch. | madmaxoft | 2013-08-30 | 33 | -380/+1503 |
|\ \ | | | | | | | | | | Although the projectiles are not yet finished, the branch has several bugfixes that are needed in master as well. | ||||
| * | | Shooting a bow kinda works. | madmaxoft | 2013-08-30 | 9 | -15/+217 |
| | | | | | | | | | | | | The arrow is released, but sometimes hits wrong blocks or disappears completely. | ||||
| * | | Implemented basic physics for projectiles. | madmaxoft | 2013-08-27 | 7 | -36/+157 |
| | | | |||||
| * | | Entities fall 3x slower in water | madmaxoft | 2013-08-27 | 2 | -2/+2 |
| | | | |||||
| * | | Debug logging for arrows improved | madmaxoft | 2013-08-26 | 1 | -1/+8 |
| | | | |||||
| * | | Debug: arrow log their position in each tick | madmaxoft | 2013-08-26 | 3 | -19/+39 |
| | | | |||||
| * | | Arrows get loaded from MCA. | madmaxoft | 2013-08-25 | 2 | -4/+48 |
| | | | | | | | | | | | | Somehow they still don't spawn visibly on the client. | ||||
| * | | Added a few API accessors to cArrowEntity. | madmaxoft | 2013-08-25 | 4 | -2/+196 |
| | | | |||||
| * | | Moved entity spawning into cEntity::Initialize(). | madmaxoft | 2013-08-25 | 9 | -61/+4 |
| | | | | | | | | | | | | It has been called in every descendant anyway, so it's better this way - reduced duplicate code. | ||||
| * | | Merged branch 'master' into Projectiles. | madmaxoft | 2013-08-25 | 21 | -137/+496 |
| |\ \ | |||||
| * | | | Projectile entities get saved into MCA files | madmaxoft | 2013-08-22 | 2 | -4/+65 |
| | | | | |||||
| * | | | Added a few basic fields to cProjectileEntity and cArrowEntity. | madmaxoft | 2013-08-22 | 2 | -4/+73 |
| | | | | |||||
| * | | | Arrows can spawn on the client. | madmaxoft | 2013-08-22 | 1 | -1/+2 |
| | | | | |||||
| * | | | Added skeleton code for projectile spawning. | madmaxoft | 2013-08-22 | 8 | -258/+482 |
| | | | | |||||
* | | | | Rewritten cTimer not to use heap allocation. | madmaxoft | 2013-08-30 | 2 | -31/+45 |
| | | | | |||||
* | | | | Added g_BlockIsXXX[] arrays to the API. | madmaxoft | 2013-08-27 | 3 | -2/+192 |
| | | | | |||||
* | | | | Fixed ProtoProxy compilation, added client Kick handling. | madmaxoft | 2013-08-25 | 1 | -3/+14 |
| |/ / |/| | | |||||
* | | | Reduced LeakFinder's stack buffers to half. | madmaxoft | 2013-08-25 | 1 | -2/+5 |
| | | | | | | | | | | | | The LeakFinder's stack buffers were causing too much RAM usage in the Debug mode, rising about 50 MiB per each cLuaState created. | ||||
* | | | Merging in tigerw's changes from PR #118 | madmaxoft | 2013-08-25 | 12 | -100/+318 |
|\ \ \ | | |/ | |/| | |||||
| * | | Fixed iron door opening by hand | Tiger Wang | 2013-08-25 | 1 | -1/+4 |
| | | | |||||
| * | | Fixed public thing in ClientHandle | Tiger Wang | 2013-08-25 | 1 | -3/+3 |
| | | | |||||
| * | | Redstone fixes [SEE DESC] | Tiger Wang | 2013-08-25 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed pistons not correctly powering down Fixed dispensers not correctly powering down Fixed droppers not correctly power down Fixed TNT not correctly powering up Fixed redstone lamps not correctly powering up Fixed redstone lamps not correctly powering down | ||||
| * | | Vines now spread when updated | Tiger Wang | 2013-08-24 | 1 | -0/+7 |
| | | | |||||
| * | | Fixed inconsistent metas and added snow metas | Tiger Wang | 2013-08-24 | 2 | -53/+73 |
| | | | |||||
| * | | Added comments and fixed a bug | Tiger Wang | 2013-08-24 | 2 | -48/+58 |
| | | | | | | | | | | | | Bug was placing slabs between slabs not making a double slab. | ||||
| * | | Fixed final slab bug | Tiger Wang | 2013-08-24 | 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. | ||||
| * | | Fixed incorrect double slab drops | Tiger Wang | 2013-08-23 | 1 | -2/+9 |
| | | | |||||
| * | | Double slabs work *choke choke* | Tiger Wang | 2013-08-23 | 5 | -33/+137 |
| | | | |||||
| * | | Fixed lighters replacing blocks | Tiger Wang | 2013-08-23 | 1 | -3/+6 |
| | | | |||||
| * | | Changed comments to be more accurate | Tiger Wang | 2013-08-21 | 1 | -4/+4 |
| | | | |||||
| * | | Fixed longstanding issue with slabs | Tiger Wang | 2013-08-21 | 1 | -1/+12 |
| | | | | | | | | | | | | Fixes FS#298 | ||||
| * | | Fixed broken carpet handler [SEE DESC] | Tiger Wang | 2013-08-20 | 2 | -3/+10 |
| | | | | | | | | | | | | | | | | | | Made BlockHandler pass on control to carpet handler Declared thinggummies in carpet handler Fixed carpet block pushback using incorrect format | ||||
* | | | Fixed logging in cTracer. | madmaxoft | 2013-08-24 | 1 | -1/+1 |
| | | | |||||
* | | | Lifted the debugging 1 GiB RAM limit in LeakFinder to 1.5 GiB | madmaxoft | 2013-08-24 | 1 | -2/+2 |
| | | | |||||
* | | | Slight performance improvement in cWorld::FindClosestPlayer() | madmaxoft | 2013-08-24 | 1 | -6/+3 |
| | | | |||||
* | | | cTracer doesn't attempt a trace above the world. | madmaxoft | 2013-08-24 | 1 | -2/+2 |
| | | | | | | | | | | | | This fixes some crashes with out-of-world entities. | ||||
* | | | Fixed pickup behavior outside the world. | madmaxoft | 2013-08-24 | 1 | -3/+4 |
| | | | | | | | | | | | | One part of #131. | ||||
* | | | Client can no longer place blocks outside the Y range of the world. | madmaxoft | 2013-08-24 | 1 | -1/+6 |
| | | | | | | | | | | | | Fixes #128. | ||||
* | | | Added Unicode, Inc.'s notice. | madmaxoft | 2013-08-24 | 1 | -5/+38 |
| | | | | | | | | | | | | Fixes #123. | ||||
* | | | Fixed AddHook() wanting old-style function names. | madmaxoft | 2013-08-22 | 4 | -22/+22 |
| | | | | | | | | | | | | Error reported by STR_Warrior in the forum http://forum.mc-server.org/showthread.php?tid=1227&pid=9620#pid9620 | ||||
* | | | Removed unwanted VirtualHooks remnants. | madmaxoft | 2013-08-22 | 1 | -2/+1 |
| |/ |/| | | | | | cEntity no longer needs its SpawnOn() default-implemented, it can now be a true pure virtual function. | ||||
* | | Another fix for #31. | madmaxoft | 2013-08-22 | 1 | -0/+6 |
| | | | | | | | | This seems to have done it, no more crashes for me. | ||||
* | | cPluginManager.AddHook old-style API usage prints the stack trace. | madmaxoft | 2013-08-21 | 1 | -0/+1 |
| | | | | | | | | This eases migration to #121 API. | ||||
* | | Added a deprecation warning to the old style API. | madmaxoft | 2013-08-21 | 1 | -0/+1 |
| | | | | | | | | This completes #121. | ||||
* | | Hook adding uses the new API. | madmaxoft | 2013-08-21 | 9 | -194/+755 |
| | | | | | | | | Multiple hooks per plugin can be added. The cPluginManager.AddHook() has four available signatures, the recommended one is cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) | ||||
* | | cLuaState: Added LogStackTrace() and GetTypeText() utility functions | madmaxoft | 2013-08-21 | 2 | -0/+49 |
| | | |||||
* | | Added cWorld:GetIniFileName() to the Lua API. | madmaxoft | 2013-08-21 | 3 | -10/+51 |
| | | |||||
* | | Added a delay between the kick packet and socket close. | madmaxoft | 2013-08-20 | 2 | -2/+21 |
| | | | | | | | | This should have helped #31, but the client disagrees. | ||||
* | | Merge pull request #117 from tigerw/master | Mattes D | 2013-08-20 | 3 | -5/+8 |
|\| | | | | | Bugfix Update | ||||
| * | Juggled piston code to prioritise block action | Tiger Wang | 2013-08-20 | 1 | -5/+5 |
| | | | | | | | | | | This improves animation chance without long delays. Additionally, queued a previously unqueued base set. | ||||
| * | Activator rail now uses rail handler | Tiger Wang | 2013-08-20 | 1 | -0/+1 |
| | | |||||
| * | Updated block transparencies | Tiger Wang | 2013-08-20 | 1 | -0/+2 |
| | | | | | | | | Now includes activator rails and piston extensions | ||||
* | | Hotfix for #83. | madmaxoft | 2013-08-20 | 1 | -0/+6 |
| | | | | | | | | Do not tick the player while their chunk is invalid. | ||||
* | | Fixed player spawning. | madmaxoft | 2013-08-20 | 2 | -3/+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. | ||||
* | | Fixed a warning on closing invalid plugins. | madmaxoft | 2013-08-20 | 1 | -1/+4 |
| | | |||||
* | | Small Linux fixes. | madmaxoft | 2013-08-20 | 3 | -3/+4 |
| | | |||||
* | | Started work on the cProjectileEntity class. | madmaxoft | 2013-08-20 | 1 | -0/+69 |
|/ | |||||
* | Reduced delay a little | Tiger Wang | 2013-08-20 | 1 | -1/+1 |
| | |||||
* | Increased wait tick delay for pistons | Tiger Wang | 2013-08-20 | 1 | -1/+1 |
| | | | | Pistons again! | ||||
* | Merge branch 'tigerw-master', fixed pistons pushing extended sticky pistons. | madmaxoft | 2013-08-19 | 2 | -9/+17 |
|\ | |||||
| * | Additional piston corrections | Tiger Wang | 2013-08-19 | 1 | -12/+12 |
| | | | | | | | | | | Reduced delay time of blockset Fixed invalid blockpush checking | ||||
| * | Added forgotten initialisation | Tiger Wang | 2013-08-19 | 1 | -1/+1 |
| | | |||||
| * | Fixed piston animations... | Tiger Wang | 2013-08-19 | 1 | -7/+7 |
| | | | | | | | | ...for the third (and hopefully last) time. | ||||
| * | Fixed uninitialised thingummies | Tiger Wang | 2013-08-19 | 1 | -1/+1 |
| | | |||||
* | | Debuggers: Added continuous hunger reporting. | madmaxoft | 2013-08-19 | 3 | -5/+8 |
| | | | | | | | | Showcases the OnWorldTick() hook to fire events at regular intervals. Will be used for debugging the issues related to hyper-hunger. | ||||
* | | DeadlockDetect now uses sleep instead of timed-wait semaphores. | madmaxoft | 2013-08-19 | 2 | -18/+5 |
| | | | | | | | | The semaphores' timed-wait still has issues on Linux, it's just easier to use cSleep instead. | ||||
* | | Fixed WorldTickThread reporting wrong time durations for each tick. | madmaxoft | 2013-08-19 | 2 | -9/+17 |
| | | | | | | | | This had caused food eating to fail and players unable to collect pickups on Linux. | ||||
* | | Fixed the extreme strain on the world tick thread. | madmaxoft | 2013-08-19 | 2 | -0/+7 |
|/ | | | | Block changes were sent even with empty changesets, causing a lot of lost CPU cycles. | ||||
* | Fixed cEvent TimedWait on Linux. | madmaxoft | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | Added cPickup:IsCollected() to the Lua API. | madmaxoft | 2013-08-19 | 3 | -2/+38 |
| | |||||
* | Added cPickup:GetAge() the the Lua API. | madmaxoft | 2013-08-19 | 3 | -5/+37 |
| | |||||
* | Moved entities into the Entities subfolder. | madmaxoft | 2013-08-19 | 77 | -214/+226 |
| | |||||
* | Fixed timed event wait on Linux. | madmaxoft | 2013-08-19 | 1 | -16/+11 |
| | | | | Was causing an error message and the DeadlockDetect didn't work. | ||||
* | Finished renaming cPlugin_NewLua to cPluginLua. | madmaxoft | 2013-08-19 | 11 | -114/+115 |
| | |||||
* | Implemented the OnWorldTick hook. | madmaxoft | 2013-08-19 | 6 | -0/+40 |
| | | | | Triggerred for each world every time it ticks, parameters are the cWorld and the previous tick length (a_Dt) | ||||
* | cChunk::SetBlock() now uses cChunk::FastSetBlock() for the common code path. | madmaxoft | 2013-08-19 | 1 | -69/+11 |
| | |||||
* | Removed an unused CriticalSection from cChunk. | madmaxoft | 2013-08-19 | 2 | -20/+5 |
| | | | | Fixes #109 | ||||
* | Fixed crash when the player is above the world. | madmaxoft | 2013-08-19 | 1 | -1/+1 |
| | | | | Fixes #53. | ||||
* | Implemented cWorld:QueueSetBlock(), as requested for delayed blocksetting. | madmaxoft | 2013-08-18 | 8 | -4/+186 |
| | | | | Untested yet, so might not work. | ||||
* | Removed SetServerBlock griefing. | madmaxoft | 2013-08-18 | 7 | -99/+7 |
| | |||||
* | Fixed piston code griefing damage. | madmaxoft | 2013-08-18 | 1 | -22/+6 |
| | |||||
* | Emergency compilation fix! | Tiger Wang | 2013-08-18 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' of https://github.com/tigerw/MCServer into tigerw-master | Tiger Wang | 2013-08-18 | 8 | -17/+172 |
|\ | | | | | | | | | | | | | Conflicts: source/Piston.cpp Merged pull request and fixed merge conflicts | ||||
| * | Added checks to bail out if block entities are being pushed by a piston | Tiger Wang | 2013-08-18 | 1 | -2/+21 |
| | | |||||
| * | Properly fixed piston non-animation | Tiger Wang | 2013-08-18 | 7 | -16/+128 |
| | | | | | | | | Fixes #57 | ||||
| * | Enhancements to Tabcompletion and Compile Fix | Tiger Wang | 2013-08-18 | 2 | -12/+8 |
| | | | | | | | | | | | | Tab complete now finds the last word and matches accordingly, with a 20% increase in speed! Fixed missing comma breaking compilation | ||||
| * | Merge remote-tracking branch 'upstream/master' | Tiger Wang | 2013-08-18 | 9 | -39/+73 |
| |\ | |||||
| * | | Bugfix Update [SEE DESC} | Tiger Wang | 2013-08-18 | 3 | -7/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added stained clay, coal block, and hardened clay Block IDs Added stained clay and carpet block Metas Fixed bug with sticky retract bailing out but not unsetting arm Fixed autocomplete not working when not at the first character, fixes #64 Added furnace recipes for hardened clay and coal and coal blocks | ||||
* | | | Made cPiston code more readable and configurable. | madmaxoft | 2013-08-18 | 2 | -78/+200 |
| | | | | | | | | | | | | Fixed some minor problems with pistons, such as pulling water etc. Thanks to TigerW for some inspiration. | ||||
* | | | Added cWindow property manipulation API. | madmaxoft | 2013-08-18 | 12 | -45/+142 |
| | | | | | | | | | | | | Now enchantment table and furnace properties can be set by a plugin | ||||
* | | | cListenThread correctly closes all sockets. | madmaxoft | 2013-08-18 | 1 | -2/+6 |
| | | | | | | | | | | | | This partially fixes FS 421. | ||||
* | | | Disabled Lua virtual hooks. | madmaxoft | 2013-08-18 | 3 | -1957/+18 |
| |/ |/| | | | | | This technology was used for old-style plugins and is no longer supported nor needed. Fixes #78. | ||||
* | | Fixed LuaWindow destructor causing a crash. | madmaxoft | 2013-08-18 | 1 | -0/+10 |
| | | | | | | | | It was leaving the m_Contents' relations to listeners and SlotAreas' relations to m_Contents, which were already gone. | ||||
* | | Fixed assert failures in cLuaState when using it for pushing a StringVector. | madmaxoft | 2013-08-18 | 1 | -31/+0 |
| | | |||||
* | | Added cRoot:BroadcastChat() to the Lua API. | madmaxoft | 2013-08-17 | 4 | -2/+52 |
| | | | | | | | | This allows plugins to broadcast a chat message to all connected players. It is a replacement for previously removed cServer:BroadcastChat(). | ||||
* | | The server Tick thread ticks PluginManager. | madmaxoft | 2013-08-17 | 1 | -0/+5 |
| | | | | | | | | This fixes #104 and #102 | ||||
* | | Fixed compile-time warning in TNTEntity. | madmaxoft | 2013-08-17 | 2 | -6/+6 |
|/ | | | | The FuseTime is now a double instead of a float | ||||
* | Another compile fix | Tiger Wang | 2013-08-16 | 1 | -3/+0 |
| | |||||
* | Possible entity ID fix? | Tiger Wang | 2013-08-16 | 1 | -2/+2 |
| | |||||
* | Compilation and Minecart fixes | Tiger Wang | 2013-08-16 | 3 | -9/+53 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' | Tiger Wang | 2013-08-16 | 37 | -31246/+31890 |
|\ | |||||
| * | Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX. | madmaxoft | 2013-08-16 | 18 | -169/+207 |
| | | | | | | | | Also slightly improved the spawning algorithm. | ||||
| * | Exported cWorld:DoExplosionAt() to Lua API. | madmaxoft | 2013-08-15 | 3 | -3/+49 |
| | | |||||
| * | Attempting to fix CentOS / gcc 4.4.7 compilation problem. | madmaxoft | 2013-08-15 | 1 | -1/+1 |
| | | | | | | | | Reported by ThijsD in the forum http://forum.mc-server.org/showthread.php?tid=1220 | ||||
| * | Merge pull request #93 from mc-server/PerWorldThreads | Mattes D | 2013-08-15 | 23 | -31107/+31667 |
| |\ | | | | | | | Per world threads | ||||
| | * | Added simple deadlock detection code. | madmaxoft | 2013-08-14 | 3 | -4/+238 |
| | | | | | | | | | | | | This will assert and then deliberately crash the server once a deadlock is detected. For detection, only the world tick threads are considered, cWorld's m_WorldAge is checked periodically and if it doesn't increment for several seconds, a deadlock is reported. | ||||
| | * | Fixed world's a_Dt parameter getting time values in wrong units. | madmaxoft | 2013-08-14 | 1 | -1/+1 |
| | | | |||||
| | * | cEvent can now wait for the event with a specified timeout. | madmaxoft | 2013-08-14 | 2 | -26/+88 |
| | | | |||||
| | * | ClientHandle no longer queues chat messages. | madmaxoft | 2013-08-14 | 2 | -56/+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. | ||||
| | * | Clients are deleted when the world is stopped. | madmaxoft | 2013-08-14 | 1 | -0/+11 |
| | | | | | | | | | | | | This fixes #92. | ||||
| | * | Fixed wrong names for some metas. | madmaxoft | 2013-08-14 | 3 | -18/+18 |
| | | | | | | | | | | | | They were E_BLOCK_ instead of E_META_. | ||||
| | * | Server counts the players correctly. | madmaxoft | 2013-08-14 | 3 | -3/+6 |
| | | | | | | | | | | | | Was missing the PlayerDestroying() call, so players weren't removed from the playercount. | ||||
| | * | Fixed crashes in world's clientlist manipulators | madmaxoft | 2013-08-14 | 2 | -2/+28 |
| | | | |||||
| | * | Player counts are now properly handled. | madmaxoft | 2013-08-14 | 7 | -16/+108 |
| | | | | | | | | | | | | Fixes #80 | ||||
| | * | Exported cWorld:BroadcastChat() to the Lua API; used in the Core. | madmaxoft | 2013-08-13 | 3 | -4/+41 |
| | | | |||||
| | * | Merge branch 'master' into PerWorldThreads. | madmaxoft | 2013-08-13 | 6 | -5/+10 |
| | |\ | | | | | | | | | | | | | Also fixed the AllToLua script not resolving conflicts. | ||||
| | * | | Clients are now ticked in cServer first, then in cWorld once they get assigned a world. | madmaxoft | 2013-08-13 | 10 | -168/+182 |
| | | | | |||||
| | * | | Fixed logging into debug console. | madmaxoft | 2013-08-12 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | Was missing the LF at the end. | ||||
| | * | | Removed cServer::BroadcastChat() and cServer::SendMessage(). | madmaxoft | 2013-08-12 | 7 | -133/+42 |
| | | | | | | | | | | | | | | | | 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. | ||||
| | * | | Removed unused cServer::IsConnected() function. | madmaxoft | 2013-08-12 | 1 | -4/+2 |
| | | | | |||||
| | * | | Merge branch 'master' into PerWorldThreads | madmaxoft | 2013-08-12 | 4 | -17/+14 |
| | |\ \ | |||||
| | * | | | Added cWorld:QueueSaveAllChunks() function for saving chunks asynchronously. | madmaxoft | 2013-08-11 | 4 | -5/+125 |
| | | | | | | | | | | | | | | | | | | | | The cWorld:SaveAllChunks() is therefore deprecated in the API and will be removed soon, use QueueSaveAllChunks() instead. | ||||
| | * | | | cIsThread threads get a window identification on Win. | madmaxoft | 2013-08-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | This enables tools such as TaskInfo to report the thread name directly. | ||||
| | * | | | Each world now ticks in a separate thread. | madmaxoft | 2013-08-11 | 8 | -112/+135 |
| | | | | | |||||
| | * | | | Removed cServer::m_pState, dissolved into direct member variables. | madmaxoft | 2013-08-11 | 2 | -101/+75 |
| | | | | | | | | | | | | | | | | | | | | The server tick thread is now in the cServer::cTickThread object. | ||||
| | * | | | cIsThread: Added the Stop() method and debugging output in Wait() | madmaxoft | 2013-08-11 | 2 | -22/+26 |
| | | | | | |||||
| | * | | | Moved MaxPlayers and Description from cWorld to cServer. | madmaxoft | 2013-08-11 | 8 | -186/+274 |
| | | | | | | | | | | | | | | | | | | | | Also started creating a new cWorld::cTickThread class, but not used yet. | ||||
* | | | | | Feature and bugfixes [SEE DESC] | Tiger Wang | 2013-08-16 | 12 | -52/+109 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue | ||||
* | | | | Generation and simulation defaults | Tiger Wang | 2013-08-14 | 2 | -8/+8 |
| | | | | | | | | | | | | | | | | ...are no longer set, instead, the server operator is told to set them. | ||||
* | | | | Okay, changed to xoft's partial fix | Tiger Wang | 2013-08-14 | 1 | -29/+6 |
| | | | | |||||
* | | | | Merge remote-tracking branch 'upstream/master' | Tiger Wang | 2013-08-14 | 2 | -17/+49 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Piston.cpp Merge conflict? | ||||
| * | | | | Partially fixed tonibm19's mess. | madmaxoft | 2013-08-14 | 1 | -21/+20 |
| | | | | | |||||
| * | | | | Merge pull request #85 from tigerw/master | Tiger Wang | 2013-08-14 | 2 | -2/+25 |
| |\ \ \ \ | | | | | | | | | | | | | Fixed #57 | ||||
| * | | | | | Fixed player swimstate crash. | madmaxoft | 2013-08-14 | 1 | -16/+35 |
| | |_|_|/ | |/| | | | | | | | | | | | | | The check for swimming / submersion checks the Y coord first. Fixes #63. | ||||
* | | | | | Alpha sorted PistonBreakable list | Tiger Wang | 2013-08-14 | 1 | -2/+3 |
| | | | | | |||||
* | | | | | Buncha bugfixes [SEE DESC] | Tiger Wang | 2013-08-14 | 6 | -9/+23 |
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Fixed generation values not being written Fixed piston being able to push water Fixed ice creating a non-source block (still doesn't update though) Removed problematic piston code | ||||
* | | | | YET ANOTHER ERROR >:( | Tiger Wang | 2013-08-13 | 1 | -3/+3 |
| | | | | |||||
* | | | | Credits | Tiger Wang | 2013-08-13 | 1 | -3/+5 |
| | | | | |||||
* | | | | Attempt three | Tiger Wang | 2013-08-13 | 1 | -16/+14 |
| | | | | | | | | | | | | | | | | This is extremely embarrassing... | ||||
* | | | | Attempt two | Tiger Wang | 2013-08-13 | 1 | -3/+3 |
| | | | | |||||
* | | | | Attempt at fixing sleep issue | Tiger Wang | 2013-08-13 | 1 | -3/+3 |
| | | | | |||||
* | | | | Removed more comments | Tiger Wang | 2013-08-13 | 1 | -1/+0 |
| | | | | |||||
* | | | | Fixes #57 | Tiger Wang | 2013-08-13 | 1 | -1/+25 |
|/ / / | |||||
* | | | Keep players from taking damage when teleporting. | STRWarrior | 2013-08-12 | 1 | -1/+1 |
| | | | |||||
* | | | Added quartz stairs. | STRWarrior | 2013-08-12 | 4 | -30589/+30592 |
| | | | |||||
* | | | Fixed logging into debug console. | madmaxoft | 2013-08-12 | 2 | -1/+3 |
| |/ |/| | | | | | Was missing the LF at the end. | ||||
* | | Merge pull request #77 from tonibm19/patch-1 | Tiger Wang | 2013-08-11 | 1 | -0/+7 |
|\ \ | | | | | | | Now Endermans spawn in The End | ||||
| * | | Now Endermans spawn in The End | tonibm19 | 2013-08-11 | 1 | -0/+7 |
| | | | |||||
* | | | Really removed comments this time | Tiger Wang | 2013-08-11 | 1 | -7/+0 |
|/ / | |||||
* | | Merge pull request #74 from tigerw/master | Tiger Wang | 2013-08-11 | 3 | -17/+14 |
|\ \ | |/ |/| | Further attempt at fixing torch placements | ||||
| * | Removed unneeded case clause | Tiger Wang | 2013-08-11 | 2 | -16/+13 |
| | | |||||
| * | Tried adding bracket | Tiger Wang | 2013-08-11 | 1 | -1/+1 |
| | | |||||
| * | Further attempt at fixing torch placements | Tiger Wang | 2013-08-11 | 2 | -10/+10 |
| | | | | | | | | Also fixed block on flower placement. #71 | ||||
* | | Added doxyComments for cIsThread. | madmaxoft | 2013-08-11 | 2 | -7/+13 |
| | | |||||
* | | Added the OnHopperPullingItem and OnHopperPushingItem hooks. | madmaxoft | 2013-08-11 | 11 | -61/+230 |
| | | | | | | | | Requested in FS 412, slightly modified the params. | ||||
* | | Added an AllowEmptyStacks param to cItemGrid::HowManyCanFit(). | madmaxoft | 2013-08-11 | 2 | -3/+6 |
|/ | |||||
* | Added OnPlayerAnimation() hook. | madmaxoft | 2013-08-11 | 6 | -0/+44 |
| | | | | Initial patch by @STR_Warrior, updated to account for different animation packets. | ||||
* | Attempt at fixing torch placement | Tiger Wang | 2013-08-10 | 1 | -3/+5 |
| | | | Attempt at fixing #71 and placement of torches. | ||||
* | Added back the required extra line in player.cpp | Alexander Harkness | 2013-08-10 | 1 | -0/+1 |
| | |||||
* | Removed extra disconnect message | Tiger Wang | 2013-08-10 | 1 | -5/+0 |
| | | | There seems to be already one in the HandleDisconnect hook function. | ||||
* | Deleting cPlayer now does LOGD instead of LOG | Tiger Wang | 2013-08-10 | 1 | -2/+1 |
| | | | Hopefully only prints in debug the debug message! | ||||
* | Merge pull request #56 from mc-server/LinuxColorConsole | Alexander Harkness | 2013-08-10 | 3 | -42/+107 |
|\ | | | | | Linux color console | ||||
| * | Linux color redirection fixed. | madmaxoft | 2013-08-10 | 1 | -1/+1 |
| | | | | | | | | Outputting to stdin, yeah, right, that's gonna work :P | ||||
| * | Coloring is reset before the LF. | madmaxoft | 2013-08-10 | 2 | -7/+9 |
| | | |||||
| * | Another Linux compilation fix. | madmaxoft | 2013-08-10 | 1 | -0/+2 |
| | | |||||
| * | Fixed Linux build. | madmaxoft | 2013-08-10 | 1 | -1/+2 |
| | | |||||
| * | Disabled coloring for redirected output. | madmaxoft | 2013-08-10 | 2 | -17/+66 |
| | | |||||
| * | Use printf() instead of puts(). | madmaxoft | 2013-08-10 | 1 | -4/+4 |
| | | | | | | | | puts() outputs an extra newline, making it unsuitable | ||||
| * | Bad preprocesor used for discovering Linux | madmaxoft | 2013-08-10 | 1 | -1/+1 |
| | | |||||
| * | First attempt at Linux console colors | madmaxoft | 2013-08-09 | 2 | -36/+47 |
| | | | | | | | | Ref.: issue #41 | ||||
| * | Piston head, when removed, removes the associated piston body, too. | madmaxoft | 2013-08-09 | 3 | -1/+50 |
| | | | | | | | | Fixes FS 388 | ||||
| * | Fixed squid crashing the server when above or below the world | madmaxoft | 2013-08-09 | 1 | -1/+6 |
| | | |||||
| * | Renamed Plugin_NewLua to PluginLua. | madmaxoft | 2013-08-09 | 7 | -7/+18 |
| | | |||||
* | | Piston head, when removed, removes the associated piston body, too. | madmaxoft | 2013-08-10 | 3 | -1/+50 |
| | | | | | | | | Fixes FS 388 | ||||
* | | Fixed squid crashing the server when above or below the world | madmaxoft | 2013-08-10 | 1 | -1/+6 |
| | | |||||
* | | Renamed Plugin_NewLua to PluginLua. | madmaxoft | 2013-08-10 | 7 | -7/+18 |
| | | |||||
* | | Merge pull request #55 from mc-server/falldamage-teleport | Alexander Harkness | 2013-08-09 | 1 | -0/+1 |
|\ \ | |/ |/| | Keep players from taking damage when teleporting. (Hopefully). | ||||
| * | Fixed stupid syntax error (thanks build system). | Alexander Harkness | 2013-08-09 | 1 | -1/+1 |
| | | |||||
| * | Keep players from taking damage when teleporting. (Hopefully). | Alexander Harkness | 2013-08-09 | 1 | -0/+1 |
| | | | | | | | | Fixes #29 | ||||
* | | Added OnExploding() and OnExploded() hooks. | madmaxoft | 2013-08-09 | 16 | -62/+686 |
| | | | | | | | | | | | | | | | | As requested in FS 413, with extra parameters: World, BlockX, BlockY, BlockZ, Size, CanCauseFire, Source, SourceData OnExploding() can return 3 values: StopHook, CanCauseFire, ExplosionSize | ||||
* | | Merge pull request #52 from ravenscroftj/feature/food | Alexander Harkness | 2013-08-09 | 5 | -23/+63 |
|\ \ | |/ |/| | A few fixes for the hunger/food system + tests for swimming and submerged in cPlayer. | ||||
| * | Fixed some formatting issues I accidentally introduced | James Ravenscroft | 2013-08-09 | 2 | -11/+14 |
| | | |||||
| * | Removed the need to recalculate whether player is under water in ApplyFoodExhaustion | James Ravenscroft | 2013-08-09 | 2 | -16/+10 |
| | | |||||
| * | Added IsSwimming and IsSubmerged flags and access methods | James Ravenscroft | 2013-08-09 | 3 | -14/+43 |
| | | |||||
| * | Fixed the jump food exhaustion being added when player is swimming | James Ravenscroft | 2013-08-08 | 1 | -3/+8 |
| | | |||||
| * | Fixed food handler for mushroom soup - proper food level and saturation are applied and the player receives a wooden bowl back after nomming | James Ravenscroft | 2013-08-08 | 3 | -0/+9 |
| | | |||||
* | | Fixed a copypasta error in hook function names. | madmaxoft | 2013-08-08 | 1 | -1/+1 |
| | | | | | | | | Thanks STR_Warrior for the report | ||||
* | | Removed LuaScript. | madmaxoft | 2013-08-08 | 6 | -173/+128 |
|/ | | | | The WebAdmin now uses LuaState directly to call the one function it needs. | ||||
* | cPlugin_NewLua is now completely rewritten to use templated LuaState calls. | madmaxoft | 2013-08-08 | 3 | -316/+179 |
| | |||||
* | cPlugin: Name now defaults to the plugin folder name. | madmaxoft | 2013-08-08 | 1 | -4/+5 |
| | |||||
* | LuaState refactoring: using templates for hook function calls. | madmaxoft | 2013-08-08 | 4 | -793/+668 |
| | | | | This simplifies calling Lua functions considerably, it's almost like calling a C++ function, only with an extra argument to delimit args from returned values. | ||||
* | cPlugin: Removed empty default implementation of virtual calls. | madmaxoft | 2013-08-08 | 2 | -628/+46 |
| | |||||
* | Merge pull request #49 from mc-server/RemoveSquirrel | madmaxoft | 2013-08-08 | 16 | -1193/+1 |
|\ | | | | | Remove squirrel | ||||
| * | Removed Squirrel. | madmaxoft | 2013-08-07 | 16 | -1193/+1 |
| | | | | | | | | This compiles under Windows, but is untested in Linux. | ||||
* | | Made comments more readable by adding space between // and text content. Added /// doxygen syntax comments to declarations | James Ravenscroft | 2013-08-08 | 2 | -9/+9 |
| | | |||||
* | | Fixed the formatting issues in player cpp files | James Ravenscroft | 2013-08-08 | 2 | -39/+38 |
| | | |||||
* | | Made player drowning implementation | James Ravenscroft | 2013-08-08 | 2 | -2/+56 |
| | | |||||
* | | Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks. | madmaxoft | 2013-08-08 | 24 | -38/+369 |
|/ | | | | As requested in FS 418. | ||||
* | Merge pull request #48 from mc-server/BlockTracing | madmaxoft | 2013-08-07 | 22 | -816/+2046 |
|\ | | | | | Block tracing | ||||
| * | Added cLineBlockTracer to the API | madmaxoft | 2013-08-07 | 4 | -55/+296 |
| | | |||||
| * | Plugin: Fixed plugin name in the cLuaState's subsystem | madmaxoft | 2013-08-07 | 1 | -1/+1 |
| | | |||||
| * | LuaScript: removed unused code | madmaxoft | 2013-08-07 | 2 | -19/+0 |
| | | |||||
| * | cLuaState has reference management, param checking and a fixed destructor. | madmaxoft | 2013-08-07 | 2 | -4/+234 |
| | | | | | | | | | | References are now managed as RAII objects, cLuaState::cRef. Destructor now calls correct function, either Close() or Detach(), based on the owned-ness of the lua_State *. | ||||
| * | cLuaScript now uses cLuaState | madmaxoft | 2013-08-06 | 4 | -242/+36 |
| | | |||||
| * | Fixed compilation in ManualBindings | madmaxoft | 2013-08-06 | 1 | -1/+1 |
| | | |||||
| * | cLuaState is used for pushing splits in ManualBindings | madmaxoft | 2013-08-06 | 1 | -23/+8 |
| | | |||||
| * | cLuaState now tracks the function name and number of args | madmaxoft | 2013-08-06 | 3 | -277/+459 |
| | | |||||
| * | cLuaState can now contain a detached LuaState, too. | madmaxoft | 2013-08-06 | 2 | -1/+89 |
| | | | | | | | | This will be useful for cases when we get a lua_State * from the outside and are asked to perform operations on it. | ||||
| * | Merge branch 'master' into BlockTracing | madmaxoft | 2013-08-05 | 10 | -279/+469 |
| |\ | |||||
| * | | LuaState refactoring: initial part. | madmaxoft | 2013-08-04 | 5 | -249/+439 |
| | | | | | | | | | | | | The cLuaState class is a wrapper for the lua_State * and for the common functions on it. The cPlugin_NewLua has been rewritten to use it instead of the raw pointer. Part of #33 | ||||
| * | | cWorld: Added a self-test for LineBlockTracer, disabled by an #ifdef. | madmaxoft | 2013-08-04 | 1 | -0/+57 |
| | | | |||||
| * | | LineBlockTracer: Fixed initial errors | madmaxoft | 2013-08-04 | 2 | -7/+10 |
| | | | |||||
| * | | cItem: Removed a warning emitted when creating an item from air | madmaxoft | 2013-08-04 | 1 | -1/+4 |
| | | | |||||
| * | | First attempt at implementing a cLineBlockTracer class | madmaxoft | 2013-08-04 | 3 | -0/+446 |
| | | | | | | | | | | | | Not yet tested, will probably have lots of bugs, if it is at all usable. | ||||
| * | | Merge branch 'master' into BlockTracing | madmaxoft | 2013-08-03 | 2 | -22/+6 |
| |\ \ | |||||
| * | | | Added cWorld::DoWithChunk() function. | madmaxoft | 2013-08-03 | 4 | -0/+31 |
| | | | | | | | | | | | | | | | | This will be used by the blocktracers to gain direct access to chunk data. | ||||
| * | | | Removed the unused BlockY parameter from cChunkDef::BlockToChunk() | madmaxoft | 2013-08-03 | 4 | -18/+17 |
| | | | | |||||
* | | | | Now zombies spawn in Overworld during night | tonibm19 | 2013-08-06 | 1 | -4/+3 |
| |_|/ |/| | | |||||
* | | | Exported the cWorld:TryGetHeight() function | madmaxoft | 2013-08-05 | 2 | -4/+51 |
| | | | |||||
* | | | Exported cWorld:DoWithEntityByID() to Lua API | madmaxoft | 2013-08-05 | 2 | -203/+294 |
| | | | |||||
* | | | Alpha-sorted the manual bindings' functions. | madmaxoft | 2013-08-05 | 1 | -13/+13 |
| | | | |||||
* | | | cIniFile now reads .example.ini if not requested not to. | madmaxoft | 2013-08-05 | 2 | -17/+7 |
| | | | | | | | | | | | | As specified in #44, when the .ini file cannot be opened, a .example.ini is tried, and if it succeeds, it is written as .ini. This makes it easy to provide ini file templates. | ||||
* | | | Added the Carpet block. | madmaxoft | 2013-08-05 | 5 | -44/+104 |
| | | | |||||
* | | | Improved logging coloring performance on Windows. | madmaxoft | 2013-08-04 | 1 | -2/+4 |
| |/ |/| | |||||
* | | Removed some stuff again. | Alexander Harkness | 2013-08-03 | 1 | -14/+0 |
| | | |||||
* | | Revert "Rm'd startup credits & mv'd to README" | Alexander Harkness | 2013-08-03 | 1 | -0/+17 |
| | | | | | | | | This reverts commit 2383977fe76287f4a3cc93c802d83966726ee8a4. | ||||
* | | Commented out groups spam | Tiger Wang | 2013-08-03 | 1 | -3/+2 |
| | | | | | | Further reduces chance of error message burying. | ||||
* | | Rm'd startup credits & mv'd to README | Tiger Wang | 2013-08-03 | 1 | -17/+0 |
| | | | | | | Removed as I feel it serves no purpose other than spam console and bury real error messages from plugins, etc. This is especially the case with running under screen, which makes it very difficult to scroll up or down. | ||||
* | | Updated inbuilt commands description | Tiger Wang | 2013-08-03 | 1 | -5/+4 |
|/ | | | Did this to meet help format standards. | ||||
* | AllToLua now resets the git status for the files. | madmaxoft | 2013-08-02 | 1 | -0/+22 |
| | | | | | This should auto-fix merge conflicts when they occur on the Bindings.cpp / Bindings.h files. http://forum.mc-server.org/showthread.php?tid=1200&pid=9315#pid9315 | ||||
* | Shift+clicking won't combine different item metas. | madmaxoft | 2013-08-02 | 1 | -1/+1 |
| | | | | Fixes FS 424. | ||||
* | Merge pull request #35 from mc-server/foodstuffs | bearbin | 2013-08-02 | 1 | -16/+22 |
|\ | | | | | Add the new food items. | ||||
| * | Alpha-sort the foodstuffs. | bearbin | 2013-08-02 | 1 | -13/+14 |
| | | |||||
| * | Add the new food items. | bearbin | 2013-08-02 | 1 | -16/+21 |
| | | | | | | Enchanted golden apples are not required, as they are a meta value and provide the same nourishment as plain golden apples. | ||||
* | | Implemented OnPlayerRightClickingEntity() hook | madmaxoft | 2013-08-02 | 9 | -152/+223 |
| | | | | | | | | Fixes FS 425 | ||||
* | | New players get full health | madmaxoft | 2013-08-01 | 1 | -4/+5 |
| | | | | | | | | Fixes #28. | ||||
* | | ClientHandle: alpha-sorted the HandleXXX functions declarations | madmaxoft | 2013-08-01 | 1 | -15/+15 |
| | | |||||
* | | Merge branch 'tabcompletion' | madmaxoft | 2013-08-01 | 13 | -221/+360 |
|\ \ | |/ |/| | |||||
| * | Implemented the actual tab completion for commands and playernames. | madmaxoft | 2013-07-31 | 4 | -17/+31 |
| | | | | | | | | Each command is reported only if the player has the permission to use it. | ||||
| * | Tab completion packet is handled and sent. | madmaxoft | 2013-07-30 | 13 | -221/+346 |
| | | | | | | | | 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. | ||||
* | | Fixed inverted sanity check in SetGameMode() | madmaxoft | 2013-07-30 | 1 | -1/+1 |
|/ | | | | Fixes #22. | ||||
* | Added the "Edit Sign" packet sent to the client placing a sign. | madmaxoft | 2013-07-29 | 10 | -0/+65 |
| | | | | Fixes issue #20. The 1.6.2 client wouldn't open the sign editor UI unless it receives a special packet | ||||
* | Updated the nightbuild script for Git | madmaxoft | 2013-07-29 | 2 | -2/+2 |
| | |||||
* | Changed everyting to Unix line endings. | Alexander Harkness | 2013-07-29 | 202 | -33396/+33396 |
| | |||||
* | WebAdmin: Removed the duplicate memory usage querying | madmaxoft | 2013-07-29 | 4 | -43/+16 |
| | |||||
* | Fixed formatting in LuaScript.* | madmaxoft | 2013-07-29 | 2 | -3/+40 |
| | |||||
* | Updated the automatic Lua bindings | madmaxoft | 2013-07-29 | 2 | -88/+223 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into hunger | madmaxoft | 2013-07-29 | 12 | -397/+1118 |
|\ | |||||
| * | WebAdmin templates can use Lua | FakeTruth | 2013-07-29 | 12 | -176/+1032 |
| | | | | | | | | | | New WebAdmin templates can use Lua to completely compose the pages themselves. This should allow infinite WebAdmin design possibilities. | ||||
* | | Player eating is now properly broadcast to other players. | madmaxoft | 2013-07-28 | 6 | -99/+263 |
| | | | | | | | | Also fixed the API relating to food, determining player gamemode, and removed several unneeded API functions. | ||||
* | | Implemented basic eating support. | madmaxoft | 2013-07-28 | 7 | -63/+134 |
| | | | | | | | | Food is now properly consumed and it takes 1.5 sec. | ||||
* | | Hunger-per-distance is calculated only for the XZ distance | madmaxoft | 2013-07-28 | 1 | -0/+1 |
| | | |||||
* | | Player food level is reset on respawn | madmaxoft | 2013-07-28 | 1 | -0/+4 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into hunger | madmaxoft | 2013-07-28 | 1 | -8/+7 |
|\| | |||||
| * | Fixed Window Titles being MCS-* | Tiger Wang | 2013-07-27 | 1 | -8/+7 |
| | | | | | | For example, MCS-Chest, MCS-DoubleChest, etc. | ||||
* | | Added cPlayer::IsGameModeXXX() and cWorld::IsGameModeXXX() functions. | madmaxoft | 2013-07-28 | 3 | -2/+58 |
|/ | | | | These are the preferred way of determining the gamemode, you should use those instead of doing manual comparisons to the gamemode value. | ||||
* | Hunger: If a player dies the food level resets. | STRWarrior | 2013-07-27 | 1 | -1325/+1326 |
| | |||||
* | Removed debug-logging the player movement in each tick | madmaxoft@gmail.com | 2013-07-26 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1685 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cItemGrid: ChangeSlotCount() now returns -1 if invalid SlotNum | madmaxoft@gmail.com | 2013-07-26 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1684 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cInventory: Added the ChangeSlotCount() function to the Lua API | madmaxoft@gmail.com | 2013-07-26 | 4 | -2/+61 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1683 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cEntity doesn't process physics / burning when in an invalid chunk | madmaxoft@gmail.com | 2013-07-24 | 1 | -2/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1680 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Server shuts down when the stdin is closed (linux Ctrl+D / win Ctrl+Z) | madmaxoft@gmail.com | 2013-07-24 | 1 | -2/+11 |
| | | | | | | Fixes FS #419 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1679 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cListenThread initializes m_ShouldReuseAddr to false (valgrind error) | madmaxoft@gmail.com | 2013-07-22 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulators don't simulate in invalid chunks (valgrind error) | madmaxoft@gmail.com | 2013-07-22 | 3 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1676 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a StringToMobType() function to the Lua API (patch contributed by STR_Warrior) | madmaxoft@gmail.com | 2013-07-12 | 4 | -2/+86 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1674 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | First implementation of movement-related hunger and API | madmaxoft@gmail.com | 2013-07-12 | 6 | -146/+605 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the cFastRandom class | madmaxoft@gmail.com | 2013-07-11 | 2 | -0/+231 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1672 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Server sends PlayerMaxSpeed after a respawn. | madmaxoft@gmail.com | 2013-07-08 | 2 | -1/+13 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=434&pid=8912#pid8912 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1671 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Color codes are stripped from the DC message | madmaxoft@gmail.com | 2013-07-08 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1670 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 1.6.2 protocol implemented, both in MCServer and in ProtoProxy | madmaxoft@gmail.com | 2013-07-08 | 6 | -2/+88 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1669 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pickups have an initial health of 5 | madmaxoft@gmail.com | 2013-07-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1668 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | World: More unused variables removed. | madmaxoft@gmail.com | 2013-07-07 | 1 | -3/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1667 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | World: Removed an unused variable | madmaxoft@gmail.com | 2013-07-07 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1666 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Squid: fixed a possible crash caused by access to a wrong chunk | madmaxoft@gmail.com | 2013-07-07 | 1 | -4/+7 |
| | | | | | | Fixes FS #411. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1665 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ice is a solid block. | madmaxoft@gmail.com | 2013-07-07 | 1 | -1/+0 |
| | | | | | | Helps with FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1664 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore. | madmaxoft@gmail.com | 2013-07-07 | 6 | -38/+38 |
| | | | | | | Fixes FS #409. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1662 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added StringUtils functions to Lua API; added StripColorCodes(); ChatLog now strips color codes from logged messages. | madmaxoft@gmail.com | 2013-07-07 | 5 | -8/+195 |
| | | | | | | Fixes FS #398 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1661 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes. | madmaxoft@gmail.com | 2013-07-07 | 9 | -26/+412 |
| | | | | | | Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 2013-07-07 | 19 | -560/+587 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Declaring full 1.6.1 compatibility | madmaxoft@gmail.com | 2013-07-05 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1651 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Unmounting vehicles implemented in the 1.6.1 way | madmaxoft@gmail.com | 2013-07-05 | 4 | -0/+52 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1650 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed 1.6.1's movement speed | madmaxoft@gmail.com | 2013-07-05 | 3 | -4/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1649 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial 1.6.1 protocol support. | madmaxoft@gmail.com | 2013-07-05 | 5 | -1/+195 |
| | | | | | | The client connects and is capable of basic gameplay, but the player moves at an incredible speed (50 blocks / sec). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1646 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash when moving a player to a non-existent world (reported by tonibm19) | madmaxoft@gmail.com | 2013-07-05 | 1 | -1/+1 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=434&pid=8865#pid8865 crashdump.zip/crash_mcs_165c.dmp git-svn-id: http://mc-server.googlecode.com/svn/trunk@1645 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan) | madmaxoft | 2013-07-03 | 6 | -29/+74 |
| | | | | | | | Fixes FS #277. API change: added an optional parameter to cItemGrid:AddItem(), cItemGrid:AddItems(), cInventory:AddItem() and cInventory:AddItems() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1643 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed player moving between worlds. | madmaxoft@gmail.com | 2013-07-03 | 5 | -33/+97 |
| | | | | | | | 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 | ||||
* | dtOnFire damage wasn't dealt properly | madmaxoft@gmail.com | 2013-07-01 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1640 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added DamageType translation to API | madmaxoft@gmail.com | 2013-07-01 | 5 | -76/+243 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1639 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed burn / fire damage in each game tick. | madmaxoft@gmail.com | 2013-07-01 | 1 | -9/+6 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=434&pid=8798#pid8798 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1638 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 2013-07-01 | 71 | -1892/+2086 |
| | | | | | | | | | Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed crouch-placing unplaceable items (FS #399) | madmaxoft@gmail.com | 2013-06-29 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1632 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Advanced RCON: Command output is sent to the RCON client. | madmaxoft@gmail.com | 2013-06-29 | 17 | -146/+375 |
| | | | | | | | | | RCON authentication is now required before executing commands. Console command handlers now return two values, bool (IsHandled) and string (CommandOutput). API change: removed cRoot:ExecuteConsoleCommand(), added cRoot:QueueExecuteConsoleCommand(). API change: removed cPluginManager:ExecuteConsoleCommand(), use cRoot:QueueExecuteConsoleCommand() instead git-svn-id: http://mc-server.googlecode.com/svn/trunk@1631 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a basic RCON protocol | madmaxoft@gmail.com | 2013-06-27 | 6 | -29/+428 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1628 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a warning when spawning an entity in a non-existent chunk | madmaxoft@gmail.com | 2013-06-25 | 1 | -0/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1627 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 2013-06-25 | 8 | -55/+55 |
| | | | | | | 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 | ||||
* | The weather doesn't change if the dimension is not Overworld. | nielsbreu@gmail.com | 2013-06-24 | 1 | -0/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1624 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Plugins can modify message in the OnChat() hook handler. | madmaxoft@gmail.com | 2013-06-22 | 9 | -13/+18 |
| | | | | | | FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the End height and composition generators. | madmaxoft@gmail.com | 2013-06-22 | 10 | -24/+437 |
| | | | | | | Also made the dimension in world.ini specifiable by a string. Exported StringToDimension() and StringToBiome() to Lua API. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1621 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made redstone lamps turn on when powered and turn off when not powered. | nielsbreu@gmail.com | 2013-06-22 | 1 | -0/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Dispensers spawn fire if it has Flint and steel. | nielsbreu@gmail.com | 2013-06-22 | 1 | -0/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1619 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | TNT changes to primed TNT when powered by redstone. | nielsbreu@gmail.com | 2013-06-22 | 1 | -0/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1618 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Dispensers dispense primed TNT | madmaxoft@gmail.com | 2013-06-21 | 5 | -8/+23 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1617 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Explosions don't produce warnings in cBlockArea; fixed logging in cBlockArea | madmaxoft@gmail.com | 2013-06-21 | 2 | -8/+14 |
| | | | | | | Fixes FS #389 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1616 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulators are woken up after an explosion. | madmaxoft@gmail.com | 2013-06-21 | 6 | -8/+167 |
| | | | | | | Fixes FS #391 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1615 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated the stacking (Patch contributed by Stephen304) | madmaxoft@gmail.com | 2013-06-20 | 2 | -2/+20 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=503&pid=8609#pid8609 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1614 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Furnace window progressbars are initialized when the window is opened | madmaxoft@gmail.com | 2013-06-20 | 2 | -0/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1613 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Furnaces light up visually when they're cooking | madmaxoft@gmail.com | 2013-06-20 | 9 | -39/+102 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented hopper output | madmaxoft@gmail.com | 2013-06-20 | 2 | -5/+233 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1611 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash when placing new furnaces | madmaxoft@gmail.com | 2013-06-20 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1610 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Improved comment | madmaxoft@gmail.com | 2013-06-19 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1609 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Explosions do not effect the terrain when they are in water. | nielsbreu@gmail.com | 2013-06-18 | 1 | -0/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1608 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Crouching will allow block placement on otherwise functional blocks. | madmaxoft@gmail.com | 2013-06-18 | 1 | -2/+2 |
| | | | | | | Fixes FS #382 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1607 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a crude limiter for explosions sent to client. | madmaxoft@gmail.com | 2013-06-18 | 2 | -2/+42 |
| | | | | | | 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 | ||||
* | Added the API for spawning primed TNTs | madmaxoft@gmail.com | 2013-06-18 | 2 | -2/+42 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1605 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | More TNT fixes. | madmaxoft@gmail.com | 2013-06-18 | 14 | -65/+78 |
| | | | | | | | | 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 | ||||
* | TNT fixes. | madmaxoft@gmail.com | 2013-06-18 | 7 | -65/+85 |
| | | | | | | | | | Other blocks can be placed next to TNT. Explosions activate nearby TNT blocks. TNT doesn't destroy bedrock, obsidian and liquid blocks. Server doesn't crash when a TNT (or other entity) leaves the valid Y range. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1603 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten furnaces | madmaxoft@gmail.com | 2013-06-16 | 15 | -364/+1019 |
| | | | | | | | | | | | | Furnaces now smelt the correct number of items. Furnaces store their contents in a cItemGrid. Furnace window is updated with correct items and progressbars. Furnace recipes now use ticks instead of milliseconds. Furnaces save and load their state completely, not missing a smelt operation. Hoppers take items out of furnaces. Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cItem: Added useful utility functions | madmaxoft@gmail.com | 2013-06-16 | 2 | -3/+55 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1599 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added respawn screen when switching worlds. | nielsbreu@gmail.com | 2013-06-16 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1598 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added an elaborative comment on the deadlock prevention code | madmaxoft@gmail.com | 2013-06-16 | 1 | -1/+12 |
| | | | | | | (FS #375) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1597 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACK | madmaxoft@gmail.com | 2013-06-15 | 2 | -17/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1596 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed compilation on linux. | nielsbreu@gmail.com | 2013-06-15 | 1 | -1/+1 |
| | | | | | | Any idea why SendMessageA works on Windows and not on linux? git-svn-id: http://mc-server.googlecode.com/svn/trunk@1595 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Entity: Added IsTNT | nielsbreu@gmail.com | 2013-06-15 | 2 | -1/+2 |
| | | | | | | Once again I wasn't paying attention.. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1594 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Entity: Added IsTNT | nielsbreu@gmail.com | 2013-06-15 | 1 | -1/+34 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1593 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | You can only sleep when the time is day, and beds explode if the dimension is not Overworld. | nielsbreu@gmail.com | 2013-06-15 | 1 | -11/+21 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1592 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | First attempt at fixing the inter-threading deadlocks between the tick thread and the socket thread | madmaxoft@gmail.com | 2013-06-15 | 4 | -1/+39 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1591 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Linux compilation | madmaxoft@gmail.com | 2013-06-15 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1589 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it. | madmaxoft@gmail.com | 2013-06-13 | 13 | -66/+607 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cItemGrid: Added IsSlotEmpty() functions | madmaxoft@gmail.com | 2013-06-13 | 6 | -10/+113 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1585 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChestEntity: fixed bindings | madmaxoft@gmail.com | 2013-06-12 | 3 | -24/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1584 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented the Hopper block handler | madmaxoft@gmail.com | 2013-06-12 | 7 | -35/+95 |
| | | | | | | Hoppers can be placed properly, but won't work yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1583 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return values | madmaxoft@gmail.com | 2013-06-12 | 9 | -68/+92 |
| | | | | | | FS #364 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added dragon egg to falling blocks. | nielsbreu@gmail.com | 2013-06-10 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1577 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed previous commit. | nielsbreu@gmail.com | 2013-06-09 | 3 | -707/+3275 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added SetTicksUntilWeatherChange/GetTicksUntilWeatherChange. to set/get the amount of ticks before the weather changes. Added SendBlockChange to Lua to create "fake" blocks | nielsbreu@gmail.com | 2013-06-09 | 4 | -3276/+823 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1572 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed 2 more tabs... | faketruth | 2013-06-09 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1571 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Converted spaces to tabs | faketruth | 2013-06-09 | 1 | -21/+21 |
| | | | | | | Dead bush does not drop pickups when invalidly placed git-svn-id: http://mc-server.googlecode.com/svn/trunk@1570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added dead bush block handler so a dead bush pickup is dropped when the sand underneath it is removed. | faketruth | 2013-06-09 | 2 | -0/+49 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1569 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added LOGWARNING() function to Lua API, as a synonym to LOGWARN() | madmaxoft@gmail.com | 2013-06-05 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1558 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlers | madmaxoft@gmail.com | 2013-06-04 | 21 | -560/+218 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented proper player crouching. | madmaxoft@gmail.com | 2013-06-04 | 6 | -8/+48 |
| | | | | | | Fixes FS #365 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1553 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cEntity: fixed doxy comments | madmaxoft@gmail.com | 2013-06-04 | 1 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1551 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedHeightmap: Added clay / sand / dirt selection on ocean floor | madmaxoft@gmail.com | 2013-06-04 | 2 | -3/+46 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1550 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash when generating a chest | madmaxoft@gmail.com | 2013-06-04 | 1 | -2/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1549 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Shears mask the leaves' meta | madmaxoft@gmail.com | 2013-06-04 | 1 | -1/+1 |
| | | | | | | Fixes FS #367 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1548 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed cItem::IsStackableWith() | madmaxoft@gmail.com | 2013-06-04 | 3 | -1/+20 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1547 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-aware | madmaxoft@gmail.com | 2013-06-04 | 5 | -7/+126 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1546 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ItemGrid: fixed changing item count when ToRemove == CurrentCount | madmaxoft@gmail.com | 2013-06-04 | 1 | -1/+1 |
| | | | | | | Fixes FS #380 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1545 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ToLuaDoxy: initial import | madmaxoft@gmail.com | 2013-06-04 | 3 | -3/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1544 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | LuaWindow: Fixed memory leaks with unclosed windows | madmaxoft@gmail.com | 2013-06-02 | 8 | -18/+19 |
| | | | | | | | A player disconnecting will now force all windows to close, not respecting any plugin's overrides. http://forum.mc-server.org/showthread.php?tid=1146&pid=8350#pid8350 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1543 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the possibility to specify enchantments by name in the constructor and AddFromString() function | madmaxoft@gmail.com | 2013-06-02 | 4 | -5/+89 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1542 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Enchantments are now stored in Anvil world and in player inventory | madmaxoft@gmail.com | 2013-06-02 | 4 | -7/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Shift + click doesn't "destroy" item enchantment | madmaxoft@gmail.com | 2013-06-02 | 1 | -5/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1540 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Enchantments: API and sending to client | madmaxoft@gmail.com | 2013-06-02 | 11 | -55/+1073 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | StringUtils: Fixed the HexDump in DEBUG mode | madmaxoft@gmail.com | 2013-06-02 | 1 | -4/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1538 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cItem constructor changed to create single-piece items when not given count | madmaxoft@gmail.com | 2013-06-01 | 3 | -23/+106 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=1150 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1536 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cLuaWindow:SetOnSlotChanged(); the callback is called only for non-inventory slots | madmaxoft@gmail.com | 2013-05-31 | 5 | -8/+84 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1535 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the OnClosing callback to cLuaWindow API | madmaxoft@gmail.com | 2013-05-30 | 8 | -9/+151 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1534 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Window contents are sent whenever the window is opened by a player. | madmaxoft@gmail.com | 2013-05-30 | 4 | -3/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1533 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | LuaWindow: Initial code, the window can be opened, but not much manipulated | madmaxoft@gmail.com | 2013-05-30 | 15 | -57/+997 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented right-click inventory painting | madmaxoft@gmail.com | 2013-05-30 | 2 | -26/+55 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1530 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented left-click inventory painting | madmaxoft@gmail.com | 2013-05-30 | 7 | -29/+338 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1529 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed previous commit | madmaxoft@gmail.com | 2013-05-28 | 2 | -3/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1528 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved BlockEntities to a separate folder | madmaxoft@gmail.com | 2013-05-28 | 34 | -109/+157 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Block entities now receive the cChunk param in their Tick() function | madmaxoft@gmail.com | 2013-05-28 | 10 | -51/+72 |
| | | | | | | 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 | ||||
* | More dropspenser redstone interaction fixes. | madmaxoft@gmail.com | 2013-05-28 | 1 | -0/+7 |
| | | | | | | Now the dropspensers are correctly powered off, unless they had been powered by a redstone torch directly next to them. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1525 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a forgotten change to make dropspensers activate only once on redstone activation | madmaxoft@gmail.com | 2013-05-28 | 1 | -1/+1 |
| | | | | | | Fixes rev 1521 functionality git-svn-id: http://mc-server.googlecode.com/svn/trunk@1524 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChunk: Added the GetRelNeighborChunkAdjustCoords() function | madmaxoft@gmail.com | 2013-05-28 | 2 | -0/+73 |
| | | | | | | 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 | ||||
* | Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-only | madmaxoft@gmail.com | 2013-05-28 | 6 | -5/+199 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1522 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DropSpensers: Fixed activation when receiving redstone signal. Now only one item is dropspensed. | madmaxoft@gmail.com | 2013-05-27 | 3 | -14/+33 |
| | | | | | | Fix for FS #378, http://www.mc-server.org/support/index.php?do=details&task_id=378 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1521 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed cItemGrid API, no more changeable GetSlot(). | madmaxoft@gmail.com | 2013-05-26 | 9 | -87/+142 |
| | | | | | | Also fixed possible water and lava duplication glitches in the dispenser. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1520 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Clarified documentation on the cItemGrid:RemoveItem() functions | madmaxoft@gmail.com | 2013-05-26 | 2 | -2/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1519 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Block entities with storage now correctly mark the chunk as dirty when their contents change. | madmaxoft@gmail.com | 2013-05-26 | 6 | -34/+162 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=434&pid=8210#pid8210 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1515 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented droppers | madmaxoft@gmail.com | 2013-05-26 | 27 | -405/+1092 |
| | | | | | | 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 | ||||
* | ItemGrid: Added the RemoveOneItem() function | madmaxoft@gmail.com | 2013-05-26 | 2 | -0/+53 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1513 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Alpha-sorted the block meta list | madmaxoft@gmail.com | 2013-05-26 | 1 | -75/+96 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1512 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added base Code::Blocks project (WIP, still doesn't compile) and fixed some source errors with MinGW. | madmaxoft@gmail.com | 2013-05-25 | 3 | -18/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1510 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added all new bindings, refactored Debuggers; new Debuggers function. | madmaxoft@gmail.com | 2013-05-25 | 4 | -237/+460 |
| | | | | | | Rclk with a redstone torch on a dispenser causes the dispenser to spit out one item each tick. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1509 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed WindowOwner implementation | madmaxoft@gmail.com | 2013-05-25 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1508 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChestEntity and cDispenserEntity now inherit from a common ancestor, cBlockEntityWithItems | madmaxoft@gmail.com | 2013-05-25 | 8 | -85/+186 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1507 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the cWorld:DoWithChestAt(), DoWithDispenserAt() and DoWithFurnaceAt() callbacks binding. | madmaxoft@gmail.com | 2013-05-25 | 4 | -11/+27 |
| | | | | | | They are now doing what the comment said they are doing. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1506 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added sound to the vaporize simulator. FS #315 | nielsbreu@gmail.com | 2013-05-25 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1505 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight cleanup in the cInventory / cItemGrid API | madmaxoft@gmail.com | 2013-05-24 | 6 | -41/+239 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored cInventory to use cItemGrid for the actual Storage | madmaxoft@gmail.com | 2013-05-24 | 23 | -499/+1543 |
| | | | | | | 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 | ||||
* | Added ItemCategory::IsArmor() | madmaxoft@gmail.com | 2013-05-24 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1502 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed linking error from rev 1498 | madmaxoft@gmail.com | 2013-05-21 | 3 | -11/+162 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1501 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Entity: Switched detection of ground to use g_BlockIsSolid global variable. | keyboard.osh@gmail.com | 2013-05-21 | 1 | -16/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1499 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added basic functions for width and height for Entities | keyboard.osh@gmail.com | 2013-05-21 | 1 | -11/+19 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1498 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Stairs placement fix (patch contributed by Simi) | madmaxoft@gmail.com | 2013-05-20 | 1 | -1/+1 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=503&pid=8159#pid8159 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1497 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed linux compilation | madmaxoft@gmail.com | 2013-05-19 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1496 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Inventory changes made by plugins are now propagated to the client | madmaxoft@gmail.com | 2013-05-19 | 2 | -23/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Inventory code cleanup, players can now see each other's armor | madmaxoft@gmail.com | 2013-05-19 | 22 | -196/+383 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed cWorld:ForEachEntity() | madmaxoft@gmail.com | 2013-05-19 | 1 | -1/+1 |
| | | | | | | | Fix for FS #374. The function was processing only one chunkmap layer object, due to an inverse condition. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1491 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Empty permission is always granted | madmaxoft@gmail.com | 2013-05-19 | 1 | -1/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1490 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed entity chunking. | madmaxoft@gmail.com | 2013-05-19 | 5 | -6/+24 |
| | | | | | | 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 | ||||
* | Removed pickup logging | madmaxoft@gmail.com | 2013-05-17 | 2 | -4/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1487 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedHeightmap: Rewritten to use the optimized cPerlinNoise and linear upscaling | madmaxoft@gmail.com | 2013-05-16 | 2 | -121/+64 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1486 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved noise debugging into the Noise.* files | madmaxoft@gmail.com | 2013-05-15 | 3 | -77/+93 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1485 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed 2D linear upscale to compile on Linux, added a test for it. | madmaxoft@gmail.com | 2013-05-15 | 3 | -32/+80 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1484 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pickup: fixed logging parameters causing a crash. | madmaxoft@gmail.com | 2013-05-15 | 1 | -3/+3 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=434&pid=8059#pid8059 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1483 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise3D generator is now using linear upscaling | madmaxoft@gmail.com | 2013-05-14 | 8 | -56/+241 |
| | | | | | | Measured 30% performance increase. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1482 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added more logging to pickup collection code. | madmaxoft@gmail.com | 2013-05-13 | 1 | -0/+6 |
| | | | | | | Hoping to fix irresponsive pickups, http://forum.mc-server.org/showthread.php?tid=434&pid=8019#pid8019 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1481 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added logging to pickup collection when a player is near and when collecting. | madmaxoft@gmail.com | 2013-05-13 | 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 | ||||
* | LinearUpscale: postfixed with InPlace to differentiate from a future src/dst version | madmaxoft@gmail.com | 2013-05-12 | 7 | -16/+22 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1479 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Temporarily set all pickups to spawn in the middle of the block from which they fall. | madmaxoft@gmail.com | 2013-05-12 | 1 | -9/+25 |
| | | | | | | (Additional fix for FS #338) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1478 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise3D: cleanup | madmaxoft@gmail.com | 2013-05-12 | 1 | -14/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1477 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedHeightmap: Deserts are now covered with sand and mushroom islands with mycelium (patch contributed by STR_Warrior) | madmaxoft@gmail.com | 2013-05-12 | 1 | -3/+39 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1476 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Renamed linear interpolation from Noise.h to a more proper LinearUpscale and moved it to a separate file. | madmaxoft@gmail.com | 2013-05-12 | 9 | -124/+91 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1475 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cWorld: Temporary fix for FS #338 | madmaxoft@gmail.com | 2013-05-12 | 1 | -0/+9 |
| | | | | | | The pickups get spawned with zero speed, not to mess up their physics simulation. Marked as temporary, remove when physics are completed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1474 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedHeightmap: Added info comment about the parameters table | madmaxoft@gmail.com | 2013-05-12 | 1 | -1/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1473 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cItems: Added runtime bounds-checking to avoid server crashes with badly written plugins. | madmaxoft@gmail.com | 2013-05-12 | 4 | -79/+93 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1472 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Converted the Noise3D generator to optimized noise and lerp | madmaxoft@gmail.com | 2013-05-11 | 2 | -109/+183 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1471 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added generic LinearInterpolation in 1D, 2D and 3D. | madmaxoft@gmail.com | 2013-05-11 | 2 | -0/+311 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1470 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise: Fixed optimized Cubic noise calculation | madmaxoft@gmail.com | 2013-05-11 | 1 | -1/+64 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1469 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Tiny formatting fix of rev 1463 | madmaxoft@gmail.com | 2013-05-09 | 2 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1467 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise: Added an efficient 3D cubic noise generation | madmaxoft@gmail.com | 2013-05-09 | 1 | -0/+252 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1466 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few out-of-bounds reads | madmaxoft@gmail.com | 2013-05-09 | 2 | -7/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1465 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed error while compiling. | nielsbreu@gmail.com | 2013-05-09 | 1 | -13/+41 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1464 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | function SpawnItemPickups is now exported to Lua. Lua is able to create a Items object. | nielsbreu@gmail.com | 2013-05-09 | 4 | -1/+179 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1463 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added 1.5.2 compatibility. | madmaxoft@gmail.com | 2013-05-08 | 4 | -4/+9 |
| | | | | | | FS #372 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1461 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored window clicking code to use different click actions | madmaxoft@gmail.com | 2013-05-08 | 12 | -130/+511 |
| | | | | | | 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 | ||||
* | Please keep the lists alpha-sorted | madmaxoft@gmail.com | 2013-05-07 | 1 | -3/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1458 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Sand can fall through snow. | faketruth | 2013-05-07 | 1 | -0/+3 |
| | | | | | | Patch courtesy of InHavk git-svn-id: http://mc-server.googlecode.com/svn/trunk@1457 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Replaced MIN / MAX with std::min and std::max (pt 2) | madmaxoft@gmail.com | 2013-05-07 | 1 | -9/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1456 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Replaced MIN / MAX with std::min and std::max | madmaxoft@gmail.com | 2013-05-07 | 2 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1455 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Protocol132: Replaced magic numbers with symbolic packet names | madmaxoft@gmail.com | 2013-05-07 | 1 | -5/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1454 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed player teleporting too far away ("Entity lost") | madmaxoft@gmail.com | 2013-05-06 | 1 | -3/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1452 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedHeightmap: Optimized by linear interpolation | madmaxoft@gmail.com | 2013-05-06 | 2 | -55/+89 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1451 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedHeightmap: Small optimizations, memory leak fix. | madmaxoft@gmail.com | 2013-05-06 | 4 | -2/+34 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1449 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedHeightmap: Slight speed increase | madmaxoft@gmail.com | 2013-05-06 | 2 | -0/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1448 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Re-worked generator subobject ownership, added a cache for the CompositionGen | madmaxoft@gmail.com | 2013-05-05 | 10 | -66/+187 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1447 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Biomal CompoGen to set heightmap correctly when underwater | madmaxoft@gmail.com | 2013-05-05 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1446 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the DistortedHeightmap height and composition generator. | madmaxoft@gmail.com | 2013-05-05 | 7 | -8/+486 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1445 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lighting: Fixed underwater lighting (FS #369) | madmaxoft@gmail.com | 2013-05-05 | 3 | -42/+74 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1444 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkDesc: Added heightmap verification (DEBUG-only), not used yet | madmaxoft@gmail.com | 2013-05-05 | 3 | -1/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1443 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Entity: Now entites inside a cobweb slow down their speed | keyboard.osh@gmail.com | 2013-05-05 | 1 | -8/+22 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1442 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Explosion: Switched from a cube to a sphere. Implemented using cBlockArea and moved block changing code to ChunkMap | keyboard.osh@gmail.com | 2013-05-04 | 3 | -31/+37 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1441 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | StringUtils: Fixed StringSplit to work with multiple delimiters | madmaxoft@gmail.com | 2013-05-01 | 2 | -4/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1438 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | FastNBT: Added cFastNBTTag::GetName() | madmaxoft@gmail.com | 2013-05-01 | 2 | -0/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1437 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | File: Added file rename and deletion functions | madmaxoft@gmail.com | 2013-05-01 | 2 | -0/+24 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1436 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | TNT: Added physics to TNT entity | keyboard.osh@gmail.com | 2013-04-28 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1435 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed compilation on Linux | madmaxoft@gmail.com | 2013-04-28 | 3 | -7/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1434 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Entity: fixed mass declaration | madmaxoft@gmail.com | 2013-04-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1432 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed most of client slowdowns caused by sending too many block changes (bad condition in FastSetBlock) | madmaxoft@gmail.com | 2013-04-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1431 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cEntity: Added mass to entities. | keyboard.osh@gmail.com | 2013-04-28 | 2 | -0/+29 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1430 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added dtAdmin damage type for use in plugins | madmaxoft@gmail.com | 2013-04-28 | 3 | -2/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1429 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pickup: Fixed a possible crash when a pickup went up above the world. | madmaxoft@gmail.com | 2013-04-28 | 1 | -15/+20 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1428 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added support for sending velocity and rotation in PACKET_SPAWN_MOB and PACKET_SPAWN_OBJECT | keyboard.osh@gmail.com | 2013-04-28 | 3 | -27/+30 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1427 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added initialization of rotation in cEntity. | keyboard.osh@gmail.com | 2013-04-28 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1426 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed crash with Minecart. It was getting added twice to the world and it was causing and ASSERT to fail. | keyboard.osh@gmail.com | 2013-04-28 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1425 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Increased Maximum speed to 78 blocks per second | keyboard.osh@gmail.com | 2013-04-28 | 1 | -6/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1424 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise3D: Re-fixed composition, finally no fake-tree remnants | madmaxoft@gmail.com | 2013-04-27 | 1 | -2/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1423 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed server stopping after #363 fix | madmaxoft@gmail.com | 2013-04-27 | 1 | -10/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1422 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a deadlock | madmaxoft@gmail.com | 2013-04-27 | 2 | -17/+47 |
| | | | | | | FS #363 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1421 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise3D: Fixed composition when reusing the buffer (caused chopped trees) | madmaxoft@gmail.com | 2013-04-27 | 1 | -0/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1420 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise3D made into Composable - both a HeightGen and a CompositionGen | madmaxoft@gmail.com | 2013-04-27 | 4 | -4/+313 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1419 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few possible crashes upon server stop | madmaxoft@gmail.com | 2013-04-27 | 1 | -3/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1418 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise3D: Made settable through INI, added slight height control, added basic compositing | madmaxoft@gmail.com | 2013-04-27 | 2 | -49/+154 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1417 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise3D: Shifted to normal groundlevel, added water on sealevel | madmaxoft@gmail.com | 2013-04-27 | 1 | -2/+17 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1416 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash in the plugin reload code. | madmaxoft@gmail.com | 2013-04-27 | 1 | -2/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1415 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | New terrain generator - Noise3D. | madmaxoft@gmail.com | 2013-04-27 | 3 | -2/+228 |
| | | | | | | A testbed for a generator based on 3D noise. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1414 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few possible crashes with out-of-bounds Y coords | madmaxoft@gmail.com | 2013-04-27 | 2 | -1/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1413 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial version of "DistortedMembraneOverhangs" | madmaxoft@gmail.com | 2013-04-25 | 3 | -1/+72 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1412 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the initial version of DirectOverhangs | madmaxoft@gmail.com | 2013-04-24 | 3 | -0/+138 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MultiStepMap BiomeGen: made 3x faster by using 2D noise instead of 3D noise. | madmaxoft@gmail.com | 2013-04-24 | 2 | -20/+32 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1410 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a (commented-out) performance test for biome generator | madmaxoft@gmail.com | 2013-04-24 | 1 | -0/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1409 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise: Removed the reference to Noise.inc | madmaxoft@gmail.com | 2013-04-24 | 1 | -8/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1408 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | HeiGenBiomal: interpolate in 4x4 blocks on float values | madmaxoft@gmail.com | 2013-04-22 | 2 | -15/+17 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1406 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed underwater sand / dirt generator noise frequency | madmaxoft@gmail.com | 2013-04-22 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1405 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Generator: Added notes of failed optimization attempts | madmaxoft@gmail.com | 2013-04-22 | 3 | -25/+37 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1404 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise: Implemented 2D Perlin noise, removed unused parameters. | madmaxoft@gmail.com | 2013-04-22 | 2 | -21/+188 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1402 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a (commented-out) performance test for cHeiGenBiomal and cCompoGenBiomal | madmaxoft@gmail.com | 2013-04-22 | 1 | -0/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1401 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs. | keyboard.osh@gmail.com | 2013-04-22 | 7 | -274/+207 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight performance improvements in cWorld::DoExplosiontAt() | madmaxoft@gmail.com | 2013-04-19 | 1 | -3/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Linux compilation, slight code cleanup | madmaxoft@gmail.com | 2013-04-19 | 9 | -46/+47 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cPlayer now uses BroadcastMovementUpdate during its Tick function | keyboard.osh@gmail.com | 2013-04-19 | 1 | -40/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1395 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial implementation of explosions and TNT block | keyboard.osh@gmail.com | 2013-04-18 | 17 | -2/+266 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise: removed the unused SSE branches and unused interpolation methods. Removed the Noise.inc file. | madmaxoft@gmail.com | 2013-04-17 | 3 | -477/+247 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1391 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Making float the default datatype for noise calculation (it's faster on ARM and same-speed on x86) | madmaxoft@gmail.com | 2013-04-17 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1390 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented the new cCubicNoise in 2D | madmaxoft@gmail.com | 2013-04-16 | 2 | -14/+402 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1387 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Proper entity removal functions | madmaxoft@gmail.com | 2013-04-13 | 5 | -55/+31 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1386 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 2013-04-13 | 49 | -581/+690 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bit of coding style and function names in cItem | madmaxoft@gmail.com | 2013-04-11 | 4 | -67/+80 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1384 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Dispensers rewritten to use ItemGrid | madmaxoft@gmail.com | 2013-04-10 | 8 | -154/+198 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1383 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed gcc build | madmaxoft@gmail.com | 2013-04-10 | 1 | -10/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1382 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ItemGrid: Renamed all Item to Slot - better and consistent naming | madmaxoft@gmail.com | 2013-04-10 | 7 | -114/+114 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1381 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid. | madmaxoft@gmail.com | 2013-04-10 | 14 | -115/+1313 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=831 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1380 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed chunk possibly writing to uninitialized memory | madmaxoft@gmail.com | 2013-04-09 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1376 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added Expat and LuaExpat, XML parsing now available in the API. | madmaxoft | 2013-04-09 | 4 | -0/+1331 |
| | | | | | | | FS #336 Windows version only, Linux to be fixed soon. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil loader: fixed Vanilla biomes not being read | madmaxoft@gmail.com | 2013-04-07 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1370 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed an assert in entities when destroying an entity without ever initializing it | madmaxoft@gmail.com | 2013-04-07 | 1 | -2/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1369 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added SQLite and LuaSQLite, Lua plugins can now use SQLite. | madmaxoft@gmail.com | 2013-04-07 | 5 | -0/+147483 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed bug in entities movement: Corrected proper flooring of double values for the relative move packet, and teleport packet. Also, made the velocity packet to be sent first than the positions packets. | keyboard.osh@gmail.com | 2013-04-07 | 2 | -14/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1367 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Mineshafts: randomized start position, tweaked default generator parameters; removed debugging glass pillars. | madmaxoft@gmail.com | 2013-04-06 | 2 | -27/+21 |
| | | | | | | Mineshafts can be considered finished. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1366 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Mineshafts: Added random loot to generated chests and fixed chest direction | madmaxoft@gmail.com | 2013-04-06 | 13 | -66/+420 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cobwebs are now washed away by water and can be broken by swords and shears, giving string. | madmaxoft@gmail.com | 2013-04-06 | 5 | -2/+35 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1363 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Mineshafts: Added a (nonworking) mob spawner in cobweb spider nests. | madmaxoft@gmail.com | 2013-04-06 | 1 | -1/+44 |
| | | | | | | Since MCServer doesn't support spawners yet, it has a default pig inside and doesn't spawn anything. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1362 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: made cobwebs less thick | madmaxoft@gmail.com | 2013-04-06 | 1 | -5/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1361 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Tracer: removed the "start and end in the same block" warning, it is a normal condition. | madmaxoft@gmail.com | 2013-04-06 | 1 | -29/+59 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1360 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added carrots and potatoes handling, bonemealing and proper lighting. | madmaxoft@gmail.com | 2013-04-05 | 7 | -11/+106 |
| | | | | | | FS #166 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1359 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed personal crafting grid not being tossed on inventory close. | madmaxoft@gmail.com | 2013-04-04 | 10 | -36/+22 |
| | | | | | | 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 | ||||
* | Fixed CreateHexDump() filling the string with garbage | madmaxoft@gmail.com | 2013-04-04 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1357 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed crops producing pickups for creative mode players. | madmaxoft@gmail.com | 2013-04-03 | 1 | -8/+4 |
| | | | | | | FS #350 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1356 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a debugging log for melon-growing to catch FS #349 | madmaxoft@gmail.com | 2013-04-03 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Server: removed the artificial cap on reported tick duration | madmaxoft@gmail.com | 2013-04-03 | 1 | -7/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1353 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed bug with Rotation not getting properly wrapped after being set. | keyboard.osh@gmail.com | 2013-04-03 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1351 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdate | keyboard.osh@gmail.com | 2013-04-02 | 5 | -40/+84 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cobweb lets light through. | madmaxoft@gmail.com | 2013-04-01 | 1 | -0/+1 |
| | | | | | | Fix for FS #351 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1349 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Proper fix for FS #347. Also unification of ticking block entities. | madmaxoft@gmail.com | 2013-04-01 | 8 | -141/+44 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1348 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hotfix for FS #347. | madmaxoft@gmail.com | 2013-04-01 | 1 | -7/+13 |
| | | | | | | This is not meant to be a permanent solution, but should provide insight into why the issue happens. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1347 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pawn, Player: fixed asserts when teleporting players outside of the world (setting spawn Y to 256) | madmaxoft@gmail.com | 2013-04-01 | 2 | -10/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1346 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ListenThread: Fixed socket-querying, might have crashed some linux versions. | madmaxoft@gmail.com | 2013-04-01 | 1 | -1/+1 |
| | | | | | | Hopefully this fixes FS #345 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1345 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: added random torches, fixed beams on chunk boundaries | madmaxoft@gmail.com | 2013-04-01 | 2 | -9/+100 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1344 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Added tracks to corridors | madmaxoft@gmail.com | 2013-03-31 | 4 | -9/+60 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1342 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChunkDesc: Added the RandomFillRelCuboid() function | madmaxoft@gmail.com | 2013-03-31 | 4 | -3/+153 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1341 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Limited the mineshafts generation into a settable-size cuboid | madmaxoft@gmail.com | 2013-03-31 | 1 | -10/+21 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1340 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cCuboid: Added the IsCompletelyInside() function | madmaxoft@gmail.com | 2013-03-31 | 4 | -2/+56 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1339 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Added (empty) chests and spiderwebs around (still missing) spawners | madmaxoft@gmail.com | 2013-03-31 | 1 | -4/+82 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1338 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea: Added runtime check for coords in Debug mode | madmaxoft@gmail.com | 2013-03-31 | 1 | -0/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: User-settable chance of individual pieces' occurence. Staircase-only mineshafts, yay :) | madmaxoft@gmail.com | 2013-03-31 | 3 | -29/+35 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1336 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Staircases have further connections behind them. | madmaxoft@gmail.com | 2013-03-31 | 1 | -1/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1335 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Added staircases; added floors to mineshafts going through water | madmaxoft@gmail.com | 2013-03-31 | 1 | -4/+173 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1334 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid() | madmaxoft@gmail.com | 2013-03-31 | 6 | -2/+204 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1333 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Set the default GridSize to 256 | madmaxoft@gmail.com | 2013-03-30 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1332 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Added branching crossings | madmaxoft@gmail.com | 2013-03-30 | 1 | -7/+132 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1331 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords. | madmaxoft@gmail.com | 2013-03-30 | 4 | -33/+170 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1330 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: added supports in corridors | madmaxoft@gmail.com | 2013-03-30 | 1 | -11/+103 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1329 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: Added branching corridors | madmaxoft@gmail.com | 2013-03-30 | 1 | -3/+67 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1328 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cTracer: Fixed asserts for invalid coords | madmaxoft@gmail.com | 2013-03-30 | 1 | -6/+26 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1327 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: implemented basic corridors, without any embellishments or branching yet. | madmaxoft@gmail.com | 2013-03-29 | 3 | -29/+142 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1326 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cuboid: Fixed intersection calculation | madmaxoft@gmail.com | 2013-03-29 | 2 | -1/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1325 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkDesc: Cuboid-based manipulation | madmaxoft@gmail.com | 2013-03-29 | 4 | -2/+181 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1324 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cuboid: Added DoesIntersect(), more IsInside() and more constructors | madmaxoft@gmail.com | 2013-03-29 | 4 | -4/+310 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1323 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ListenThread now reports the protocol used (IPv4 - IPv6) in its error messages | madmaxoft@gmail.com | 2013-03-29 | 1 | -8/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1322 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MineShafts: backup commit with initial work, still unusable. | madmaxoft@gmail.com | 2013-03-29 | 3 | -1/+639 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1321 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cuboid: Added the DifX/Y/Z functions | madmaxoft@gmail.com | 2013-03-29 | 4 | -113/+232 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1320 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches. | madmaxoft@gmail.com | 2013-03-26 | 5 | -13/+317 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cBlockArea: Fixed type / meta copypasta errors in mirroring and rotation code | madmaxoft@gmail.com | 2013-03-26 | 2 | -13/+43 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1318 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea: Implemented rotation without meta manipulation | madmaxoft@gmail.com | 2013-03-25 | 1 | -6/+76 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1317 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea: Implemented mirroring without meta manipulation | madmaxoft@gmail.com | 2013-03-25 | 4 | -4/+942 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1316 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed underflow issue in LeakFinder.cpp | keyboard.osh@gmail.com | 2013-03-25 | 1 | -6/+42 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1315 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Tweaked LeakFinder for VC2012 debug build (too much housekeeping info allocated) | madmaxoft@gmail.com | 2013-03-24 | 1 | -1/+13 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=826&pid=6974#pid6974 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1314 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | LeakFinder: Fixed previous commit, housekeeping is now factored in properly in both "alloc" and "free". | madmaxoft@gmail.com | 2013-03-24 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1311 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | LeakFinder: Factored in the housekeeping overhead | madmaxoft@gmail.com | 2013-03-24 | 1 | -4/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1310 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed memory leak detection value to 65970823. Also added support for compiling in Visual Studio 2012. | keyboard.osh@gmail.com | 2013-03-24 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1309 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made MultiStepMap BioGen the default | madmaxoft@gmail.com | 2013-03-24 | 1 | -8/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1308 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed rounding error in MultiStepMap BioGen, introduced in rev 1289. | madmaxoft@gmail.com | 2013-03-24 | 3 | -13/+71 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1307 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a problem in Linux handling of ListenThread. | madmaxoft@gmail.com | 2013-03-23 | 1 | -1/+4 |
| | | | | | | | A closed socket doesn't seem to wake up a select() call on that socket on Linux. Fixed by waking up by a timeout regularly (semi-busywait). Fixes FS #334 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1305 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added auto-kill-with-dump to LeakFinder if the allocated memory grows over 1 GiB. | madmaxoft@gmail.com | 2013-03-23 | 3 | -85/+147 |
| | | | | | | | Only works on Windows and only present in Debug mode. Produces memdump.xml for analysis. http://forum.mc-server.org/showthread.php?tid=826&pid=6948#pid6948 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1302 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions. | keyboard.osh@gmail.com | 2013-03-23 | 6 | -24/+107 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1299 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Re-tweaked WormNestCaves for more reasonable cave sizes | madmaxoft@gmail.com | 2013-03-22 | 1 | -7/+14 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed block update queueing and water meta change not propagated to clients. | madmaxoft@gmail.com | 2013-03-22 | 3 | -24/+87 |
| | | | | | | Fixes FS #333. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | WormNestCaves: tweaked a bit not to produce the single-block holes in the floor | madmaxoft@gmail.com | 2013-03-22 | 1 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1296 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulator: fixed a problem when manipulating the bedrock layer | madmaxoft@gmail.com | 2013-03-22 | 1 | -2/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1295 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members. | keyboard.osh@gmail.com | 2013-03-22 | 10 | -135/+257 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DelayedFluidSimulator: optimized block storage for large amounts of blocks. | madmaxoft@gmail.com | 2013-03-20 | 2 | -20/+62 |
| | | | | | | Speeds up chunk generation by 15 %. Expected to speed up fluid simulation, unmeasured. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1293 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | HeiGenBiomal: added a fast but ugly-looking optimization, disabled by default. | madmaxoft@gmail.com | 2013-03-20 | 1 | -0/+25 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1292 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Alpha-sorted the generators in ComposableGenerator | madmaxoft@gmail.com | 2013-03-20 | 1 | -15/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1291 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Optimized BioGen-MultiStepMap's performance by using linear interpolation, about 25 % increase in total chunk generation speed. | madmaxoft@gmail.com | 2013-03-19 | 2 | -6/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1289 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated bindings for new cChunkDesc functions | madmaxoft@gmail.com | 2013-03-19 | 2 | -4/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1288 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lakes: added a limiter, better height distribution | madmaxoft@gmail.com | 2013-03-19 | 3 | -11/+22 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1287 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator. | madmaxoft@gmail.com | 2013-03-19 | 11 | -171/+324 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1286 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Trees: fixed a glitch in large jungle trees' leaves (1 column was missing) | madmaxoft@gmail.com | 2013-03-19 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a copypasta error in cChunkDesc's BlockArea writer | madmaxoft@gmail.com | 2013-03-18 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1284 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added support for the packet #28 (0x1C): ENTITY_VELOCITY | keyboard.osh@gmail.com | 2013-03-18 | 13 | -0/+84 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging) | madmaxoft@gmail.com | 2013-03-17 | 16 | -662/+444 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1282 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ProbabDistrib: fixed definition string parsing with nonzero start | madmaxoft@gmail.com | 2013-03-17 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1281 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fluid simulator: fixed an out-of-bounds read when determining fluid direction | madmaxoft@gmail.com | 2013-03-17 | 1 | -2/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1280 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed zero-probability height distribution in FluidSprings finisher | madmaxoft@gmail.com | 2013-03-17 | 1 | -4/+11 |
| | | | | | | FS #330 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1279 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking. | madmaxoft@gmail.com | 2013-03-15 | 22 | -226/+418 |
| | | | | | | Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Small performance improvements in fluid simulator. | madmaxoft@gmail.com | 2013-03-14 | 4 | -31/+41 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1276 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the Classic fluid simulator, it was too unstable (2nd attempt) | madmaxoft@gmail.com | 2013-03-14 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1275 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the Classic fluid simulator, it was too unstable | madmaxoft@gmail.com | 2013-03-14 | 3 | -639/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1274 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Release 1.5 supported, yay :) | madmaxoft@gmail.com | 2013-03-14 | 5 | -9/+108 |
| | | | | | | Although some new blocks are still not recognized and behave badly, the protocol itself is working. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1273 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a Noop fluid simulator that doesn't do anything with the fluid (fluid doesn't spread at all, behaves like a normal block) | madmaxoft@gmail.com | 2013-03-14 | 2 | -0/+46 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1272 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fix for the Vaporize fluid simulator when loading chunks. | madmaxoft@gmail.com | 2013-03-14 | 2 | -1/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1271 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a Vaporize fluid simulator that simply replaces fluid blocks with air. | madmaxoft@gmail.com | 2013-03-14 | 3 | -0/+94 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1270 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added water and lava springs. | madmaxoft@gmail.com | 2013-03-14 | 10 | -11/+512 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed DelayedFluidSimulatorData to be a vector rather than a list, performance doubled :) | madmaxoft@gmail.com | 2013-03-14 | 3 | -8/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1268 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial nether composition generator | madmaxoft@gmail.com | 2013-03-11 | 7 | -8/+164 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1266 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash in LeakFinder when out of memory | madmaxoft@gmail.com | 2013-03-11 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1265 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil: Removed excessive debugging output | madmaxoft@gmail.com | 2013-03-11 | 1 | -3/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1264 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Minecarts get saved into Anvil. | madmaxoft@gmail.com | 2013-03-09 | 4 | -11/+47 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1263 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 2013-03-09 | 32 | -439/+1209 |
| | | | | | | Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed random teleporting into the void when leaving minecarts | madmaxoft@gmail.com | 2013-03-05 | 1 | -4/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1259 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made ListenThread an OSSupport part, as it's generic enough | madmaxoft@gmail.com | 2013-03-05 | 3 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1258 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the address | madmaxoft@gmail.com | 2013-03-05 | 2 | -3/+20 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1257 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | IPv6 support: fixed IP string getting on accept() | madmaxoft | 2013-03-05 | 4 | -17/+23 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed logic in socketthreads connecting | madmaxoft@gmail.com | 2013-03-05 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1255 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Listening ports are now logged | madmaxoft@gmail.com | 2013-03-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1254 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | IPv6 support + removed cTCPLink from Lua API | madmaxoft@gmail.com | 2013-03-05 | 13 | -591/+194 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1253 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved client socket accepting into a separate thread object, cListenThread | madmaxoft@gmail.com | 2013-03-04 | 8 | -114/+343 |
| | | | | | | | MCServer can now listen on multiple ports FS #312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1252 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the unused cHeartbeat object | madmaxoft@gmail.com | 2013-03-04 | 2 | -171/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Starting an IPv6 support / cSocket rewrite | madmaxoft@gmail.com | 2013-03-04 | 4 | -16/+35 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1250 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 2013-03-03 | 21 | -84/+448 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulators are woken up upon chunk load | madmaxoft@gmail.com | 2013-03-03 | 3 | -0/+45 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1248 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Redstone simulator: adding a block now checks if the neighbors are redstone-related; if not, the block is ignored. | madmaxoft@gmail.com | 2013-03-03 | 1 | -107/+144 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1247 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | FinishGen: Fixed sand collapsing and fluid stationarizing | madmaxoft@gmail.com | 2013-03-03 | 1 | -3/+14 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1246 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulators now check if they are given a valid chunk | madmaxoft@gmail.com | 2013-03-03 | 2 | -0/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1244 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added missing item types, fixed placing stone walls. | madmaxoft@gmail.com | 2013-03-03 | 4 | -19/+58 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1243 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | SandSimulator: Fixed sand dropping on half-slabs; added more blocks that break falling sand into pickups, fixed instant-fall | madmaxoft@gmail.com | 2013-03-03 | 3 | -37/+61 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1242 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSandSimulator: implemented InstantFall | madmaxoft@gmail.com | 2013-03-02 | 1 | -1/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1241 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten SandSimulator to use direct chunk access; and sand falling on torches now creates a pickup. | madmaxoft@gmail.com | 2013-03-02 | 8 | -89/+283 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1240 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the anvil block | madmaxoft@gmail.com | 2013-03-02 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1239 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Presimulator finisher now drops sand and gravel through fire blocks as well | madmaxoft@gmail.com | 2013-03-02 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1238 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DelayedFluidSimulator: removed an obnoxious debugging output | madmaxoft@gmail.com | 2013-03-02 | 1 | -4/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1237 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Floody fluid simulator has been converted to use direct chunk access | madmaxoft@gmail.com | 2013-03-02 | 7 | -136/+230 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1236 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed gcc compilation | madmaxoft@gmail.com | 2013-03-02 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1234 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data. | madmaxoft@gmail.com | 2013-03-01 | 9 | -121/+386 |
| | | | | | | 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 | ||||
* | Previous commit was missing the Entity.h file | madmaxoft@gmail.com | 2013-03-01 | 1 | -4/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1232 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated cEntity API; removed functions that are unusable from Lua, added a few query functions. | madmaxoft@gmail.com | 2013-03-01 | 2 | -176/+454 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1231 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed previous commit. | madmaxoft@gmail.com | 2013-02-28 | 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 | ||||
* | Fixed a bug in cChunk::QueueTickBlockNeighbors() that caused the tick thread to overload easily | madmaxoft@gmail.com | 2013-02-28 | 1 | -3/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1229 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Converted simulators to take cWorld reference instead of a pointer | madmaxoft@gmail.com | 2013-02-28 | 19 | -135/+166 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1228 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulators now have direct access to the cChunk object in the WakeUp() call | madmaxoft@gmail.com | 2013-02-28 | 21 | -125/+230 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a copypasta error from rev 1224 | madmaxoft@gmail.com | 2013-02-27 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1226 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Minecart entity now supports IsA() self-identification | madmaxoft@gmail.com | 2013-02-27 | 2 | -6/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1225 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it. | madmaxoft@gmail.com | 2013-02-27 | 5 | -12/+14 |
| | | | | | | 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 | ||||
* | AnvilStats: Added ChunkExtract mode of operation, splitting Anvil files into individual chunks. | madmaxoft@gmail.com | 2013-02-25 | 3 | -5/+6 |
| | | | | | | Both original zlibbed chunks and re-gzipped chunks are output. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1223 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved the Speed member into cEntity class instead of its descendants. | madmaxoft@gmail.com | 2013-02-21 | 17 | -385/+180 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands. | madmaxoft@gmail.com | 2013-02-21 | 8 | -14/+98 |
| | | | | | | Note that built-in console commands are exempt to this hook - they are always performed and the hook is not called. Also note that, for reasons unknown, the HookNotify plugin doesn't list the callback arguments. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Minecarts can now be placed. | madmaxoft@gmail.com | 2013-02-18 | 14 | -16/+278 |
| | | | | | | No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols. | madmaxoft@gmail.com | 2013-02-16 | 21 | -330/+59 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed previous commit | madmaxoft@gmail.com | 2013-02-15 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1216 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Block and recipe update by STR_Warrior. | madmaxoft | 2013-02-15 | 1 | -1/+17 |
| | | | | | | | | | Adds missing fuels Adds missing furnace recipes (FS #304) Fixes some recipes (FS #305) Adds current 1.5 weekly snapshot blocks and items. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1215 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Plugins can now bind console commands | madmaxoft@gmail.com | 2013-02-15 | 13 | -225/+621 |
| | | | | | | | FS #300 Most console commands are now implemented in the Core plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1214 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed one-hit-blocks not being broken server-side | madmaxoft@gmail.com | 2013-02-14 | 1 | -2/+4 |
| | | | | | | FS #301 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1213 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand() | madmaxoft@gmail.com | 2013-02-13 | 3 | -4/+80 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1212 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented the cBlockArea:RelLine() API function. | madmaxoft@gmail.com | 2013-02-13 | 2 | -1/+141 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1211 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added HOOK_WEATHER_CHANGING. | madmaxoft@gmail.com | 2013-02-13 | 12 | -106/+228 |
| | | | | | | http://www.mc-server.org/support/index.php?do=details&task_id=299 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1210 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a forgotten part of the cBlockArea::FillRelCuboid() function. | madmaxoft@gmail.com | 2013-02-11 | 1 | -0/+21 |
| | | | | | | Now meta, blocklight and skylight can be filled, too git-svn-id: http://mc-server.googlecode.com/svn/trunk@1209 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | More API functions in cBlockArea: Create(), Fill(), FillRelArea() | madmaxoft@gmail.com | 2013-02-11 | 4 | -5/+360 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1208 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cBlockArea:Merge() API function to merge two block areas using different strategies. | madmaxoft@gmail.com | 2013-02-10 | 4 | -9/+259 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1207 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed ASSERT / VERIFY mismatch in ManualBindings' error handling | madmaxoft@gmail.com | 2013-02-10 | 1 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1206 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed useless logging from cEntity::GetLookVector() | madmaxoft@gmail.com | 2013-02-10 | 2 | -11/+10 |
| | | | | | | Requested by STR_Warrior http://forum.mc-server.org/showthread.php?tid=434&pid=6368#pid6368 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1205 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cBlockArea: Added empty NBT tags to schematic file saving for better compatibility. | madmaxoft@gmail.com | 2013-02-10 | 1 | -0/+5 |
| | | | | | | Some tools require the presence of Entities and TileEntities tags in the schematic file and they wouldn't open the file if missing. Writing empty list tags. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1204 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cBlockArea:Expand() API function (untested) | madmaxoft@gmail.com | 2013-02-09 | 4 | -2/+143 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1203 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChunkDesc can now read and write cBlockAreas. | madmaxoft@gmail.com | 2013-02-08 | 7 | -15/+478 |
| | | | | | | A simple example is provided in the Debuggers plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1201 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Prepared cChunkDesc for further API extension; used it as the sole container for generated chunk data, including entities / block entities. | madmaxoft@gmail.com | 2013-02-08 | 9 | -202/+394 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1200 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily. | madmaxoft@gmail.com | 2013-02-07 | 4 | -2/+121 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1199 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cBlockArea can now be saved as a .schematic file. | madmaxoft@gmail.com | 2013-02-07 | 8 | -7/+121 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a sanity check to cBlockArea:Crop() | madmaxoft@gmail.com | 2013-02-07 | 1 | -0/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1197 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a cGZipFile class for reading GZipped files. | madmaxoft@gmail.com | 2013-02-07 | 5 | -26/+139 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1196 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cBlockArea can now be loaded from a .schematic file. | madmaxoft@gmail.com | 2013-02-06 | 4 | -3/+170 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1195 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a new API call to cBlockArea: Crop(). | madmaxoft@gmail.com | 2013-02-06 | 4 | -4/+138 |
| | | | | | | Also fixed cBlockArea:MakeIndex(), the indexing was wrong. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1194 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature. | madmaxoft@gmail.com | 2013-02-05 | 13 | -30/+309 |
| | | | | | | 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 | ||||
* | BiomeVisualiser: initial import | madmaxoft@gmail.com | 2013-02-03 | 3 | -8/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1192 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorld | faketruth | 2013-02-03 | 6 | -403/+421 |
| | | | | | | | Using templates to generate ForEach* functions instead of MACROS Better error reporting in ForEach* functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@1191 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved BioGen parameter reading from cComposableGenrator into each BioGen itself | madmaxoft@gmail.com | 2013-02-02 | 4 | -48/+96 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1190 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed GCC error in ManualBindings | madmaxoft@gmail.com | 2013-02-02 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1189 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Another GCC fix, hopefully this one will work | madmaxoft@gmail.com | 2013-02-01 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1187 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed GCC compilation | madmaxoft@gmail.com | 2013-02-01 | 1 | -1/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1186 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simplified cWorld::FindAndDoWithPlayer() | madmaxoft@gmail.com | 2013-02-01 | 2 | -12/+9 |
| | | | | | | It should still work the same - call the callback for the player with the most similar name. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1184 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved command API into cPluginManager. | madmaxoft@gmail.com | 2013-02-01 | 11 | -567/+606 |
| | | | | | | As specified in http://forum.mc-server.org/showthread.php?tid=765 , commands are now bound using a single function, cPluginManager:BindCommand(). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1183 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions. | madmaxoft@gmail.com | 2013-01-28 | 9 | -28/+25 |
| | | | | | | Also tweaked the mechanics so that plugins may revive without dropping other plugins out of the picture. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1182 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming. | madmaxoft@gmail.com | 2013-01-28 | 9 | -19/+19 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1180 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cItems: Fixed parameter names according to conventions | madmaxoft@gmail.com | 2013-01-27 | 1 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1179 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cItems to Lua API. | madmaxoft@gmail.com | 2013-01-27 | 6 | -342/+311 |
| | | | | | | Now HOOK_BLOCK_TO_PICKUPS is fully functional, as demonstrated by HookNotify. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1178 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups. | madmaxoft@gmail.com | 2013-01-27 | 19 | -85/+80 |
| | | | | | | Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed cMCLogger from Lua API | madmaxoft@gmail.com | 2013-01-27 | 3 | -155/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1175 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names. | madmaxoft@gmail.com | 2013-01-26 | 6 | -10/+10 |
| | | | | | | -ING means the event is being processed and may be refused by a plugin, -ED means it has already happenned and the plugin cannot do anything about it. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1174 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Merged the usable portion of the "gens" branch. | madmaxoft@gmail.com | 2013-01-25 | 26 | -788/+1098 |
| | | | | | | Splitting off the Composable generator and fiddling with LuaChunk / ChunkDesc is good, other generators not good yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1171 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Adjusted Biomal height generator to have less hills in the rivers. | madmaxoft@gmail.com | 2013-01-25 | 1 | -21/+21 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1165 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | A brand new biome generator: cBioGenMultiStepMap. | madmaxoft@gmail.com | 2013-01-24 | 3 | -0/+359 |
| | | | | | | Has proper mushroom biome inside ocean, nice transitions between neighboring biomes. Still needs a bit of tweaking, but generally ok. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1164 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Obsoleted E_BLOCK_COCA_PLANT in favor of E_BLOCK_COCOA_POD. | madmaxoft@gmail.com | 2013-01-22 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1162 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a possible crash on server restart. | madmaxoft@gmail.com | 2013-01-21 | 1 | -0/+1 |
| | | | | | | May be related to FS #294 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1161 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed piston placement. | madmaxoft@gmail.com | 2013-01-20 | 1 | -1/+1 |
| | | | | | | FS #293 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1160 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK. | madmaxoft@gmail.com | 2013-01-18 | 5 | -7/+8 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=464&pid=6163#pid6163 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1158 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed missing bindings in cPlugin | madmaxoft@gmail.com | 2013-01-14 | 3 | -8/+105 |
| | | | | | | FS #291 - crash on "/help" issued via client git-svn-id: http://mc-server.googlecode.com/svn/trunk@1143 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added missing dig status. | luksor111@gmail.com | 2013-01-13 | 2 | -0/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1141 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 2013-01-12 | 113 | -5329/+3556 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed rclk in doublechests | madmaxoft@gmail.com | 2013-01-08 | 4 | -12/+84 |
| | | | | | | FS #284 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1127 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed disappearing pickups - wrong physics simulation. | madmaxoft@gmail.com | 2013-01-06 | 1 | -30/+40 |
| | | | | | | FS #285 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1125 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added version 1.4.7 to the list of supported versions. | madmaxoft@gmail.com | 2013-01-05 | 1 | -1/+1 |
| | | | | | | The protocol used is the same. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1123 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Not sending multiple DC packets to the client. | madmaxoft@gmail.com | 2013-01-05 | 2 | -7/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1120 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Floody fluid simulator can create sourceblocks (configurable in World.ini) | madmaxoft@gmail.com | 2013-01-04 | 3 | -9/+78 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1119 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methods | madmaxoft@gmail.com | 2013-01-04 | 4 | -2/+130 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1118 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed compilation error in BlockCauldron.h on Linux | luksor111@gmail.com | 2012-12-29 | 1 | -2/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1117 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cauldrons and Brewing Stands are now placeable | luksor111@gmail.com | 2012-12-29 | 8 | -0/+151 |
| | | | | | | Cauldrons can be filled with water and used to fill bottles git-svn-id: http://mc-server.googlecode.com/svn/trunk@1116 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cPickup now uses full cItem, instead of a pointer | madmaxoft@gmail.com | 2012-12-28 | 6 | -108/+45 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1114 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed OnBlockPlace hook | luksor111@gmail.com | 2012-12-27 | 1 | -10/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1113 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed slab usage in creative mode | luksor111@gmail.com | 2012-12-27 | 4 | -9/+17 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1112 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Linux compilation | luksor111@gmail.com | 2012-12-27 | 1 | -3/+6 |
| | | | | | | Fixed flower pot consuming items in creative mode git-svn-id: http://mc-server.googlecode.com/svn/trunk@1111 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed 1.4.6 falling blocks. | madmaxoft@gmail.com | 2012-12-27 | 1 | -15/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1109 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ProtoProxy: Fixed 1.4.6 compatibility with vehicles, logging for entity metadata. | madmaxoft@gmail.com | 2012-12-27 | 1 | -0/+5 |
| | | | | | | Also removed logging to console, it was slowing the program too much. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1108 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added flower pots | luksor111@gmail.com | 2012-12-27 | 6 | -25/+141 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1107 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Dispensers can spawn mobs | luksor111@gmail.com | 2012-12-26 | 1 | -10/+19 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1106 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Dispensers can dispense items and liquids now | luksor111@gmail.com | 2012-12-26 | 10 | -3/+320 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Adjusted the protocol framework to support different types of falling block spawning. | madmaxoft@gmail.com | 2012-12-26 | 11 | -30/+104 |
| | | | | | | | 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 | ||||
* | Added 1.4.6 items (patch contributed by STR_Warrior) | madmaxoft@gmail.com | 2012-12-24 | 1 | -2/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1101 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the 1.4.6 protocol | madmaxoft@gmail.com | 2012-12-24 | 13 | -79/+191 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1099 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | PreSimulator finisher should now drop blocks through water and lava (untested) | madmaxoft@gmail.com | 2012-12-22 | 1 | -0/+4 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=409&pid=5728#pid5728 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1097 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now) | madmaxoft@gmail.com | 2012-12-22 | 31 | -166/+404 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Reduced most mobs' constructors to oneliners by passing parameters to superclasses | madmaxoft@gmail.com | 2012-12-22 | 37 | -220/+122 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed linux compilation | madmaxoft@gmail.com | 2012-12-21 | 1 | -2/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1094 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added sounds to levers and mobs | luksor111@gmail.com | 2012-12-21 | 23 | -1/+57 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. | madmaxoft@gmail.com | 2012-12-21 | 15 | -160/+228 |
| | | | | | | 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 | ||||
* | Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). | madmaxoft@gmail.com | 2012-12-21 | 60 | -381/+308 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 2012-12-21 | 62 | -1068/+2460 |
| | | | | | | 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 | ||||
* | Extended player inventory by direct r/o access to armor slots | madmaxoft@gmail.com | 2012-12-21 | 1 | -0/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1086 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Replaced "const double &" with plain "double" for simplicity | madmaxoft@gmail.com | 2012-12-21 | 4 | -43/+45 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1085 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash in redstone simulator when destroying blocks in Y < 2 | madmaxoft@gmail.com | 2012-12-20 | 1 | -0/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1084 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bool evaluation warning in BlockDoor.h | madmaxoft@gmail.com | 2012-12-20 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1083 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed chat messages from console | luksor111@gmail.com | 2012-12-20 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1082 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added dispensers (they can't dispense items yet) | luksor111@gmail.com | 2012-12-19 | 18 | -59/+525 |
| | | | | | | | | 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 | ||||
* | Implemented double doors | luksor111@gmail.com | 2012-12-19 | 5 | -11/+86 |
| | | | | | | | | | Implemented fence gate Updated g_BlockTransparent[] Doors can now only be opened by right clicking Doors will now drop when not supported by block git-svn-id: http://mc-server.googlecode.com/svn/trunk@1080 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed time calculation in cWorld::Tick() | madmaxoft@gmail.com | 2012-12-17 | 1 | -2/+2 |
| | | | | | | Should fix chunk saving bug in http://forum.mc-server.org/showthread.php?tid=434&pid=5663#pid5663 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1079 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cPiston refactoring to use cWorld::GetBlockTypeMeta() and proper types | madmaxoft@gmail.com | 2012-12-16 | 1 | -72/+108 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1078 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made WormNest caves generate smaller. | madmaxoft@gmail.com | 2012-12-16 | 1 | -3/+29 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=409&pid=5654#pid5654 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1077 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | RedstoneSimulator refactoring to use cWorld::GetBlockTypeMeta() as much as possible | madmaxoft@gmail.com | 2012-12-16 | 2 | -299/+389 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1076 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Levers (patch contributed by Keyboard) | madmaxoft@gmail.com | 2012-12-16 | 5 | -12/+209 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=649 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1075 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed fall damage again | luksor111@gmail.com | 2012-12-15 | 2 | -1/+3 |
| | | | | | | Added sound effects to pistons git-svn-id: http://mc-server.googlecode.com/svn/trunk@1074 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChunk now tracks its neighbors as direct pointers; used in UnboundedRelGetBlock et al. | madmaxoft@gmail.com | 2012-12-14 | 4 | -13/+224 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1073 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed cCriticalSection's debugging functions | madmaxoft@gmail.com | 2012-12-14 | 2 | -5/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1072 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed warnings in Player.cpp | luksor111@gmail.com | 2012-11-27 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1071 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added initial adventure mode support | luksor111@gmail.com | 2012-11-27 | 6 | -7/+41 |
| | | | | | | | | | Added missing Emerald crafting recipe You get more fall damage when jumping Torch no longer protects players from fall damage Fixed Ender Chest drops git-svn-id: http://mc-server.googlecode.com/svn/trunk@1070 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Furnace now lights up when smelting items | luksor111@gmail.com | 2012-11-26 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1069 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed certain blocks crashing clients when mined | luksor111@gmail.com | 2012-11-26 | 6 | -5/+34 |
| | | | | | | | | Fixed rail duplication glitch Fixed fall damage calculation Glass no longer drops glass git-svn-id: http://mc-server.googlecode.com/svn/trunk@1068 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rails don't turn grass into dirt underneath them. (Patch contributed by STR_Warrior) | madmaxoft@gmail.com | 2012-11-25 | 1 | -0/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1066 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented rail placement mechanics. | luksor111@gmail.com | 2012-11-25 | 2 | -0/+319 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1065 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed drops for: Stone, Mycelium, Redstone Torch. | luksor111@gmail.com | 2012-11-24 | 6 | -6/+41 |
| | | | | | | Fixed item usage for Jukeboxes and Spawn eggs in survival. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1064 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ByteBuffer: Fixed buffer overrun possibility. | madmaxoft@gmail.com | 2012-11-22 | 1 | -1/+3 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=633&pid=5473#pid5473 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1063 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | More ByteBuffer checks: Is it used from a single thread only? | madmaxoft@gmail.com | 2012-11-22 | 2 | -0/+74 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1062 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | SocketThreads fixes for crashes reported in FS #272 | madmaxoft@gmail.com | 2012-11-22 | 3 | -11/+15 |
| | | | | | | http://www.mc-server.org/support/index.php?do=details&task_id=272&project=2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1061 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added "primaryserverversion" to the "help" list. | madmaxoft@gmail.com | 2012-11-20 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1060 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added primary server version interface to cRoot and "primaryserverversion" console command. | madmaxoft@gmail.com | 2012-11-20 | 4 | -2/+92 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1059 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Aggressive debug mode cByteBuffer validity checking. | madmaxoft@gmail.com | 2012-11-20 | 5 | -22/+98 |
| | | | | | | Hopefully fixed the "BytesToEndOfBuffer" assert. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1057 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Adjusted the default for chunk generator structures. | madmaxoft@gmail.com | 2012-11-20 | 1 | -1/+1 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=434&pid=5398#pid5398 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1055 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Biome lists can have ":count" in them for adjusting biome occurence rate. Some more error logging. | madmaxoft@gmail.com | 2012-11-20 | 2 | -2/+25 |
| | | | | | | Idea created at FS #274, http://www.mc-server.org/support/index.php?do=details&task_id=274 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1054 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed wrong c++ standard assumptions about bools. | madmaxoft@gmail.com | 2012-11-18 | 2 | -4/+16 |
| | | | | | | | 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 | ||||
* | CraftingRecipes parse now dumps lines it cannot parse. | madmaxoft@gmail.com | 2012-11-18 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1052 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Android: Made the initial pre-calculated spawn area smaller | faketruth | 2012-11-16 | 5 | -44/+65 |
| | | | | | | | | | Android: Fixed FastNBT Android: Fixed level.dat reading/writing GroupManager uses groups.example.ini as default WebAdmin uses webadmin.example.ini as default git-svn-id: http://mc-server.googlecode.com/svn/trunk@1049 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed boolean comparison. | madmaxoft@gmail.com | 2012-11-16 | 5 | -11/+11 |
| | | | | | | 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 | ||||
* | Removed log message when spawning players on a client. | madmaxoft@gmail.com | 2012-11-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1047 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed crashes caused LightingThread overwriting memory where it shouldn't (yay valgrind!) | madmaxoft@gmail.com | 2012-11-16 | 2 | -4/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1046 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Added the "wait" music disc | luksor111@gmail.com | 2012-11-15 | 6 | -12/+15 |
| | | | | | | - Vines can now be placed on leaves git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | More valgrind fixes | madmaxoft@gmail.com | 2012-11-15 | 3 | -6/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1044 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added an assert for unknown protocol, so that the function isn't missed when upgrading to a new protocol. | madmaxoft@gmail.com | 2012-11-15 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1043 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added support for 1.4.4 client, using the 1.4.2 protocol class | madmaxoft@gmail.com | 2012-11-15 | 3 | -14/+44 |
| | | | | | | No MCServer-supported packets changed. Initial patch by Setimes. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1042 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a Printf() function that returns a new AString by value. | madmaxoft@gmail.com | 2012-11-15 | 2 | -1/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1041 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | More valgrind uninitialized var fixing | madmaxoft | 2012-11-13 | 1 | -2/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1040 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a valgrind error in lighting thread (uninitialized var value) | madmaxoft | 2012-11-13 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1039 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed block breaking in survival. | luksor111@gmail.com | 2012-11-12 | 2 | -4/+20 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1038 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added DeadBushes finisher (initial patch by STR_Warrior; DeathBushes FTW!) | madmaxoft@gmail.com | 2012-11-11 | 3 | -19/+125 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1037 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed an unused obsolete function chain - cWorld::GetChunkBlockData() | madmaxoft@gmail.com | 2012-11-11 | 6 | -47/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1036 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Settings.ini is read only once on server start | madmaxoft@gmail.com | 2012-11-11 | 3 | -39/+38 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1035 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | PrimaryServerVersion is not force-saved into settings.ini. | madmaxoft@gmail.com | 2012-11-11 | 2 | -3/+14 |
| | | | | | | Server admins are advised to keep the value undefined, which will default in the latest supported version being the primary git-svn-id: http://mc-server.googlecode.com/svn/trunk@1034 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cleanup: Removed deprecated functions from Lua API | madmaxoft@gmail.com | 2012-11-11 | 6 | -128/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1033 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hopefully a fix for crash when chunks are added to a client being destroyed. | madmaxoft@gmail.com | 2012-11-11 | 4 | -18/+37 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1032 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-11-11 | 1 | -6/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1031 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made settings.ini default to settings.example.ini when it doesn't exist | faketruth | 2012-11-10 | 1 | -1/+6 |
| | | | | | | I suggest to do the same with the other ini files? git-svn-id: http://mc-server.googlecode.com/svn/trunk@1030 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bug introduced in rev 1023 (ThuGie's crash) | madmaxoft@gmail.com | 2012-11-10 | 1 | -4/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1029 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Protocol 1.4.2: found out and fixed the reason behind the fake "login" packet: the locale_viewdistance packet had been extended | madmaxoft@gmail.com | 2012-11-10 | 2 | -3/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1028 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the SquirrelVM. | madmaxoft@gmail.com | 2012-11-08 | 13 | -17/+272 |
| | | | | | | It has been crashing the server. http://forum.mc-server.org/showthread.php?tid=610 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1024 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hotfix for ThuGie's crash, with a sanity check in debug mode. | madmaxoft | 2012-11-07 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1023 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored the world time. | madmaxoft@gmail.com | 2012-11-01 | 23 | -136/+326 |
| | | | | | | 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 | ||||
* | Added Bats and Witches. | luksor111@gmail.com | 2012-11-01 | 5 | -0/+132 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1021 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pickups no longer crash clients. | luksor111@gmail.com | 2012-10-31 | 2 | -2/+22 |
| | | | | | | Removed some unnecessary includes. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1020 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial 1.4.2 support. | luksor111@gmail.com | 2012-10-31 | 4 | -2/+159 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1019 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct version | madmaxoft@gmail.com | 2012-10-31 | 6 | -12/+100 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed gcc compilation | madmaxoft@gmail.com | 2012-10-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1017 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed NBT IntArray serialization; Biomes are now saved to / loaded from Anvil | madmaxoft@gmail.com | 2012-10-28 | 3 | -14/+76 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1015 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua API | madmaxoft@gmail.com | 2012-10-28 | 6 | -201/+291 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1014 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed more valgrind issues | madmaxoft@gmail.com | 2012-10-27 | 3 | -20/+16 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=598&pid=5139#pid5139 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1013 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Critical sections aren't heap-allocated in linux anymore. | madmaxoft@gmail.com | 2012-10-26 | 2 | -31/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1012 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a valgrind warning in BlockDirt. | madmaxoft@gmail.com | 2012-10-26 | 5 | -13/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1011 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed up a few valgrind warnings | madmaxoft@gmail.com | 2012-10-25 | 3 | -8/+10 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=598&pid=5071#pid5071 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1010 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed issues with pickups. | sebi.noreply@gmail.com | 2012-10-24 | 5 | -8/+52 |
| | | | | | | | | | * Now when picking up max. stack amount is checked. * Added cInventory::AddItemAnyAmount() which will not fail if it cannot add all items (it will just modify amount) * If there is no space in inventory and picking up stacked items, it will try to fill stacks already in inventory, partially picking up the item. * When closing inventory player will drop any items it's currently 'dragging' git-svn-id: http://mc-server.googlecode.com/svn/trunk@1008 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | #grammarnazi: fixed tabs to spaces and alpha-sort | madmaxoft@gmail.com | 2012-10-23 | 1 | -67/+68 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1007 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Adjusted the number and sizes of ore nests (Patch contributed by STR_Warrior) | madmaxoft@gmail.com | 2012-10-23 | 1 | -10/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1006 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker) | luksor111@gmail.com | 2012-10-23 | 7 | -64/+111 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1005 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | You can now see particles and hear sounds when other players are destroying blocks. | luksor111@gmail.com | 2012-10-22 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1004 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight formatting tuneup to the previous commit. | madmaxoft@gmail.com | 2012-10-22 | 1 | -4/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1003 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Vine decay (patch contributed by funmaker) | madmaxoft@gmail.com | 2012-10-22 | 2 | -10/+65 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1002 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made DeepSnow remove flowers and mushrooms while snowing. | luksor111@gmail.com | 2012-10-22 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1001 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) | madmaxoft@gmail.com | 2012-10-21 | 5 | -2/+91 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1000 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cFinishGenPreSimulator sets correct fluid type (stationary in the middle, flowing on chunk borders / holes next to water. | madmaxoft@gmail.com | 2012-10-21 | 2 | -2/+94 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@999 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the first part of the PreSimulator finisher, drops floating sand and gravel to ground. | madmaxoft@gmail.com | 2012-10-21 | 3 | -0/+112 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@998 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added more item stacking sizes (patch contributed by Hanfer) | madmaxoft@gmail.com | 2012-10-21 | 1 | -26/+65 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@997 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed manual bindings' ForEachXXX mapping not checking the object instance for validity. | madmaxoft@gmail.com | 2012-10-21 | 1 | -0/+5 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=591&pid=5007#pid5007 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@996 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | My OCD has alpha-sorted some stuff :) | madmaxoft@gmail.com | 2012-10-21 | 7 | -144/+130 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@995 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added jukeboxes (patch contributed by Luksor) | madmaxoft@gmail.com | 2012-10-21 | 21 | -250/+590 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Double chests are now working, and with sound. (FS #69) | madmaxoft@gmail.com | 2012-10-20 | 7 | -122/+125 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@993 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Double chests are formed correctly in all situations (meta is adjusted for the neighboring chest) | madmaxoft@gmail.com | 2012-10-20 | 2 | -10/+88 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@991 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Got rid of nonsense logging in cPiston's direction calc. | madmaxoft@gmail.com | 2012-10-20 | 1 | -19/+30 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@990 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chest does check if it can be placed at the coords specified (the client does the check itself, too, but this may be good for scripts) | madmaxoft@gmail.com | 2012-10-20 | 1 | -0/+68 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@989 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed excessive debug loggin in Floody fluid simulator. | madmaxoft@gmail.com | 2012-10-20 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@987 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block. | madmaxoft@gmail.com | 2012-10-20 | 9 | -155/+327 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@986 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | PACKET_DESTROY_ENTITY isn't sent for self when the player is kicked (FS #254) | madmaxoft@gmail.com | 2012-10-20 | 1 | -0/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@985 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command. | madmaxoft@gmail.com | 2012-10-20 | 4 | -207/+132 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@984 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ravines: Drill only through specific blocks (FS #259) | madmaxoft@gmail.com | 2012-10-19 | 1 | -1/+23 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@983 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed unused [Physics].Water section from settings.ini. | madmaxoft@gmail.com | 2012-10-19 | 2 | -18/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@982 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | WormNestCaves: drills only through specific blocks (FS #259) | madmaxoft@gmail.com | 2012-10-19 | 1 | -1/+23 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@981 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fluids will wash away crops and sugarcane. | madmaxoft@gmail.com | 2012-10-19 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@980 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added spawn eggs with mobs (patch committed by Luksor) | madmaxoft@gmail.com | 2012-10-19 | 11 | -2/+431 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@979 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Converted some const char*s and std::strings to AStrings | faketruth | 2012-10-18 | 8 | -43/+259 |
| | | | | | | | 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 | ||||
* | Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks. | madmaxoft@gmail.com | 2012-10-18 | 25 | -235/+344 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed item damage value not being read from the 1.3.2 protocol (wtf, why was it disabled?) | madmaxoft@gmail.com | 2012-10-18 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@976 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Reverted previous commit, chose a different solution, much cleaner. | madmaxoft@gmail.com | 2012-10-18 | 2 | -16/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@975 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made constants in cChunkDef enums, compilation fixes for gcc. | madmaxoft@gmail.com | 2012-10-18 | 2 | -12/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@974 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added basic spawn eggs (patch contributed by Luksor) | madmaxoft@gmail.com | 2012-10-18 | 2 | -11/+78 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@973 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a vulnerability in cClientHandle::HandleRespawn() | faketruth | 2012-10-17 | 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 | ||||
* | More blocks can be washed away by fluids. | madmaxoft@gmail.com | 2012-10-16 | 1 | -0/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@971 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed floody fluid sim making downward fluid behave like source blocks. | madmaxoft@gmail.com | 2012-10-16 | 1 | -8/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@970 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Decreased logging in floody fluid simulator. | madmaxoft@gmail.com | 2012-10-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@969 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed DelayedFluidSimulator. | madmaxoft@gmail.com | 2012-10-15 | 4 | -12/+22 |
| | | | | | | 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 | ||||
* | Floody fluid sim: reads params from world.ini; water and lava react together into cobblestone / stone / obsidian | madmaxoft@gmail.com | 2012-10-14 | 3 | -14/+79 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@965 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Floody fluid simulator now dries up correctly, too. | madmaxoft@gmail.com | 2012-10-14 | 8 | -49/+184 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@964 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial Floody fluid simulator. | madmaxoft@gmail.com | 2012-10-14 | 12 | -54/+430 |
| | | | | | | Can spread, cannot dry. git-svn-id: http://mc-server.googlecode.com/svn/trunk@963 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Biomal CompoGen now generates sea with STATIONARY_WATER instead of regular WATER. | madmaxoft@gmail.com | 2012-10-14 | 2 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@962 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the bucket handling code trying to simulate at the wrong coords (client sends all coords as -1 to signify "item use") | madmaxoft@gmail.com | 2012-10-14 | 1 | -12/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@961 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea: Added const-ness to non-modifying functions, so that a const cBlockArea & can be used. | madmaxoft@gmail.com | 2012-10-14 | 2 | -22/+22 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@960 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) | faketruth | 2012-10-14 | 16 | -492/+518 |
| | | | | | | | | | | | | Removed cPlugin_Lua, obviously cPluginManager stores plugins by their (folder)name cPluginManager now scans the Plugins folder for potential plugins and adds them as non-loaded plugins Added a DisablePlugin and LoadPlugin to disable and load plugins on a per-plugin basis instead of all at once cPluginManager::FindPlugins refreshes the plugin list by removing non-existing plugins and adding new plugins Made it incredibly easy to use new plugins from the WebAdmin Exposed some food/hunger related functions in cPlayer to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@959 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Better split of the fluid simulator functionality; removed the old LavaSimulator and WaterSimulator files. | madmaxoft@gmail.com | 2012-10-13 | 8 | -211/+145 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@958 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Forgotten file | madmaxoft@gmail.com | 2012-10-13 | 1 | -0/+721 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@957 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Preparation for multiple fluid simulators. | madmaxoft@gmail.com | 2012-10-13 | 27 | -861/+341 |
| | | | | | | | | | 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 | ||||
* | Added delayed ticking to Lua API | madmaxoft@gmail.com | 2012-10-13 | 4 | -28/+157 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@953 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Got rid of "self" in plugins, which is deprecated anyway | faketruth | 2012-10-11 | 3 | -12/+29 |
| | | | | | | | Fixed bug in many On* hooks that did not pop the return values from the stack Fixed Plugin:Call() that removed one too many items from the stack git-svn-id: http://mc-server.googlecode.com/svn/trunk@950 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Can now send usertypes (cPlayer, cEntity, cCuboid) along with a plugin:Call() | faketruth | 2012-10-11 | 1 | -2/+25 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@946 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added functionality so one plugin can call functions on another plugin :D | faketruth | 2012-10-10 | 1 | -0/+85 |
| | | | | | | Fixed Core plugin file addresses in the VS2008 project git-svn-id: http://mc-server.googlecode.com/svn/trunk@945 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added an option to disable/enable PVP on a per world basis | faketruth | 2012-10-10 | 3 | -1/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@944 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed some logging | faketruth | 2012-10-10 | 1 | -6/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@943 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | All blockticking is now done in cBlockHandlers | madmaxoft@gmail.com | 2012-10-07 | 4 | -216/+190 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@942 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Split the name for signed and unsigned int writing in cProtocol. | madmaxoft@gmail.com | 2012-10-07 | 2 | -3/+3 |
| | | | | | | Hopefully this fixes compilation problems with 64-bit debian ( http://forum.mc-server.org/showthread.php?tid=575 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@940 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed an invalid direction to AddDirection() | madmaxoft@gmail.com | 2012-10-06 | 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 | ||||
* | Completely removed the old (buggy) redstone simulator. | madmaxoft@gmail.com | 2012-10-06 | 12 | -635/+342 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed a few debugging messages from the release builds. | madmaxoft@gmail.com | 2012-10-06 | 4 | -8/+11 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=571 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@936 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed player respawning crashing the server. | madmaxoft@gmail.com | 2012-10-06 | 1 | -1/+8 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=520&pid=4789#pid4789 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@935 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea writing support (BlockTypes with BlockMeta only) | madmaxoft@gmail.com | 2012-10-06 | 11 | -16/+504 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lua plugins can get player's equipped item | madmaxoft@gmail.com | 2012-10-06 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@932 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | AnvilStats: made FastNBT faster by tweaking the pre-allocation. | madmaxoft@gmail.com | 2012-10-05 | 1 | -1/+7 |
| | | | | | | Although the file is shared between AnvilStats and MCServer, MCServer doesn't use this tweak (it uses too much memory) git-svn-id: http://mc-server.googlecode.com/svn/trunk@931 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed saplings not growing into trees | madmaxoft@gmail.com | 2012-10-03 | 2 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@924 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the "collect pickup" sound to 1.3.2 | madmaxoft@gmail.com | 2012-10-03 | 2 | -0/+23 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@923 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Minor style cleanup | madmaxoft@gmail.com | 2012-10-03 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@922 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 2012-10-03 | 75 | -541/+675 |
| | | | | | | 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 | ||||
* | Added BLOCK_FACE_NONE into the plugin API | madmaxoft@gmail.com | 2012-10-03 | 3 | -8/+54 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@919 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 2012-10-01 | 42 | -507/+856 |
| | | | | | | ( 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 | ||||
* | Added some missing block enums | faketruth | 2012-09-30 | 2 | -1/+15 |
| | | | | | | Spruce, birch and jungle wood stairs now orient correctly git-svn-id: http://mc-server.googlecode.com/svn/trunk@916 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added falling block entities. Sand and gravel now properly fall down | faketruth | 2012-09-30 | 23 | -56/+221 |
| | | | | | | | | | | 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 | ||||
* | Fixed initial player head rotation when a player is being spawned on another client | faketruth | 2012-09-29 | 1 | -1/+4 |
| | | | | | | | Fixed showing correct item in the player hand when spawned on another client (it didn't include metadata/health before) Fixed player head rotation when moving and looking around at the same time git-svn-id: http://mc-server.googlecode.com/svn/trunk@914 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Forgot to commit BlockBed.cpp | faketruth | 2012-09-29 | 1 | -0/+77 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@913 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-09-29 | 1 | -4/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@912 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Beds can be slept in now (it doesn't change the time though) | faketruth | 2012-09-29 | 14 | -63/+111 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed memory leaks in cWindow and cProtocolRecognizer | madmaxoft@gmail.com | 2012-09-29 | 2 | -0/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@910 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | SocketThread: clients aren't double-removed anymore. | madmaxoft@gmail.com | 2012-09-29 | 3 | -23/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@909 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hopefully fixed creative inventory tossing items out of the window. | madmaxoft@gmail.com | 2012-09-29 | 1 | -1/+1 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=434&pid=4657#pid4657 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@905 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | SlotArea: removed excessive logging | madmaxoft@gmail.com | 2012-09-29 | 1 | -4/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@904 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Unified folder name-casing | madmaxoft@gmail.com | 2012-09-29 | 77 | -12/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Extended the cFile interface with Printf() | madmaxoft@gmail.com | 2012-09-29 | 2 | -0/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@901 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made beds placeable | faketruth | 2012-09-29 | 6 | -3/+163 |
| | | | | | | Android: Updated some stuff and set default view distance lower git-svn-id: http://mc-server.googlecode.com/svn/trunk@900 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made Anvil the default storage schema | faketruth | 2012-09-27 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@894 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bug in the inventory system where it would de-sync when dragging items with non-default metadata/health | faketruth | 2012-09-26 | 1 | -1/+1 |
| | | | | | | | | | Android: Updated VS2008 project to point to correct Android files Android: Updated makefiles to compile CryptoPP Android: Modified CryptoPP config.h and misc.cpp so it compiles for Android Android: Added pretty MCServer icons git-svn-id: http://mc-server.googlecode.com/svn/trunk@893 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the block dig animation packet (patch contributed by l0udPL) | madmaxoft@gmail.com | 2012-09-25 | 15 | -6/+144 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247) | madmaxoft@gmail.com | 2012-09-25 | 13 | -114/+103 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Lua bindings for file renaming in previous commits | madmaxoft@gmail.com | 2012-09-24 | 3 | -30/+30 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@889 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 2012-09-24 | 217 | -711/+575 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: ChunkDataSerializer is Protocol-related | madmaxoft@gmail.com | 2012-09-23 | 6 | -4/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@886 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: OSSupport-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 2012-09-23 | 49 | -59/+51 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: Removed unused cBlockToPickup | madmaxoft@gmail.com | 2012-09-23 | 9 | -125/+36 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@884 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: Mobs-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 2012-09-23 | 46 | -89/+92 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: WorldStorage-related files in a separate subfolder | madmaxoft@gmail.com | 2012-09-23 | 9 | -27/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@882 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: Generating-related files in a separate subfolder | madmaxoft@gmail.com | 2012-09-23 | 22 | -34/+43 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: Protocol-related files in a separate subfolder | madmaxoft@gmail.com | 2012-09-23 | 9 | -31/+31 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@880 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: UI files renamed | madmaxoft@gmail.com | 2012-09-23 | 14 | -20/+17 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@878 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed position confirming for 1.3.2 (FS #245) | madmaxoft@gmail.com | 2012-09-23 | 2 | -1/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@877 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed players not spawning to others when they join the server. | madmaxoft@gmail.com | 2012-09-23 | 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 | ||||
* | Tweaked logging. | madmaxoft@gmail.com | 2012-09-23 | 6 | -56/+48 |
| | | | | | | | 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 | ||||
* | Fixed entity equipment packet in the 1.3.2 protocol. | madmaxoft@gmail.com | 2012-09-23 | 2 | -10/+26 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@874 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a potential crash in shift-click (gcc warning) | madmaxoft@gmail.com | 2012-09-21 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@871 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Working shift-click support in crafting areas; window update working in 1.3.2 | madmaxoft@gmail.com | 2012-09-21 | 6 | -16/+120 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@869 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | UI: Added shift-click support to most slot areas, except crafting. | madmaxoft@gmail.com | 2012-09-20 | 6 | -43/+232 |
| | | | | | | Also fixed survival inventory's crafting grid not working. git-svn-id: http://mc-server.googlecode.com/svn/trunk@868 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored windows. | madmaxoft@gmail.com | 2012-09-20 | 34 | -1535/+1568 |
| | | | | | | | 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 | ||||
* | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 2012-09-11 | 47 | -27/+326 |
| | | | | | | 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 | ||||
* | ItemToString() now recognizes matches that are in the ini without metadata. | madmaxoft@gmail.com | 2012-09-08 | 1 | -0/+15 |
| | | | | | | "323:0" -> "sign", although ini says "sign=323" only. git-svn-id: http://mc-server.googlecode.com/svn/trunk@856 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | StringToItem() sets item's count to 1 after a successful parse | madmaxoft@gmail.com | 2012-09-08 | 1 | -1/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@854 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed item damage not being set properly in StringToItem() | madmaxoft@gmail.com | 2012-09-08 | 1 | -0/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@853 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Set leaves as a transparent block. | madmaxoft@gmail.com | 2012-09-08 | 1 | -0/+1 |
| | | | | | | Initiated by STR_Warrior, http://forum.mc-server.org/showthread.php?tid=434&pid=4512#pid4512 git-svn-id: http://mc-server.googlecode.com/svn/trunk@852 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | GetLocalDirectory should not include FILE_IO_PREFIX since that is already included in cIniFile | faketruth | 2012-09-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@851 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cPlugin_NewLua::GetLocalDirectory() and exported it to Lua so plugins can store their settings in their own folder. | faketruth | 2012-09-08 | 4 | -3/+46 |
| | | | | | | Core now stores banned players and whitelist data in its own directory git-svn-id: http://mc-server.googlecode.com/svn/trunk@850 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Another fix for the case-sensitiveness. WTF, STL allows different signatures for Debug and Release builds? | madmaxoft@gmail.com | 2012-09-08 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@849 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the case-sensitiveness of the item map. | madmaxoft@gmail.com | 2012-09-08 | 1 | -1/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@848 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the ItemToString() and ItemTypeToString() functions. | madmaxoft@gmail.com | 2012-09-08 | 4 | -36/+323 |
| | | | | | | Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4506#pid4506 git-svn-id: http://mc-server.googlecode.com/svn/trunk@847 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Relaxed the check for held item, the client sometimes sends wrong ItemType. | madmaxoft@gmail.com | 2012-09-07 | 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 | ||||
* | Snow is not put atop vines by the snow finisher anymore | madmaxoft@gmail.com | 2012-09-07 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@843 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed slot parsing in 1.2.5 causing weird behavior ( http://forum.mc-server.org/showthread.php?tid=551&pid=4413#pid4413 ) | madmaxoft@gmail.com | 2012-09-06 | 2 | -1/+6 |
| | | | | | | Also added some asserts into ByteBuffer so that this won't happen again. git-svn-id: http://mc-server.googlecode.com/svn/trunk@842 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added protocol-specific authentication, now works for both 1.2.5 and 1.3.2 | madmaxoft@gmail.com | 2012-09-06 | 10 | -19/+154 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@841 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed excessive debug logging in cProtocol132 | madmaxoft@gmail.com | 2012-09-06 | 2 | -35/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@840 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Officially added 1.3.2 protocol support | madmaxoft@gmail.com | 2012-09-06 | 4 | -8/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@839 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ClientHandle: added an overflow buffer for outgoing data, it fixes the "bad packet id" problem with 1.3.2. | madmaxoft@gmail.com | 2012-09-06 | 2 | -5/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@837 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the possibility of reserved player slots by implementing the HandleHandshake hook! | faketruth | 2012-09-05 | 10 | -8/+88 |
| | | | | | | 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 | ||||
* | Debugging in cByteBuffer::Write(); added the ReadAgain() method to allow ProtoProxy re-send the data it has parsed. | madmaxoft@gmail.com | 2012-09-04 | 2 | -0/+31 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@833 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a possible race condition in cClientHandle's packet sending code; prepared for moving cSocket out of cClientHandle's ownership. | madmaxoft@gmail.com | 2012-09-04 | 5 | -7/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@832 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed preprocessor definitions in Linux | madmaxoft@gmail.com | 2012-09-04 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@831 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed FS #243, server crash after restart. The blockhandler table and the itemhandler table weren't properly re-initialized. | madmaxoft@gmail.com | 2012-09-04 | 3 | -115/+239 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@830 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hopefully fixed pointer arithmetic problems in GCC compilation in cProtocol132 | madmaxoft@gmail.com | 2012-09-04 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@828 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed OS dependencies from CryptoPP; Removed unused modules that didn't compile on some platforms | madmaxoft@gmail.com | 2012-09-04 | 3 | -5/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@827 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added writing support to cByteBuffer (will be used by ProtoProxy) | madmaxoft@gmail.com | 2012-09-02 | 2 | -6/+157 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@825 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Bug #241: | lapayo94@gmail.com | 2012-09-02 | 1 | -0/+5 |
| | | | | | | Torches should drop correct now git-svn-id: http://mc-server.googlecode.com/svn/trunk@824 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed debug-only code leaking into release mode in cCriticalSection, making it incompilable in release mode. | madmaxoft@gmail.com | 2012-09-02 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@823 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ToLua does not like the override keyword :( | faketruth | 2012-09-02 | 3 | -46/+14 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@821 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Exported cWorld::DoWithChestAt to Lua | faketruth | 2012-09-02 | 5 | -39/+416 |
| | | | | | | Exported cChestEntity to Lua for handling in DoWithChestAt git-svn-id: http://mc-server.googlecode.com/svn/trunk@820 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Next iteration on the 1.3.2 protocol. Still no good, but sometimes it just gets through. For your testing pleasures ;) | madmaxoft@gmail.com | 2012-09-02 | 10 | -42/+120 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@819 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a CreateHexDump() function for easier raw data debugging | madmaxoft@gmail.com | 2012-09-02 | 2 | -1/+59 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@818 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Critical sectino now allows debug info - is it locked? / is it locked by current thread? | madmaxoft@gmail.com | 2012-09-02 | 2 | -11/+48 |
| | | | | | | Useful for ASSERTs git-svn-id: http://mc-server.googlecode.com/svn/trunk@817 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fix for Rev 814, the correct cPlayer object is actually sent into the callbacks. | madmaxoft@gmail.com | 2012-09-01 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@816 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Quick fix for generator crash upon server stop. | madmaxoft@gmail.com | 2012-09-01 | 1 | -1/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@815 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a Player parameter to OnUpdatedSign and OnUpdatingSign Lua callbacks and to the cWorld:UpdateSign method (http://forum.mc-server.org/showthread.php?tid=464&pid=4393#pid4393) | madmaxoft@gmail.com | 2012-09-01 | 12 | -58/+83 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@814 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented: http://www.mc-server.org/support/index.php?do=details&task_id=239&project=2&dev=26 | lapayo94@gmail.com | 2012-09-01 | 3 | -29/+31 |
| | | | | | | Fixed Bug on build collision git-svn-id: http://mc-server.googlecode.com/svn/trunk@813 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Progress on the 1.3.2 protocol. | madmaxoft@gmail.com | 2012-08-31 | 21 | -109/+500 |
| | | | | | | 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 | ||||
* | Another possible deadlock in cClientHandle averted. Hope this is the one. | madmaxoft@gmail.com | 2012-08-31 | 2 | -5/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@810 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed one possibility of a deadlock in cClientHandle::SendChunkData() | madmaxoft@gmail.com | 2012-08-31 | 1 | -13/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@809 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14) | madmaxoft@gmail.com | 2012-08-30 | 5 | -6/+248 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@808 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a basic protocol recognizer and the base for 1.3.2 protocol. | madmaxoft@gmail.com | 2012-08-30 | 11 | -42/+658 |
| | | | | | | Also fixed a few type-related warnings. git-svn-id: http://mc-server.googlecode.com/svn/trunk@805 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cProtocol handles the initial handshake up to player login | madmaxoft@gmail.com | 2012-08-30 | 6 | -69/+61 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@804 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 2012-08-29 | 70 | -2253/+297 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a check if torch is placed on the bottom face, temporarily fix the assert. | madmaxoft@gmail.com | 2012-08-29 | 1 | -0/+4 |
| | | | | | | Server ignores the placement, but doesn't send correct block to the client. Also, the server should try placing the torch on a side, if available. git-svn-id: http://mc-server.googlecode.com/svn/trunk@801 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore. | madmaxoft@gmail.com | 2012-08-28 | 93 | -2511/+812 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few warnings | madmaxoft@gmail.com | 2012-08-28 | 3 | -6/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@799 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cut out all packet handling to a separate cProtocol descendant | madmaxoft@gmail.com | 2012-08-27 | 25 | -1185/+1685 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6 | madmaxoft@gmail.com | 2012-08-26 | 14 | -153/+247 |
| | |||||
* | Turned a common assert into a warning log | madmaxoft@gmail.com | 2012-08-26 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@794 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL) | madmaxoft@gmail.com | 2012-08-26 | 9 | -7/+316 |
| | | | | | | 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 | ||||
* | Fixed compilation problem on Linux (FS case sensitivity sux) | madmaxoft@gmail.com | 2012-08-26 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@791 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket doesn't use cPackets. | madmaxoft@gmail.com | 2012-08-25 | 6 | -49/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@790 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cWorld doesn't use cPackets. | madmaxoft@gmail.com | 2012-08-25 | 9 | -43/+174 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@789 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed cPackets from cChunk. | madmaxoft@gmail.com | 2012-08-25 | 6 | -124/+155 |
| | | | | | | 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 | ||||
* | Removed packet includes where they're not needed | madmaxoft@gmail.com | 2012-08-24 | 3 | -6/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@787 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cPickup doesn't use cPackets. | madmaxoft@gmail.com | 2012-08-24 | 19 | -81/+175 |
| | | | | | | 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 | ||||
* | Inventory doesn't use cPackets | madmaxoft@gmail.com | 2012-08-24 | 1 | -12/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@784 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 2012-08-24 | 39 | -421/+557 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added plugin name to deprecation messages | madmaxoft@gmail.com | 2012-08-23 | 6 | -241/+45 |
| | | | | | | Removed duplicate inheritance of m_Name in cPlugin_NewLua by making cWebPlugin interface-only git-svn-id: http://mc-server.googlecode.com/svn/trunk@782 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Bug #237 | lapayo94@gmail.com | 2012-08-23 | 2 | -0/+29 |
| | | | | | | Sign placement git-svn-id: http://mc-server.googlecode.com/svn/trunk@781 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed WebAdmin showing tab names (thanks for pointing it out Lapayo) | faketruth | 2012-08-23 | 3 | -17/+14 |
| | | | | | | Changed some std::string to AString git-svn-id: http://mc-server.googlecode.com/svn/trunk@780 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a RateCompareString function to StringUtils | faketruth | 2012-08-23 | 7 | -83/+220 |
| | | | | | | | | | | | Created a preprocessor template (define) for DoWith* functions Exported cWorld::FindAndDoWithPlayer(), cRoot::FindAndDoWithPlayer() and cRoot::ForEachPlayer() to Lua Added a function FindAndDoWithPlayer to cRoot and cWorld. It takes a part of a player name and finds a single player based on that. Fixed Core's MOTD to contain the correct URL to the MCServer site Fixed Core /kick command Fixed Core's WebAdmin kick git-svn-id: http://mc-server.googlecode.com/svn/trunk@779 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a documentation for block and item handlers | lapayo94@gmail.com | 2012-08-22 | 5 | -15/+44 |
| | | | | | | | Probably fixed dependencies on cWebPlugin_Lua Fixed VC2010 Project file git-svn-id: http://mc-server.googlecode.com/svn/trunk@778 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | WebAdmin should not cause crashes anymore | faketruth | 2012-08-22 | 15 | -359/+360 |
| | | | | | | | | Got rid of cWebPlugin_Lua cPlugin_Lua is also a cWebPlugin now, so plugins don't need a separate cWebPlugin object Changed some stuff to use AString instead of char* git-svn-id: http://mc-server.googlecode.com/svn/trunk@777 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed cWebPlugin_Lua being not thread safe. And I don't know why, but it still crashes in Lua sometimes o_O | faketruth | 2012-08-22 | 2 | -0/+3 |
| | | | | | | WebAdmin chat now supports infinite number of chat messages (only client side). The client requests only NEW chat messages from the server. git-svn-id: http://mc-server.googlecode.com/svn/trunk@776 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chat history limit on the WebAdmin chat | faketruth | 2012-08-22 | 3 | -37/+34 |
| | | | | | | | | Did some refactoring on the JavaScript side of the WebAdmin chat Got rid of cRoot::sRootState Fixed a crash on the WebAdmin when a page is loaded before a world exists git-svn-id: http://mc-server.googlecode.com/svn/trunk@775 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Now it's possible to only show the plugin's WebAdmin content without the template around it by going to /~webadmin/ instead of /webadmin/ | faketruth | 2012-08-22 | 1 | -3/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@772 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Window, Chest, Furnace and Pawn are not using cPackets at all | madmaxoft@gmail.com | 2012-08-19 | 17 | -88/+211 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 2012-08-19 | 40 | -507/+1089 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Android: Do not create an input thread for Android | faketruth | 2012-08-19 | 1 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@760 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Another handful of packets rewritten. | madmaxoft@gmail.com | 2012-08-19 | 25 | -183/+376 |
| | | | | | | 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 | ||||
* | Fixed Bug #236 | lapayo94@gmail.com | 2012-08-19 | 10 | -12/+30 |
| | | | | | | Workbench, Chest and Furnace are usable again git-svn-id: http://mc-server.googlecode.com/svn/trunk@755 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Android: Showing last MCServer related logcat message | faketruth | 2012-08-19 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@753 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chat packet handled in the new way; fixed missing packet sending for inventory slot. | madmaxoft@gmail.com | 2012-08-18 | 18 | -208/+211 |
| | | | | | | 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 | ||||
* | Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. | madmaxoft@gmail.com | 2012-08-18 | 48 | -2307/+1900 |
| | | | | | | 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 | ||||
* | Android: Pressing back button sends stop command to server | faketruth | 2012-08-18 | 2 | -1/+3 |
| | | | | | | | | Android: ToJava can call functions on Java by using JNI Android: Plugins work Android: Added android specific files to VS2008 project, but they are excluded from compiling git-svn-id: http://mc-server.googlecode.com/svn/trunk@747 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed an assert in bucket placement | madmaxoft@gmail.com | 2012-08-17 | 1 | -19/+34 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@746 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-08-17 | 56 | -352/+676 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MCServer should run just fine on Android now :D | faketruth | 2012-08-16 | 5 | -10/+20 |
| | | | | | | The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Windows compilation fix after Android changes | madmaxoft@gmail.com | 2012-08-16 | 5 | -20/+21 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@742 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android! | faketruth | 2012-08-15 | 7 | -8/+42 |
| | | | | | | | | | Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added temporary debug statistics of the RelEntMoveLook packet removal efficiency | madmaxoft@gmail.com | 2012-08-15 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@740 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Console command "chunkstats" now lists each world and also totals | madmaxoft@gmail.com | 2012-08-15 | 3 | -26/+57 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@739 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a true "all chunks saved" message for the save-all console command (FS #215) | madmaxoft@gmail.com | 2012-08-15 | 4 | -3/+32 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@738 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fix torches broken in rev 724 | madmaxoft@gmail.com | 2012-08-14 | 2 | -12/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@737 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Crafting window crafting result shift-click handling | madmaxoft@gmail.com | 2012-08-14 | 1 | -9/+53 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@736 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Crafting window crafting grid shift-click handling | madmaxoft@gmail.com | 2012-08-14 | 2 | -5/+107 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@735 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Shift-clicking the crafting grid in curvival inventory tries placing things in inventory first, then the hotbar. | madmaxoft@gmail.com | 2012-08-14 | 1 | -0/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@734 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a few more stackable items | madmaxoft@gmail.com | 2012-08-14 | 2 | -14/+29 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@733 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Shift-click completed in survival inventory window | madmaxoft@gmail.com | 2012-08-14 | 2 | -2/+37 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@732 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made cobwebs transparent | madmaxoft@gmail.com | 2012-08-14 | 1 | -8/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@731 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added partial shift+click handling to the survival inventory | madmaxoft@gmail.com | 2012-08-11 | 8 | -50/+366 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@730 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated Bindings to match the new armor categories and torch metas | madmaxoft@gmail.com | 2012-08-11 | 2 | -2/+127 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@729 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added some stackable items in cItemHandler::GetMaxStackSize() | madmaxoft@gmail.com | 2012-08-11 | 1 | -0/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@728 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added functions for armor item categories | madmaxoft@gmail.com | 2012-08-11 | 1 | -0/+52 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@727 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cItemHandler::GetMaxStackSize() with a very basic implementation | madmaxoft@gmail.com | 2012-08-11 | 2 | -0/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@726 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed a useless include file. | madmaxoft@gmail.com | 2012-08-11 | 4 | -25/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@725 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Use named constants instead of magic values - block digging direction and torch placement | madmaxoft@gmail.com | 2012-08-10 | 3 | -109/+98 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@724 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed cacti and sugarcane not being placeable on themselves (FS #234, patch submitted by STR_Warrior) | madmaxoft@gmail.com | 2012-08-10 | 2 | -21/+50 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@723 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL) | madmaxoft@gmail.com | 2012-08-10 | 6 | -48/+76 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@722 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Torch placement handling (contributed by l0udPL) | madmaxoft@gmail.com | 2012-08-09 | 2 | -9/+108 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@721 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Prepared WindowOwner class hierarchy for minecart with chest. | madmaxoft@gmail.com | 2012-08-07 | 6 | -18/+94 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@719 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | A bit of cleanup and documentation around the UI window handling | madmaxoft@gmail.com | 2012-08-06 | 13 | -86/+143 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@716 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed runtime crashes in generator on Raspberry Pi (damn picky gcc!) | madmaxoft@gmail.com | 2012-08-06 | 2 | -42/+42 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@714 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BLOCKTYPE signedness change - fixed more details | madmaxoft@gmail.com | 2012-08-06 | 4 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@713 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type. | madmaxoft@gmail.com | 2012-08-03 | 21 | -120/+333 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ravines: implemented proper caching - another 10 % in generator speedup :) | madmaxoft@gmail.com | 2012-07-29 | 2 | -12/+61 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@709 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedVoronoi BiomeGen now uses 4x4 linear interpolation for distortion, 50 % speed increase in the chunk generator with a hardly noticeable change in biome shapes. | madmaxoft@gmail.com | 2012-07-29 | 3 | -4/+98 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@708 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunk generator outputs its performance in chunks per second | madmaxoft@gmail.com | 2012-07-29 | 1 | -0/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@707 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BiomeGen: cca 3% speedup | madmaxoft@gmail.com | 2012-07-29 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@706 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed *nix compilation for md5.cpp | madmaxoft@gmail.com | 2012-07-29 | 1 | -0/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@705 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup. | madmaxoft@gmail.com | 2012-07-29 | 14 | -142/+307 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed warnings in md5 | madmaxoft@gmail.com | 2012-07-29 | 1 | -4/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@703 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few gcc warnings | madmaxoft@gmail.com | 2012-07-28 | 3 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@701 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Caves and Ravines: fixed compilation and linking issues on gcc | madmaxoft@gmail.com | 2012-07-28 | 2 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@699 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed bottom lava from caves generator, added a new finish generator BottomLava for that. Also fixed a slight error in SameBlock composition generator cfg | madmaxoft@gmail.com | 2012-07-27 | 4 | -25/+69 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@698 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Basic WormNestCaves are working | madmaxoft@gmail.com | 2012-07-27 | 1 | -17/+45 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@697 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial WormNestCaves commit. Won't generate caves, only the schematic for caves' centers. | madmaxoft@gmail.com | 2012-07-27 | 3 | -57/+621 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@696 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a possible crash in Ravines. | madmaxoft@gmail.com | 2012-07-27 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@695 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a new cave generator: DualRidgeCaves ( somewhat like http://www.gamedev.net/blog/33/entry-2227887-more-on-minecraft-type-world-gen/ ) | madmaxoft@gmail.com | 2012-07-22 | 5 | -91/+498 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@694 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ravines: removed an unneeded member | madmaxoft@gmail.com | 2012-07-22 | 2 | -2/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@693 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise: made interpolation methods public static, so that they can be used by the outside world as well | madmaxoft@gmail.com | 2012-07-22 | 2 | -6/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@692 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a (disabled) debugging code for anvil underground overviewing, useful for exploring MC cave generation style | madmaxoft@gmail.com | 2012-07-21 | 1 | -4/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@690 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Grass blockticking fix | madmaxoft@gmail.com | 2012-07-21 | 1 | -30/+32 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@689 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight cChunk optimization | madmaxoft@gmail.com | 2012-07-21 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@688 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented the missing HOOK_PLAYER_SPAWN hook (although its name is not too good, should be PLAYER_AUTH) | madmaxoft@gmail.com | 2012-07-21 | 1 | -0/+17 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@687 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ravines: implemented linear finishing, now the ravine walls are smooth. | madmaxoft@gmail.com | 2012-07-20 | 1 | -1/+42 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@685 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ravines: removed a debugging feature from release builds | madmaxoft@gmail.com | 2012-07-19 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@684 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ravines: initial implementation, randomized shapes are working, but still needs some work | madmaxoft@gmail.com | 2012-07-19 | 4 | -0/+483 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@683 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | SocketThreads: hopefully fixed MacOSX failure with client ping crashing the server | madmaxoft@gmail.com | 2012-07-18 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@681 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed incompatibility to apples c++ compiler... | lapayo94@gmail.com | 2012-07-17 | 4 | -8/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@680 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simple health regeneration system | lapayo94@gmail.com | 2012-07-17 | 11 | -143/+208 |
| | | | | | | Prepared for food git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed compilation on OS X and maybe *nix as well | madmaxoft@gmail.com | 2012-07-17 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@678 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Some code improvements | lapayo94@gmail.com | 2012-07-16 | 74 | -341/+259 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a copypasta error in previous commit | madmaxoft@gmail.com | 2012-07-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@676 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed GetBlockMeta to return NIBBLETYPE instead of char | madmaxoft@gmail.com | 2012-07-16 | 11 | -12/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@675 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a compilation warning | madmaxoft@gmail.com | 2012-07-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@674 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | fixed redstone repeater placement | lapayo94@gmail.com | 2012-07-16 | 2 | -0/+30 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@673 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed some small bugs :) | lapayo94@gmail.com | 2012-07-16 | 9 | -38/+103 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | A new Block handling system :o | lapayo94@gmail.com | 2012-07-15 | 89 | -1242/+3033 |
| | | | | | | | | | | 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 | ||||
* | cThread uses AString instead of char * for name (fixed a warning) | madmaxoft@gmail.com | 2012-07-15 | 2 | -8/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@670 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | World threads are stopped before the plugin mgr for clean exit (FS #228) | madmaxoft@gmail.com | 2012-07-15 | 4 | -4/+32 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@669 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Disabled MSVC deprecation / security warnings for external libraries - we expect them to be secure enough | madmaxoft@gmail.com | 2012-07-15 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@668 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the deprecated confusing E_BLOCK_WOOD | madmaxoft@gmail.com | 2012-07-15 | 3 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@667 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Leaves blocks allowed one more block of distance from a log block before they decay | madmaxoft@gmail.com | 2012-07-15 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@666 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Basic jungle trees with vines, efficient trees handling. | madmaxoft@gmail.com | 2012-07-15 | 5 | -186/+322 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@665 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed case comparison - used the builtin function | madmaxoft@gmail.com | 2012-07-13 | 2 | -13/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@663 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | fixed /tp command | lapayo94@gmail.com | 2012-07-13 | 2 | -1/+13 |
| | | | | | | made cWorld::DoWithPlayer case insensitive git-svn-id: http://mc-server.googlecode.com/svn/trunk@662 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | The gamemode is now only saved if it is different from the current gamemode. | lapayo94@gmail.com | 2012-07-13 | 3 | -4/+15 |
| | | | | | | 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 | ||||
* | Save last gamemode | lapayo94@gmail.com | 2012-07-12 | 2 | -1/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@660 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | fixed bug http://www.mc-server.org/support/index.php?do=details&task_id=212&project=2 | lapayo94@gmail.com | 2012-07-12 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@658 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Missed a file | lapayo94@gmail.com | 2012-07-12 | 1 | -1/+1 |
| | | | | | | Patched the server to allow shutdown from other threads git-svn-id: http://mc-server.googlecode.com/svn/trunk@657 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | http://www.mc-server.org/support/index.php?do=details&task_id=153 | lapayo94@gmail.com | 2012-07-12 | 4 | -4/+11 |
| | | | | | | + simple code improvements git-svn-id: http://mc-server.googlecode.com/svn/trunk@656 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed some bugs within the squirrel plugin system. | lapayo94@gmail.com | 2012-07-10 | 3 | -11/+51 |
| | | | | | | Implemented feature request www.mc-server.org/support/index.php?do=details&task_id=53 git-svn-id: http://mc-server.googlecode.com/svn/trunk@655 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Authentication should work now.. | lapayo94@gmail.com | 2012-07-10 | 1 | -7/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@654 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed some debug messages and removed an old file | lapayo94@gmail.com | 2012-07-09 | 2 | -155/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@653 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Improved Squirrel Bindings | lapayo94@gmail.com | 2012-07-09 | 10 | -12/+334 |
| | | | | | | Added AddCommand / BindCommand for Squirrel Plugins git-svn-id: http://mc-server.googlecode.com/svn/trunk@652 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea name change reverted | lapayo94@gmail.com | 2012-07-09 | 6 | -5/+5 |
| | | | | | | fixed VS2008 building git-svn-id: http://mc-server.googlecode.com/svn/trunk@649 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Squirrel Plugins | lapayo94@gmail.com | 2012-07-08 | 19 | -190/+759 |
| | | | | | | | | | 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 | ||||
* | Added a lilypad finisher | madmaxoft@gmail.com | 2012-07-03 | 3 | -1/+110 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@647 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Temporary jungle trees (swamp-like), based on code by STR_Warrior). Also vines don't overwrite leaves anymore. | madmaxoft@gmail.com | 2012-07-02 | 3 | -2/+51 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@646 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Leaves decay adjusted to 4 blocks in between the leaves and the log, instead of previous 3 | madmaxoft@gmail.com | 2012-07-02 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@645 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Leaves decay properly - if they are not connected to a log | madmaxoft@gmail.com | 2012-07-02 | 3 | -32/+123 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@644 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Only apple leaves can drop apples | madmaxoft@gmail.com | 2012-07-02 | 1 | -1/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@643 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypes | madmaxoft@gmail.com | 2012-07-02 | 4 | -22/+36 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@642 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cBlockArea object added (with only minimal testing so far) | madmaxoft@gmail.com | 2012-07-02 | 10 | -39/+1840 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Patch from STR_Warrior, OreNest counts adjustment | madmaxoft@gmail.com | 2012-07-02 | 1 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@640 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the cWorld::DoWithPlayer() function and exported it in the Lua API. Removed the obsolete cWorld::GetPlayer() function. | madmaxoft@gmail.com | 2012-07-02 | 5 | -87/+107 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@639 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkDef: Fixed getters taking a const ptr | madmaxoft@gmail.com | 2012-07-02 | 1 | -5/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@638 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed json-related methods from Lua API | madmaxoft@gmail.com | 2012-06-19 | 3 | -75/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@634 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-06-19 | 3 | -9/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@633 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a possible crash when restarting / stopping the server. | madmaxoft@gmail.com | 2012-06-19 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@632 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Crops aren't uprooted if farmland is dry. | cedeel@gmail.com | 2012-06-18 | 1 | -3/+12 |
| | | | | | | Vanilla behavior confirmed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@630 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the deprecated GetBlockEntity(), added several enumerators to replace it. | madmaxoft@gmail.com | 2012-06-17 | 9 | -52/+396 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@629 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Logs completion of chunk saving (FS #215) | cedeel@gmail.com | 2012-06-17 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@628 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Macro-ized the ForEachSomethingInChunk Lua glue code (will soon be used for block entities, too) | madmaxoft@gmail.com | 2012-06-17 | 1 | -92/+95 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@627 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed leaves blockticking - must touch neighboring chunks, too, instead of self at wrong places. | madmaxoft@gmail.com | 2012-06-17 | 2 | -23/+55 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden door | madmaxoft@gmail.com | 2012-06-16 | 4 | -4/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@625 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Leaves: Applied patch by Luksor. | cedeel@gmail.com | 2012-06-16 | 2 | -1/+25 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@624 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Quick fix to support authentication. | cedeel@gmail.com | 2012-06-16 | 1 | -2/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@623 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added new hooks: UPDATING_SIGN and UPDATED_SIGN. The first one is capable of changing the sign text by returning the new four lines along with the bool value | madmaxoft@gmail.com | 2012-06-16 | 8 | -8/+451 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@622 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Proper kick reasons! | cedeel@gmail.com | 2012-06-16 | 1 | -3/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@621 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 2012-06-16 | 8 | -40/+216 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lua binding for cVine fixed | cedeel@gmail.com | 2012-06-16 | 4 | -73/+110 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@619 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten ForEach using #define-s, new ones can be added as a simple one-liner | madmaxoft@gmail.com | 2012-06-15 | 4 | -168/+90 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@618 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lit furnaces can be used by players | madmaxoft@gmail.com | 2012-06-15 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@617 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil: added support for signs (why was it still missing??) | madmaxoft@gmail.com | 2012-06-15 | 3 | -3/+51 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@616 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Basic handling of vines. No growth yet. | cedeel@gmail.com | 2012-06-15 | 2 | -13/+42 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@615 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed placing block on tall grass (FS #209) | madmaxoft@gmail.com | 2012-06-15 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@614 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Only spawn nether mobs in nether biome. | cedeel@gmail.com | 2012-06-15 | 1 | -20/+26 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@613 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed snow again, this time for real. | cedeel@gmail.com | 2012-06-14 | 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 | ||||
* | Fixes placing blocks on snow. | cedeel@gmail.com | 2012-06-14 | 1 | -10/+21 |
| | | | | | | Also a little formatting. git-svn-id: http://mc-server.googlecode.com/svn/trunk@611 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Renamed HOOK_WEATHER_CHANGE to HOOK_WEATHER_CHANGED, added the glue code for it to actually work | madmaxoft@gmail.com | 2012-06-14 | 8 | -7/+152 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@610 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a world parameter to HOOK_CHUNK_GENERATING. | madmaxoft@gmail.com | 2012-06-14 | 8 | -52/+65 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@609 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 2012-06-14 | 330 | -70605/+70605 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added HOOK_WEATHER_CHANGE. | cedeel@gmail.com | 2012-06-14 | 4 | -2/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@605 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Exported the ItemCategory functions and added a IsTool() function to it, for easy checking whether an item is a tool | faketruth | 2012-06-13 | 3 | -4/+198 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@603 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a BlockToPickup hook for modifying pickups when a player breaks a block. | madmaxoft@gmail.com | 2012-06-13 | 13 | -88/+636 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@602 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Modified ToLua additional script to allow multi-usertype virtual functions | madmaxoft@gmail.com | 2012-06-13 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@601 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | I think the chunk generation hooks for Lua are pretty good now, though it might still need some tweaking | faketruth | 2012-06-13 | 4 | -35/+655 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@600 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Revamped the weather system. | cedeel@gmail.com | 2012-06-13 | 4 | -32/+107 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@599 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTING | madmaxoft@gmail.com | 2012-06-12 | 11 | -73/+637 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@598 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether. | madmaxoft@gmail.com | 2012-06-12 | 15 | -675/+1393 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@597 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed an error | cedeel@gmail.com | 2012-06-12 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@596 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Allow current items | cedeel@gmail.com | 2012-06-12 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@595 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added implementation of E_PLUGIN_CHUNK_GENERATING lua hook | faketruth | 2012-06-11 | 10 | -25/+316 |
| | | | | | | It crashes the server when a plugin actually overrides default behavior though... git-svn-id: http://mc-server.googlecode.com/svn/trunk@594 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bug in crafting recipes - would consume multiple items of asterisked ingredients (FS #205) | madmaxoft@gmail.com | 2012-06-09 | 1 | -18/+25 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@593 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Disallowed placing cacti in water | madmaxoft@gmail.com | 2012-06-09 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@592 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Snow cover breaks when the block below it is removed (FS #184). | madmaxoft@gmail.com | 2012-06-09 | 1 | -1/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@591 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a forgotten ini file read | madmaxoft@gmail.com | 2012-06-09 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@590 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | More ini settings save their defaults | madmaxoft@gmail.com | 2012-06-09 | 4 | -20/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@588 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | World generator uses the new Ini interface; also set new defaults for the generator to match the best generation we currently have | madmaxoft@gmail.com | 2012-06-09 | 1 | -63/+57 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@587 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | New IniFile functionality: read value and set default if it isn't present (GetValueSet() ); used by cWorld | madmaxoft@gmail.com | 2012-06-09 | 3 | -56/+246 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@586 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Sugarcane and cactus max height can be set in world.ini. | madmaxoft@gmail.com | 2012-06-09 | 5 | -8/+77 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@585 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC. | madmaxoft@gmail.com | 2012-06-09 | 5 | -15/+88 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@584 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cacti grow by themselves and by bonemeal | madmaxoft@gmail.com | 2012-06-09 | 7 | -6/+83 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@583 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Bonemeal is consumed in survival mode when used on growable blocks | madmaxoft@gmail.com | 2012-06-09 | 4 | -10/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Tall grass finally drops seeds | madmaxoft@gmail.com | 2012-06-09 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@581 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Biomal CompoGen now correctly produces sand in desert mountains, too | madmaxoft@gmail.com | 2012-06-08 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@580 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed random drops not occurring at all | madmaxoft@gmail.com | 2012-06-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@579 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Sugarcane grows and can be grown using bonemeal. | madmaxoft@gmail.com | 2012-06-08 | 6 | -60/+132 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@578 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simplify ifdef. Makes compiling possible on BSD | cedeel@gmail.com | 2012-06-08 | 1 | -8/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@577 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Sugarcane and Pumpkins get placed (quite rarely) in the SprinkleSmallFoliage FinishGen | madmaxoft@gmail.com | 2012-06-08 | 5 | -39/+136 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@576 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Configurable classic composition generator | cedeel@gmail.com | 2012-06-08 | 9 | -61/+47 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@575 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too. | madmaxoft@gmail.com | 2012-06-07 | 10 | -6/+286 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Nightbuild: bindings are automatically update before the build | madmaxoft@gmail.com | 2012-06-07 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@572 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockChecking split into a separate function | madmaxoft@gmail.com | 2012-06-07 | 2 | -94/+98 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@571 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Repeaters' delays can be set by rclk | madmaxoft@gmail.com | 2012-06-07 | 8 | -4/+49 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Grass grows under vines | madmaxoft@gmail.com | 2012-06-07 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@569 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Multiple packets are serialized in one request. | madmaxoft@gmail.com | 2012-06-07 | 1 | -5/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@568 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a typo in grass spreading causing much of the "too many packets" error. | madmaxoft@gmail.com | 2012-06-07 | 1 | -5/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@567 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added more statistics to the packet queue overfill problem. | madmaxoft@gmail.com | 2012-06-07 | 1 | -2/+20 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@566 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | (Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher. | madmaxoft@gmail.com | 2012-06-07 | 1 | -1/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@565 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Snow drops snowballs only when mined with a shovel | madmaxoft@gmail.com | 2012-06-07 | 1 | -1/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@564 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Grass spreads to adjacent dirt blocks. Doesn't check dest light yet. | madmaxoft@gmail.com | 2012-06-06 | 2 | -17/+53 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@563 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hopefully fixed lighting around chests and crops | madmaxoft@gmail.com | 2012-06-06 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@562 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-06-06 | 35 | -326/+1051 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtu | madmaxoft@gmail.com | 2012-06-06 | 1 | -5/+168 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@560 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed webadmin for the fixed stringsplitting | madmaxoft@gmail.com | 2012-06-05 | 1 | -140/+150 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@559 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | New hook, E_PLUGIN_CHUNK_GENERATED, called after each chunk is generated (the chunk is already present in cWorld) | madmaxoft@gmail.com | 2012-06-05 | 10 | -856/+287 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@558 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed tolua++ sources to consider AString a builtin string type. Fixed tolua++ VC projects for compilation with local Lua. | madmaxoft@gmail.com | 2012-06-04 | 1 | -0/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@551 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Linux compilation. | cedeel@gmail.com | 2012-06-04 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@550 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon. | madmaxoft@gmail.com | 2012-06-04 | 14 | -18917/+19801 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project files | cedeel@gmail.com | 2012-06-04 | 9 | -18816/+18942 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@546 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Biomal composition gen: added the bedrock layer at the bottom | madmaxoft@gmail.com | 2012-06-02 | 1 | -4/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@542 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the Biomal composition generator. | madmaxoft@gmail.com | 2012-06-02 | 5 | -18/+283 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@541 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-06-02 | 1 | -0/+63 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@540 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max() | madmaxoft@gmail.com | 2012-06-02 | 3 | -10/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@539 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a cHeiGenCache object for caching generated heightmaps. World generation is now about twice as fast as before Rev 535 :) | madmaxoft@gmail.com | 2012-06-02 | 3 | -0/+143 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@538 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a cBioGenCache object for caching generated biomes | madmaxoft@gmail.com | 2012-06-02 | 3 | -0/+144 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@537 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the Biomal height generator, made it the default height generator. | madmaxoft@gmail.com | 2012-06-02 | 6 | -6/+176 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@536 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua) | madmaxoft@gmail.com | 2012-06-02 | 6 | -64/+137 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@534 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a nasty int overflow bug in blockticking code ( http://forum.mc-server.org/showthread.php?tid=457 ) | madmaxoft@gmail.com | 2012-06-01 | 1 | -3/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@533 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DistortedVoronoi biome generator | madmaxoft@gmail.com | 2012-05-31 | 3 | -36/+67 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@532 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cWorld::UnloadUnusedChunks() exported to Lua | madmaxoft@gmail.com | 2012-05-31 | 3 | -3/+37 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@531 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed melons and pumpkins generating in a wrong place. | madmaxoft@gmail.com | 2012-05-31 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@530 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added more statistics to the "chunkstats" server console command | madmaxoft@gmail.com | 2012-05-30 | 1 | -1/+19 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@528 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added support for SetNextBlockTick() function callable from Lua | madmaxoft@gmail.com | 2012-05-30 | 8 | -20/+92 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Melon and pumpkin stems now grow melons and pumpkins | madmaxoft@gmail.com | 2012-05-30 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@526 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed blocktick distribution | madmaxoft@gmail.com | 2012-05-30 | 2 | -18/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@525 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lua plugins can now query the world for various queue sizes ( http://forum.mc-server.org/showthread.php?tid=432 ) | madmaxoft@gmail.com | 2012-05-30 | 3 | -4/+142 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@524 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Seeds can now be planted and they grow (albeit too quickly and too non-uniformly, need to fix blocktick selection) | madmaxoft@gmail.com | 2012-05-30 | 1 | -1/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@523 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Farmland gets hydrated and dehydrated. Fixed an off-by-one error in neighbor-chunk manipulation. | madmaxoft@gmail.com | 2012-05-30 | 2 | -3/+76 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@522 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash when chunks were loaded / generated with entities ( http://forum.mc-server.org/showthread.php?tid=450 ) | madmaxoft@gmail.com | 2012-05-30 | 1 | -26/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@521 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Farmland is created using a hoe on dirt or grass. | madmaxoft@gmail.com | 2012-05-29 | 2 | -2/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@520 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored item-eating from cClientHandle into cPlayer | madmaxoft@gmail.com | 2012-05-29 | 3 | -82/+72 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@519 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-05-29 | 9 | -324/+439 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cacti don't gather snow | madmaxoft@gmail.com | 2012-05-28 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@517 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chests and Furnaces are now saved properly into Anvil scheme. | madmaxoft@gmail.com | 2012-05-28 | 9 | -57/+210 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@516 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Ice finisher generator; fixed snow on water. | madmaxoft@gmail.com | 2012-05-27 | 2 | -1/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@515 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a snow finisher generator | madmaxoft@gmail.com | 2012-05-27 | 1 | -1/+25 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@514 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added some useful biome synonyms; added block property IsSnowable; alphabetically sorted block property setting | madmaxoft@gmail.com | 2012-05-27 | 3 | -53/+85 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@513 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Voronoi has a minimum cell size of 4 blocks now, to avoid some extreme corner-cases | madmaxoft@gmail.com | 2012-05-27 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@512 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a voronoi biome generator (#180) | madmaxoft@gmail.com | 2012-05-27 | 3 | -0/+91 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@511 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | DebugBiomes composition generator now uses only blocks suitable for terrain (from an internal list) | madmaxoft@gmail.com | 2012-05-27 | 1 | -1/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@510 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added wool and netherrack block IDs | madmaxoft@gmail.com | 2012-05-27 | 3 | -4/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@509 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Restructured biome generators with a list of available biomes to use a common ancestor (preparation for Voronoi and DistortedVoronoi) | madmaxoft@gmail.com | 2012-05-27 | 2 | -11/+30 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@508 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ConstantBiome parsing now uses the string-to-biome conversion (#183) | madmaxoft@gmail.com | 2012-05-27 | 1 | -2/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@507 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates (#179). Added string-to-biome conversion (#183). Added OreNests to default Structures configuration. | madmaxoft@gmail.com | 2012-05-27 | 5 | -8/+109 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@506 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Improved logging on mis-configuration in cPlayer and cWorldStorage | madmaxoft@gmail.com | 2012-05-27 | 2 | -2/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@505 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 2012-05-25 | 76 | -2841/+5199 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed a debugging construct that accidentally leaked into previous commit | madmaxoft@gmail.com | 2012-05-08 | 1 | -8/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@485 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fast NBT writer (Saving a chunk is now about twice as fast) | madmaxoft@gmail.com | 2012-05-08 | 4 | -73/+364 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@484 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed two "bottlenecks" found using profiling - MakeIndex() instead of MakeIndexNoCheck() | madmaxoft@gmail.com | 2012-05-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@483 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fast NBT Parser (loading a chunk is now about 10 times faster) | madmaxoft@gmail.com | 2012-05-07 | 6 | -88/+651 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@481 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated version text to include 1.2.5; ChunkSender doesn't serialize chunk packets for chunks without a client | madmaxoft@gmail.com | 2012-05-07 | 2 | -1/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@480 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers) | madmaxoft@gmail.com | 2012-04-23 | 11 | -35/+431 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@475 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lapis gets generated (thanks, Fordship) | madmaxoft@gmail.com | 2012-04-15 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@463 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core plugin | faketruth | 2012-04-11 | 5 | -64/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@457 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added error messages to socket closing error conditions for *nix | madmaxoft@gmail.com | 2012-04-10 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@456 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the permission "builtin.regeneratechunk" needed for regenerating chunks using a command. | madmaxoft@gmail.com | 2012-04-10 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@455 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-04-10 | 10 | -37/+104 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Compression error -5 fix | madmaxoft@gmail.com | 2012-04-04 | 1 | -2/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@452 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a parsing error in NBT classes (doubles weren't parsing correctly); | madmaxoft@gmail.com | 2012-04-04 | 2 | -1/+227 |
| | | | | | | Added a working NBT serialization (verified in another project) git-svn-id: http://mc-server.googlecode.com/svn/trunk@451 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | StringUtils' GetDirectoryContents() now accepts empty string and interprets it as "current directory" (*nix fix) | madmaxoft@gmail.com | 2012-04-04 | 1 | -1/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@450 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-04-03 | 1 | -2/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@447 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Attempted a fix for cSocket's Bind() call on MacOS-based systems (initializing the whole sockaddr_in structure with zeroes first) | madmaxoft@gmail.com | 2012-04-03 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@446 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket.cpp should also compile on Mac now (I hope) | faketruth | 2012-03-31 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@443 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a crash when fluid would try to go below the world (y = -1) | faketruth | 2012-03-31 | 1 | -4/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@442 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Got rid of sPluginManagerState | faketruth | 2012-03-28 | 5 | -70/+90 |
| | | | | | | | | /pluginlist now also shows the number of active plugins Fixed crash caused by lingering bound Lua commands http://forum.mc-server.org/showthread.php?tid=212&pid=2541#pid2541 Added error messages when binding commands to an invalid plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@440 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a possible crash in ChunkSender - a client would be reported as removed but still would be in the internal queue. | madmaxoft@gmail.com | 2012-03-27 | 2 | -2/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@438 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the unneeded header wdirent.h | madmaxoft@gmail.com | 2012-03-26 | 1 | -369/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@437 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the supported client version to banner; shamelessly added myself to the authors list ;) | madmaxoft@gmail.com | 2012-03-26 | 3 | -4/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@436 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | A globally-accessible OS-independent GetDirectoryContents() function for listing all objects in a folder as an AStringList | madmaxoft@gmail.com | 2012-03-25 | 6 | -85/+81 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@433 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the Log altogether (doesn't use NULL-to-va_list assignment, compiles for RaspberryPi) | madmaxoft@gmail.com | 2012-03-25 | 2 | -14/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@432 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense. | madmaxoft@gmail.com | 2012-03-24 | 14 | -382/+398 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@431 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Protocol version bumped up to 29 (MC 1.2.4), seems to work. | madmaxoft@gmail.com | 2012-03-24 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@430 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed the split between 1.2.3 and 1.1, left only 1.2.3 code | madmaxoft@gmail.com | 2012-03-24 | 12 | -226/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@429 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Reverted the previous commit - it is useless, since entities still depend heavily on cWorld | madmaxoft@gmail.com | 2012-03-24 | 18 | -258/+47 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@428 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers) | madmaxoft@gmail.com | 2012-03-23 | 18 | -47/+258 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists. | madmaxoft@gmail.com | 2012-03-22 | 6 | -22/+51 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@426 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed player heads always pointing north (new EntityHeadLook packet) | madmaxoft@gmail.com | 2012-03-19 | 6 | -15/+81 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@424 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a warning in a Release build | madmaxoft@gmail.com | 2012-03-19 | 1 | -1/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@423 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made some logging output debug-only | madmaxoft@gmail.com | 2012-03-19 | 1 | -6/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@421 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Basic cWindow thread-safety | madmaxoft@gmail.com | 2012-03-19 | 6 | -63/+132 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@420 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | SocketThreads: proper thread finishing sequence (doesn't trigger AppVerifier checks :) | madmaxoft@gmail.com | 2012-03-19 | 1 | -0/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@419 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Got rid of cPlayer::sPlayerState | faketruth | 2012-03-16 | 2 | -88/+47 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@418 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | That didn't work.. I forgot some cChunk functions were changed. Now it should compile again | faketruth | 2012-03-16 | 2 | -1/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@417 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Exposed a function to Lua to get a block's sky light value | faketruth | 2012-03-16 | 6 | -33/+72 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@416 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Actually commented out the Anvil terrain inversion code | madmaxoft@gmail.com | 2012-03-14 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@415 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil support: Added a debugging section for inverting terrain (So that MC cave generator can be seen in action). Commented out, so that it doesn't make it into the release versions | madmaxoft@gmail.com | 2012-03-14 | 1 | -0/+24 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@414 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Unified the chunk data to use the BLOCKDATA datatype. | madmaxoft@gmail.com | 2012-03-14 | 16 | -33/+52 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 2012-03-14 | 33 | -592/+799 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the server not waiting for the world to save completely before stopping | madmaxoft@gmail.com | 2012-03-13 | 1 | -0/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@410 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed an unwarranted assert in cChunkSender | madmaxoft@gmail.com | 2012-03-13 | 1 | -2/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@409 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Small optimizations in the SetNibble() and GetNibble() functions; removed unused lighting functions from cChunk | madmaxoft@gmail.com | 2012-03-13 | 2 | -96/+23 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@408 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few warnings, lifted up the block interactinos limit to 20 (10 was not enough for Creative mode) | madmaxoft | 2012-03-13 | 3 | -21/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@407 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Gotten rid of stricmp MSVC warnings | madmaxoft@gmail.com | 2012-03-12 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@406 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | *nix compilation fix (for rev 402) | madmaxoft@gmail.com | 2012-03-12 | 1 | -4/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@405 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a flat terrain generator with settable terrain height | madmaxoft@gmail.com | 2012-03-12 | 5 | -10/+148 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@404 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed MapChunk packets to include (fake) biome data, makes clients happy | madmaxoft@gmail.com | 2012-03-12 | 5 | -15/+55 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@403 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixing compilation on Drawin 9 / MacOS X | madmaxoft@gmail.com | 2012-03-12 | 3 | -14/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@402 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Stopping the ChunkSender upon server stop | madmaxoft@gmail.com | 2012-03-11 | 3 | -2/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@401 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a small bug in chunk version check D: | faketruth | 2012-03-11 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@400 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Not sending chunks to the client twice | madmaxoft@gmail.com | 2012-03-11 | 5 | -24/+40 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@399 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil format: fixed loading with XZY ordering | madmaxoft@gmail.com | 2012-03-11 | 1 | -11/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@398 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few obsoleted functions | madmaxoft@gmail.com | 2012-03-10 | 12 | -49/+83 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Completely integrated the new axis ordering. Will update worlds accordingly | faketruth | 2012-03-10 | 3 | -2/+151 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@396 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil support: compatible with both chunk orderings | madmaxoft@gmail.com | 2012-03-10 | 1 | -0/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@395 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Using references instead of pointers for sending packets | madmaxoft@gmail.com | 2012-03-10 | 8 | -26/+24 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@394 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned on | madmaxoft@gmail.com | 2012-03-10 | 3 | -8/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@393 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed *nix threading issue; | madmaxoft@gmail.com | 2012-03-10 | 11 | -88/+93 |
| | | | | | | | Thread objects now use variable names consistent with MCS convention; Fixed a few *nix threading cornercases git-svn-id: http://mc-server.googlecode.com/svn/trunk@392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Was using "#else if" which is not valid apparently, now using "#elif" | faketruth | 2012-03-10 | 4 | -6/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@391 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | You can change axis ordering by setting AXIS_ORDER to AXIS_ORDER_XZY in cChunk.h !THIS WILL SCREW UP YOUR WORLDS THOUGH! | faketruth | 2012-03-10 | 5 | -15/+46 |
| | | | | | | 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 | ||||
* | Using more of the index functions in cChunk, so it should be easy enough to flip the axis ordering now | faketruth | 2012-03-10 | 3 | -82/+94 |
| | | | | | | 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 | ||||
* | cClientHandles have a unique ID now to distinguish them | faketruth | 2012-03-09 | 24 | -71/+224 |
| | | | | | | | | | | | 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 | ||||
* | Using the _DEBUG macro for *nix debug builds as well; trying to force 8-byte alignment on critical sections ( http://forum.mc-server.org/showthread.php?tid=384 ) | madmaxoft@gmail.com | 2012-03-09 | 6 | -28/+57 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@387 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Anvil format: loading chests' contents. | madmaxoft@gmail.com | 2012-03-07 | 4 | -11/+240 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkSender: Fixed a potential crash: removing a client means that no Send() is called on that client anymore | madmaxoft@gmail.com | 2012-03-07 | 2 | -16/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@384 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | WSSCompact: fixed switched version values (!); removed unused methods | madmaxoft@gmail.com | 2012-03-07 | 2 | -4/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@383 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380 | faketruth | 2012-03-07 | 13 | -107/+306 |
| | | | | | | | | | 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 | ||||
* | No need to reset zlib (copypasta error) | madmaxoft@gmail.com | 2012-03-07 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@381 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the Anvil level format (MCA) support, read-only for the time being. Now MCS can read your worlds from the official server :) | madmaxoft@gmail.com | 2012-03-07 | 6 | -2/+1258 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@380 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Sticky pistons should work as well now | faketruth | 2012-03-06 | 1 | -0/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@379 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a little documentation on ChunkSender. | madmaxoft@gmail.com | 2012-03-06 | 1 | -1/+14 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@378 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed redstone repeater bug where it could not get the direction when it has delay bits set | faketruth | 2012-03-06 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@377 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkSender won't send NULL packets anymore | madmaxoft@gmail.com | 2012-03-06 | 1 | -1/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@376 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed rev 373 not compiling on linux | madmaxoft@gmail.com | 2012-03-06 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@375 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Yay redstone repeaters! | faketruth | 2012-03-06 | 4 | -49/+355 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@374 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | World storage names are now case-INsensitive | madmaxoft@gmail.com | 2012-03-06 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@373 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | That was not a good place to use ARRAYCOUNT() | madmaxoft@gmail.com | 2012-03-06 | 1 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@372 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-03-06 | 5 | -26/+155 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@371 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed bug FS#157 http://mc-server.org/support/index.php?do=details&task_id=157 | faketruth | 2012-03-06 | 1 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@370 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a potential deadlock ( http://forum.mc-server.org/showthread.php?tid=374 ) | madmaxoft@gmail.com | 2012-03-05 | 1 | -4/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@369 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Using a fixed-size array instead of AString for conversion. Conversion now runs ~10x faster :) (in debug mode) | madmaxoft@gmail.com | 2012-03-05 | 1 | -25/+29 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@368 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | WSS conversion quickfix: reserving memory so that AString doesn't need to re-alloc (but still uses painfully slow push_back()s ) | madmaxoft@gmail.com | 2012-03-05 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@366 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-03-05 | 18 | -229/+453 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed redstone debugging: powered dirt blocks change into stone | faketruth | 2012-03-04 | 1 | -8/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@364 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Yay tiny commits XD fixed % sign | faketruth | 2012-03-04 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@363 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lowered the amount of logging while converting chunks | faketruth | 2012-03-04 | 1 | -1/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@362 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Converted pak files were not marked 'dirty' and wouldn't be saved. Fixed now :) | faketruth | 2012-03-04 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@361 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Forcing the use of the new redstone simulator | faketruth | 2012-03-04 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@359 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Should have complete support for 256 blocks high worlds. Old save files are converted to new ones at load. | faketruth | 2012-03-04 | 3 | -16/+165 |
| | | | | | | BACK UP YOUR WORLD! git-svn-id: http://mc-server.googlecode.com/svn/trunk@358 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | The world can now truly be made higher by incrementing cChunk::c_ChunkHeight to 256. !!HOWEVER THIS WILL DESTROY YOUR SAVED WORLD!! | faketruth | 2012-03-04 | 2 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@357 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed signed char to unsigned char in block packets, so we can receive height up to 255 | faketruth | 2012-03-04 | 9 | -28/+47 |
| | | | | | | 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 | ||||
* | Got rid of some hardcoded numbers, now using hardcoded variables! woo | faketruth | 2012-03-03 | 11 | -145/+151 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | That should not have been committed... | faketruth | 2012-03-02 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@354 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunk light and metadata are also sent now, should take a load off of the client | faketruth | 2012-03-02 | 1 | -5/+38 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@353 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Finally got the multiblock packet working! It seems the byte order was wrong | faketruth | 2012-03-02 | 2 | -6/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@352 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MultiBlock packet is working partly.. I really don't understand what's wrong with this packet :/ | faketruth | 2012-03-02 | 4 | -2/+54 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@351 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunks are successfully streamed to clients (in a bad a slow way, but whatever) | faketruth | 2012-03-01 | 4 | -5/+49 |
| | | | | | | Fixed respawn packet for 1.2.2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Clients can join the server, but chunks are sent completely empty | faketruth | 2012-03-01 | 2 | -0/+80 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@349 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Forgot to update packet size (though I'm not even sure it's used anymore) | faketruth | 2012-03-01 | 1 | -2/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@348 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Started carefully moving to 1.2.2 | faketruth | 2012-03-01 | 6 | -67/+135 |
| | | | | | | 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 | ||||
* | New redstone simulator. Should work without crashes! | faketruth | 2012-03-01 | 8 | -8/+650 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@345 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the authenticator bug | madmaxoft@gmail.com | 2012-02-29 | 2 | -0/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@344 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Making sure cClientHandle::m_Player was NULL after authentication completed | faketruth | 2012-02-29 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@343 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added validity checks to world broadcasting. Also added logging to cPlayer deletion to catch that stupid BugByBoo. | madmaxoft@gmail.com | 2012-02-29 | 2 | -4/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@342 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Improved threading performance by reducing thread-hopping in queue locks (cs unlocked before event set) | madmaxoft@gmail.com | 2012-02-28 | 3 | -29/+41 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@341 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Setting the m_bDestroyed flag only after the cClienthandle is truly destroyed; cClientHandle's destructor now locks loaded chunk lists | madmaxoft@gmail.com | 2012-02-28 | 1 | -3/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@340 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Server uses ~40% less CPU now | faketruth | 2012-02-28 | 2 | -87/+93 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@339 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Linux compilation fix (y u no support const_iterator, gcc?) | madmaxoft@gmail.com | 2012-02-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@338 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunk now has an indicator of load failure; Chunk generator uses cChunkStay | madmaxoft@gmail.com | 2012-02-28 | 9 | -6/+89 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented synchronous chunk loading; optimized cChunkStay interface for speed (though still unused ;) | madmaxoft@gmail.com | 2012-02-28 | 8 | -152/+342 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@336 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkGenerator: fixed an inverted condition on chunk-skipping when the generator is overloaded; set the overload threshold to 500 chunks (from original 50 which is not enough even for a single player) | madmaxoft@gmail.com | 2012-02-28 | 1 | -6/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@334 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Const-correctness for packet broadcasting (fixes GCC compilation) | madmaxoft@gmail.com | 2012-02-28 | 4 | -6/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@333 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fix for the perpetual load issue | madmaxoft@gmail.com | 2012-02-27 | 1 | -1/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@332 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented chunk loading without generating on load-failure | madmaxoft@gmail.com | 2012-02-26 | 3 | -16/+62 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@331 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-02-26 | 6 | -1/+152 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@330 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Attempt at fixing crashes with disconnecting players | madmaxoft@gmail.com | 2012-02-26 | 6 | -18/+38 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@329 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-02-26 | 4 | -150/+253 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@328 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Extended SocketThreads for writing support (unusable in cClientHandle due to too many deadlock possibilities) | madmaxoft@gmail.com | 2012-02-26 | 4 | -33/+218 |
| | | | | | | 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 | ||||
* | Made the viewdistance settable by users and default in settings.ini. The default is 9. | madmaxoft@gmail.com | 2012-02-23 | 5 | -28/+73 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@326 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Plain pointer cChunkPtr finishing touches; removed cChunk's critical sections | madmaxoft@gmail.com | 2012-02-23 | 4 | -176/+35 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@325 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made cChunkPtr a plain old pointer again, since it's safe now | madmaxoft@gmail.com | 2012-02-23 | 2 | -5/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@324 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChunk: removed unused code | madmaxoft@gmail.com | 2012-02-23 | 2 | -8/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@323 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cmdline parameters "/cdg" and "/cdf" for crashdump flags "globals" and "full memory" | madmaxoft@gmail.com | 2012-02-23 | 1 | -2/+17 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@322 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten ore generation from scratch, using a different (much faster) algorithm. Chunk generation now about 2x faster :) | madmaxoft@gmail.com | 2012-02-22 | 2 | -25/+111 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@321 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | That 2nd assert didn't make much sense... | faketruth | 2012-02-22 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@320 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added some asserts to trace a bug | faketruth | 2012-02-22 | 2 | -2/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@319 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bug that no chunks were unloaded on the client. Now chunks are properly unloaded on the clients. | faketruth | 2012-02-22 | 2 | -0/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@318 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Noise function optimization (chunk generation now about 1.5x faster :) | madmaxoft@gmail.com | 2012-02-22 | 3 | -10/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@317 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | WorldGenerator: fixed small foliage - cacti now generate only at beaches, not underwater. | madmaxoft@gmail.com | 2012-02-22 | 1 | -32/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@316 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntity | faketruth | 2012-02-22 | 4 | -32/+53 |
| | | | | | | /tp command should work again :) git-svn-id: http://mc-server.googlecode.com/svn/trunk@314 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a potential deadlock in cChunkMap::m_CSLayers vs cWorld::m_CSAllEntities | madmaxoft@gmail.com | 2012-02-22 | 1 | -6/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@313 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a crude way of disabling redstone. It's necessary though, redstone is completely broken, crashes the server all the time | faketruth | 2012-02-22 | 5 | -158/+199 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@312 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a CriticalSection to cPlugin_NewLua. Lua plugins are not threadsafe but they ARE accessed by multiple threads, this can create some hard to find errors, but I fixed it now :P | faketruth | 2012-02-22 | 2 | -0/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@311 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Restricted windows crash dump generating code to 32-bit platforms only due to inline assembly | madmaxoft@gmail.com | 2012-02-22 | 1 | -5/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@307 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added code to produce dump files on Windows builds to aid with debugging server crashes | madmaxoft@gmail.com | 2012-02-21 | 1 | -0/+85 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@306 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed ASSERT() to not cause warnings during compile | faketruth | 2012-02-21 | 1 | -1/+9 |
| | | | | | | | Added VERIFY(); it's the same as ASSERT() but also works in release builds VS2010 project uses warning level 4 git-svn-id: http://mc-server.googlecode.com/svn/trunk@305 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) | madmaxoft@gmail.com | 2012-02-21 | 10 | -109/+231 |
| | | | | | | 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 | ||||
* | Fixed heightmap optimization from rev 302; removed a few more cChunkPtrs | madmaxoft@gmail.com | 2012-02-21 | 8 | -38/+146 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@303 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Optimized hightmap recalc when setting a chunk's block | madmaxoft@gmail.com | 2012-02-21 | 1 | -7/+31 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@302 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed block-getting so that simulators work again | madmaxoft@gmail.com | 2012-02-21 | 6 | -24/+128 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@301 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 2012-02-20 | 13 | -114/+372 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Using own ASSERT() that logs to file | faketruth | 2012-02-20 | 21 | -59/+49 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed assertion bug in NamedEntitySpawn packet, it used to assert when item ID is 0, but now 0 is allowed | faketruth | 2012-02-19 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@296 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-02-18 | 6 | -45/+106 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@295 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed previous commit: forgot to remove a debugging setting | madmaxoft@gmail.com | 2012-02-18 | 1 | -3/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries. | madmaxoft@gmail.com | 2012-02-18 | 11 | -111/+205 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@293 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Thread-safe chunk generation, storage and generator are queried for progress while initializing server | madmaxoft@gmail.com | 2012-02-18 | 16 | -176/+408 |
| | | | | | | 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 | ||||
* | Logging: added thread ID to the log output in debug builds | madmaxoft@gmail.com | 2012-02-18 | 3 | -7/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@291 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Logging: added LOGD macro that logs only in debug builds | madmaxoft@gmail.com | 2012-02-18 | 1 | -3/+22 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@290 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved stdarg.h inclusion into Globals.h | madmaxoft@gmail.com | 2012-02-18 | 3 | -5/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@289 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cIsThread: Added support for getting current thread ID | madmaxoft@gmail.com | 2012-02-18 | 2 | -0/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@288 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the skeleton of the cLightingThread object | madmaxoft@gmail.com | 2012-02-17 | 2 | -0/+196 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@286 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 2012-02-17 | 11 | -67/+101 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed useless log messages | madmaxoft@gmail.com | 2012-02-17 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@284 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Lots of logging added | madmaxoft@gmail.com | 2012-02-17 | 6 | -12/+45 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@282 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | git-svn-id: http://mc-server.googlecode.com/svn/trunk@281 0a769ca7-a7f5-676a-18bf-c427514a06d6 | faketruth | 2012-02-16 | 5 | -6/+6 |
| | |||||
* | New server command "unload" to manually unload unused chunks | madmaxoft@gmail.com | 2012-02-16 | 2 | -3/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@280 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. | madmaxoft@gmail.com | 2012-02-16 | 11 | -42/+81 |
| | | | | | | 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 | ||||
* | Got rid of dangerous GetEntity(), not using DoWithEntity() | faketruth | 2012-02-16 | 5 | -53/+29 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunks are now marked as saved | madmaxoft@gmail.com | 2012-02-16 | 1 | -2/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@277 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Marking chunk dirty after generating | madmaxoft@gmail.com | 2012-02-16 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@276 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cPlayer empty-handed spawn fix | madmaxoft@gmail.com | 2012-02-16 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@275 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Heightmap is properly generated after loading chunks now, so /spawn and /top should work properly again | faketruth | 2012-02-16 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@274 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-02-16 | 23 | -154/+935 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunks are properly saved before being unloaded now | faketruth | 2012-02-16 | 2 | -1/+11 |
| | | | | | | numchunks server command works again git-svn-id: http://mc-server.googlecode.com/svn/trunk@272 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket::GetErrorString() now also compiles on Cygwin | faketruth | 2012-02-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@270 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed logging in cServer | madmaxoft@gmail.com | 2012-02-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@269 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | No longer using pointers for Vector3(f/d/i) in cEntity's and cTracer | faketruth | 2012-02-15 | 12 | -288/+246 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@268 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | New players no longer cause an assert | faketruth | 2012-02-15 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@267 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Can use the 'restart' command again. cAuthenticator no longer asserts because it properly stops when the server is stopped. | faketruth | 2012-02-15 | 3 | -3/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@266 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a deadlock in WorldStorage | faketruth | 2012-02-15 | 1 | -3/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@265 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed logging formatting error in cWorld | madmaxoft@gmail.com | 2012-02-15 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@264 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window) | madmaxoft@gmail.com | 2012-02-15 | 13 | -104/+194 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@263 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Can now pass any argument to cWorld:ForEachPlayer in Lua! But I'm not even using it.. lol | faketruth | 2012-02-15 | 1 | -18/+46 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight cleanup - removed old code, some additional comments on dangerous functions | madmaxoft@gmail.com | 2012-02-14 | 5 | -402/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@261 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Got rid of cWorld::GetAllPlayers() and implemented ForEachPlayer() more or less in Lua | faketruth | 2012-02-14 | 3 | -31/+64 |
| | | | | | | Core now uses ForEachPlayer() to interact with connected players git-svn-id: http://mc-server.googlecode.com/svn/trunk@260 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated fluid simulators with geser's patch file! | faketruth | 2012-02-14 | 7 | -58/+338 |
| | | | | | | Fluids should behave more like Minecraft's fluids, and lava+water creates stone/cobble/obsidian! git-svn-id: http://mc-server.googlecode.com/svn/trunk@257 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | m_World was never set in cBlockEntity's, now it is | faketruth | 2012-02-14 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@255 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Apparently the Fire plugin is depreciated since it's implemented in C++ :P | faketruth | 2012-02-14 | 1 | -2/+2 |
| | | | | | | Using std::list instead of std::vector for fire, I think this would be faster due to all the adding and removing blocks from lists. Correct me if I'm wrong git-svn-id: http://mc-server.googlecode.com/svn/trunk@254 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the same leak in FireSimulator | faketruth | 2012-02-14 | 2 | -18/+18 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@253 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a (pretty big) memory leak in cSandSimulator | faketruth | 2012-02-14 | 2 | -15/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@252 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-02-13 | 77 | -2687/+6689 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed unused code | madmaxoft@gmail.com | 2012-02-08 | 4 | -63/+126 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added total chunk count to webadmin | madmaxoft@gmail.com | 2012-02-08 | 4 | -7/+133 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@248 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cPluginManager: slight cleanup | madmaxoft@gmail.com | 2012-02-08 | 1 | -178/+272 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@247 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cMonsterConfig: removed excessive logging | madmaxoft@gmail.com | 2012-02-08 | 1 | -43/+62 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@246 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-02-08 | 10 | -71/+156 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-02-08 | 8 | -219/+253 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@244 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket: final localhost fix - made it a function (forgotten file) | madmaxoft@gmail.com | 2012-02-07 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@243 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket: final localhost fix - made it a function | madmaxoft@gmail.com | 2012-02-07 | 2 | -7/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@242 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Temporary fix for Linux compilation. (gcc won't accept a function call in global var initialization) | madmaxoft@gmail.com | 2012-02-07 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@241 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility. | madmaxoft@gmail.com | 2012-02-07 | 109 | -1316/+1907 |
| | | | | | | Moved data sending from cPacket into cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@240 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocketThreads initial commit. Not yet tested and not yet integrated | madmaxoft@gmail.com | 2012-02-07 | 2 | -0/+619 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@239 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight cleanup | madmaxoft@gmail.com | 2012-02-07 | 2 | -5/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@238 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket: Added more functions that will be needed for the new cSocketThreads | madmaxoft@gmail.com | 2012-02-07 | 2 | -8/+56 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@237 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket: error reporting function now works correctly on GNU Linux; also includes the error number for all errors | madmaxoft@gmail.com | 2012-02-06 | 1 | -8/+29 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@236 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket: re-implemented the GetLastErrorString() function; win: error texts are now queried from the system rather than enumerated by the program | madmaxoft@gmail.com | 2012-02-06 | 2 | -25/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@235 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Now showing proper error messages when sockets fail :) | faketruth | 2012-02-05 | 5 | -18/+30 |
| | | | | | | Crossplatform GetLastError function in cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@234 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket: added error logging to Bind() failures | madmaxoft@gmail.com | 2012-02-05 | 1 | -39/+48 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@233 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | putting default settings back to default | admin@omencraft.com | 2012-02-04 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@232 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bug in source/cClientHandle.h | admin@omencraft.com | 2012-02-04 | 4 | -6/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@231 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MCServer should be running fast again on Linux!! YAAAY!! | faketruth | 2012-02-03 | 2 | -0/+7 |
| | | | | | | | | It seems the intialization of MersenneTwister was really slow on Linux because it did some file reading. Doing this 200 times a tick can be pretty slow... StringUtils didn't compile in Cygwin due to missing va_list definition git-svn-id: http://mc-server.googlecode.com/svn/trunk@230 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cClientHandle: split packet handling into separate functions for clarity | madmaxoft@gmail.com | 2012-02-03 | 2 | -989/+1238 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@229 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cClientHandle: gotten rid of the obnoxious m_pState, now using direct members instead | madmaxoft@gmail.com | 2012-02-02 | 4 | -351/+405 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@228 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Socket-related assert fixes | madmaxoft@gmail.com | 2012-02-02 | 3 | -6/+30 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@227 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | tolua: modified the binding generator to accept AString as a std::string synonym, re-generated Bindings with these settings. Lua callbacks can now safely use AString functions in C++. | madmaxoft@gmail.com | 2012-02-02 | 3 | -28/+29 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@225 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed nonsense "virtual inline" declaration from functions | madmaxoft@gmail.com | 2012-02-02 | 7 | -28/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@223 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cSocket API fix (possible invalid pointer) | madmaxoft@gmail.com | 2012-02-02 | 6 | -45/+103 |
| | | | | | | cMCLogger slight change (CS ptr -> member) git-svn-id: http://mc-server.googlecode.com/svn/trunk@222 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 2012-02-01 | 24 | -289/+667 |
| | | | | | | | 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 | ||||
* | Added all current hooks to the new plugin structure. | faketruth | 2012-02-01 | 4 | -129/+817 |
| | | | | | | | Converted MagicCarpet to the new plugin structure When you fall of the MagicCarpet you teleport back up :D git-svn-id: http://mc-server.googlecode.com/svn/trunk@220 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | AString logging fix 2 | madmaxoft@gmail.com | 2012-02-01 | 7 | -21/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@218 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | AString logging fix | madmaxoft@gmail.com | 2012-02-01 | 1 | -7/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@217 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | sprintf() begone! Replaced with StringUtils' Printf() | madmaxoft@gmail.com | 2012-02-01 | 16 | -134/+189 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed a few duplicate includes | madmaxoft@gmail.com | 2012-02-01 | 10 | -41/+28 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@215 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | new cIsThread object for thread encapsulation | madmaxoft@gmail.com | 2012-02-01 | 2 | -0/+225 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@214 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cEvent: fixed wrong errorchecking in win32 Set() | madmaxoft@gmail.com | 2012-02-01 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@213 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | StringUtils: SplitString() fix | madmaxoft@gmail.com | 2012-02-01 | 1 | -2/+21 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@212 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | auto_ptr fix 2 | madmaxoft@gmail.com | 2012-02-01 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@211 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()! | madmaxoft@gmail.com | 2012-02-01 | 13 | -105/+384 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@209 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a sigsegv on *nix (cFile double-closing files) | madmaxoft@gmail.com | 2012-02-01 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@208 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Plugins can now be enabled and disabled through WebAdmin | faketruth | 2012-02-01 | 5 | -19/+75 |
| | | | | | | WebPlugins can now have spaces in their tab names git-svn-id: http://mc-server.googlecode.com/svn/trunk@204 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPlugin | faketruth | 2012-01-31 | 7 | -79/+193 |
| | | | | | | It should now be theoretically possible to upload files through WebAdmin git-svn-id: http://mc-server.googlecode.com/svn/trunk@203 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight code cleanup, no big changes | madmaxoft@gmail.com | 2012-01-31 | 3 | -45/+129 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@202 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Another cEvent fix, I wish I could get it finally right | madmaxoft@gmail.com | 2012-01-31 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@201 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hopefully fixed pthreads in cEvent (again) | madmaxoft@gmail.com | 2012-01-31 | 2 | -1/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@200 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cEvent class cleanup (single-event only, since multi-event wasn't used and wouldn't work on *nix anyway) | madmaxoft@gmail.com | 2012-01-31 | 2 | -82/+124 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@199 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Linux fixes, but while it compiles, when a user joins it crashes the server with "*** glibc detected *** ./MCServer: double free or corruption (out): 0x00007fb5f5158db0 ***" | mtilden@gmail.com | 2012-01-31 | 2 | -0/+2 |
| | | | | | | Please look into this. Also, am I the only one compiling/using Linux? git-svn-id: http://mc-server.googlecode.com/svn/trunk@198 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Can now receive POST data in WebPlugins! | faketruth | 2012-01-31 | 6 | -8/+41 |
| | | | | | | | Fixed Debug With optimized Noise in VS2010 by having it run the correct MCServer_debug.exe instead of MCServer.exe Changed winsock.h to Winsock2.h in Globals.h so sockets can be graciously closed (See webserver Socket::Close() ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@197 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Replaced most FILE operations with a cFile object | madmaxoft@gmail.com | 2012-01-30 | 7 | -151/+210 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@196 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a problem in cCSLock (sorry); reverted cChunk | madmaxoft@gmail.com | 2012-01-30 | 2 | -3/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@195 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a WebAdmin interface to view users their groups, and the permissions of groups. | faketruth | 2012-01-30 | 8 | -11/+91 |
| | | | | | | 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 | ||||
* | More cFile cleanup; removed old format writing for block entities | madmaxoft@gmail.com | 2012-01-30 | 11 | -286/+343 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@193 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Initial cFile implementation (using stdio FILE) and test in cChunkMap | madmaxoft@gmail.com | 2012-01-30 | 4 | -86/+388 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@192 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added missing #ifdef _DEBUG in cCriticalSection.cpp | faketruth | 2012-01-29 | 1 | -3/+5 |
| | | | | | | Should compile in Release and on Linux now git-svn-id: http://mc-server.googlecode.com/svn/trunk@191 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Old code begone! ChunkMap cleanup | madmaxoft@gmail.com | 2012-01-29 | 4 | -373/+252 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@189 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 2012-01-29 | 172 | -326/+1051 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | ChunkGenerator: rewritten thread-locking using the new RAII CSLock class | madmaxoft@gmail.com | 2012-01-29 | 5 | -82/+210 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@186 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Now also compiles in Linux | faketruth | 2012-01-28 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@184 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Converted entire Core plugin including WebAdmin interface to new plugin method/system/thingy and sexyfied it. | faketruth | 2012-01-28 | 9 | -98/+773 |
| | | | | | | | | Made some changes to WebAdmin to make the new plugins work Old plugins still work like they're supposed to Not all hooks have been programmed for the new plugins yet, this still needs to be done git-svn-id: http://mc-server.googlecode.com/svn/trunk@182 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MSVC 2008 Express compatibility: Added the projects, modified sources to compile. Tested on MSVC 2008 Express and MSVC 2010 Express | madmaxoft@gmail.com | 2012-01-27 | 64 | -87/+89 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@179 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Converted all of the Core plugin to the new plugin structure, except for the WebAdmin part | faketruth | 2012-01-27 | 2 | -21/+98 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@175 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | No longer hard coded Lua files in new plugin system | faketruth | 2012-01-26 | 2 | -20/+406 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@173 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Working on a new plugin design with Lua. While retaining backwards compatibility of course... | faketruth | 2012-01-26 | 7 | -47/+508 |
| | | | | | | 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 | ||||
* | Probably fixed a deadlock! http://www.mc-server.org/support/index.php?do=details&task_id=147 | faketruth | 2012-01-26 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@171 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Cactus towers can be destroyed by removing the bottom block | faketruth | 2012-01-23 | 4 | -4/+89 |
| | | | | | | | | | 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 | ||||
* | Fixed the  sign bug | faketruth | 2012-01-22 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@168 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Improved Core's WebAmin interface a bit. | faketruth | 2012-01-22 | 4 | -31/+112 |
| | | | | | | | | | Can now kick players through WebAdmin Can now enable/disable whitelist through WebAdmin Tick speed is limited in a better way now, instead of always sleeping 50ms before each tick, it now add only sleeps additional time when the tick time was faster than 50ms. Server should run slightly faster because of this (and use more cpu%) git-svn-id: http://mc-server.googlecode.com/svn/trunk@167 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Bug FS#131 http://www.mc-server.org/support/index.php?do=details&task_id=131 should be fixed | faketruth | 2012-01-21 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@166 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think) | faketruth | 2012-01-20 | 5 | -6/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@165 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Terrain generation is synchronous again, async generation has bugs. | faketruth | 2012-01-19 | 12 | -85/+129 |
| | | | | | | | | | 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 | ||||
* | Fixed crashing bug in cClientHandle::~cClientHandle | faketruth | 2012-01-02 | 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 | ||||
* | CreativeInventory Update | lapayo94@gmail.com | 2012-01-01 | 9 | -85/+107 |
| | | | | | | | - Fixed various problems with the new creative inventory (Crafting, furnace, etc) - Creative inventory will now be saved to disk, so you keep your creative inventory also for the next sessions git-svn-id: http://mc-server.googlecode.com/svn/trunk@162 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed the numchunks console command. | faketruth | 2012-01-01 | 10 | -14/+187 |
| | | | | | | | 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 | ||||
* | - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) | lapayo94@gmail.com | 2012-01-01 | 16 | -227/+363 |
| | | | | | | | | | | | (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 | ||||
* | Chests, furnaces and dispensers face the correct way now. | faketruth | 2012-01-01 | 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 | ||||
* | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks | faketruth | 2011-12-31 | 5 | -124/+148 |
| | | | | | | | 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 | ||||
* | - Animals burn now when moving into lava or fire | lapayo94@gmail.com | 2011-12-29 | 3 | -7/+12 |
| | | | | | | - Monster health is now working properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@157 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Initial food handling by cedeel | mtilden@gmail.com | 2011-12-29 | 5 | -13/+73 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@156 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | M$ BS... | mtilden@gmail.com | 2011-12-29 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@155 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Chests open and close on clients when opened/closed | mtilden@gmail.com | 2011-12-29 | 6 | -7/+84 |
| | | | | | | | | - 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 | ||||
* | - Pickups should now burn in fire | lapayo94@gmail.com | 2011-12-29 | 5 | -20/+33 |
| | | | | | | | - 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 | ||||
* | - water slacks fire now | lapayo94@gmail.com | 2011-12-29 | 8 | -17/+20 |
| | | | | | | - Bug which caused lava to disappear is fixed git-svn-id: http://mc-server.googlecode.com/svn/trunk@152 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - little performance improvement on the sand simulator | lapayo94@gmail.com | 2011-12-28 | 2 | -1/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@151 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - implemented the fire simulation in native c++ (cFireSimulator) | lapayo94@gmail.com | 2011-12-28 | 10 | -90/+280 |
| | | | | | | | | - 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 | ||||
* | - Fixed too fast actions kick for real | mtilden@gmail.com | 2011-12-28 | 1 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@149 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed some small memory leaks | lapayo94@gmail.com | 2011-12-28 | 3 | -0/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@148 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Fixed ping displaying same for everyone, knew it was something I messed up with itr :( | mtilden@gmail.com | 2011-12-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@147 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed PLI end white, made random mistake late night when I couldn't remember how I did it before | mtilden@gmail.com | 2011-12-28 | 1 | -1/+1 |
| | | | | | | Thanks to FakeTruth git-svn-id: http://mc-server.googlecode.com/svn/trunk@146 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | This bug should be fixed now http://mc-server.org/support/index.php?do=details&task_id=112 | faketruth | 2011-12-28 | 1 | -6/+44 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@145 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Linux fix | mtilden@gmail.com | 2011-12-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@144 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Didn't notice steak missing as well | mtilden@gmail.com | 2011-12-28 | 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 | ||||
* | - Added chicken to eating | mtilden@gmail.com | 2011-12-28 | 2 | -1/+10 |
| | | | | | | - 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 | ||||
* | Little improvement to save some cpu time but it´s still very heavy cpu load | lapayo94@gmail.com | 2011-12-28 | 2 | -1/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@141 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Implemented Drops from Burning animals | lapayo94@gmail.com | 2011-12-28 | 19 | -297/+218 |
| | | | | | | | | - added right monster health and attack strength - refactored the Pawn/Monster/Player class a little bit - changed some namings to fit the style git-svn-id: http://mc-server.googlecode.com/svn/trunk@140 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Users file was pretty messed up with mixed unix and windows line endings. The ini failed to parse correctly under cygwin. | faketruth | 2011-12-27 | 3 | -2/+10 |
| | | | | | | | | | 'Fixed' a 'bug' where MCServer would seemingly endlessly calculate lighting for an entire world (and then crash), when this entire world has 'wrong' lighting. This happens when running a converted map from Vanilla. Fixed this by only allowing a maximum of 50 chunks to recalculate their lighting per tick. Fixed a small coding error in cChunkMap where it would check PakVersion twice, instead of also ChunkVersion. DeNotch converter does not need the VS2010 runtime thingies anymore git-svn-id: http://mc-server.googlecode.com/svn/trunk@138 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a little error in cPacket_PlayerListItem.cpp | faketruth | 2011-12-27 | 1 | -1/+1 |
| | | | | | | char* was casted to char, but you actually need to get the first index of the array. git-svn-id: http://mc-server.googlecode.com/svn/trunk@137 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Vanity, just to set back to white after a short enough name for the ping image to not change color | mtilden@gmail.com | 2011-12-27 | 1 | -1/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@136 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | I'll lower my frequency of commits.. 1000 default ends up sent more often than calc'd packets. | mtilden@gmail.com | 2011-12-27 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@135 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Oops, accidentally left debug print | mtilden@gmail.com | 2011-12-27 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@134 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Added basic ping handling. | mtilden@gmail.com | 2011-12-27 | 5 | -10/+38 |
| | | | | | | | | 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 | ||||
* | Slightly cleaner block change interactions static in header | mtilden@gmail.com | 2011-12-27 | 2 | -2/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@130 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-12-27 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@128 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Some kind of 'template' world generator that right now just generates an all dirt world. You can use this to test new algorithms | faketruth | 2011-12-27 | 5 | -12/+55 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@127 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() | faketruth | 2011-12-26 | 10 | -90/+160 |
| | | | | | | Changed isValidItem to IsValidItem in Core.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@126 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - improved Simulator system | lapayo94@gmail.com | 2011-12-26 | 14 | -55/+277 |
| | | | | | | | | | | | | -> 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 | ||||
* | - improved ClosestPlayerDetection (Really the closest now ;)) | lapayo94@gmail.com | 2011-12-26 | 2 | -30/+46 |
| | | | | | | | | - renamed function because the old one wasn´t listing - improved some time vars so no move gets dropped when the server laggs for a few seconds git-svn-id: http://mc-server.googlecode.com/svn/trunk@124 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-12-26 | 1 | -9/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@122 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 2011-12-26 | 14 | -47/+72 |
| | | | | | | | | - 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 | ||||
* | - Added timer to cPlayer PlayerListItem because sending the packets like minecraft does (every tick per player) is 20 pps per client to each client and was causing Kicks for having too high of a packet queue | mtilden@gmail.com | 2011-12-26 | 2 | -7/+17 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@120 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Default Notchian Ping (static until ping implemented through keepalive send/receive) | mtilden@gmail.com | 2011-12-26 | 2 | -4/+12 |
| | | | | | | - Player "left" message regardless of exit reason git-svn-id: http://mc-server.googlecode.com/svn/trunk@119 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - 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 | 2011-12-26 | 1 | -6/+10 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@118 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cpp | faketruth | 2011-12-26 | 4 | -251/+274 |
| | | | | | | 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 | ||||
* | - 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 | 2011-12-26 | 5 | -11/+22 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@116 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed | faketruth | 2011-12-26 | 7 | -73/+104 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@115 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard display | mtilden@gmail.com | 2011-12-26 | 8 | -5/+80 |
| | | | | | | | - 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 | ||||
* | - Fixed Bug #99 -> Mobs no longer bother you in creative mode | lapayo94@gmail.com | 2011-12-25 | 40 | -1235/+347 |
| | | | | | | - refactored many things in the Monster system git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - fixed the code from the last commit :) | lapayo94@gmail.com | 2011-12-25 | 2 | -5/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@111 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Fixed a critical bug, which caused players to not getting spawned on the others client | lapayo94@gmail.com | 2011-12-25 | 2 | -84/+89 |
| | | | | | | - corrected newline in cMonsterConfig (VS did :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@110 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Implemented function to check item category | lapayo94@gmail.com | 2011-12-25 | 3 | -2/+43 |
| | | | | | | | | - (Cobble-)stone don´t drop item anymore if mined without pickaxe - FluidSimulator no longer causes compiler warning - Glowstone drops fixed git-svn-id: http://mc-server.googlecode.com/svn/trunk@109 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored both simulators (water and lava) to make them more flexible and easier to modify | lapayo94@gmail.com | 2011-12-25 | 6 | -549/+382 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@108 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Hold item is now dropped when inventory is closed | lapayo94@gmail.com | 2011-12-25 | 4 | -8/+32 |
| | | | | | | | | 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 | ||||
* | Code improvements | lapayo94@gmail.com | 2011-12-25 | 8 | -5/+486 |
| | | | | | | | | | 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 | ||||
* | The missing file! cChunkGenerator.h/cpp | faketruth | 2011-12-25 | 2 | -0/+195 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@105 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - improved and simplified the door system (shorter, clearer) | lapayo94@gmail.com | 2011-12-25 | 4 | -62/+85 |
| | | | | | | | - 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 | ||||
* | 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 | 2011-12-25 | 10 | -82/+184 |
| | | | | | | | | | 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 | ||||
* | Very alpha water physic for pickups (The swim now) | lapayo94@gmail.com | 2011-12-24 | 4 | -6/+168 |
| | | | | | | | but there are some problems (get stuck on some positions) so someone might look at it because I have no idea how to make it better :D git-svn-id: http://mc-server.googlecode.com/svn/trunk@102 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Max. players and MOTD are now changeable in the settings.ini | lapayo94@gmail.com | 2011-12-24 | 3 | -7/+42 |
| | | | | | | 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 | ||||
* | Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at | faketruth | 2011-12-23 | 5 | -9/+55 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@100 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Digging leaves with shears now drops leaves | lapayo94@gmail.com | 2011-12-22 | 7 | -11/+52 |
| | | | | | | | | | | | | | 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 | ||||
* | Fixes: | lapayo94@gmail.com | 2011-12-22 | 10 | -18/+30 |
| | | | | | | | | - Pickups fall through water now (Server-side they stayed in the water surface) - Suppressed some warnings (int to short etc.) - Water is now passable for cTracer git-svn-id: http://mc-server.googlecode.com/svn/trunk@96 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Missed a class in r94 ;) Sorry guys :D | lapayo94@gmail.com | 2011-12-21 | 2 | -0/+96 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@95 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | - Crafting fixed in 1.0.0 | lapayo94@gmail.com | 2011-12-21 | 42 | -275/+315 |
| | | | | | | | | | | - 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 | ||||
* | 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 | 2011-11-15 | 1 | -12/+37 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@93 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Put view distance back to 13. Didn't mean to change that. | admin@omencraft.com | 2011-11-12 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@92 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Found and fixed a bug not letting users place blocks in water or lava. | admin@omencraft.com | 2011-11-11 | 2 | -3/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@91 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed logging in underground bug this time. A hack, but it works. :D | admin@omencraft.com | 2011-11-10 | 1 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@90 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Can now set gamemode via lua. | admin@omencraft.com | 2011-11-10 | 5 | -4/+19 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@89 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Some more changes to redstone. | admin@omencraft.com | 2011-11-10 | 1 | -12/+14 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@88 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work. | admin@omencraft.com | 2011-11-10 | 6 | -26/+258 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@87 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed doors. I forgot to actually return proper Hex value. Started work on adding farmland, farming, and leaf decay support. | admin@omencraft.com | 2011-11-10 | 2 | -6/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@86 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-10 | 3 | -5/+108 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@85 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Storms were WAY too frequent. I toned them down. | admin@omencraft.com | 2011-11-10 | 1 | -4/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@84 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings. | admin@omencraft.com | 2011-11-10 | 5 | -20/+191 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@83 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState) | admin@omencraft.com | 2011-11-09 | 6 | -3/+79 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@82 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | bugfix to redstone, it can climb walls again. | admin@omencraft.com | 2011-11-09 | 2 | -16/+43 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@81 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-09 | 6 | -108/+298 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@80 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed world time | faketruth | 2011-11-08 | 2 | -1/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@78 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | It's a Squirrel!! | faketruth | 2011-11-08 | 11 | -31/+529 |
| | | | | | | 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 | ||||
* | 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 | 2011-11-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@75 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-07 | 6 | -121/+238 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@74 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | More updates to cPiston.cpp. Piston action will now only be broadcasted to players who have the chunk with the moving piston loaded. | admin@omencraft.com | 2011-11-07 | 1 | -2/+6 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@73 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added Sebi's changes to pistons and item drops. | admin@omencraft.com | 2011-11-07 | 6 | -423/+172 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@72 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pistons now generate noise and animate when moving. | admin@omencraft.com | 2011-11-07 | 3 | -4/+50 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@71 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added three new packets and cleaned up cPacket_Thunderbolt.cpp... cPacket_BlockAction, cPacket_Explosion, and cPacket_SoundEffect. | admin@omencraft.com | 2011-11-07 | 8 | -50/+232 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@70 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-06 | 3 | -194/+47 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@69 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-06 | 3 | -42/+232 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@68 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-06 | 12 | -276/+523 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Finished most of piston class. Pistons should work when a redstone current with wire is lit up or extinguished near them but don't yet. There'sa bug to kill. | admin@omencraft.com | 2011-11-06 | 3 | -48/+408 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@66 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Change SetBlock to FastSetBlock in cRedstone.cpp and grass will now grow if any one hit block is above it. | admin@omencraft.com | 2011-11-05 | 2 | -22/+27 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@65 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added all the items up to Beta 1.9.5. Added pistons and piston class. | admin@omencraft.com | 2011-11-05 | 5 | -18/+364 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@63 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cRedstone to project file | faketruth | 2011-11-04 | 2 | -7/+6 |
| | | | | | | Changed NetworkToHostFloat4(), maybe it works now on 64bit linux git-svn-id: http://mc-server.googlecode.com/svn/trunk@54 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed use of deprecated function. | admin@omencraft.com | 2011-11-04 | 1 | -14/+19 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@53 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | celeaning up the mess I made of cRedstone.h. >.> | admin@omencraft.com | 2011-11-04 | 1 | -77/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@52 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-04 | 5 | -25/+215 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@51 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed some redstone items and a bug that prevented floats from client to server packets reading correctly on 64 bit linux. | admin@omencraft.com | 2011-11-03 | 5 | -14/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@50 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added some redstone items. | admin@omencraft.com | 2011-11-03 | 3 | -7/+54 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@49 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:) | admin@omencraft.com | 2011-11-03 | 3 | -11/+42 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@48 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-02 | 6 | -7/+128 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@47 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed some "Entity was not found in any chunk!" warnings | faketruth | 2011-11-02 | 8 | -28/+74 |
| | | | | | | | 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 | ||||
* | Fixed player spawn teleport postion. | admin@omencraft.com | 2011-11-02 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@45 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed crash when client only sends a space in the chat | faketruth | 2011-11-02 | 1 | -0/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@44 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed world gamemode location to world.ini for world based gamemodes. | admin@omencraft.com | 2011-11-02 | 1 | -2/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@43 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | fixed player spawning in the ground. | admin@omencraft.com | 2011-11-01 | 3 | -6/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@42 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Accidentally removed a line of code | faketruth | 2011-11-01 | 1 | -1/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@41 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-01 | 16 | -165/+476 |
| | | | | | | | | | | | 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 | ||||
* | forogt to update all of cPlayer.cpp for player based gamemode. | admin@omencraft.com | 2011-11-01 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@39 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-01 | 3 | -14/+56 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@38 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-11-01 | 2 | -3/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@37 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | denotch map converter works! :D | admin@omencraft.com | 2011-10-31 | 1 | -8/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@36 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Player data is saved and loaded as human readable JSON now. | faketruth | 2011-10-31 | 10 | -74/+317 |
| | | | | | | | | cFileFormatUpdate will loop through old files and convert them to new files (should replace legacy old format loading code) cItem has two new functions to load from Json and output Json, this will keep the items in Json standard ChestEntity and FurnaceEntity use the new functions in cItem git-svn-id: http://mc-server.googlecode.com/svn/trunk@35 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 2011-10-31 | 40 | -206/+402 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Changed cChunkMat.cpp back to normal. Made more changes to the denotch map converter. Testing cNBTData parser. | admin@omencraft.com | 2011-10-30 | 1 | -5/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@21 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added denotch map converter. Program currently reads the only mcr file in the region dir and writes the uncompressed chunk data in world/X0-Z0.pak. I compile in linux with "g++ cConvert.cpp -lz -o denotch" | admin@omencraft.com | 2011-10-29 | 2 | -6/+11 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@20 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a memory leak | faketruth | 2011-10-27 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@19 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made several recomended changes. Gamemode is now world based. Need to add it to player. | admin@omencraft.com | 2011-10-26 | 11 | -19/+26 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@18 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-10-26 | 3 | -8/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@17 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-10-26 | 5 | -5/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@16 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2011-10-26 | 8 | -6/+81 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@15 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Updated VS2010 project files | faketruth | 2011-10-26 | 1 | -104/+43 |
| | | | | | | | Made monster spawning code in cWorld.cpp a bit more compact and readable srand() is only supposed to be called once in the whole program, and it's already called in the constructor of cWorld so it doesn't have to be in cWorld::Tick() git-svn-id: http://mc-server.googlecode.com/svn/trunk@14 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed bug in cMakeDir where it would only create directories named "world" | faketruth | 2011-10-26 | 3 | -34/+16 |
| | | | | | | The user input thread now properly stops when the server restarts or stops git-svn-id: http://mc-server.googlecode.com/svn/trunk@13 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier. | admin@omencraft.com | 2011-10-26 | 1 | -3/+70 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@12 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | git-svn-id: http://mc-server.googlecode.com/svn/trunk@10 0a769ca7-a7f5-676a-18bf-c427514a06d6 | admin@omencraft.com | 2011-10-26 | 29 | -10/+1707 |
| | |||||
* | Using SSE instructions for noise (terrain generation) | faketruth | 2011-10-25 | 3 | -9/+84 |
| | | | | | | 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 | ||||
* | Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. | faketruth | 2011-10-23 | 6 | -88/+165 |
| | | | | | | | 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 | ||||
* | Found something that calls a function when a segfault happens, might be useful. | faketruth | 2011-10-22 | 1 | -4/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@7 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Compiles for linux | faketruth | 2011-10-21 | 17 | -24/+63 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@6 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | MCServer c++ source files | faketruth | 2011-10-03 | 233 | -0/+35759 |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |