Commit Graph

139 Commits

Author SHA1 Message Date
iliekprogrammar
156aff21a1
[5.6][bows] fix unsafe entity handling for arrows 2022-08-07 12:48:09 +08:00
iliekprogrammar
221ee0fcf1
[5.6] mark places with unsafe set_hp entity handling
There might be other places i might be missing, but these are the obvious ones.

leftover entity handling i did not mark:
* everything that involves a apply()-like algorithm (e.g. callbacks) over the
  same list of objects.
* in mcl_damage, it's not known whether mcl_damage.from_mt() would involve
  entity handling or just player handling.
2022-08-07 00:13:03 +08:00
cora
bf23c61e34 skip damage completely when player & pvp disabled 2022-07-16 12:12:28 +00:00
cora
b7f8a75d04 Add PVP check for rocket arrows 2022-07-16 12:12:28 +00:00
GNU Hacker
454d7e8b04 arrow check if pvp is enable 2022-07-16 12:12:28 +00:00
epCode
ef92475d35 Merge pull request 'master' (#2296) from master into Raytraced_arrows_fix
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2296
2022-06-11 02:42:04 +00:00
epCode
6bc5e76b8f fix tipped arrows and rocket 2022-06-10 19:40:12 -07:00
epCode
0aaede2f50 Merge pull request 'master' (#2285) from master into Raytraced_arrows
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2285
2022-06-07 18:41:22 +00:00
epCode
6c804f44d5 add a small bit of doc 2022-06-06 18:43:50 -07:00
epCode
d738229298 Make loaded Crossbow (Corssbow) not show up in creative inventory 2022-06-07 00:58:37 +00:00
epCode
78940e109c fix critical hit displaying in the wrong place 2022-06-06 14:38:18 -07:00
epCode
fdb7d5bfad fixed Badly calculated arrow direction 2022-06-06 14:32:07 -07:00
epCode
f2c2f4106b fix arrows not disapearing after mob hit, and self damaging 2022-06-06 13:55:28 -07:00
epCode
e1feec9a30 Add Raytracing arrows 2022-06-06 13:42:24 -07:00
cora
ef093d0c00 Be more careful with possibly expired objects 2022-06-04 20:26:00 +02:00
Elias Fleckenstein
e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
NO411
db68c0e26b Add shield 2022-03-15 15:58:27 +01:00
epCode
4483f4b6b6 fix #2068 2022-03-15 02:18:02 +00:00
AFCMS
5a7b1cc382
make all arrow types activate target (+ depends and code fixes) 2022-02-26 23:52:03 +01:00
Emojigit
d1e328e57a mcl_bows 2022-02-23 23:58:05 +01:00
NO11
7cc7fb1331 Make removing of arrow entities also work with mobs, remove arrows on respawn 2022-01-02 11:06:29 +00:00
NO11
7b46225176 Remove arrow entities when the player joins to prevent killing on startup (working fix) 2022-01-01 22:59:21 +00:00
NO411
7b47a15e34 Remove arrow entities when the player leaves to prevent killing on startup 2021-12-30 14:04:53 +01:00
NO11
642b9db035 localize wielditem in crossbow.lua (Fix #1901) 2021-11-13 15:19:34 +00:00
epCode
1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00
NO11
28bfb3f141 Better arrow overlay texture 2021-06-05 13:19:47 +00:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
5f82e76862 fix many codestyle issues 2021-05-28 00:34:58 +02:00
AFCMS
b7bf566190 [mcl_bows] fix warnings 2021-05-23 01:06:34 +02:00
jordan4ibanez
052bb540ba Remove unused parent data for arrows 2021-05-10 20:06:38 -04:00
Elias Fleckenstein
58d67aace6 Merge branch 'master' into damage 2021-04-25 13:29:07 +02:00
Elias Fleckenstein
9eba2add3f Rewrite burning API 2021-04-25 13:09:20 +02:00
Elias Fleckenstein
ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
Marcin Serwin
0de2d3d707 Add polish translation of mcl_bows 2021-04-13 09:58:10 +02:00
AFCMS
339e3e2792 fix some tools not using right var 2021-04-05 14:32:48 +02:00
epCode
5356e97b77 fix copy/pasted arrow texture to pixel-perfection 2021-03-31 11:23:59 -07:00
Elias Fleckenstein
9a4d26c2ae Fix all invalid usages of math.random in mcl_bows 2021-03-21 19:52:27 +01:00
Elias Fleckenstein
2d1ac1c7fa Properly fix arrows crashing the server 2021-03-21 19:47:13 +01:00
Elias Fleckenstein
f0c2a0a1e9 Fix arrows crashing the server 2021-03-21 19:45:33 +01:00
Elias Fleckenstein
f3c37f49b9 Only extinguish flame arrow on removal 2021-03-19 11:37:12 +01:00
epCode
6b1ce182d3 Make players able to shoot themselves 2021-03-17 13:47:02 -07:00
epCode
86f2d639f9 Make arrows remove after a longer period 2021-03-16 16:01:47 -07:00
epCode
33c589369f Make arrows stick into players. 2021-03-16 15:22:36 -07:00
AFCMS
5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
Code-Sploit
08f522ffff Fix arrows being pointable 2021-03-14 06:24:34 +00:00
epCode
8115575f20 Fix problem with power enchantment 2021-03-12 16:07:57 -08:00
epCode
46be7c0388 Fix arrow mesh being backwards 2021-03-12 15:56:40 -08:00
epCode
90a0858495 Make new arrow mesh work with tipped arrows 2021-03-12 15:36:43 -08:00
epCode
1d65daa2c9 Fix arrow mesh 2021-03-12 15:17:14 -08:00