summaryrefslogtreecommitdiffstats
path: root/source/Protocol (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Seventh round of fixesTiger Wang2013-10-131-21/+21
| | | | | * Fixed arrows not critical-effecting because they were in MOBS! (derp) * Used cMonster::mtXX as per xoft's suggestions
* Fourth round of fixesTiger Wang2013-10-111-125/+143
| | | | | * Switchified WriteMobMetadata * Renamed Horse functions to be better
* Third round of fixesTiger Wang2013-10-113-72/+101
| | | | | * Split WriteMetadata into three functions for common, entity, and mob * Edited a few mob sizes to Vanilla values
* Second round of fixesTiger Wang2013-10-091-36/+62
| | | | * Implemented suggestions
* Initial round of fixesTiger Wang2013-10-081-4/+4
| | | | | | | | * Fixed intentional misspelling of baby! :D * Better chested horse bool name * Fixed some weird continuity issues with my recent changes not being pushed up initially * Fixed derpy hexadecimal values
* Initial Metadata Commit [SEE DESC]Tiger Wang2013-10-083-35/+195
| | | | | | | + Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned
* Fixed a crash on immediate re-login.madmaxoft2013-09-091-1/+1
| | | | Fixes #155.
* Implemented proper chunk unloading in all 1.3.2+ clientsmadmaxoft2013-09-081-2/+11
|
* Implemented SteerVehicle packet.madmaxoft2013-09-061-0/+4
|
* Merge remote-tracking branch 'upstream/master'Tiger Wang2013-09-021-3/+0
|\ | | | | | | | | | | | | | | Conflicts: source/Bindings.cpp source/Entities/Entity.cpp Updated from upsteam
| * Fixed player spawning.madmaxoft2013-08-201-3/+0
| | | | | | | | 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.
* | Implemented xoft's suggestions [SEE DESC]Tiger Wang2013-08-297-12/+12
| | | | | | | | | | | | Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType
* | Fixed Minecart spawning issuesTiger Wang2013-08-287-22/+28
|/ | | | Now you can have everything!
* Moved entities into the Entities subfolder.madmaxoft2013-08-194-11/+11
|
* Added cWindow property manipulation API.madmaxoft2013-08-185-20/+20
| | | | Now enchantment table and furnace properties can be set by a plugin
* Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft2013-08-162-0/+2
| | | | Also slightly improved the spawning algorithm.
* Moved MaxPlayers and Description from cWorld to cServer.madmaxoft2013-08-111-8/+9
| | | | Also started creating a new cWorld::cTickThread class, but not used yet.
* Tab completion packet is handled and sent.madmaxoft2013-07-307-171/+234
| | | | 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.
* Added the "Edit Sign" packet sent to the client placing a sign.madmaxoft2013-07-297-0/+44
| | | | Fixes issue #20. The 1.6.2 client wouldn't open the sign editor UI unless it receives a special packet
* Changed everyting to Unix line endings.Alexander Harkness2013-07-2915-4916/+4916
|
* First implementation of movement-related hunger and APImadmaxoft@gmail.com2013-07-121-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Server sends PlayerMaxSpeed after a respawn.madmaxoft@gmail.com2013-07-082-1/+13
| | | | | | http://forum.mc-server.org/showthread.php?tid=434&pid=8912#pid8912 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1671 0a769ca7-a7f5-676a-18bf-c427514a06d6
* 1.6.2 protocol implemented, both in MCServer and in ProtoProxymadmaxoft@gmail.com2013-07-086-2/+88
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1669 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com2013-07-072-15/+23
| | | | | | Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com2013-07-075-99/+145
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Declaring full 1.6.1 compatibilitymadmaxoft@gmail.com2013-07-051-2/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1651 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Unmounting vehicles implemented in the 1.6.1 waymadmaxoft@gmail.com2013-07-052-0/+38
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1650 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed 1.6.1's movement speedmadmaxoft@gmail.com2013-07-052-4/+25
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1649 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Initial 1.6.1 protocol support.madmaxoft@gmail.com2013-07-055-1/+195
| | | | | | The client connects and is capable of basic gameplay, but the player moves at an incredible speed (50 blocks / sec). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1646 0a769ca7-a7f5-676a-18bf-c427514a06d6
* More TNT fixes.madmaxoft@gmail.com2013-06-185-5/+5
| | | | | | | | 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
* Enchantments: API and sending to clientmadmaxoft@gmail.com2013-06-022-6/+70
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com2013-05-242-7/+16
| | | | | | This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added 1.5.2 compatibility.madmaxoft@gmail.com2013-05-084-4/+9
| | | | | | FS #372 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1461 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Refactored window clicking code to use different click actionsmadmaxoft@gmail.com2013-05-083-1/+121
| | | | | | 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
* Protocol132: Replaced magic numbers with symbolic packet namesmadmaxoft@gmail.com2013-05-071-5/+8
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1454 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed compilation on Linuxmadmaxoft@gmail.com2013-04-283-7/+7
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1434 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added support for sending velocity and rotation in PACKET_SPAWN_MOB and PACKET_SPAWN_OBJECTkeyboard.osh@gmail.com2013-04-283-27/+30
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1427 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed Linux compilation, slight code cleanupmadmaxoft@gmail.com2013-04-195-17/+14
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com2013-04-185-0/+41
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed bug in entities movement: Corrected proper flooring of double values for the relative move packet, and teleport packet. Also, made the velocity packet to be sent first than the positions packets.keyboard.osh@gmail.com2013-04-071-1/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1367 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed personal crafting grid not being tossed on inventory close.madmaxoft@gmail.com2013-04-045-7/+13
| | | | | | 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
* Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdatekeyboard.osh@gmail.com2013-04-021-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added support for the packet #28 (0x1C): ENTITY_VELOCITYkeyboard.osh@gmail.com2013-03-185-0/+27
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Release 1.5 supported, yay :)madmaxoft@gmail.com2013-03-145-9/+108
| | | | | | Although some new blocks are still not recognized and behave badly, the protocol itself is working. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1273 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Initial nether composition generatormadmaxoft@gmail.com2013-03-112-3/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1266 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Pickups are now being saved into Anvil.madmaxoft@gmail.com2013-03-091-2/+2
| | | | | | Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com2013-03-035-0/+27
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com2013-02-217-15/+16
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Minecarts can now be placed.madmaxoft@gmail.com2013-02-187-0/+56
| | | | | | No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-122-6/+7
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added version 1.4.7 to the list of supported versions.madmaxoft@gmail.com2013-01-051-1/+1
| | | | | | The protocol used is the same. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1123 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com2012-12-282-6/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1114 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed 1.4.6 falling blocks.madmaxoft@gmail.com2012-12-271-15/+7
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1109 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Adjusted the protocol framework to support different types of falling block spawning.madmaxoft@gmail.com2012-12-267-28/+88
| | | | | | | In brief, with cProtocol, "say what you want done, not how you want me to do it". But still 1.4.6 crashes on falling block spawning. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1104 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the 1.4.6 protocolmadmaxoft@gmail.com2012-12-249-75/+183
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1099 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Aggressive debug mode cByteBuffer validity checking.madmaxoft@gmail.com2012-11-203-1/+7
| | | | | | Hopefully fixed the "BytesToEndOfBuffer" assert. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1057 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added an assert for unknown protocol, so that the function isn't missed when upgrading to a new protocol.madmaxoft@gmail.com2012-11-151-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1043 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added support for 1.4.4 client, using the 1.4.2 protocol classmadmaxoft@gmail.com2012-11-153-14/+44
| | | | | | No MCServer-supported packets changed. Initial patch by Setimes. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1042 0a769ca7-a7f5-676a-18bf-c427514a06d6
* PrimaryServerVersion is not force-saved into settings.ini. madmaxoft@gmail.com2012-11-111-0/+2
| | | | | | Server admins are advised to keep the value undefined, which will default in the latest supported version being the primary git-svn-id: http://mc-server.googlecode.com/svn/trunk@1034 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Protocol 1.4.2: found out and fixed the reason behind the fake "login" packet: the locale_viewdistance packet had been extendedmadmaxoft@gmail.com2012-11-102-3/+11
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1028 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Refactored the world time.madmaxoft@gmail.com2012-11-017-15/+13
| | | | | | 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
* Pickups no longer crash clients.luksor111@gmail.com2012-10-312-2/+22
| | | | | | Removed some unnecessary includes. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1020 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Initial 1.4.2 support.luksor111@gmail.com2012-10-314-2/+159
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1019 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct versionmadmaxoft@gmail.com2012-10-312-9/+60
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6
* My OCD has alpha-sorted some stuff :)madmaxoft@gmail.com2012-10-217-144/+130
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@995 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com2012-10-217-157/+200
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Double chests are now working, and with sound. (FS #69)madmaxoft@gmail.com2012-10-201-13/+13
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@993 0a769ca7-a7f5-676a-18bf-c427514a06d6
* PACKET_DESTROY_ENTITY isn't sent for self when the player is kicked (FS #254)madmaxoft@gmail.com2012-10-201-0/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@985 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed item damage value not being read from the 1.3.2 protocol (wtf, why was it disabled?)madmaxoft@gmail.com2012-10-181-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@976 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Split the name for signed and unsigned int writing in cProtocol.madmaxoft@gmail.com2012-10-072-3/+3
| | | | | | Hopefully this fixes compilation problems with 64-bit debian ( http://forum.mc-server.org/showthread.php?tid=575 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@940 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed player respawning crashing the server.madmaxoft@gmail.com2012-10-061-1/+8
| | | | | | ( http://forum.mc-server.org/showthread.php?tid=520&pid=4789#pid4789 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@935 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the "collect pickup" sound to 1.3.2madmaxoft@gmail.com2012-10-032-0/+23
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@923 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added falling block entities. Sand and gravel now properly fall downfaketruth2012-09-305-1/+37
| | | | | | | | | | 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
* Beds can be slept in now (it doesn't change the time though)faketruth2012-09-295-2/+31
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed memory leaks in cWindow and cProtocolRecognizermadmaxoft@gmail.com2012-09-291-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@910 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the block dig animation packet (patch contributed by l0udPL)madmaxoft@gmail.com2012-09-257-3/+42
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com2012-09-255-2/+12
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com2012-09-243-16/+16
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: ChunkDataSerializer is Protocol-relatedmadmaxoft@gmail.com2012-09-234-2/+226
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@886 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com2012-09-232-2/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: Protocol-related files in a separate subfoldermadmaxoft@gmail.com2012-09-237-0/+3213
git-svn-id: http://mc-server.googlecode.com/svn/trunk@880 0a769ca7-a7f5-676a-18bf-c427514a06d6