| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The helper functions that it implemented were moved into their respective blockhandlers.
|
|
|
|
| |
The method used for 1.2.5 clients no longer works. Fixes #139.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
source/Bindings.cpp
source/Entities/Entity.cpp
Updated from upsteam
|
| |
| |
| |
| | |
The arrow is released, but sometimes hits wrong blocks or disappears completely.
|
| |\ |
|
| | |
| | |
| | |
| | | |
Fixes #128.
|
| | |
| | |
| | |
| | | |
This seems to have done it, no more crashes for me.
|
| | |
| | |
| | |
| | | |
This should have helped #31, but the client disagrees.
|
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| | |
Now you can have everything!
|
| |
| |
| |
| | |
Bug was placing slabs between slabs not making a double slab.
|
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|
|
|
| |
Block changes were sent even with empty changesets, causing a lot of lost CPU cycles.
|
| |
|
|
|
|
| |
Now enchantment table and furnace properties can be set by a plugin
|
|
|
|
| |
It is no longer needed to queue chat messages, because the protocol is parsed within the Tick thread itself, without holding any SocketThread CS.
|
|
|
|
| |
Fixes #80
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
Also started creating a new cWorld::cTickThread class, but not used yet.
|
|
|
|
| |
Initial patch by @STR_Warrior, updated to account for different animation packets.
|
|
|
| |
There seems to be already one in the HandleDisconnect hook function.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes FS 425
|
|
|
|
| |
Each command is reported only if the player has the permission to use it.
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes issue #20. The 1.6.2 client wouldn't open the sign editor UI unless it receives a special packet
|
|
|
|
| |
Also fixed the API relating to food, determining player gamemode, and removed several unneeded API functions.
|
|
|
|
| |
Food is now properly consumed and it takes 1.5 sec.
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1673 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1670 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
Fixes FS #415
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1650 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1649 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1632 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
FS #376
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
Fixes FS #382
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1607 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(FS #375)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1597 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1591 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
Fixes FS #365
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1553 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1396 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
No interaction, no physics, though.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
FS #301
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1213 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1141 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1120 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1113 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1099 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1082 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1047 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1038 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1032 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1004 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@944 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
( 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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
|
|
| |
( 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@912 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
| |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
|