ooh thanks for telling me. TBH as soon as i saw the title, i knew what the issue was. I beleive its because the position after being attached is only updated client side. as far as the server is concerned, they are both in the same spot. even though the server also keeps track of the attach position, it doesnt take it into account probably because it would have to be calculating it from the bone position and rotation of the model.
i guess the simpliest fix would be to have the distance check disabled when attached. so they are always visible. a slightly better option is to check if they are attached and then add the attach position to the player position var before checking distance. that would only work for players attached to the same object and bone tho. because if 2 players were attached to the centre of different bones on the same object, even if those bones are far apart, the calculated positions are the same. heh it kinda ends up becoming a mess to think about. the best fix is probably the simplest and to have the feature basically disabled for players who are attached to something. but i can see what works best.
so much like how the acid makes blocks dissolve, i think the bleach should do something kinda similar. it should make the coloured wool it touches turn white. like its bleaching the dye out of the wool. just an idea. cool mod btw.
oh also, i want to use the slimey oil footstep noises for a luanti mod of my own. who should i credit for those?
ooh thanks for telling me. TBH as soon as i saw the title, i knew what the issue was. I beleive its because the position after being attached is only updated client side. as far as the server is concerned, they are both in the same spot. even though the server also keeps track of the attach position, it doesnt take it into account probably because it would have to be calculating it from the bone position and rotation of the model.
i guess the simpliest fix would be to have the distance check disabled when attached. so they are always visible. a slightly better option is to check if they are attached and then add the attach position to the player position var before checking distance. that would only work for players attached to the same object and bone tho. because if 2 players were attached to the centre of different bones on the same object, even if those bones are far apart, the calculated positions are the same. heh it kinda ends up becoming a mess to think about. the best fix is probably the simplest and to have the feature basically disabled for players who are attached to something. but i can see what works best.
do you remember which website they were on? or if they require attribution?
thank you so much. and you're welcome for the idea. ^^
so much like how the acid makes blocks dissolve, i think the bleach should do something kinda similar. it should make the coloured wool it touches turn white. like its bleaching the dye out of the wool. just an idea. cool mod btw.
oh also, i want to use the slimey oil footstep noises for a luanti mod of my own. who should i credit for those?
oh nice ^^
something about how you explained the bug seemed odd. but i guess i should have looked at the code myself as i probably would have spotted it.
the character sprite is cool. but its backwards. in 3rd person view it look like i always walking backwards.
Wait this is news to people? :P