SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 23/03/2015, 09:46 PM   #101
Tamer
High-roller
 
Tamer's Avatar
 
Join Date: Nov 2011
Location: Turkey
Posts: 1,096
Reputation: 172
Default Re: weapon-config.inc - Damage system with many features

Quote:
Originally Posted by Slice View Post
You can see all the functions available here: https://github.com/oscar-broman/samp...nfig#functions
Ah fu how did I miss that. I'll check the documentation further.
__________________
The three stages of truth:

- Ridicule.
- Violent opposition.
- Acceptance.


Quote:
The greatest hypnotist on the planet Earth is an oblong box in the corner of the room. It is constantly telling us what to believe is real. If you can persuade people that what they see with their eyes is what there is to see you've got them. you know because they'll laugh in your face of an explanation that portrays the biggest picture of what's happening... and they have.
Tamer is offline   Reply With Quote
Old 24/03/2015, 08:00 PM   #102
Tamer
High-roller
 
Tamer's Avatar
 
Join Date: Nov 2011
Location: Turkey
Posts: 1,096
Reputation: 172
Default Re: weapon-config.inc - Damage system with many features

Is there a way to disable the custom death anims?

I noticed after spectating or sometimes death, you die and respawn at the place you died, then die again and respawn at your usual spawn point. (And this also happens sometimes at usual deaths)

If you set a player's position up high at a position (Setting a player's Z point high above) and watching them fall, they don't lose damage.

Does that-sync related function actually fix desync issues? (SetDisableSyncBugs) We intentionally tried to desync my friend (not through knife bug) and he didn't get desynced even with getting 600+ ping. He usually got desynced when he did this.
__________________
The three stages of truth:

- Ridicule.
- Violent opposition.
- Acceptance.


Quote:
The greatest hypnotist on the planet Earth is an oblong box in the corner of the room. It is constantly telling us what to believe is real. If you can persuade people that what they see with their eyes is what there is to see you've got them. you know because they'll laugh in your face of an explanation that portrays the biggest picture of what's happening... and they have.
Tamer is offline   Reply With Quote
Old 28/03/2015, 01:00 PM   #103
Slice
High-roller
 
Join Date: Mar 2008
Posts: 1,831
Reputation: 1607
Default Re: weapon-config.inc - Damage system with many features

Quote:
Is there a way to disable the custom death anims?
No. Feel free to add that and submit a pull request if you want that.

Quote:
I noticed after spectating or sometimes death, you die and respawn at the place you died, then die again and respawn at your usual spawn point. (And this also happens sometimes at usual deaths)
Check GitHub for similar problems, create an issue if you don't find one.

Quote:
If you set a player's position up high at a position (Setting a player's Z point high above) and watching them fall, they don't lose damage.
Use the default fall damage system until the custom one is improved.

Quote:
Does that-sync related function actually fix desync issues? (SetDisableSyncBugs) We intentionally tried to desync my friend (not through knife bug) and he didn't get desynced even with getting 600+ ping. He usually got desynced when he did this.
It doesn't fix all sync bugs in some magic way. It's a way to toggle some features in SKY. The things it will disable is mostly slide bugs (not the normal slide bug) and infinite shooting. It's more useful for servers without lagcomp.
Slice is offline   Reply With Quote
Old 28/03/2015, 03:25 PM   #104
rickisme
Huge Clucker
 
rickisme's Avatar
 
Join Date: Mar 2013
Location: Vietnam
Posts: 225
Reputation: 27
Default Re: weapon-config.inc - Damage system with many features

i got this when type exit on server console :

pawn Code:
[22:23:21] [debug] Server crashed while executing new.amx
[22:23:21] [debug] AMX backtrace:
[22:23:21] [debug] #0 native fread () from samp-server.exe
[22:23:21] [debug] #1 000543d8 in public WC_OnGameModeExit () at E:\work\rgame40\gamemodes\new.pwn:398
[22:23:21] [debug] #2 0002b0f4 in ?? () at E:\work\rgame40\Pawno\include\weapon-config.inc:1790
[22:23:21] [debug] #3 0000e970 in public ScriptInit_OnGameModeExit () at E:\work\rgame40\Pawno\include\YSI\y_hooks/impl.inc:516
[22:23:21] [debug] #4 000070b4 in public OnGameModeExit () at E:\work\rgame40\Pawno\include\YSI\internal\..\y_scriptinit.inc:269
[22:23:21] [debug] Native backtrace:
[22:23:21] [debug] #0 77acea02 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[22:23:21] [debug] #1 004943b0 in ?? () from samp-server.exe
[22:23:21] [debug] #2 004949e0 in ?? () from samp-server.exe
[22:23:21] [debug] #3 00404f14 in ?? () from samp-server.exe
__________________

Sorry for my bad english.
  1. [FS] SoundCloud Music Player
  2. [VIDEO] Horse Betting System
rickisme is offline   Reply With Quote
Old 28/03/2015, 03:46 PM   #105
Slice
High-roller
 
Join Date: Mar 2008
Posts: 1,831
Reputation: 1607
Default Re: weapon-config.inc - Damage system with many features

The problem is in your gamemode:
Quote:
E:\work\rgame40\gamemodes\new.pwn:398
Slice is offline   Reply With Quote
Old 29/03/2015, 07:45 AM   #106
KubiPL
Big Clucker
 
KubiPL's Avatar
 
Join Date: Feb 2012
Posts: 157
Reputation: 18
Default Re: weapon-config.inc - Damage system with many features

Please make ability to set respawn time greather than 5 secounds.
__________________

Need script? Write to us! skryptowanie.pl
KubiPL is offline   Reply With Quote
Old 29/03/2015, 08:07 AM   #107
vermaritt
Little Clucker
 
Join Date: Feb 2015
Posts: 46
Reputation: 5
Default Re: weapon-config.inc - Damage system with many features

To KubiPL, There is already a function for this, "SetRespawnTime(ms)".
vermaritt is offline   Reply With Quote
Old 29/03/2015, 09:28 AM   #108
KubiPL
Big Clucker
 
KubiPL's Avatar
 
Join Date: Feb 2012
Posts: 157
Reputation: 18
Default Re: weapon-config.inc - Damage system with many features

As I did, I've changed respawn time in preparedeath callback, but player respawns immediately.
Also there is in code default respawn time which is 6s set in OnPlayerDeath hook.
Did anyone tried set the respawn time in OnPrepareDeath greater than 6s?

//Edit: My bad, I was setting the respawn time in seconds but its ms.
__________________

Need script? Write to us! skryptowanie.pl
KubiPL is offline   Reply With Quote
Old 29/03/2015, 09:38 AM   #109
Slice
High-roller
 
Join Date: Mar 2008
Posts: 1,831
Reputation: 1607
Default Re: weapon-config.inc - Damage system with many features

Also, if you return 0 in OnPlayerDeathFinished, the player will keep lying down on the ground.
Slice is offline   Reply With Quote
Old 29/03/2015, 10:10 AM   #110
KubiPL
Big Clucker
 
KubiPL's Avatar
 
Join Date: Feb 2012
Posts: 157
Reputation: 18
Default Re: weapon-config.inc - Damage system with many features

How about stopping player active death? When player is lying on the ground for the next 1 min and I want to get him up. Doing it without spawning player, but only with giving him back some health, and applying get up animation, like this.
__________________

Need script? Write to us! skryptowanie.pl
KubiPL is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with weapon damage system thanks JessThompson Scripting Help 7 15/07/2014 01:01 PM
[FilterScript] New Weapon Damage System [0.3z] RenSoprano Filterscripts 6 17/01/2014 06:03 AM
[FilterScript] Weapon damage system [v1.0] Darnell Filterscripts 74 21/10/2013 08:53 PM
[FilterScript] Weapon Damage System Donicans Filterscripts 14 06/11/2012 01:22 PM
[FilterScript] Realistic Weapon Damage And Death System [V1.0][New Cool FS] Nirzor Filterscripts 6 08/08/2012 05:34 AM


All times are GMT. The time now is 06:42 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.