AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Deathrun Redux 2019 (https://forums.alliedmods.net/showthread.php?t=316664)

Seacht 06-03-2019 17:35

[TF2] Deathrun Redux 2019
 
1 Attachment(s)
Deathrun Redux 2019

Description

Well, have you ever play deathrun before? Yea, that gamemode where some dude must kill runners with deadly traps.
Now with gunfires, fixed queue and even more!

Features
Spoiler

Configurations
Spoiler


Changelog
Spoiler


Installation instructions and requierments

deathrun_redux.smx goes on tf/addons/sourcemod/plugins/
deathrun.cfg goes on tf/addons/sourcemod/data/deathrun/

Also you still need the tf2items extension, the steamtools extension and the TF2attributes plugin, to use deathrun redux.

Commands

!drmenu - shows the plugin menu
!drbedeath - shows "Be the Death" menu
!drnext - shows who's going to be the next death in queue.
!drplace - shows your place in queue
!drqueue - shows queue player list

Special thanks

ClassicGuzzi for his deathrun plugin!
Fortress Labs community for pre-release testing.

Upgraded by Kapusta and Baltica_7

ClassicGuzzi 06-03-2019 22:04

Re: [TF2] Deathrun Redux 2019
 
This was one of my first projects when I started programming, so I'm glad to see that it's still alive.

I don't have a server right (I don't play TF2 anymore), but I'm sure it's better than mine right now.

The old queue system was awful lol

Keep the good work!

Batfoxkid 06-04-2019 00:32

Re: [TF2] Deathrun Redux 2019
 
One request I have in the future is having some natives for other plugins. Would be useful for subplugins or plugin compatibility.

MAGNAT2645 06-04-2019 10:51

Re: [TF2] Deathrun Redux 2019
 
1 Attachment(s)
Updated source so SteamTools is optional (Also added support for SteamWorks).

Attached archive because i've used MultiColors (included into archive as morecolors.inc) instead of MoreColors.

Dispenz0r 07-12-2019 12:52

Re: [TF2] Deathrun Redux 2019
 
Code:

L 07/12/2019 - 15:01:19: [SM] Exception reported: Client index -1 is invalid
L 07/12/2019 - 15:01:19: [SM] Blaming: deathrun_redux.smx
L 07/12/2019 - 15:01:19: [SM] Call stack trace:
L 07/12/2019 - 15:01:19: [SM]  [0] GetClientHealth
L 07/12/2019 - 15:01:19: [SM]  [1] Line 1620, C:\Users\Desktop\compilerSP\compilerSP\deathrun_redux.sp::OnPlayerDeath
L 07/12/2019 - 15:01:21: [SM] Exception reported: Client index -1 is invalid
L 07/12/2019 - 15:01:21: [SM] Blaming: deathrun_redux.smx
L 07/12/2019 - 15:01:21: [SM] Call stack trace:
L 07/12/2019 - 15:01:21: [SM]  [0] GetClientHealth
L 07/12/2019 - 15:01:21: [SM]  [1] Line 1620, C:\Users\Desktop\compilerSP\compilerSP\deathrun_redux.sp::OnPlayerDeath

Keep getting this pretty often

kerimengit 07-16-2019 05:13

Re: [TF2] Deathrun Redux 2019
 
Quote:

Originally Posted by Dispenz0r (Post 2658885)
Code:

L 07/12/2019 - 15:01:19: [SM] Exception reported: Client index -1 is invalid
L 07/12/2019 - 15:01:19: [SM] Blaming: deathrun_redux.smx
L 07/12/2019 - 15:01:19: [SM] Call stack trace:
L 07/12/2019 - 15:01:19: [SM]  [0] GetClientHealth
L 07/12/2019 - 15:01:19: [SM]  [1] Line 1620, C:\Users\Desktop\compilerSP\compilerSP\deathrun_redux.sp::OnPlayerDeath
L 07/12/2019 - 15:01:21: [SM] Exception reported: Client index -1 is invalid
L 07/12/2019 - 15:01:21: [SM] Blaming: deathrun_redux.smx
L 07/12/2019 - 15:01:21: [SM] Call stack trace:
L 07/12/2019 - 15:01:21: [SM]  [0] GetClientHealth
L 07/12/2019 - 15:01:21: [SM]  [1] Line 1620, C:\Users\Desktop\compilerSP\compilerSP\deathrun_redux.sp::OnPlayerDeath

Keep getting this pretty often


Dispenz0r is the problem of your server on my server, everything is fine without errors and spam

MAGNAT2645 07-20-2019 13:52

Re: [TF2] Deathrun Redux 2019
 
1 Attachment(s)
It's untested but i made some changes to code.
  • Added a few checks to fix "client index is invalid" errors.
  • Improved (again, UNTESTED) and updated code to SM 1.8-1.9 syntax.
  • Added translations support.


(Code compiled using modified tf2items.inc! Included into archive)

Hoto Cocoa 08-09-2019 00:52

Re: [TF2] Deathrun Redux 2019
 
Quote:

Originally Posted by MAGNAT2645 (Post 2659880)
It's untested but i made some changes to code.
  • Added a few checks to fix "client index is invalid" errors.
  • Improved (again, UNTESTED) and updated code to SM 1.8-1.9 syntax.
  • Added translations support.


(Code compiled using modified tf2items.inc! Included into archive)

Spoiler

It's not fixed...

MAGNAT2645 08-09-2019 04:17

Re: [TF2] Deathrun Redux 2019
 
This is another error, i'll check that out.

EDIT: Weird, i don't have this error. I don't know why this error appears because there's client index check.
Code:

        int iClient = GetClientOfUserId( data );
        if ( iClient && !IsPlayerAlive( iClient ) )

I can do something like this:
Code:

        int iClient = GetClientOfUserId( data );
        if ( iClient && IsClientInGame( iClient ) && !IsPlayerAlive( iClient ) )

but i don't think that this is necessary. In fact, if ( iClient ) replaces IsClientInGame.

Mr_panica 08-10-2019 16:18

Re: [TF2] Deathrun Redux 2019
 
2 Attachment(s)
Added a translation file and Russian translation.


All times are GMT -4. The time now is 15:04.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.