summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-2/+2
2014-06-29Fixed respawningTiger Wang1-2/+2
* Fixes #1103
2014-06-27Added generic entity-collecting.Mattes D1-2/+2
Now any cEntity can be collected, not only cPickups. This should help PR #1098.
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D1-2/+2
Fixes #1039, fixes #851
2014-05-11Statistic Managerandrew1-0/+10
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-2/+2
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-2/+2
2014-05-01Fixed warnings in ClientHandle.madmaxoft1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-6/+7
2014-04-14Implemented the 1.7.6 protocol and authenticator.madmaxoft1-0/+10
Server works both in online and offline modes with 1.7.9.
2014-04-14Initial 1.7.6 protocol support.madmaxoft1-0/+13
Doesn't work yet because of missing UUIDs.
2014-04-04More Clang warning fixes in the protocols.madmaxoft1-3/+3
2014-04-04Fixed some Clang warnings in protocols.madmaxoft1-1/+1
2014-03-07WarningsTycho1-1/+1
2014-02-18Map decorators; Map clientsandrew1-0/+10
2014-02-18Implemented paintings, fixes #689Tiger Wang1-0/+8
+ Implemented paintings
2014-02-15Implemented cCompositeChat.madmaxoft1-0/+10
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-13Implementation of in-game mapsandrew1-0/+20
2014-01-23PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft1-1/+1
2014-01-21Scoreboard protocol supportandrew1-1/+31
2014-01-19Removed unneeded paramtersTiger Wang1-2/+2
2014-01-19Changed SendBlockEntity format slightlyTiger Wang1-2/+2
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug
2014-01-19Improved command blocksTiger Wang1-0/+10
* 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-09Added cClientHandle::SendPluginMessage().madmaxoft1-0/+10
It is not yet exported in the API, though.
2014-01-06Fixed a few MSVC warnings.madmaxoft1-1/+1
2013-12-22Implented BroadcastParticleEffectSTRWarrior1-0/+10
2013-12-14Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior1-0/+20
2013-12-07Renamed animation functionTiger Wang1-2/+2
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-15finished #143 I believeDaniel O'Brien1-2/+2
2013-11-14cProtocol add SendExperience() and debuggingDaniel O'Brien1-0/+10
2013-11-08Declaring 1.7.2 compatibility.madmaxoft1-0/+1
2013-11-08cProtocol::SendWindowOpen() signature changed.madmaxoft1-2/+2
This implements #313.
2013-11-05Removed the obsolete SendWholeInventory(cInventory &) function.madmaxoft1-10/+0
This won't compile because there's still a change in Protocol17x.cpp pending; the next commit will fix this.
2013-11-01Protocol 1.7: Implemented the first batch of sent packets.madmaxoft1-0/+10
2013-10-30Added 1.7 to protocol recognizer.madmaxoft1-7/+113
The 1.7 protocol currently only reports server description and playercount.
2013-10-23Removed cRoot:m_PrimaryServerVersion from Lua API.madmaxoft1-3/+3
We have the accessor methods for it.
2013-09-19Added support for 1.6.3 and 1.6.4 protocols.madmaxoft1-0/+6
No relevant changes have been detected, using the 1.6.2 protocol handler.
2013-08-29Implemented xoft's suggestions [SEE DESC]Tiger Wang1-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-28Fixed Minecart spawning issuesTiger Wang1-2/+2
Now you can have everything!
2013-08-18Added cWindow property manipulation API.madmaxoft1-2/+2
Now enchantment table and furnace properties can be set by a plugin
2013-08-11Moved MaxPlayers and Description from cWorld to cServer.madmaxoft1-8/+9
Also started creating a new cWorld::cTickThread class, but not used yet.
2013-07-30Tab completion packet is handled and sent.madmaxoft1-0/+10
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-29Added the "Edit Sign" packet sent to the client placing a sign.madmaxoft1-0/+10
Fixes issue #20. The 1.6.2 client wouldn't open the sign editor UI unless it receives a special packet
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-771/+771
2013-07-081.6.2 protocol implemented, both in MCServer and in ProtoProxymadmaxoft@gmail.com1-0/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1669 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-07Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com1-20/+41
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05Initial 1.6.1 protocol support.madmaxoft@gmail.com1-0/+8
The client connects and is capable of basic gameplay, but the player moves at an incredible speed (50 blocks / sec). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1646 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18More TNT fixes.madmaxoft@gmail.com1-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-05-08Added 1.5.2 compatibility.madmaxoft@gmail.com1-0/+3
FS #372 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1461 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-19Fixed Linux compilation, slight code cleanupmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com1-0/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-04Fixed personal crafting grid not being tossed on inventory close.madmaxoft@gmail.com1-2/+2
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-03-18Added support for the packet #28 (0x1C): ENTITY_VELOCITYkeyboard.osh@gmail.com1-0/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14Release 1.5 supported, yay :)madmaxoft@gmail.com1-0/+8
Although some new blocks are still not recognized and behave badly, the protocol itself is working. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1273 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-03Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com1-0/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com1-0/+10
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26Adjusted the protocol framework to support different types of falling block spawning.madmaxoft@gmail.com1-0/+10
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-24Added the 1.4.6 protocolmadmaxoft@gmail.com1-3/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1099 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15Added an assert for unknown protocol, so that the function isn't missed when upgrading to a new protocol.madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1043 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15Added support for 1.4.4 client, using the 1.4.2 protocol classmadmaxoft@gmail.com1-11/+36
No MCServer-supported packets changed. Initial patch by Setimes. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1042 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-01Refactored the world time.madmaxoft@gmail.com1-2/+2
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-31Initial 1.4.2 support.luksor111@gmail.com1-0/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1019 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-31Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com1-9/+53
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21My OCD has alpha-sorted some stuff :)madmaxoft@gmail.com1-44/+44
git-svn-id: http://mc-server.googlecode.com/svn/trunk@995 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com1-1/+13
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-30Added falling block entities. Sand and gravel now properly fall downfaketruth1-0/+10
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-29Beds can be slept in now (it doesn't change the time though)faketruth1-0/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Fixed memory leaks in cWindow and cProtocolRecognizermadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@910 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25Added the block dig animation packet (patch contributed by l0udPL)madmaxoft@gmail.com1-0/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com1-0/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-4/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: Protocol-related files in a separate subfoldermadmaxoft@gmail.com1-4/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@880 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-0/+8
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-06Added protocol-specific authentication, now works for both 1.2.5 and 1.3.2madmaxoft@gmail.com1-0/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@841 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-06Officially added 1.3.2 protocol supportmadmaxoft@gmail.com1-0/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@839 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02Next iteration on the 1.3.2 protocol. Still no good, but sometimes it just gets through. For your testing pleasures ;)madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@819 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-31Progress on the 1.3.2 protocol.madmaxoft@gmail.com1-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-30Implemented 1.3.2 protocol encryption using CryptoPP, up to Client Status packet (http://wiki.vg/Protocol_FAQ step 14)madmaxoft@gmail.com1-2/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@808 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-30Added a basic protocol recognizer and the base for 1.3.2 protocol.madmaxoft@gmail.com1-0/+522
Also fixed a few type-related warnings. git-svn-id: http://mc-server.googlecode.com/svn/trunk@805 0a769ca7-a7f5-676a-18bf-c427514a06d6