Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-05-15 | Fix compile error. | Howaner | 1 | -1/+1 | |
2014-05-15 | Move radius check. | Howaner | 1 | -25/+40 | |
2014-05-11 | Fixed stat serialization | andrew | 1 | -8/+0 | |
2014-05-11 | Statistic Manager | andrew | 1 | -1/+18 | |
2014-05-11 | Rename HandleBlockDigCancel to FinishDigAnimtion. | Howaner | 1 | -3/+3 | |
2014-05-09 | Add block place/break distance check. | Howaner | 1 | -0/+21 | |
2014-05-09 | Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break. | Howaner | 1 | -17/+44 | |
2014-05-06 | Simplified the HandleAnvilItemName() code. | Howaner | 1 | -7/+2 | |
2014-05-05 | Changed HandleAnvilItemName() length to size_t in ClientHandle.h | Howaner | 1 | -1/+1 | |
2014-05-05 | Add clicks, exp subtraction, item check, ... | Howaner | 1 | -1/+1 | |
2014-05-05 | Add MC|ItemName plugin message. | Howaner | 1 | -0/+32 | |
2014-05-02 | HOOK_DISCONNECT has cClientHandle as its first parameter. | madmaxoft | 1 | -3/+3 | |
Ref.: #655. | |||||
2014-05-01 | More ClientHandle fixes. | madmaxoft | 1 | -2/+2 | |
2014-05-01 | Fixed warnings in ClientHandle. | madmaxoft | 1 | -2/+2 | |
2014-05-01 | Fixed crashes in the SSL HTTP connection. | madmaxoft | 1 | -1/+2 | |
2014-04-29 | Delayed sending the KeepAlive packet for 3 seconds after login. | madmaxoft | 1 | -0/+5 | |
This should alleviate #889. | |||||
2014-04-28 | Fixed braces. | madmaxoft | 1 | -1/+5 | |
2014-04-28 | Fixed missing return value warning in MSVC. | madmaxoft | 1 | -0/+1 | |
2014-04-27 | Redstone simulator now directly accesses cChunk | Tiger Wang | 1 | -1/+2 | |
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes | |||||
2014-04-26 | More small fixes. | archshift | 1 | -9/+9 | |
2014-04-26 | Moar alignment. | archshift | 1 | -7/+7 | |
2014-04-26 | Further refactored, Reverted Minecart change | archshift | 1 | -57/+21 | |
Other small changes. | |||||
2014-04-25 | Oops, fixed that. | archshift | 1 | -0/+2 | |
2014-04-25 | Refactored SendChat(), placing the message-type formatting into its own function. | archshift | 1 | -84/+78 | |
Removed default case warning in the process. | |||||
2014-04-24 | Fix armor in survival mode. | Howaner | 1 | -1/+1 | |
2014-04-19 | Declared one mutex as mutable in order to allow for const correct get accessors. | jfhumann | 1 | -4/+4 | |
2014-04-18 | Small style changes | jfhumann | 1 | -1/+1 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -8/+10 | |
2014-04-18 | Removed old include | daniel0916 | 1 | -1/+1 | |
2014-04-17 | Fixed some Errors (not all) | daniel0916 | 1 | -7/+10 | |
2014-04-17 | Modified many things | daniel0916 | 1 | -856/+1 | |
2014-04-16 | Fixed conflicting enchantments checking | daniel0916 | 1 | -23/+23 | |
2014-04-16 | Added deletions from merge conflict | daniel0916 | 1 | -0/+875 | |
2014-04-16 | Fixed merge conflict | daniel0916 | 1 | -877/+0 | |
2014-04-15 | Attempted fix for the client crash with the new protocols. | madmaxoft | 1 | -6/+9 | |
2014-04-15 | Code Optimization | daniel0916 | 1 | -356/+180 | |
2014-04-15 | Added Book Enchanting | daniel0916 | 1 | -1/+310 | |
2014-04-15 | Modified names | daniel0916 | 1 | -47/+47 | |
2014-04-15 | Add linux compatibility | Howaner | 1 | -61/+71 | |
2014-04-14 | Implemented the 1.7.6 protocol and authenticator. | madmaxoft | 1 | -8/+22 | |
Server works both in online and offline modes with 1.7.9. | |||||
2014-04-14 | A client UUID is generated when the server is in offline mode. | madmaxoft | 1 | -0/+24 | |
1.7.9 client works with these changes in offline mode. | |||||
2014-04-14 | Removed Debug Message | daniel0916 | 1 | -2/+0 | |
2014-04-14 | Added/Modified last things for Enchanting System | daniel0916 | 1 | -15/+53 | |
2014-04-14 | Bug fixes | daniel0916 | 1 | -2/+2 | |
2014-04-13 | Fixed invisibility enchantments | daniel0916 | 1 | -1/+3 | |
2014-04-13 | Fixed mistake | daniel0916 | 1 | -1/+1 | |
2014-04-13 | Fixed Server Crash | daniel0916 | 1 | -0/+6 | |
2014-04-13 | Some Fixes | daniel0916 | 1 | -1/+8 | |
2014-04-13 | Added Yggdrasil Authentication System | daniel0916 | 1 | -2/+5 | |
Code by Howaner. Fixes/Changes by me. | |||||
2014-04-12 | Added complete Enchanting System | daniel0916 | 1 | -15/+662 | |
http://minecraft.gamepedia.com/Enchantment_mechanics | |||||
2014-04-12 | Entities handle chunks properly again | Tiger Wang | 1 | -1/+1 | |
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty | |||||
2014-04-04 | Fixed some Clang warnings in protocols. | madmaxoft | 1 | -2/+2 | |
2014-04-02 | Fixed All signedness warnings in HTTPServer.cpp | Tycho | 1 | -1/+1 | |
2014-03-31 | Simplified and fixed slabs, fixes #835 | Tiger Wang | 1 | -1/+1 | |
2014-03-29 | Compare for inequality in FACE_NONE checks | Tiger Wang | 1 | -3/+3 | |
2014-03-29 | Removed leftover clienthandle code | Tiger Wang | 1 | -10/+6 | |
2014-03-29 | Fixed players not updating after world change | Tiger Wang | 1 | -4/+2 | |
Addendum to 6dea7993f2a563a8b3a0746feeb2174922631526 | |||||
2014-03-28 | Fixed block interaction rate check | Tiger Wang | 1 | -2/+4 | |
2014-03-23 | Implemented lilypad placement | Tiger Wang | 1 | -4/+8 | |
2014-03-11 | Fixed a load of format string errors | Tycho | 1 | -1/+1 | |
2014-03-11 | Unified Vector classes | andrew | 1 | -3/+0 | |
2014-03-10 | Removed Some unnessicary macros | Tycho | 1 | -13/+0 | |
2014-03-09 | != FACE_NONE | Tiger Wang | 1 | -1/+1 | |
2014-03-09 | Fixed data length issues | Tiger Wang | 1 | -1/+1 | |
2014-03-09 | CheckBlockInteractionsRate() fixed & enabled | Tiger Wang | 1 | -29/+19 | |
2014-03-09 | Slight plugin messaging changes | Tiger Wang | 1 | -0/+13 | |
- Clients are not allowed to register duplicate channels - Clients are not allowed to use channels that were not registered | |||||
2014-03-08 | Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting. | Jan-Fabian Humann | 1 | -28/+30 | |
2014-03-08 | Fixed issues with int vs size_t and a few other warnings | Tycho | 1 | -2/+2 | |
2014-03-05 | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 1 | -4/+10 | |
2014-03-02 | cBlockInfo now manages the respective cBlockHandler | andrew | 1 | -3/+3 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -1/+1 | |
2014-02-28 | Use switch in GetStepSound | Howaner | 1 | -1/+1 | |
2014-02-28 | Fix Double Slabs, fix Slab Meta and add more things to burnable | Howaner | 1 | -1/+1 | |
2014-02-23 | Use the ItemCategorie::IsSword() Method. | Howaner | 1 | -1/+1 | |
2014-02-23 | No Sword Block Destroying in Creative Mode | Howaner | 1 | -0/+10 | |
2014-02-20 | cClientHandle manages the client-registered plugin channels. | madmaxoft | 1 | -10/+77 | |
Fixes #706. | |||||
2014-02-18 | Map decorators; Map clients | andrew | 1 | -13/+9 | |
2014-02-18 | Implemented paintings, fixes #689 | Tiger Wang | 1 | -0/+8 | |
+ Implemented paintings | |||||
2014-02-17 | Map item handler; Fixed several bugs | andrew | 1 | -2/+0 | |
2014-02-16 | Links sent via chat messages are clickable. | madmaxoft | 1 | -8/+14 | |
Fixes #658. | |||||
2014-02-16 | Add Locale to ClientHandle | Howaner | 1 | -0/+1 | |
2014-02-15 | Implemented cCompositeChat. | madmaxoft | 1 | -1/+11 | |
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678. | |||||
2014-02-15 | cMap::UpdateRadius | andrew | 1 | -0/+2 | |
2014-02-14 | Send map when selected | andrew | 1 | -0/+13 | |
2014-02-13 | Implementation of in-game maps | andrew | 1 | -0/+18 | |
2014-02-07 | Added sender name to PM if prefixes disabled | Tiger Wang | 1 | -1/+1 | |
* Also moved the PVP setting into Mechanics | |||||
2014-02-07 | Improved chat messaging functions | Tiger Wang | 1 | -6/+108 | |
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API. | |||||
2014-02-06 | Server internally uses new functions | Tiger Wang | 1 | -8/+6 | |
2014-02-05 | Reduced max explosions per tick | Tiger Wang | 1 | -1/+1 | |
2014-02-05 | Fixed explosions bug | Tiger Wang | 1 | -20/+10 | |
* Fixed bug where explosions would sometimes never be sent | |||||
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -5/+5 | |
May Fix #640 | |||||
2014-02-03 | Fixed a crash bug | Tiger Wang | 1 | -8/+2 | |
2014-02-03 | Server now handles join messages also | Tiger Wang | 1 | -9/+11 | |
* Revised as well hook documentation | |||||
2014-02-01 | Changed Signiture of OnDigging | Tycho | 1 | -3/+3 | |
2014-02-01 | Changed Signiture of OnDestroyedByPlayer | Tycho | 1 | -3/+4 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -4/+3 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -1/+2 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-31 | Some updates for enchanting (2) | daniel0916 | 1 | -0/+36 | |
2014-01-26 | Refactored cBlockHandler::OnUse and dependents | Tycho | 1 | -1/+4 | |
2014-01-25 | First attempt at Implementing Interfaces | Tycho | 1 | -1/+1 | |
2014-01-25 | Two minor changes | Tiger Wang | 1 | -1/+1 | |
2014-01-24 | Fixed a possible deadlock on client disconnect. | madmaxoft | 1 | -9/+0 | |
2014-01-23 | Command block fixes 2 | andrew | 1 | -16/+9 | |
2014-01-23 | Split TossItem into three Toss functions (Held, Equipped and Pickup) | Mike Hunsinger | 1 | -2/+3 | |
2014-01-21 | Scoreboard SendTo() | andrew | 1 | -0/+3 | |
2014-01-21 | Scoreboard protocol support | andrew | 1 | -0/+30 | |
2014-01-19 | Removed unneeded paramters | Tiger Wang | 1 | -2/+2 | |
2014-01-19 | Rewritten SocketThreads for proper shutdown scenario. | madmaxoft | 1 | -5/+1 | |
This fixes #560 and #390. | |||||
2014-01-19 | Changed SendBlockEntity format slightly | Tiger Wang | 1 | -3/+6 | |
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug | |||||
2014-01-19 | Implemented MC|Brand response | Tiger Wang | 1 | -3/+9 | |
2014-01-19 | Improved command blocks | Tiger Wang | 1 | -0/+9 | |
* Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity | |||||
2014-01-18 | Command block fixes | andrew | 1 | -5/+12 | |
2014-01-18 | Parse the MC|AdvCdm plugin message | andrew | 1 | -0/+64 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -2/+2 | |
2014-01-15 | Implemented Ctrl-Q drop stack | Tiger Wang | 1 | -0/+11 | |
Also fixed an issue with TossItems not respecting count. | |||||
2014-01-09 | Added cClientHandle::SendPluginMessage(). | madmaxoft | 1 | -0/+9 | |
It is not yet exported in the API, though. | |||||
2014-01-07 | Plugin messages are received and handed to plugins. | madmaxoft | 1 | -0/+9 | |
Note that MCS doesn't currently handle any channel registrations, this will come later on. | |||||
2013-12-31 | fixed ClientHandle warnings | Tycho Bickerstaff | 1 | -0/+1 | |
2013-12-22 | Implented BroadcastParticleEffect | STRWarrior | 1 | -0/+9 | |
2013-12-20 | Fixed the rest of constructor reorders. | madmaxoft | 1 | -21/+20 | |
2013-12-19 | Fixed PlayerAbilities and creative | Tiger Wang | 1 | -3/+3 | |
2013-12-19 | Fixed 1.7 arm swing animation | Tiger Wang | 1 | -1/+23 | |
2013-12-18 | Disconnection message no longer shown if ping | Tiger Wang | 1 | -5/+8 | |
2013-12-18 | The "<>" of a player name is now coloured | Tiger Wang | 1 | -1/+1 | |
2013-12-18 | Fixed 1.7 player disconnection not calling hook | Tiger Wang | 1 | -4/+14 | |
This fixes #357 | |||||
2013-12-18 | Renamed back EntityAnimation to PlayerAnimation | Tiger Wang | 1 | -1/+1 | |
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4 | |||||
2013-12-16 | Fixed cClientHandle::Tick() being called from two threads. | madmaxoft | 1 | -6/+43 | |
When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187. | |||||
2013-12-16 | Fixed multiple player spawn broadcasts. | madmaxoft | 1 | -3/+0 | |
2013-12-15 | Fixed calling OnPlayerJoined() in the wrong place. | madmaxoft | 1 | -6/+1 | |
This is the first part of a fix for #187. | |||||
2013-12-15 | This adds a function that allows you to 'shoot' a player towards a direction. | STRWarrior | 1 | -2/+0 | |
2013-12-15 | Moved reading flags to the protocol. | STRWarrior | 1 | -17/+3 | |
2013-12-15 | Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() function | STRWarrior | 1 | -0/+33 | |
2013-12-14 | Forgot to commit the ClientHandle. | STRWarrior | 1 | -0/+18 | |
2013-12-12 | Unknown packet type extended to 32 bits. | madmaxoft | 1 | -3/+3 | |
2013-12-08 | Moved bindings-related to a Bindings subfolder. | madmaxoft | 1 | -1/+1 | |
Ref.: #407 | |||||
2013-12-07 | Fixed trapdoors not toggling | Tiger Wang | 1 | -1/+1 | |
The redstone simulator kept on resetting them. | |||||
2013-12-07 | Renamed animation function | Tiger Wang | 1 | -7/+7 | |
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | |||||
2013-12-06 | Fixed bed leave animation | Tiger Wang | 1 | -1/+1 | |
2013-12-06 | Updated comments for slabs | Tiger Wang | 1 | -5/+6 | |
2013-12-02 | Switched to using provided ReadItem function. | Samuel Barney | 1 | -0/+9 | |
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs. | |||||
2013-11-30 | Properly fixed snow height, fixes #98 and #264 | Tiger Wang | 1 | -9/+14 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-15 | finished #143 I believe | Daniel O'Brien | 1 | -2/+5 | |
2013-11-15 | added cProtocol function to pass xp to client | Daniel O'Brien | 1 | -0/+9 | |
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -2/+2 | |
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery | |||||
2013-11-08 | cProtocol::SendWindowOpen() signature changed. | madmaxoft | 1 | -2/+2 | |
This implements #313. | |||||
2013-11-05 | Removed the obsolete SendWholeInventory(cInventory &) function. | madmaxoft | 1 | -11/+2 | |
This won't compile because there's still a change in Protocol17x.cpp pending; the next commit will fix this. | |||||
2013-11-04 | Autogeneration of settings.ini and webadmin.ini | Tiger Wang | 1 | -2/+2 | |
Fixes issue #75 | |||||
2013-11-03 | ClientHandle: Fixed an error in player-joining hook. | madmaxoft | 1 | -2/+2 | |
Players being disconnected used to fire the PlayerJoined hook repeatedly. | |||||
2013-10-29 | Changed GameMode() == 1 to IsGameModeCreative in AggressiveMonster.cpp and ClientHandle.cpp | STRWarrior | 1 | -1/+1 | |
2013-10-29 | Fixed bug where creative inventory didn't work. | STRWarrior | 1 | -1/+1 | |
2013-10-28 | Renamed cWindow constants to include the "wt" prefix. | madmaxoft | 1 | -2/+2 | |
2013-09-22 | Changed a comment | Tiger Wang | 1 | -1/+1 | |
Was a remnant of my TypeType minecarts :D | |||||
2013-09-21 | Fixed pickup spawning with inherited gamemode. | madmaxoft | 1 | -0/+1 | |
2013-09-15 | Removed leftover CanBePlacedOnSide | Tiger Wang | 1 | -7/+0 | |
2013-09-15 | Removed leftover DoesAllowBlockOnTop | Tiger Wang | 1 | -9/+0 | |
2013-09-09 | Removed the cDoors class. | madmaxoft | 1 | -1/+0 | |
The helper functions that it implemented were moved into their respective blockhandlers. | |||||
2013-09-08 | Fixed client spawning. | madmaxoft | 1 | -108/+51 | |
The method used for 1.2.5 clients no longer works. Fixes #139. | |||||
2013-09-06 | Implemented SteerVehicle packet. | madmaxoft | 1 | -0/+9 | |
2013-09-06 | Implemented SteerVehicle packet. | madmaxoft | 1 | -0/+9 | |
2013-08-30 | Shooting a bow kinda works. | madmaxoft | 1 | -4/+4 | |
The arrow is released, but sometimes hits wrong blocks or disappears completely. | |||||
2013-08-29 | Implemented xoft's suggestions [SEE DESC] | Tiger Wang | 1 | -2/+2 | |
Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType | |||||
2013-08-28 | Fixed Minecart spawning issues | Tiger Wang | 1 | -2/+2 | |
Now you can have everything! | |||||
2013-08-24 | Client can no longer place blocks outside the Y range of the world. | madmaxoft | 1 | -1/+6 | |
Fixes #128. | |||||
2013-08-24 | Added comments and fixed a bug | Tiger Wang | 1 | -9/+21 | |
Bug was placing slabs between slabs not making a double slab. | |||||
2013-08-24 | Fixed final slab bug | Tiger Wang | 1 | -1/+1 | |
This bug allowed a double slab to be made below by placing a compatible slab on a "top" slab. The coordinates are always one lower, so now it checks to see if the slab orientation can be made into a double. | |||||
2013-08-23 | Double slabs work *choke choke* | Tiger Wang | 1 | -20/+49 | |
2013-08-22 | Another fix for #31. | madmaxoft | 1 | -0/+6 | |
This seems to have done it, no more crashes for me. | |||||
2013-08-20 | Added a delay between the kick packet and socket close. | madmaxoft | 1 | -2/+17 | |
This should have helped #31, but the client disagrees. | |||||
2013-08-20 | Fixed player spawning. | madmaxoft | 1 | -0/+10 | |
Now the player is spawned only after the chunk they're in is sent to the client. Hopefully no more falling-through-terrain-while-loggin-in. | |||||
2013-08-19 | Fixed the extreme strain on the world tick thread. | madmaxoft | 1 | -0/+2 | |
Block changes were sent even with empty changesets, causing a lot of lost CPU cycles. | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -3/+2 | |
2013-08-18 | Added cWindow property manipulation API. | madmaxoft | 1 | -17/+17 | |
Now enchantment table and furnace properties can be set by a plugin | |||||
2013-08-14 | ClientHandle no longer queues chat messages. | madmaxoft | 1 | -47/+17 | |
It is no longer needed to queue chat messages, because the protocol is parsed within the Tick thread itself, without holding any SocketThread CS. | |||||
2013-08-14 | Player counts are now properly handled. | madmaxoft | 1 | -1/+37 | |
Fixes #80 | |||||
2013-08-13 | Clients are now ticked in cServer first, then in cWorld once they get assigned a world. | madmaxoft | 1 | -31/+32 | |
2013-08-12 | Removed cServer::BroadcastChat() and cServer::SendMessage(). | madmaxoft | 1 | -6/+8 | |
These two functions make it difficult to move to the new ticking system, and they aren't used anyway. If so required, they can be emulated by ForEachWorld / ForEachPlayer calls. | |||||
2013-08-11 | Moved MaxPlayers and Description from cWorld to cServer. | madmaxoft | 1 | -7/+7 | |
Also started creating a new cWorld::cTickThread class, but not used yet. | |||||
2013-08-11 | Added OnPlayerAnimation() hook. | madmaxoft | 1 | -0/+6 | |
Initial patch by @STR_Warrior, updated to account for different animation packets. | |||||
2013-08-10 | Removed extra disconnect message | Tiger Wang | 1 | -5/+0 | |
There seems to be already one in the HandleDisconnect hook function. | |||||
2013-08-09 | Fixed some formatting issues I accidentally introduced | James Ravenscroft | 1 | -0/+2 | |
2013-08-09 | Added IsSwimming and IsSubmerged flags and access methods | James Ravenscroft | 1 | -4/+2 | |
2013-08-08 | Fixed the jump food exhaustion being added when player is swimming | James Ravenscroft | 1 | -3/+8 | |
2013-08-02 | Implemented OnPlayerRightClickingEntity() hook | madmaxoft | 1 | -0/+4 | |
Fixes FS 425 | |||||
2013-07-31 | Implemented the actual tab completion for commands and playernames. | madmaxoft | 1 | -1/+1 | |
Each command is reported only if the player has the permission to use it. | |||||
2013-07-30 | Tab completion packet is handled and sent. | madmaxoft | 1 | -0/+26 | |
This only handles the network comm and the overall design logic, the actual completion is not yet implemented, only dummy values are returned for now. | |||||
2013-07-29 | Added the "Edit Sign" packet sent to the client placing a sign. | madmaxoft | 1 | -0/+9 | |
Fixes issue #20. The 1.6.2 client wouldn't open the sign editor UI unless it receives a special packet | |||||
2013-07-28 | Player eating is now properly broadcast to other players. | madmaxoft | 1 | -0/+5 | |
Also fixed the API relating to food, determining player gamemode, and removed several unneeded API functions. | |||||
2013-07-28 | Implemented basic eating support. | madmaxoft | 1 | -12/+8 | |
Food is now properly consumed and it takes 1.5 sec. | |||||
2013-07-12 | First implementation of movement-related hunger and API | madmaxoft@gmail.com | 1 | -9/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-08 | Color codes are stripped from the DC message | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1670 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-07 | Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes. | madmaxoft@gmail.com | 1 | -0/+11 | |
Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-07 | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 1 | -148/+157 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-05 | Unmounting vehicles implemented in the 1.6.1 way | madmaxoft@gmail.com | 1 | -0/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1650 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-05 | Fixed 1.6.1's movement speed | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1649 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-03 | Fixed player moving between worlds. | madmaxoft@gmail.com | 1 | -13/+54 | |
Fixes FS #407. Also fixes a few possible deadlocks between SocketThreads and TickThread git-svn-id: http://mc-server.googlecode.com/svn/trunk@1641 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-29 | Fixed crouch-placing unplaceable items (FS #399) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1632 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-22 | Plugins can modify message in the OnChat() hook handler. | madmaxoft@gmail.com | 1 | -2/+3 | |
FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-18 | Crouching will allow block placement on otherwise functional blocks. | madmaxoft@gmail.com | 1 | -2/+2 | |
Fixes FS #382 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1607 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-18 | Added a crude limiter for explosions sent to client. | madmaxoft@gmail.com | 1 | -1/+27 | |
Now the client can survive even 3000k TNT blocks exploding without jerking much. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-18 | More TNT fixes. | madmaxoft@gmail.com | 1 | -1/+1 | |
Chain-reaction TNTs are spawned in proper coordinates (FS #390) Centralized Primed TNT entity spawning and made available to the plugins. Internal changes for better TNT performance. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1604 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-16 | Added an elaborative comment on the deadlock prevention code | madmaxoft@gmail.com | 1 | -1/+12 | |
(FS #375) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1597 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-15 | First attempt at fixing the inter-threading deadlocks between the tick thread and the socket thread | madmaxoft@gmail.com | 1 | -1/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1591 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlers | madmaxoft@gmail.com | 1 | -4/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | Implemented proper player crouching. | madmaxoft@gmail.com | 1 | -4/+18 | |
Fixes FS #365 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1553 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-30 | LuaWindow: Initial code, the window can be opened, but not much manipulated | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | Moved BlockEntities to a separate folder | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-24 | Refactored cInventory to use cItemGrid for the actual Storage | madmaxoft@gmail.com | 1 | -4/+3 | |
This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-19 | Inventory code cleanup, players can now see each other's armor | madmaxoft@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-08 | Refactored window clicking code to use different click actions | madmaxoft@gmail.com | 1 | -5/+5 | |
First part of solving FS #371; should fix #370. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1459 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-19 | Fixed Linux compilation, slight code cleanup | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-18 | Initial implementation of explosions and TNT block | keyboard.osh@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -16/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-04 | Fixed personal crafting grid not being tossed on inventory close. | madmaxoft@gmail.com | 1 | -4/+4 | |
FS #355, http://www.mc-server.org/support/index.php?do=details&task_id=355 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1358 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-02 | Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdate | keyboard.osh@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-18 | Added support for the packet #28 (0x1C): ENTITY_VELOCITY | keyboard.osh@gmail.com | 1 | -0/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 1 | -1/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-27 | Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it. | madmaxoft@gmail.com | 1 | -2/+2 | |
Still not perfect - chunk and region calculations can be made into a single CPU instruction - SAR - but not all compilers are known to support that (">>" operator on signed datatypes needs to perform arithmetic shift, C/C++ standard makes it implementation-specific; MSVC and GCC do what we need, LLVM unknown) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1224 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-21 | Moved the Speed member into cEntity class instead of its descendants. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-18 | Minecarts can now be placed. | madmaxoft@gmail.com | 1 | -0/+9 | |
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-14 | Fixed one-hit-blocks not being broken server-side | madmaxoft@gmail.com | 1 | -2/+4 | |
FS #301 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1213 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-13 | Added missing dig status. | luksor111@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1141 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -171/+307 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-05 | Not sending multiple DC packets to the client. | madmaxoft@gmail.com | 1 | -6/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1120 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-27 | Fixed OnBlockPlace hook | luksor111@gmail.com | 1 | -10/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1113 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-26 | Adjusted the protocol framework to support different types of falling block spawning. | madmaxoft@gmail.com | 1 | -0/+9 | |
In brief, with cProtocol, "say what you want done, not how you want me to do it". But still 1.4.6 crashes on falling block spawning. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1104 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-24 | Added the 1.4.6 protocol | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1099 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 1 | -6/+4 | |
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-20 | Removed chat messages from console | luksor111@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1082 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-19 | Added dispensers (they can't dispense items yet) | luksor111@gmail.com | 1 | -15/+21 | |
Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-18 | Fixed wrong c++ standard assumptions about bools. | madmaxoft@gmail.com | 1 | -2/+4 | |
Should fix FS #265. http://forum.mc-server.org/showthread.php?tid=629&pid=5415#pid5415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1053 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-16 | Fixed boolean comparison. | madmaxoft@gmail.com | 1 | -1/+1 | |
Don't compare booleans to false / true, use them directly. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1048 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-16 | Removed log message when spawning players on a client. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1047 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-12 | Fixed block breaking in survival. | luksor111@gmail.com | 1 | -4/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1038 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-11 | Hopefully a fix for crash when chunks are added to a client being destroyed. | madmaxoft@gmail.com | 1 | -4/+21 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1032 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-01 | Refactored the world time. | madmaxoft@gmail.com | 1 | -7/+10 | |
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-22 | You can now see particles and hear sounds when other players are destroying blocks. | luksor111@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1004 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Added jukeboxes (patch contributed by Luksor) | madmaxoft@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-18 | Converted some const char*s and std::strings to AStrings | faketruth | 1 | -0/+9 | |
Added a cPlayer:RemoveFromGroup() so players can be removed from groups programmatically Added a cClientHandle:SetUsername to be used by Lua. I'm curious what ThuGie can do with his plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@978 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-17 | Fixed a vulnerability in cClientHandle::HandleRespawn() | faketruth | 1 | -1/+9 | |
Changed some hook locations: Moved HOOK_PLAYER_JOIN to where HOOK_PLAYER_SPAWN was (before player is added to the world) Added HOOK_PLAYER_SPAWN to after a player's initial spawn and after a player is re-spawned after death git-svn-id: http://mc-server.googlecode.com/svn/trunk@972 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-10 | Added an option to disable/enable PVP on a per world basis | faketruth | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@944 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Fixed an invalid direction to AddDirection() | madmaxoft@gmail.com | 1 | -8/+11 | |
( http://forum.mc-server.org/showthread.php?tid=571&pid=4821#pid4821 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@939 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Completely removed the old (buggy) redstone simulator. | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-01 | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 1 | -3/+3 | |
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-30 | Added falling block entities. Sand and gravel now properly fall down | faketruth | 1 | -0/+8 | |
Implemented the PACKET_SPAWN_OBJECT packet Made some things use BLOCKTYPE instead of char Android: Requests WebAdmin port when pressing the configure button git-svn-id: http://mc-server.googlecode.com/svn/trunk@915 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Removed a rogue cSleep from ClientHandle. Since sockets are owned by sockethreads, the client can safely Destroy() itself right after sending a packet. | madmaxoft@gmail.com | 1 | -4/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@912 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Beds can be slept in now (it doesn't change the time though) | faketruth | 1 | -0/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Unified folder name-casing | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-25 | Added the block dig animation packet (patch contributed by l0udPL) | madmaxoft@gmail.com | 1 | -2/+45 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-25 | Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247) | madmaxoft@gmail.com | 1 | -27/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -23/+23 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: ChunkDataSerializer is Protocol-related | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@886 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: OSSupport-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -4/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Removed unused cBlockToPickup | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@884 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Mobs-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Protocol-related files in a separate subfolder | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@880 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: UI files renamed | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@878 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Fixed position confirming for 1.3.2 (FS #245) | madmaxoft@gmail.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@877 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Fixed players not spawning to others when they join the server. | madmaxoft@gmail.com | 1 | -0/+3 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4633#pid4633 git-svn-id: http://mc-server.googlecode.com/svn/trunk@876 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Tweaked logging. | madmaxoft@gmail.com | 1 | -0/+6 | |
Less output for UI. More output for player pos confirming (FS #245) and for player spawning git-svn-id: http://mc-server.googlecode.com/svn/trunk@875 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-20 | Refactored windows. | madmaxoft@gmail.com | 1 | -12/+14 | |
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -0/+11 | |
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-07 | Relaxed the check for held item, the client sometimes sends wrong ItemType. | madmaxoft@gmail.com | 1 | -2/+9 | |
http://forum.mc-server.org/showthread.php?tid=549&pid=4502#pid4502 git-svn-id: http://mc-server.googlecode.com/svn/trunk@846 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-06 | Added protocol-specific authentication, now works for both 1.2.5 and 1.3.2 | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@841 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-06 | ClientHandle: added an overflow buffer for outgoing data, it fixes the "bad packet id" problem with 1.3.2. | madmaxoft@gmail.com | 1 | -5/+32 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@837 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-05 | Added the possibility of reserved player slots by implementing the HandleHandshake hook! | faketruth | 1 | -0/+17 | |
More info: http://forum.mc-server.org/showthread.php?tid=555 git-svn-id: http://mc-server.googlecode.com/svn/trunk@836 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-04 | Fixed a possible race condition in cClientHandle's packet sending code; prepared for moving cSocket out of cClientHandle's ownership. | madmaxoft@gmail.com | 1 | -2/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@832 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-02 | Next iteration on the 1.3.2 protocol. Still no good, but sometimes it just gets through. For your testing pleasures ;) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@819 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-01 | Fix for Rev 814, the correct cPlayer object is actually sent into the callbacks. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@816 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-01 | Implemented: http://www.mc-server.org/support/index.php?do=details&task_id=239&project=2&dev=26 | lapayo94@gmail.com | 1 | -1/+1 | |
Fixed Bug on build collision git-svn-id: http://mc-server.googlecode.com/svn/trunk@813 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Progress on the 1.3.2 protocol. | madmaxoft@gmail.com | 1 | -2/+2 | |
Sometimes the client lets the player through, but most of the times the connection breaks for no apparent reason. git-svn-id: http://mc-server.googlecode.com/svn/trunk@812 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Another possible deadlock in cClientHandle averted. Hope this is the one. | madmaxoft@gmail.com | 1 | -5/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@810 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Fixed one possibility of a deadlock in cClientHandle::SendChunkData() | madmaxoft@gmail.com | 1 | -13/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@809 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-30 | Added a basic protocol recognizer and the base for 1.3.2 protocol. | madmaxoft@gmail.com | 1 | -25/+10 | |
Also fixed a few type-related warnings. git-svn-id: http://mc-server.googlecode.com/svn/trunk@805 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-30 | cProtocol handles the initial handshake up to player login | madmaxoft@gmail.com | 1 | -58/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@804 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-29 | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-28 | Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore. | madmaxoft@gmail.com | 1 | -38/+36 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-27 | Cut out all packet handling to a separate cProtocol descendant | madmaxoft@gmail.com | 1 | -892/+175 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-26 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6 | madmaxoft@gmail.com | 1 | -0/+16 | |
2012-08-25 | cSocket doesn't use cPackets. | madmaxoft@gmail.com | 1 | -10/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@790 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-25 | cWorld doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+58 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@789 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-25 | Removed cPackets from cChunk. | madmaxoft@gmail.com | 1 | -2/+69 | |
Also decoupled a possible deadlock in player login code. git-svn-id: http://mc-server.googlecode.com/svn/trunk@788 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | cPickup doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+13 | |
Also, Lua API change, OnCollectItem -> OnCollectPickup; first param is cPlayer to match other callbacks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@786 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -0/+77 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Window, Chest, Furnace and Pawn are not using cPackets at all | madmaxoft@gmail.com | 1 | -0/+39 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -49/+286 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Another handful of packets rewritten. | madmaxoft@gmail.com | 1 | -31/+123 | |
Also changed cItem::m_ItemID into m_ItemType of type short. Easier handling. m_ItemID kept for compatibility reasons (Lua-interface etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@756 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Fixed Bug #236 | lapayo94@gmail.com | 1 | -3/+3 | |
Workbench, Chest and Furnace are usable again git-svn-id: http://mc-server.googlecode.com/svn/trunk@755 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Chat packet handled in the new way; fixed missing packet sending for inventory slot. | madmaxoft@gmail.com | 1 | -26/+28 | |
Again, API change! cPlugin:OnChat() has had its parameters swapped, to match all the other callbacks - Player first, Message second git-svn-id: http://mc-server.googlecode.com/svn/trunk@751 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. | madmaxoft@gmail.com | 1 | -115/+196 | |
This breaks plugin API! Plugins need to modify their hook functions to match those used in the Core plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@750 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-17 | Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 ) | madmaxoft@gmail.com | 1 | -15/+37 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-15 | Added temporary debug statistics of the RelEntMoveLook packet removal efficiency | madmaxoft@gmail.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@740 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-06 | A bit of cleanup and documentation around the UI window handling | madmaxoft@gmail.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@716 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-17 | Simple health regeneration system | lapayo94@gmail.com | 1 | -14/+3 | |
Prepared for food git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Fixed some small bugs :) | lapayo94@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -560/+78 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-13 | The gamemode is now only saved if it is different from the current gamemode. | lapayo94@gmail.com | 1 | -1/+2 | |
Default gamemode now depends on the joined world, not on the default world git-svn-id: http://mc-server.googlecode.com/svn/trunk@661 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-12 | Save last gamemode | lapayo94@gmail.com | 1 | -1/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@660 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Leaves: Applied patch by Luksor. | cedeel@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@624 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Proper kick reasons! | cedeel@gmail.com | 1 | -3/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@621 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Lit furnaces can be used by players | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@617 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Basic handling of vines. No growth yet. | cedeel@gmail.com | 1 | -13/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@615 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-15 | Fixed placing block on tall grass (FS #209) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@614 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Fixed snow again, this time for real. | cedeel@gmail.com | 1 | -2/+17 | |
I didn't realize the client would also try to replace the snow from the sides. git-svn-id: http://mc-server.googlecode.com/svn/trunk@612 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Fixes placing blocks on snow. | cedeel@gmail.com | 1 | -10/+21 | |
Also a little formatting. git-svn-id: http://mc-server.googlecode.com/svn/trunk@611 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -2084/+2084 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-13 | Added a BlockToPickup hook for modifying pickups when a player breaks a block. | madmaxoft@gmail.com | 1 | -2/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@602 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Disallowed placing cacti in water | madmaxoft@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@592 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Plants growable by bonemeal are settable in the world.ini. Default matches vanilla MC. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@584 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Bonemeal is consumed in survival mode when used on growable blocks | madmaxoft@gmail.com | 1 | -1/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-08 | Sugarcane grows and can be grown using bonemeal. | madmaxoft@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@578 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too. | madmaxoft@gmail.com | 1 | -3/+33 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Repeaters' delays can be set by rclk | madmaxoft@gmail.com | 1 | -3/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Multiple packets are serialized in one request. | madmaxoft@gmail.com | 1 | -5/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@568 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Added more statistics to the packet queue overfill problem. | madmaxoft@gmail.com | 1 | -2/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@566 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | (Temporary) hotfix for the "too many packets" error - set the packet limit 5x higher. | madmaxoft@gmail.com | 1 | -1/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@565 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool. | madmaxoft@gmail.com | 1 | -41/+41 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-04 | Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project files | cedeel@gmail.com | 1 | -4/+21 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@546 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-02 | ClientHandle dumps the contents of all packets in the queue if the packet queue gets overloaded to the point of client-kicking. Use this to debug FS #197. | madmaxoft@gmail.com | 1 | -0/+63 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@540 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Seeds can now be planted and they grow (albeit too quickly and too non-uniformly, need to fix blocktick selection) | madmaxoft@gmail.com | 1 | -1/+28 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@523 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Farmland is created using a hoe on dirt or grass. | madmaxoft@gmail.com | 1 | -2/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@520 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Refactored item-eating from cClientHandle into cPlayer | madmaxoft@gmail.com | 1 | -71/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@519 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later. | madmaxoft@gmail.com | 1 | -65/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -4/+33 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-10 | Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks! | madmaxoft@gmail.com | 1 | -1/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-03 | Logging OnBlockDig and OnBlockPlace only in Debug mode ( http://mc-server.org/support/index.php?do=details&task_id=133&project=2 ) | madmaxoft@gmail.com | 1 | -2/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@447 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-26 | Added the supported client version to banner; shamelessly added myself to the authors list ;) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@436 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Added the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense. | madmaxoft@gmail.com | 1 | -7/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@431 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Protocol version bumped up to 29 (MC 1.2.4), seems to work. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@430 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Removed the split between 1.2.3 and 1.1, left only 1.2.3 code | madmaxoft@gmail.com | 1 | -16/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@429 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-22 | Fixed a deadlock by removing clients from all chunks upon their exit, not using the clients chunklists. | madmaxoft@gmail.com | 1 | -4/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@426 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-11 | Not sending chunks to the client twice | madmaxoft@gmail.com | 1 | -21/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@399 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed a few obsoleted functions | madmaxoft@gmail.com | 1 | -6/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Using references instead of pointers for sending packets | madmaxoft@gmail.com | 1 | -15/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@394 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -1/+11 | |
cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-07 | Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380 | faketruth | 1 | -1/+0 | |
Also removed the SetClientHandle() function from cPlayer Added a Destroyed() function to cEntity that is called ONLY ONCE after an entity has been 'destroyed' Cleaned up some code, using enums for GameMode and Weather and replaced some 'const char *' with 'const AString &' Exposed some more functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@382 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | Fixed rev368's ChunkSender, now sends properly even chunks that are loaded. Fixed a deadlock in cClientHandle vs TickThread over cClientHandle::m_CSChunkLists | madmaxoft@gmail.com | 1 | -4/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@371 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-05 | ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :) | madmaxoft@gmail.com | 1 | -33/+22 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-04 | Changed signed char to unsigned char in block packets, so we can receive height up to 255 | faketruth | 1 | -4/+6 | |
Blocks placed above 128 limit don't become obsidian anymore. This was due to the cChunk::MakeIndex() function return 0 when outside of bounds, it now returns an 'error constant' git-svn-id: http://mc-server.googlecode.com/svn/trunk@356 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-03 | Got rid of some hardcoded numbers, now using hardcoded variables! woo | faketruth | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-02 | That should not have been committed... | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@354 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-01 | Started carefully moving to 1.2.2 | faketruth | 1 | -1/+18 | |
Clients can get up to the login packet, after which the server tries to send chunks but in the wrong format and the client disconnects git-svn-id: http://mc-server.googlecode.com/svn/trunk@347 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-29 | Fixed the authenticator bug | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@344 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-29 | Making sure cClientHandle::m_Player was NULL after authentication completed | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@343 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Setting the m_bDestroyed flag only after the cClienthandle is truly destroyed; cClientHandle's destructor now locks loaded chunk lists | madmaxoft@gmail.com | 1 | -3/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@340 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | Attempt at fixing crashes with disconnecting players | madmaxoft@gmail.com | 1 | -0/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@329 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | Using cSocketThreads for client outgoing packets. Unfortunately had to put in one intermediate thread (cServer::cNotifyWriteThread) to avoid deadlocks. Still, seems we have a proper multithreading for clients and no more per-client threads, yay :) | madmaxoft@gmail.com | 1 | -115/+73 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@328 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | Extended SocketThreads for writing support (unusable in cClientHandle due to too many deadlock possibilities) | madmaxoft@gmail.com | 1 | -9/+8 | |
Extended the range of ignored packets in pre-game client states (fixes connection issues with some mods installed) git-svn-id: http://mc-server.googlecode.com/svn/trunk@327 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | Made the viewdistance settable by users and default in settings.ini. The default is 9. | madmaxoft@gmail.com | 1 | -6/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@326 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-22 | Fixed a bug that no chunks were unloaded on the client. Now chunks are properly unloaded on the clients. | faketruth | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@318 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) | madmaxoft@gmail.com | 1 | -12/+9 | |
Also fixed a threading issue when a player connecting might have gotten stuck in "Downloading world" forever git-svn-id: http://mc-server.googlecode.com/svn/trunk@304 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Fixed heightmap optimization from rev 302; removed a few more cChunkPtrs | madmaxoft@gmail.com | 1 | -11/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@303 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -1/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Using own ASSERT() that logs to file | faketruth | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 1 | -14/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Got rid of dangerous GetEntity(), not using DoWithEntity() | faketruth | 1 | -6/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window) | madmaxoft@gmail.com | 1 | -87/+85 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@263 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -294/+406 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core) | madmaxoft@gmail.com | 1 | -9/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | cSocketThreads plugged in for cClientHandle reading. Sending still kept the old way. Please help me test this commit thoroughly, this is a change that can break on subtleties. | madmaxoft@gmail.com | 1 | -110/+65 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@244 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-07 | Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility. | madmaxoft@gmail.com | 1 | -23/+38 | |
Moved data sending from cPacket into cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@240 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-05 | Now showing proper error messages when sockets fail :) | faketruth | 1 | -1/+1 | |
Crossplatform GetLastError function in cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@234 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-03 | cClientHandle: split packet handling into separate functions for clarity | madmaxoft@gmail.com | 1 | -969/+1158 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@229 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-02 | cClientHandle: gotten rid of the obnoxious m_pState, now using direct members instead | madmaxoft@gmail.com | 1 | -332/+333 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@228 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 1 | -40/+28 | |
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | sprintf() begone! Replaced with StringUtils' Printf() | madmaxoft@gmail.com | 1 | -8/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-31 | Slight code cleanup, no big changes | madmaxoft@gmail.com | 1 | -40/+126 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@202 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -8/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-23 | Cactus towers can be destroyed by removing the bottom block | faketruth | 1 | -1/+53 | |
Added checks whether flowers/mushrooms/saplings can be placed on surface Added checks for cactus to see if it's allowed to be placed Fluids now wash away certain items (flower, sapling, cactus) git-svn-id: http://mc-server.googlecode.com/svn/trunk@169 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-20 | MCServer is now compatible with Minecraft client 1.1 (as long as the client is not using any mods/plugins I think) | faketruth | 1 | -2/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@165 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-19 | Terrain generation is synchronous again, async generation has bugs. | faketruth | 1 | -1/+33 | |
Made some funky smart pointer things for chunks. Fixed a bug where the client would override the player position on the server and back again, resulting in sending too many chunks to the client which it doesn't even need. Fixed some compiler warnings in cPickup.cpp git-svn-id: http://mc-server.googlecode.com/svn/trunk@164 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-02 | Fixed crashing bug in cClientHandle::~cClientHandle | faketruth | 1 | -1/+3 | |
When there are players in the server, and a client connects as far as the handshake and then disconnects, the server crashed. This is because there is no m_Player yet after the handshake, and the destructor uses m_Player without checking if it exists git-svn-id: http://mc-server.googlecode.com/svn/trunk@163 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | Fixed the numchunks console command. | faketruth | 1 | -8/+8 | |
Added some form of reference counting to cChunk to make sure it's not referenced when deleting it. Right now it's only needed due to the generation of chunks in a separate thread and adding it to the spread light list in cWorld git-svn-id: http://mc-server.googlecode.com/svn/trunk@161 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | - implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory) | lapayo94@gmail.com | 1 | -17/+37 | |
(Separation is not perfect yet, because maybe there are some mayor changes needed :D) - implemented CreativeInventoryAction (was mistakenly called CreateInventoryAction) -> Fixed meta data for creative selected blocks ->->Slabs/Steps are now placed correctly - slabs can now be build to a double slab - fixed a bug in the inventory which put items with different meta values in the same slot git-svn-id: http://mc-server.googlecode.com/svn/trunk@160 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | Chests, furnaces and dispensers face the correct way now. | faketruth | 1 | -0/+5 | |
http://mc-server.org/support/index.php?do=details&task_id=88 git-svn-id: http://mc-server.googlecode.com/svn/trunk@159 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-31 | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks | faketruth | 1 | -16/+6 | |
Players should not spawn in the ground anymore. When an entity was added to cWorld twice (which shouldn't happen actually), the server would crash when the entity is destroyed, this should be fixed now. git-svn-id: http://mc-server.googlecode.com/svn/trunk@158 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Initial food handling by cedeel | mtilden@gmail.com | 1 | -13/+30 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@156 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Chests open and close on clients when opened/closed | mtilden@gmail.com | 1 | -1/+1 | |
- Beginnings of "Double Chest". All that's needed is detection when 2 chests get put next to each other, block other chests from then touching them on any side, load/save with the m_JoinedChest seeing each other and adding and making sure the left side is always the top rows. I'm not sure exactly at this moment how to do all of the detection and saving/loading of the double chest stuff so if you've any ideas feel free to point out some areas in the server code or implement it yourself. git-svn-id: http://mc-server.googlecode.com/svn/trunk@154 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Pickups should now burn in fire | lapayo94@gmail.com | 1 | -2/+9 | |
- The player no longer gets an empty bucket when in creative mode - improved the simulators again (moved to std::list because this should be faster with so many objects) (But the water simulation still is very slow) git-svn-id: http://mc-server.googlecode.com/svn/trunk@153 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - implemented the fire simulation in native c++ (cFireSimulator) | lapayo94@gmail.com | 1 | -84/+43 | |
- Changed the Durationsystem for Items. cPlayer::UseEquippedItem calls cItem::DamageItem this function damages the item if it has a duration. (needed the duration also in another place so this saves code ;)) - added some other burning blocks - the mobtypes for the settings.ini which i must have forgotten in the last commit git-svn-id: http://mc-server.googlecode.com/svn/trunk@150 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Fixed too fast actions kick for real | mtilden@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@149 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | Fixed some small memory leaks | lapayo94@gmail.com | 1 | -0/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@148 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Didn't notice steak missing as well | mtilden@gmail.com | 1 | -0/+8 | |
Interesting to note, when you make a food item handled with health it gets rid of the eating animation, this seems backwards. git-svn-id: http://mc-server.googlecode.com/svn/trunk@143 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Added chicken to eating | mtilden@gmail.com | 1 | -0/+9 | |
- Increased max interactions again, seems to be fine now for even the fastest clickers. git-svn-id: http://mc-server.googlecode.com/svn/trunk@142 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | I'll lower my frequency of commits.. 1000 default ends up sent more often than calc'd packets. | mtilden@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@135 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Oops, accidentally left debug print | mtilden@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@134 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | - Added basic ping handling. | mtilden@gmail.com | 1 | -3/+27 | |
Not sure what's up with the MC client, though. It doesn't seem to end up giving good results like the KA packet return is hanging and waiting for other things to process instead of being handled on its own to give a true result. Feel free to update if there's any way to deliver truer results. git-svn-id: http://mc-server.googlecode.com/svn/trunk@133 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Slightly cleaner block change interactions static in header | mtilden@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@130 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-27 | Set player interaction kicking to 5 interactions per .1 seconds to help with lag disconnects. Still need to change code to lessen the false positives. | admin@omencraft.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@128 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() | faketruth | 1 | -0/+14 | |
Changed isValidItem to IsValidItem in Core.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@126 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Fixed the little check for max players. If somehow a player was able to connect and the number of players would exceed the max players, everybody is allowed in and the server will never be 'full'. It's fixed now | faketruth | 1 | -9/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@122 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 1 | -3/+7 | |
- Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Default Notchian Ping (static until ping implemented through keepalive send/receive) | mtilden@gmail.com | 1 | -2/+10 | |
- Player "left" message regardless of exit reason git-svn-id: http://mc-server.googlecode.com/svn/trunk@119 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Scoreboard deleting moved to cClientHandle::~cClientHandle() with checks. Please test this every way you can with clients disconnecting from the internet, crashing, etc. It should work on all cases as every client gets called in this part to be 'Deleted' | mtilden@gmail.com | 1 | -6/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@118 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Cleaned up PLI Packet and its creation/sending and fixed bug of player not being removed on scoreboard (forgot to send color in the removal packet) | mtilden@gmail.com | 1 | -6/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@116 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard display | mtilden@gmail.com | 1 | -0/+11 | |
- Added xC9 PlayerListItem packet and added code for player names to be added and removed from the scoreboard (need a catch-all for client disconnects: crashes, timeouts, etc) - Changed wid wording to a_WindowType git-svn-id: http://mc-server.googlecode.com/svn/trunk@113 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Hold item is now dropped when inventory is closed | lapayo94@gmail.com | 1 | -2/+4 | |
Thanks to mtilden for this ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 ) Also the items in the 4 crafting slots are now dropped. git-svn-id: http://mc-server.googlecode.com/svn/trunk@107 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Code improvements | lapayo94@gmail.com | 1 | -0/+1 | |
Fixed authentication (Can be activated now) Added MersenneTwister.h Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 and http://forum.mc-server.org/showthread.php?tid=183&pid=1418#pid1418 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@106 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | - improved and simplified the door system (shorter, clearer) | lapayo94@gmail.com | 1 | -26/+25 | |
- Doors now drop a complete door & other part gets destroyed - Build a function for pickup counts (cBlockToPickup::PickupCount) (Default is 1) git-svn-id: http://mc-server.googlecode.com/svn/trunk@104 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :O | faketruth | 1 | -7/+21 | |
Chunks are now generated before the player is able to see them. This is done because after a chunks is done generating, some blocks might still need to be set (parts of trees from neighboring chunk), causing more bandwidth to be used (each changed block needs to be sent to clients again) and (fps) lagging the clients when changing a lot of blocks. Calculating ahead fixes these issues. Separated the placing of foliage (trees and stuff) when generated chunks into a new function GenerateFoliage() Cleaned up the VS2010 project, now using some VS2010 specific functions like dependencies on projects (no need for setting library dependencies manually). VS2010 project now compiles way faster in Release by using multi threading. git-svn-id: http://mc-server.googlecode.com/svn/trunk@103 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-24 | Max. players and MOTD are now changeable in the settings.ini | lapayo94@gmail.com | 1 | -3/+9 | |
Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1381#pid1381 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@101 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-23 | Added thread names to cThread so when debugging in Visual Studio you actually know what thread you're looking at | faketruth | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@100 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-22 | Digging leaves with shears now drops leaves | lapayo94@gmail.com | 1 | -1/+2 | |
Falling Sand now notifies water around Implemented Function to get the relative chunk position in the total position (cChunk::PositionToWorldPosition) Pistons don´t drop water and lava items anymore when stopping water/lava implemented Getter for lava and water simulator IsBlockWater and IsBlockLava function in Defines.h git-svn-id: http://mc-server.googlecode.com/svn/trunk@97 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-21 | - Crafting fixed in 1.0.0 | lapayo94@gmail.com | 1 | -7/+26 | |
- Server compatible with the weapons and equip again. (Some Packets were incompatible) - fixed bucket bugs (not all) - Fixed clients getting crashed by wrong Pickups - fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin) - maybe some other things I can´t recall atm Big Grin git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-11 | Found and fixed a bug not letting users place blocks in water or lava. | admin@omencraft.com | 1 | -2/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@91 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Fixed logging in underground bug this time. A hack, but it works. :D | admin@omencraft.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@90 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Can now set gamemode via lua. | admin@omencraft.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@89 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work. | admin@omencraft.com | 1 | -15/+70 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@87 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Added code for doors. Doors now place correctly but opening them is buggy and I need to change the current opening code to use bitwise operators. | admin@omencraft.com | 1 | -2/+48 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@85 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-10 | Added random weather that persists per world. Also added SetWeather, GetWeather, and CastThunderbolt to lua bindings. | admin@omencraft.com | 1 | -17/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@83 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-09 | Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState) | admin@omencraft.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@82 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-08 | It's a Squirrel!! | faketruth | 1 | -0/+1 | |
In SquirrelBindings.h use #define USE_SQUIRREL 1 to enable squirrel git-svn-id: http://mc-server.googlecode.com/svn/trunk@76 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-07 | Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update. | admin@omencraft.com | 1 | -15/+34 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@74 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-07 | Added Sebi's changes to pistons and item drops. | admin@omencraft.com | 1 | -13/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@72 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-07 | Pistons now generate noise and animate when moving. | admin@omencraft.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@71 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Redstone wire now updates correctly when added and removed. it also updates all currently programmed redstone items and wire circuits. Also cleaned up the mess I left of the code. | admin@omencraft.com | 1 | -2/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@69 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Redstone is now self aware. It's not quite as dumb as it used to be at any rate. Redstone wires have no range and understand they are supposed to stay on whenever there's an active torch touching it. (Need to add other power devices) | admin@omencraft.com | 1 | -9/+29 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@68 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch. | admin@omencraft.com | 1 | -7/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-05 | Added all the items up to Beta 1.9.5. Added pistons and piston class. | admin@omencraft.com | 1 | -2/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@63 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-04 | Added (Probably incorrectly) a cRedstone class. Also, palcing a redstone torch will recursively light any redstone wire it's connected to. Removing a torch from an active wire will unlight the entire length. Class needs to be updated to make use of non deprecated function. Current deprecated function warning drastically slows redstone performance. | admin@omencraft.com | 1 | -5/+27 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@51 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-03 | Fixed some redstone items and a bug that prevented floats from client to server packets reading correctly on 64 bit linux. | admin@omencraft.com | 1 | -2/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@50 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-03 | Added some redstone items. | admin@omencraft.com | 1 | -6/+30 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@49 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-03 | Updated the thunderbolt packet. Lightning and rain can be tested with a workbench and a chest. >:) | admin@omencraft.com | 1 | -7/+17 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@48 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Added New/Invaid State and Thunderbolt packets. For testing purposes it now rains whenever a player opens a workbench and stops when they pen a chest. The rain start/stop in only sent to the sole clientopening the items. | admin@omencraft.com | 1 | -7/+26 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@47 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Fixed some "Entity was not found in any chunk!" warnings | faketruth | 1 | -4/+8 | |
Player's current world is saved in the player file. When a player joins the server, the player joins the last world he was in. It seems MCServer can finally run multiple worlds! It just needs functionality to switch between them git-svn-id: http://mc-server.googlecode.com/svn/trunk@46 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Fixed player spawn teleport postion. | admin@omencraft.com | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@45 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | fixed player spawning in the ground. | admin@omencraft.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@42 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | Accidentally removed a line of code | faketruth | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@41 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yet | faketruth | 1 | -46/+49 | |
Players are now stored in separate folder /players instead of in the world folder (!so move the folder!) Fixed a memory leak/error in cPickup.cpp Multiple worlds are stored in cRoot cClientHandle lists are taken out of cWorld and now stored in cServer Worlds now have names to distinguish them by Some functions in the Core plugin now distinguish between worlds git-svn-id: http://mc-server.googlecode.com/svn/trunk@40 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | Put in some sanity checks to ensure players don't interact with blocks too quickly. Changed gamemode to be player based. (MCServer crashes when picking up an item. Need to find and fix bug.) | admin@omencraft.com | 1 | -5/+23 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@38 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-01 | Players can now place blocks in creative mode. The blocks players select from the creative mode inventory are not stored in the players' inventory. (I kind of like that) | admin@omencraft.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@37 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -15/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-27 | Fixed a memory leak | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@19 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Made several recomended changes. Gamemode is now world based. Need to add it to player. | admin@omencraft.com | 1 | -3/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@18 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Moved GAMEMODE declaration to a single place... cPacket.h. Player can't take damage any more but can still sometimes die on spawn. Not sure why. Falling through the void does not kill you yet. | admin@omencraft.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@17 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Creative mode now breaks blocks without providing block drops. Need to work with Player's Inventory for proper creative mode support. GAMEMODE is declared and set twice. | admin@omencraft.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@16 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode. | admin@omencraft.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@15 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-26 | added simple code for server side item durabilty on tool items that have durabilty. need to add block destroyed durability modifier. | admin@omencraft.com | 1 | -3/+70 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@12 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-23 | Abstracted sockets some more to ensure the same behavior over the entire program and on multiple platforms. | faketruth | 1 | -19/+3 | |
MCSocket.h should soon be deprecated and deleted Do a full rebuild (mine bugged out when I didn't) git-svn-id: http://mc-server.googlecode.com/svn/trunk@8 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-21 | Compiles for linux | faketruth | 1 | -2/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@6 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+1082 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |