i wanna know if making the same model over and over again makes the player keep asking the server for the same model (also particles,beams and anything that has an image on it)
if it does does cloning make it not ask for it again
if not can that be used so you can load the effects from the client instead of the server and make the server just handle hitboxes of attacks only while making the client take care of the effects and animations of attacks
are you talking about textures, sounds, meshes, animations, etc?
yeah
does the client ask the server for that assest everytime its loaded via meshid or its saved in the player’s cache and does cloning stop that from happening?
When the game starts, it loads each asset from the content delivery network only once. After that, the asset is stored in local memory, and any clones simply reuse the cached data.
MeshId, TextureId, SoundId, AnimationId, particles, beams, decals, meshes, sounds, animations, etc.
also whats wrong with the game loading assests and animations from the client instead of the server and making the server only handle hitboxes
wouldnt it to make the server lag less espically for games that are expensive on the performance
i didnt see anyone talking about that before
Sometimes with some things you can use the client. Most the time, due to hackers, you would want the client to handle only what it absolutely needs to.
i mean stuff like sans bonezones as an example
in an animation like this cant we make
the hitbox is handled in the server
the bones animation is handled in the client
even if the client changes anything like making bonezones not show the server would be the one to handle hitboxes which will just make the exploiter have no bonezones show in his client but it would still damage him
You can do anything you like… It’s just a hacker thing you need to watch out for. Also, most of the time doing things only on the client also means only the client can see it change.