Commit graph

51 commits

Author SHA1 Message Date
bgkillas
d98c63cdfa give auth to holder of items, give auth to closest player if item is far away, hopefully these fix items being messed up 2024-11-24 01:13:47 -05:00
bgkillas
594af87651 add lukki sprite back, have map respect player colors, try to make colors more reliable, dont send adventure perk to peers 2024-11-23 23:38:56 -05:00
bgkillas
623dd73fe4 make throwing look slightly less ugly, fix an edge case that causes items to never appear until restarting 2024-11-23 13:03:27 -05:00
bgkillas
a60a1f7aff fix most of item sync, fix some theoretical minor bugs in inventory sync/enemy sync 2024-11-23 11:30:58 -05:00
bgkillas
cbec17c142 fix spamming request item 2024-11-19 23:34:03 -05:00
bgkillas
88c3f4c571 fix immortality and make items less easy to break 2024-11-19 18:25:14 -05:00
bgkillas
4bafed4cdf fix items disappearing when players drop them sometimes 2024-11-19 16:44:14 -05:00
bgkillas
a30cdfe2a2 undo chest change to prevent duping, make wands look nicer 2024-11-18 19:57:39 -05:00
bgkillas
f0f90c2b59 make chest logic a bit more general 2024-11-18 08:26:26 -05:00
bgkillas
edb4a4ccde sync chests 2024-11-18 07:18:35 -05:00
bgkillas
35e9d5e48f try to fix item duping 2024-11-17 22:20:29 -05:00
bgkillas
e391b1552f sync items positions and stuffs 2024-11-17 22:09:57 -05:00
bgkillas
65714117b2 allow picking up potion mimic players 2024-11-16 20:42:23 -05:00
IQuant
79e8f73d63 Hide that item localize prevented message. 2024-11-09 22:45:17 +03:00
bgkillas
0cbaf3c86a fix some log errors 2024-11-03 19:16:38 -05:00
bgkillas
9a9d60bb5e have notplayer throw ukko rock only if your in water, fix some problems with items not appearing in inventory, fix potion mimic polymorph 2024-11-03 19:00:20 -05:00
bgkillas
edbf0bf1b8 sync taikisauva, make kummitus drop wands properly, fix enemys holding wands improperly also, fix notplayer cheese >:(, put in spell refresh syncing logic 2024-11-03 18:04:14 -05:00
bgkillas
179271e18c remove unused function 2024-11-03 09:40:26 -05:00
bgkillas
f6411bce23 fix potion mimics breaking game if you pick them up, dont allow you to pickup player potion mimics(literally 1984) 2024-11-03 08:25:48 -05:00
bgkillas
ae3520f3c4 sync kammi 2024-11-02 21:48:32 -04:00
bgkillas
e3b34abe1a fix cape as notplayer, dont make potion breaking noise on picking up a potion, fix spectator shield not working always 2024-10-27 10:36:10 -04:00
bgkillas
803ecbd380 sync enemys deaths even if they are out of range to be culled, fix mid biome shops being stealable sometimes, fix last nagles flush not working 2024-10-12 10:20:54 -04:00
bgkillas
5205707bcc remove some uneeded(?) asyncs, fix karl, fix some end fight edge cases 2024-10-07 20:18:34 -04:00
IQuant
67e72248c3 Fix ukko-like rocks 2024-10-06 17:54:03 +03:00
bgkillas
39de002eec fix shops becoming free 2024-10-06 10:14:53 -04:00
bgkillas
6b92a2c840 make 3s end fight death again, fix item sync syntax error caused by lack of testing 2024-10-06 09:33:45 -04:00
bgkillas
990fbdabac make nightmare wands random, have karl work with spectate, make notplayer react to material damage gases 2024-10-06 08:57:13 -04:00
bgkillas
fc8ccf42a7 fix item stealing 2024-10-05 12:06:30 -04:00
bgkillas
cfa18cd18e allow spell stealing again 2024-10-04 19:37:59 -04:00
bgkillas
2fe02ebbc8 sync item positions every second instead of 5 2024-10-01 17:58:49 -04:00
bgkillas
107c55f83e increase limit to item sync from 100 to 256 2024-09-22 14:31:35 -04:00
IQuant
d44dc65f7d Reduce distance limit for items being resend, seems to work better. 2024-09-22 13:05:50 +03:00
IQuant
836c941007 Disable request_send_again in item_sync 2024-09-21 23:46:55 +03:00
IQuant
ca32961147 Add a check for item being on ground. 2024-09-21 12:39:18 +03:00
IQuant
9c28af838f Resend items when they should be there but weren't found. Should fix last HM's shop weirdness. 2024-09-21 12:06:04 +03:00
IQuant
96595a4c68 Fix wands being free on host.
Just need to fix spells being free on host now.
2024-09-16 15:59:46 +03:00
IQuant
6f6abd6550 Transfer authority over requested-to-be-spawned items to whoever requested them. 2024-09-16 15:23:58 +03:00
bgkillas
ba9c632061 remove ingestion/stain effects and game effects after reviving from notplayer 2024-09-14 18:38:34 -04:00
IQuant
cac556816d Implement authority for item positions. 2024-09-14 15:15:01 +03:00
IQuant
869ebbc4ab Remove calls to maybe_disable_physics 2024-09-14 12:39:58 +03:00
IQuant
36dc1284e0 Sync item positions once in a while. 2024-09-14 11:07:38 +03:00
bgkillas
05da5b82a8 remove some gameprints 2024-09-09 06:32:47 -04:00
IQuant
19a7776818 Should fix item vanishing when they're thrown. 2024-09-08 23:51:58 +03:00
IQuant
ed9438fcd3 Hack around spells falling through ground sometimes 2024-08-30 11:52:37 +03:00
IQuant
b4eb3e762b Remove debug print. 2024-08-30 11:17:15 +03:00
IQuant
57900bf60d Mostly sync shop spells 2024-08-30 11:12:10 +03:00
IQuant
7f90a21db1 Fix the weird item duplication thing. 2024-08-22 17:53:36 +03:00
bgkillas
b35db32101 remove some errors 2024-08-20 09:42:47 -04:00
bgkillas
5bc707f9b4 fix player cosmetics options being broken by peers by last patch, make linter happier 2024-08-15 09:16:29 -04:00
IQuant
f25ae3b2c5 Refactor: Move more stuff around. 2024-08-07 17:21:25 +03:00