Posts: 1,311
Threads: 39
Joined: Mar 2012
Reputation:
0
This system allows cheaters to shoot through objects (because we trust only shooter and don't listening what damaged player saying about trajectory of bullet). So there is no way to make really good server-sided shooting system without plugins like ColAndreas (but they are very slow for that kind of usage).
Sorry for my bad English.
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by stabker
This system allows cheaters to shoot through objects (because we trust only shooter and don't listening what damaged player saying about trajectory of bullet). So there is no way to make really good server-sided shooting system without plugins like ColAndreas (but they are very slow for that kind of usage).
Sorry for my bad English.
|
False. This has absolutely nothing to do with objects. The bullets are still synced as usual, nothing is in this to bother that except invalid shots.
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by Jeroen52
I'm planning to add a new custom damage type to our gamemode that is damage over time via STIs/STDs.
I'd like to deal out the damage using DamagePlayer.
I have given a throw at adding it but I'm unsure if I did it correctly.
Is this the correct way?: https://puu.sh/kpsDW/715c7ba292.txt
|
That could work. How are you dealing with it in your script though?
Posts: 1,831
Threads: 69
Joined: Mar 2008
Reputation:
0
Well first off you could just use SetWeaponName to set the name of id 21. That way you wouldn't need to modify weapon-config. If you do wish to modify the include, you should make a generic solution.
For example, you could make weaponid 21 a custom damage type, then use bodypart to specify which one.
That way, all the custom weapon data could be in another array. That's good because it will not go through the range/rate/dmg checks anyway.
Posts: 76
Threads: 16
Joined: Mar 2012
Reputation:
0
PM:d my national secret code.
Posts: 1,831
Threads: 69
Joined: Mar 2008
Reputation:
0
Well.. could you show me the full log?
Posts: 1,831
Threads: 69
Joined: Mar 2008
Reputation:
0
Try removing some plugins (nativechecker, itd, geoip) to see if they are interfering with SKY.
Did you compile SKY yourself or download it?