Author Topic: Update: 19 Apr  (Read 3301 times)

Offline Jonne

  • Head Admin
  • Hero Member
  • *****
  • Posts: 1742
  • Rank: Transformer
  • Score: 1580
Update: 19 Apr
« on: April 19, 2019, 10:37:51 am »
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
« Last Edit: April 19, 2019, 10:41:49 am by Jonne »

Online Carg

  • Admin
  • Hero Member
  • ****
  • Posts: 1155
  • Rank: Hustler
  • Score: 8457
  • Karbon- pornography
Re: Update: 19 Apr
« Reply #1 on: April 19, 2019, 11:21:19 am »
What about vending machines and vehicle health?
*Sick_Killer gets banned*
<10 minutes later>
*The date you were banned - i cant remember*

Offline Jonne

  • Head Admin
  • Hero Member
  • *****
  • Posts: 1742
  • Rank: Transformer
  • Score: 1580
Re: Update: 19 Apr
« Reply #2 on: April 19, 2019, 12:09:08 pm »
What about vending machines and vehicle health?

There shouldn't be any major differences with that.

Offline Ege

  • VIP
  • Hero Member
  • **
  • Posts: 827
  • Rank: Banger
  • Score: 29317
  • |m|
Re: Update: 19 Apr
« Reply #3 on: April 19, 2019, 12:24:05 pm »
What about vending machines and vehicle health?

There shouldn't be any major differences with that.

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.



Offline Srex_Zangetsu

  • Full Member
  • ***
  • Posts: 124
  • Rank: Hard-ass
  • Score: 27033
  • Yo
Re: Update: 19 Apr
« Reply #4 on: April 19, 2019, 12:30:10 pm »
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.
Let's roll

Offline Jonne

  • Head Admin
  • Hero Member
  • *****
  • Posts: 1742
  • Rank: Transformer
  • Score: 1580
Re: Update: 19 Apr
« Reply #5 on: April 19, 2019, 01:01:45 pm »
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?

Fall damage should still be the same as before the update (it just might display a bit differently on the health bar, as it's not as accurate). The parachute thing is a bug and will be fixed (it shouldn't matter that much though, as your health and armour gets reset when your spawn protection runs out).

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.

I don't really understand what you mean by that, I think my arguments were in the first post.

Offline Lions

  • Jr. Member
  • **
  • Posts: 66
  • Rank: Unknown
  • Score: Unknown
Re: Update: 19 Apr
« Reply #6 on: April 19, 2019, 03:45:15 pm »
Amazing update 👍🏼👍🏼👍🏼👍🏼

Offline Tuco

  • VIP
  • Newbie
  • **
  • Posts: 39
  • Rank: Unknown
  • Score: Unknown
Re: Update: 19 Apr
« Reply #7 on: April 19, 2019, 04:34:58 pm »
Great!

PS: Edit after playing 20 minutes.
Theres a huge bug with the new system: now there's friendly fire activated. The presi is being fried by other secs, who shoot his car, the friendly fire is not disabled.

Please fix it :D
« Last Edit: April 19, 2019, 04:51:38 pm by Tuco »

Offline cobby

  • VIP
  • Sr. Member
  • **
  • Posts: 352
  • Rank: Shooter
  • Score: 51725
  • THE PRO OF PRO'S-
Re: Update: 19 Apr
« Reply #8 on: April 19, 2019, 04:47:53 pm »
I dont like it. IDK why but somehow it takes my FPS and wtf is with nades when some dies from nades
instead of explosion icon on death list it shows a nade icon.
Also i wanna know sniper damaged reduced or increased? didnt check the whole update in-game though.  :-\
IDF MEANS I DONT FUCK OK?
I will get permanently banned from this server am trying to unbreak the rules...
Thx FuRy_Bhai for being my beloved friend. :)
[PB]cobby_D_Best killed Uzumaki.
[PB]cobby_D_Best killed Chetan.
[PB]cobby_D_Best[2]: ezz
Chetan[7]: wtf!
Uzumaki[4]: he haxer
xxThanos[1]: O: PB

Offline Alaster Namikaze

  • VIP
  • Sr. Member
  • **
  • Posts: 250
  • Rank: Shooter
  • Score: 73072
  • Neither Friend nor Enemy
Re: Update: 19 Apr
« Reply #9 on: April 19, 2019, 05:26:24 pm »
Remove the Skinshot by Saw please it making Game buggy

"The Eye Of The Wicked Lord"

Said By Rikka Takanashi

Offline Ahsoka_Tano

  • VIP
  • Full Member
  • **
  • Posts: 244
  • Rank: Unknown
  • Score: Unknown
  • News Reporter of Noviny SA
Re: Update: 19 Apr
« Reply #10 on: April 19, 2019, 11:41:38 pm »
Chainsaw = broken. The chainsaw duel wins the guy that has the best screen position
Sniper = getting shot throught walls/fences/poles even fukin cars while im behind a tire
Noviny San Andreas!
Wolfs hunt together, many spieces look like wolfs. Love wolfs <3

I kill humans to save wolfs.

Offline Uzumaki(うずまき)

  • VIP
  • Sr. Member
  • **
  • Posts: 255
  • Rank: Shooter
  • Score: 58694
  • I am gonna be the Hokage one day. Believe it!! :)
    • DsE Rocks!!
Re: Update: 19 Apr
« Reply #11 on: April 20, 2019, 06:47:36 am »
Not a big fan of this new update. Anyways GJ

Offline Magic

  • VIP
  • Hero Member
  • **
  • Posts: 541
  • Rank: Hoodsta
  • Score: 23603
  • Hi :)
Re: Update: 19 Apr
« Reply #12 on: April 20, 2019, 08:25:07 am »
Nice work   :)

Im in love with this update but there's problem when we use /rc too early and "Please wait... Spawning" error appears.
Also, Some players look like paused while they aren't.
Have a Magical Day!

Offline Dylan

  • VIP
  • Hero Member
  • **
  • Posts: 999
  • Rank: Jacker
  • Score: 49503
  • Gats Killer
Re: Update: 19 Apr
« Reply #13 on: April 20, 2019, 09:36:08 am »
This is the one of the most most best updates I ever wanted PTP to have. A perfectly synced skinhit server but chainsaw skinhit is kind of wierd but I hope that people like me will get used to it. Overall bang on update! :)
Dylan_ - The best "dogfighter" and "fist striker" of Plan B server

Offline Chetan

  • Mod
  • Hero Member
  • ***
  • Posts: 900
  • Rank: Road Dawg
  • Score: 21891
  • No time for bullshits
Re: Update: 19 Apr
« Reply #14 on: April 20, 2019, 09:37:56 am »
I really like the update. Fairer gameplay. No doubles :D
"The problem of most people is, they get confused between being beautiful and looking beautiful."