Commit graph

52 commits

Author SHA1 Message Date
bgkillas
edda7cd5f9 fuck the performance, im syncing fish, also syncing rotation for all which prob only concerns fish <3, also syncing and enabling cordyceps 2024-10-15 17:55:56 -04:00
bgkillas
f320b4d348 fix kivi damage in local health 2024-10-14 07:50:33 -04:00
bgkillas
2810aa9c1c fix angry ghost being visually weird, cull more dead entitiys from enemy sync 2024-10-13 19:52:47 -04:00
bgkillas
8ae4052480 sync angry ghost memory, make stevari spawn nicer, sync gate boss / tiny / tapion spawn, dont disable movement in pause menues 2024-10-13 18:58:22 -04:00
bgkillas
625ff4195c remove ephemiral entitys from enemy sync 2024-10-12 15:58:49 -04:00
bgkillas
4ae00e000d fix some errors, unbreak kolmi probably 2024-10-12 15:55:00 -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
bgkillas
a45e02af18 sync enemies perks probably 2024-10-04 18:24:26 -04:00
bgkillas
1a729d103f fix culling, dont sync wand ghost, fix world sync when spectating 2024-09-29 10:08:00 -04:00
bgkillas
62e117e554 cull enemies on clients, fix potion mimic, have notplayer have a bit more range make death after end fight faster 2024-09-29 09:41:48 -04:00
IQuant
3497a4a321 Send phys component positions in game pos system. Closes #153. Closes #122. 2024-09-17 14:37:33 +03:00
bgkillas
e377402279 remove some not super useful logs 2024-09-17 06:56:02 -04:00
bgkillas
a5574069cf fix notplayer cleaning toxic sludge when he shouldn't be, try to have notplayer fly into less deadly gasses(probably will die to acid/lava a bit easier though), dont have notplayer phase through walls and drown 2024-09-15 20:29:54 -04:00
bgkillas
0b35632eae re enable imortal component 2024-09-14 14:31:45 -04:00
bgkillas
3ec3e478d2 fix blob spawning stuff still, fix enemys not bleeding on clients~ 2024-09-14 12:54:17 -04:00
bgkillas
8d2b965b0a fix enemy spawning enemys on clients oddly 2024-09-14 11:46:28 -04:00
bgkillas
daa7b20739 fix some errors 2024-08-31 16:16:27 -04:00
bgkillas
2d02856ef8 turn down world sync time and enemy sync intervals, 2024-08-30 17:12:17 -04:00
bgkillas
34e162c5f5 dont put out fire/toxic if immune as notplayer, reduce revive immunity from notplayer to player to make sea of acid less viable, change settings to more reasonable defaults, dont not sync bosses/worms 2024-08-29 18:01:52 -04:00
bgkillas
9b7776e25a sync more enemy animations 2024-08-29 11:22:07 -04:00
bgkillas
d929eac6e6 sync main body enemy animations 2024-08-29 11:10:44 -04:00
bgkillas
e133ee6433 fix spectator enemy not showing up, add game effect sync to enemys, give notplayer ew_peer tag, use less memory for game effects and enemy sync(hopefully fine), 2024-08-29 09:19:04 -04:00
bgkillas
c941a7e126 use less data for enemy wand sync 2024-08-29 07:29:48 -04:00
bgkillas
646b688817 sync enemies held wands 2024-08-28 21:46:37 -04:00
IQuant
e92de6829d Retire commented out/spammy GamePrints to git history. 2024-08-28 14:03:34 +03:00
IQuant
4101da7e9e Add a more proper fallback for when physics component lacks a body. 2024-08-26 13:34:02 +03:00
bgkillas
81bbd5a96d fix some edgecases with spectating and such 2024-08-25 11:13:24 -04:00
IQuant
f1132b289c Make multibody physics bodies work properly 2024-08-23 20:39:38 +03:00
bgkillas
455ec4f0c7 add nil checks, add freezing vapor 2024-08-21 17:46:01 -04:00
bgkillas
4948a6357f kill parent entity when a synced entity died, hopefully helping lag, make player arrows work better at corners 2024-08-18 13:48:46 -04:00
IQuant
00a409417d Add distance check to enemy sync. 2024-08-17 18:46:04 +03:00
IQuant
7b340ed914 Allow picking enemy sync interval 2024-08-17 18:27:58 +03:00
IQuant
7f8699c0ae Moved health uploading into it's own function, so health sync rate can be set separately. 2024-08-17 12:58:01 +03:00
IQuant
d994848043 Separate health sync into a separate rpc and made it rarer, to save bandwidth. 2024-08-17 00:55:05 +03:00
IQuant
cdde688202 Move enemy_id to EnemyData 2024-08-17 00:01:46 +03:00
IQuant
6b495db00e EnemyDataNoMotion variant 2024-08-16 23:38:54 +03:00
IQuant
cc8b8d0c6a Don't send vx, vy and vr when body is not moving. 2024-08-16 22:54:58 +03:00
IQuant
e7ac34be10 Cram rotation into 1 byte instead of 4 2024-08-16 22:20:00 +03:00
IQuant
2ee95e3776 Make a struct for EnemyData 2024-08-16 21:52:15 +03:00
IQuant
dc84451a31 Add a struct for phys info 2024-08-16 21:38:14 +03:00
IQuant
435d60f25c Intern filenames in enemy_sync to save bandwidth. 2024-08-16 20:44:25 +03:00
IQuant
8f4ceab128 Should make stuff not explode randomly on clients (this time for sure..?) 2024-08-16 12:28:35 +03:00
IQuant
22fca4cb7b Fix numbers 2024-08-15 23:24:24 +03:00
IQuant
217495fd79 Try to hack around that endless explosions bug, not sire if it actually works. 2024-08-15 23:23:24 +03:00
IQuant
4351ba8ae9 Add additional tags to things we intend to sync physics of. 2024-08-15 21:02:57 +03: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
c48ca0c9b6 Fix physics bodies persisting in an uninteded way on clients. 2024-08-13 18:43:31 +03:00
IQuant
568da6c1cb Make physics stuff not explode repeatedly on clients. 2024-08-13 17:39:27 +03:00
IQuant
8d6e770e0b Sync at least some physycs stuff. 2024-08-13 14:18:45 +03:00