1
0
Fork 0
Commit Graph

182 Commits (b2453b587a875808fa8ab8e6e378f06be24cd6cc)

Author SHA1 Message Date
kabou 46ee5aaa59 Fix undefined luaentity crash.
* Add nil check to get_luaentity() access.
* Cache get_luaentity() call in local var.
2022-03-21 01:39:02 +00:00
NO411 db68c0e26b Add shield 2022-03-15 15:58:27 +01:00
cora a9357f7380 Do not send redundant bone position and properties 2022-02-22 11:15:56 +00:00
epCode 9b881df465 Temporarily remove glitchy Elytra crash-damage
If you fly in certain directions with this damage system, you will die. also if you speed up too fast.
2022-01-06 21:55:01 +00:00
Elias Fleckenstein bfd1fd69d1
Fix potential crash when falling onto unknown node 2021-12-19 18:59:09 +01:00
epCode 1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00
epCode 960b653979 fix #1299 2021-07-12 11:50:37 -07:00
NO11 eafb1a2797 Use add_particle instead of minetest.add_particlespawner for elytra rocket particles 2021-06-12 17:23:03 +00:00
NO11 0d619ec6a8 Make vine protect from fall damage 2021-05-28 17:26:00 +00:00
AFCMS 9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
AFCMS 388ab6d8df fix some codestyle issues 2021-05-25 10:56:06 +02:00
AFCMS 84a800f22b fix many warnings 2021-05-22 19:58:09 +02:00
NO11 cb82e3c9c5 Make a cobweb protect from fall damage 2021-05-16 21:13:07 +00:00
Elias Fleckenstein 819d59dbe7 Use fly_into_wall damage type for elytra damage 2021-04-27 20:56:53 +02:00
Elias Fleckenstein dd68b79782 Merge branch 'master' into damage 2021-04-26 09:29:03 +02:00
epCode aac9d6a105 impliment crash damage for elytra 2021-04-25 15:49:15 -07:00
Elias Fleckenstein 302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Elias Fleckenstein 58d67aace6 Merge branch 'master' into damage 2021-04-25 13:29:07 +02:00
NO11 642351a1d2 Add #1553 fireworks rocket now makes particles when used for flying 2021-04-24 19:35:23 +00:00
Elias Fleckenstein 50b6f03977 Integrate no fall damage in water & end portal 2021-04-23 12:34:24 +02:00
Elias Fleckenstein 1e7ba2b605 Merge branch 'master' into damage 2021-04-21 11:32:50 +02:00
epCode 9c3fcae9e1 Fix many things with player animation and update alex 2021-04-19 13:02:12 -07:00
Elias Fleckenstein d08a226a51 Integrate critical hits 2021-04-18 19:50:48 +02:00
Elias Fleckenstein f0d7715080 Merge branch 'master' into damage 2021-04-18 14:51:45 +02:00
Elias Fleckenstein 5d9c3cd85b Fix #1572 2021-04-18 14:41:44 +02:00
Elias Fleckenstein baebe3c2d2 Fix namtags being invisible 2021-04-17 20:57:12 +02:00
Elias Fleckenstein 205572cc69 Fix elytra code style 2021-04-17 19:34:23 +02:00
Elias Fleckenstein f8b54db392 Fix controls.register_on_press being called for every player in a globalstep 2021-04-17 18:55:56 +02:00
Elias Fleckenstein 7c7af7d664 Merge branch 'master' into damage 2021-04-17 18:39:00 +02:00
Elias Fleckenstein 5c928575f8 Fix #1572, server crash during login 2021-04-17 18:15:45 +02:00
Elias Fleckenstein ca75a893db Merge branch 'master' into damage 2021-04-17 12:58:19 +02:00
AFCMS 5f076d372a fix many codestyle errors 2021-04-17 07:42:49 +02:00
AFCMS a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Elias Fleckenstein a3af1cdf6e Implement in_wall damage type 2021-04-14 19:07:58 +02:00
Elias Fleckenstein 875bb3db84 Use fire-like damage types properly 2021-04-14 17:20:51 +02:00
Elias Fleckenstein e74838136d Use cactus damage type 2021-04-14 16:27:21 +02:00
Elias Fleckenstein d0ddd38d4e Merge branch 'master' into damage 2021-04-14 16:14:00 +02:00
Elias Fleckenstein ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
epCode 5b93ee5e40 Improve rocket 2021-04-13 17:07:28 -07:00
epCode 8d22102c66 remove abitrary minetest.chat_send_all( 2021-04-13 16:28:38 -07:00
epCode 399ed85717 Make flying w elytra use pitch and not sneak 2021-04-13 16:14:37 -07:00
epCode f498d3ae02 make elytra activate mor MC-like 2021-04-13 11:45:31 -07:00
epCode 424685d3d3 Add elytra (sprint in air to use) 2021-04-12 14:56:33 -07:00
Elias Fleckenstein 523a0c54d6 Localize c_x and c_y in mcl_playerplus 2021-04-12 14:54:14 +02:00
epCode ce49cd02ac make player collision box MUCH closer to MC 2021-04-10 15:41:50 -07:00
epCode 3ff214ec2d lessen the push strength for players 2021-04-10 15:06:16 -07:00
epCode f6db31eae3 add criticle and sprint hits. 2021-04-10 14:47:26 -07:00
epCode 08b7340ff5 Fix crash with player near unknown object 2021-04-10 10:20:38 -07:00
epCode 849823af1f Add player pushing ;) 2021-04-09 14:33:14 -07:00
Elias Fleckenstein e407ad2254 Fix #1447 2021-04-05 09:25:03 +02:00
ArTee3 910c9083e5 Fix player speed on soul sand, https://git.minetest.land/MineClone2/MineClone2/issues/1356 2021-03-22 21:55:57 +01:00
iliekprogrammar 12745bd450 Remove debug information... again :/ 2021-03-20 10:13:48 +08:00
iliekprogrammar 34dbddb40a Move holding code into mcl_playerplus 2021-03-20 08:42:48 +08:00
Elias Fleckenstein f3580efced Separate Head / Body rotation (Implement #1189) 2021-03-19 11:32:17 +01:00
AFCMS 8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS 2dcaf8fdcb improve performances of mcl_playerplus
really noticeable gain with caching  global functions
2021-03-15 00:32:19 +01:00
epCode 360070bb6a Fix player eye height above head 2021-03-11 15:56:09 -08:00
Code-Sploit 6ab0e0fa86 Do some calculating 2021-02-28 14:02:48 +00:00
Code-Sploit 99b5dff849 Fix another bug 2021-02-27 16:13:05 +00:00
Code-Sploit de9d838642 Fix a bug and improve some things
Bugs:
1) When player is in liquid and takes off his/her boots, he/her still has increased speed.

Improve:
1) Check for liquid group instead of node names
2021-02-27 16:10:11 +00:00
Code-Sploit 828c1110b1 Implement Depth Strider enchantment 2021-02-27 15:37:25 +00:00
Elias Fleckenstein e5263d854e Localize player_vel_yaw 2021-02-27 15:10:25 +01:00
Elias Fleckenstein 5a0b7bc131 Fix usages of player:get_velocity(), closes #1203 2021-02-27 15:07:10 +01:00
epCode 73616453a4 Fix #1188 2021-02-25 19:01:22 -08:00
epCode fb5f86d829 Fix #1196 2021-02-25 12:07:25 -08:00
epCode 8c1444a1a8 Fix Swim toggling 2021-02-25 12:06:24 -08:00
epCode fbb79635eb Fix player body rotation glitch 2021-02-24 17:11:00 -08:00
epCode c1c3dbfaec Fix #1184 2021-02-24 15:21:05 -08:00
epCode 4334339ba3 Fix player head bone in while attached 2021-02-23 14:18:52 -08:00
epCode 9caf6f2904 Add more MC-like player body bone positioning 2021-02-22 18:48:09 -08:00
Elias Fleckenstein 152d49ef20 Fix #1167 2021-02-22 10:41:44 +01:00
epCode d8b5620115 Make head block detection more stable 2021-02-21 04:11:20 +00:00
epCode 98f6e05cdc Make swimming a bit smoother 2021-02-20 16:21:09 -08:00
epCode ecb70aaf55 Make player head anim while attached more flexible 2021-02-19 14:07:36 -08:00
AFCMS 0531aae687 replace pairs() by ipairs() in mcl_playerplus 2021-02-18 15:27:50 +00:00
epCode 18a8d011a2 Sprinting anim, MC-like Player anims, Swimming detection 2021-02-17 15:17:12 -08:00
epCode c238fd9ba7 Set swiming detection to "node_feet" 2021-02-16 14:18:06 -08:00
epCode 24c14e7f15 Fix bow having weird hand placements while hitting and loading 2021-02-16 20:13:12 +00:00
epCode 3b775c38cd Fix wrong numbers (Swaped)
My bad
2021-02-15 23:46:27 +00:00
epCode 164aad4ff9 Fix player glitches when standing by the water
Instead of making the player collisionbox smaller from the ground, I made it smaller from the top.
2021-02-15 16:59:24 +00:00
epCode 52c36d45da Remove Buggy Crawling for Fixing 2021-02-14 11:18:46 -08:00
epCode ba86cf1d8b Impliment crawling 2021-02-13 16:09:00 -08:00
epCode a9fe8d58e5 Add bow aiming animations 2021-02-12 09:16:08 -08:00
epCode 6a3a0362a3 Fix player looking up while on water and attached 2021-02-09 19:00:54 +00:00
kay27 bd1e4187a0 Fix https://git.minetest.land/MineClone2/MineClone2/issues/1079 by epCode 2021-02-08 11:48:31 +04:00
epCode 29d43b9709 Fix player head with wrong pitch while swiming 2021-02-06 18:18:19 -08:00
kay27 84289a3a11 Tiny code cleanup and potentially bugfix after latest mergings 2021-02-07 02:56:00 +04:00
epCode 282af37555 Add some sneaking commentary 2021-02-05 19:44:41 -08:00
epCode 729c60cd4b Nametag vanishes when sneaking 2021-02-05 16:39:50 -08:00
epCode 403c174722 Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:14:06 -08:00
epCode 37baf5e69a Fix sneak/R.click bugs. 2021-02-03 17:12:28 -08:00
epCode f37096cb4b Merge branch 'master' of https://git.minetest.land/epCode/MineClone2 2021-02-03 17:05:48 -08:00
epCode cf837247a7 Fix sneak/R.click bugs. 2021-02-03 16:59:58 -08:00
epCode bd98529945 Fix sneak/R.click bugs 2021-02-03 16:29:33 -08:00
epCode 2b2e0914d4 Added arm pitch control 2020-12-20 14:42:45 -08:00
epCode 2e2b22dc15 Player properties for sneaking 2020-12-18 16:43:42 -08:00
Elias Fleckenstein 479dfd6c0d Soul Speed 2020-11-09 10:50:27 +01:00
kay27 4eb42c3a9a Merge bzoss_player feature branch 2020-09-25 00:39:51 +04:00
Wuzzy 131051b1df Fix code typo in mcl_playerplus 2020-05-08 17:41:09 +02:00
Wuzzy 94c4256451 Fix crash when standing on unknown node 2020-05-08 17:23:39 +02:00