Debriefing > Bug Reports & Fixes
Gun damage
killermonkey:
ROF might be fixed with prediction. Spread isn't predicted so what you see on the client is just a visual representation, the server is actually sending bullets in the proper direction. Bullet decals are clientside only.
Death:
--- Quote from: Entropy-Soldier on August 15, 2016, 11:35:13 pm ---Oh, it could be because spread is calculated independently on both server and client using the same random seed, so you'll need to have the same script on the client as you do on the server for the bullet spread to match up on both. Sorry for not thinking of this sooner, it's actually been a long time since I messed with the weapon scripts and spread code.
But actually this is kind of interesting. ROF should suffer from the same issues, and bug out pretty hard if there's a difference in the file between client and server. It might be worth putting ge_bot into console and checking how many shots are actually connecting, because what you see on the client isn't what's happening on the server if the script files are different. I hate to say it but it's going to make custom weapon servers pretty hard to run. Damage values and other stuff only relevant to the server can be seamlessly changed, but what you want is more spread and clients expect the server to match their values for that.
It's still possible to distribute new weapon files to all the clients who want to play on such a server, but please only do that with friends or people who know what they're getting into since they'll have issues playing on any other server unless they change their files back.
--- End quote ---
--- Quote from: killermonkey on August 15, 2016, 11:50:10 pm ---ROF might be fixed with prediction. Spread isn't predicted so what you see on the client is just a visual representation, the server is actually sending bullets in the proper direction. Bullet decals are clientside only.
--- End quote ---
well if the client is seeing something slightly different in an area shooter i don't think that will be too worrisome.
but i will take your suggestion and use my modified files on my client and the server the same time to accurately modify the files then run them server side only, the difference honestly shouldn't be too noticeable for someone just playing imo.
some of the popular games out there run completely different seeds for server / client weapon recoil / decals anyway and it seems fine. csgo is the first game that comes to mind that has that.
my purpose is not to disrupt but rather show there is a better way, so i wont make anything public that will disrupt a users experience.
Navigation
[0] Message Index
[*] Previous page
Go to full version