Information > News & Updates

Update: 19 Apr

(1/14) > >>

Jonne:
Hi everyone,

The last few months we have been working on integrating a new damage system. This is something that we've tried a couple of times already, but we always ran into a lot of problems making it work with all of our scripts and systems, and put it aside. Now we've finally found the issue, and sorted it out to make it work.

The damage system we've implemented is called weapon-config (Click for more information). What it does is basically make the health server sided instead of client sided. That means the health and armour you'll see from now on, isn't your real health, but what the server thinks your health is. Basically, you will never actually die or lose health, it's just simulated by the server. If you're using visual mods, such as a custom health indicator, you might notice some 'weird' behaviour with it, but don't worry about that. The new health bar is the only thing that counts from now on.

This damage system introduces a lot of advantages and fixes. First of all, having server sided health, means that health or armour hacks are no longer possible (they won't have any effect). The same goes for any type of damage mods. Being sniper bugged is also not possible anymore. Paused players can now be damaged and killed as well. Any type of wrong shooting data will be rejected by the server automatically (such as out of range shots, shooting too fast, ...). Overall it should just handle damage a lot better than the normal SAMP system.

This did mean we had to change some things in order to make this work. The most notable change will be the pickups. They used to be client sided, but now that's not possible anymore. In order to make them work correctly, we can't 'hide' them anymore after you pick them up (pickups are global, they can't be hidden for just 1 player). Simulating the respawning as it used to (so respawning after moving away a certain distance), is also not possible, since that will require too many checks. So, the solution we have now is putting a timer on it. You can pick up health or armour again after 3 minutes (this is per pickup, so going to another pickup will work).

You'll also notice your hitsounds might have changed, you can update it with /hs (you can turn on taken and given hitsounds now, team hitsounds are no longer possible). For the taken hitsounds, be aware that it's a very subtle sound (it's not broken). We've also added an indicator for spawn protection, as the health will no longer be flashing.

We've been testing it extensively, but there still might be issues or weird things popping up. If you notice a bug or something else, don't hesitate to make a bug report. I know this might not seem like a big update (behind the screens it was), but we hope this will result in a much better fighting experience.

Changes (/updates):


* Added weapon-config: (https://forum.sa-mp.com/showthread.php?t=563387)
* Changed health & armour pickup behaviour (each pickup has a 3 minute cooldown now)
* Changed spawn protection behaviour (added indicator in the top right, health will no longer be flashing)
* Changed /hs (4 options now: 1. All off - 2. Given on - 3. Taken on - 4. All on)
* Added /togglefeed (toggles the damage feed on and off)
* Added messages on spawning weapons
* Fixed AC bug when spawning weapons

Carg:
What about vending machines and vehicle health?

Jonne:

--- Quote from: Carg on April 19, 2019, 11:21:19 am ---What about vending machines and vehicle health?

--- End quote ---

There shouldn't be any major differences with that.

Ege:

--- Quote from: Jonne on April 19, 2019, 12:09:08 pm ---
--- Quote from: Carg on April 19, 2019, 11:21:19 am ---What about vending machines and vehicle health?

--- End quote ---

There shouldn't be any major differences with that.

--- End quote ---

I know there is a bug with vending machines that looks like the health is refilled but actually isn't. But we tested it and it's fine, vehicle damage has also been fixed.

Srex_Zangetsu:
At first I didn't like the update,but my opinion slightly changed.If many hax and bugs will be disabled,that is a good thing.Although,I don't like losing so much hp for even small falls,and not being able to benefit from typing /para on spawn - now I lose hp even there.Can the parachute thing be fixed?
Also,as Carg mentioned,alright,maybe vending machines aren't necessary,but I thought you could at least raise Patriot's hp to 2000,seeing how it's an armored vehicle,after all.It could also spawn together with FBI Ranchers,to diversify the game.
And I cannot understand why the changes have to majorly make the game different to be done.I don't agree with that.But,let's see your arguments,then.
At the very least,thanks for trying something for the server.

Navigation

[0] Message Index

[#] Next page

Go to full version