Raised This Month: $51 Target: $400
 12% 

[TF2] Deathrun Redux 2019


Post New Thread Reply   
 
Thread Tools Display Modes
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 08-10-2019 , 18:45   Re: [TF2] Deathrun Redux 2019
Reply With Quote #11

Mr_panica, can you test plugin from post #7 (it has translation support (and russian phrases file), syntax update, and some code cleanup/improvement) and tell me if you have same error as at #8?
__________________
MAGNAT2645 is offline
Hoto Cocoa
Senior Member
Join Date: Jun 2018
Location: Somewhere
Old 08-10-2019 , 23:32   Re: [TF2] Deathrun Redux 2019
Reply With Quote #12

Quote:
Originally Posted by MAGNAT2645 View Post
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.
It appears when a player is still downloading maps but being chosen as a death. Although it should have a check but looks like something goes wrong.
Hoto Cocoa is offline
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 08-13-2019 , 15:29   Re: [TF2] Deathrun Redux 2019
Reply With Quote #13

Quote:
Originally Posted by MAGNAT2645 View Post
Mr_panica, can you test plugin from post #7 (it has translation support (and russian phrases file), syntax update, and some code cleanup/improvement) and tell me if you have same error as at #8?
Hello,
Thanks for the translation, did not notice your version.

There is still this error.

Code:
L 08/13/2019 - 22:15:43: [SM] Exception reported: Client index 125 is invalid
L 08/13/2019 - 22:15:43: [SM] Blaming: deathrun_redux.smx
L 08/13/2019 - 22:15:43: [SM] Call stack trace:
L 08/13/2019 - 22:15:43: [SM]   [0] GetClientHealth
L 08/13/2019 - 22:15:43: [SM]   [1] Line 1499, DeathRun Redux 2019::OnPlayerDeath
L 08/13/2019 - 22:15:49: [SM] Exception reported: Client index 125 is invalid
L 08/13/2019 - 22:15:49: [SM] Blaming: deathrun_redux.smx
L 08/13/2019 - 22:15:49: [SM] Call stack trace:
L 08/13/2019 - 22:15:49: [SM]   [0] GetClientHealth
L 08/13/2019 - 22:15:49: [SM]   [1] Line 1499, DeathRun Redux 2019::OnPlayerDeath
L 08/13/2019 - 22:15:49: [SM]   [3] ForcePlayerSuicide
L 08/13/2019 - 22:15:49: [SM]   [4] Line 37, /home/builds/sourcemod/linux-1.9/build/plugins/playercommands/slay.sp::PerformSlay
L 08/13/2019 - 22:15:49: [SM]   [5] Line 147, /home/builds/sourcemod/linux-1.9/build/plugins/playercommands/slay.sp::Command_Slay
__________________
Sorry for my English.
Mr_panica is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-13-2019 , 17:14   Re: [TF2] Deathrun Redux 2019
Reply With Quote #14

"Redux 2019" but is the unsupported syntax..
Not to mention all the pointless StringMaps (Tries) it creates and never uses..
Some of the StringMaps are literally used to map numbers to sound paths via converting the number to string and using it as the key! Using a map in the place of an ArrayList seems a bit questionable.
Also noticed you store a bunch of things globally only to use it those variables once when the map starts.
Should I even say anything about the "OnGameFrame()" foward?

Things that have to iterate over all the players every game frame should be made with optimization for speed as much as possible. (Most of what is done in the frame forward could be done else where or with TF2 Attributes.)

Last edited by Mitchell; 08-13-2019 at 17:17.
Mitchell is offline
FreakinScout
Junior Member
Join Date: Jul 2015
Old 01-17-2020 , 18:11   Re: [TF2] Deathrun Redux 2019
Reply With Quote #15

Haven't had the chance to really explore the plugin with a big group of people, most things seem good so far and I love the new queue, but custom sounds are broken. They worked fine with ClassicGuzzi's plugin, then stopped after swapping to this. No obvious errors, or at least nothing being printed in the logs.
FreakinScout is offline
JuegosPablo
Veteran Member
Join Date: Feb 2016
Location: Gravity is a Harness
Old 02-06-2020 , 00:25   Re: [TF2] Deathrun Redux 2019
Reply With Quote #16

Quote:
Originally Posted by FreakinScout View Post
Haven't had the chance to really explore the plugin with a big group of people, most things seem good so far and I love the new queue, but custom sounds are broken. They worked fine with ClassicGuzzi's plugin, then stopped after swapping to this. No obvious errors, or at least nothing being printed in the logs.
which custom sounds exactly you mean? (from maps or soemthing?)
__________________
My Youtube Channel
Steam Profile
My Discord: JuegosPablo#0568
JuegosPablo is offline
JuegosPablo
Veteran Member
Join Date: Feb 2016
Location: Gravity is a Harness
Old 02-06-2020 , 00:42   Re: [TF2] Deathrun Redux 2019
Reply With Quote #17

Quote:
L 02/06/2020 - 02:02:56: [SM] Exception reported: Invalid key value handle 54f50592 (error 3)
L 02/06/2020 - 02:02:56: [SM] Blaming: deathrun_redux.smx
L 02/06/2020 - 02:02:56: [SM] Call stack trace:
L 02/06/2020 - 02:02:56: [SM] [0] KvJumpToKey
L 02/06/2020 - 02:02:56: [SM] [1] Line 513, C:\Users\Sasha\Desktop\compilerSP\compilerSP\ deathrun_redux.sp::LoadConfigs
L 02/06/2020 - 02:02:56: [SM] [2] Line 210, C:\Users\Sasha\Desktop\compilerSP\compilerSP\ deathrun_redux.sp::OnMapStart
This show me my console when i start the gamemode

i did something wrong?
__________________
My Youtube Channel
Steam Profile
My Discord: JuegosPablo#0568
JuegosPablo is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 02-13-2020 , 14:27   Re: [TF2] Deathrun Redux 2019
Reply With Quote #18

Quote:
Originally Posted by JuegosPablo View Post
This show me my console when i start the gamemode

i did something wrong?
Try this out. I just removed that line that was giving the error, it doesn't seem like it's needed.
Attached Files
File Type: smx deathrun_redux.smx (31.8 KB, 128 views)
File Type: sp Get Plugin or Get Source (deathrun_redux.sp - 116 views - 62.6 KB)
bl4nk is offline
FreakinScout
Junior Member
Join Date: Jul 2015
Old 03-07-2020 , 22:21   Re: [TF2] Deathrun Redux 2019
Reply With Quote #19

Quote:
Originally Posted by JuegosPablo View Post
which custom sounds exactly you mean? (from maps or soemthing?)
Whoops, just saw the notification for this--

The gamemode comes with four sections for custom sounds: 'RoundStart', 'OnDeath', 'OnKill', and 'LastAlive'. They're in the config, and they worked in last Deathrun revamp, but they're broken in this one.
FreakinScout is offline
JuegosPablo
Veteran Member
Join Date: Feb 2016
Location: Gravity is a Harness
Old 03-17-2020 , 01:35   Re: [TF2] Deathrun Redux 2019
Reply With Quote #20

Quote:
Originally Posted by FreakinScout View Post
Whoops, just saw the notification for this--

The gamemode comes with four sections for custom sounds: 'RoundStart', 'OnDeath', 'OnKill', and 'LastAlive'. They're in the config, and they worked in last Deathrun revamp, but they're broken in this one.
possibly a bad precaching or something you checked your console/server console?

due sometmies sounds dont works on a user never check the console while the server check if plugin dont have problems with audios

hats all the help i can give for now i need check if works or not
__________________
My Youtube Channel
Steam Profile
My Discord: JuegosPablo#0568

Last edited by JuegosPablo; 03-17-2020 at 01:37.
JuegosPablo is offline
Reply



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

Forum Jump


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


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