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

[TF2] Respawn Room Music v1.0 (06 Nov 2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Hefal
Senior Member
Join Date: Jul 2015
Old 07-22-2015 , 12:40   Re: [TF2] Respawn Room Music v1.0 (06 Nov 2013)
Reply With Quote #21

Quote:
Originally Posted by King Cnut View Post
No surprise there. All of his plugins have glaring memory leaks that he refuses to fix.



Remove the sound\ entry in your config like mentioned before and it should work.
EDIT: Did a fresh reinstall AND ITS RUNNING god damn it life! Thanks tho guys!

I did as he said and removed the sound\ in respawn_music.cfg but the other plugin, SM File/Folder Downloader and Precacher has separate settings. It states that the sound\ should be present in downloads.ini

Thx for your reply tho!

Last edited by Hefal; 07-22-2015 at 21:07.
Hefal is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-13-2018 , 10:50   Re: [TF2] Respawn Room Music v1.0 (06 Nov 2013)
Reply With Quote #22

Can someone help to resolve the error below? The error does not appear on every map, but when it does it spams the error log every 15 seconds or so....

Code:
L 05/13/2018 - 01:19:37: [SM] Exception reported: Invalid timer handle 930f411d (error 1)
L 05/13/2018 - 01:19:37: [SM] Blaming: spawnroommusic.smx
L 05/13/2018 - 01:19:37: [SM] Call stack trace:
L 05/13/2018 - 01:19:37: [SM]   [0] KillTimer
L 05/13/2018 - 01:19:37: [SM]   [1] Line 285, /home/forums/content/files/7/0/1/4/3/127575.attach::StopTimer
L 05/13/2018 - 01:19:38: [SM]   [2] Line 149, /home/forums/content/files/7/0/1/4/3/127575.attach::OnRespawnRoomStartTouch
L 05/13/2018 - 01:19:38: [SM] Exception reported: Invalid timer handle 930f411d (error 1)
L 05/13/2018 - 01:19:38: [SM] Blaming: spawnroommusic.smx
L 05/13/2018 - 01:19:38: [SM] Call stack trace:
L 05/13/2018 - 01:19:38: [SM]   [0] KillTimer
L 05/13/2018 - 01:19:38: [SM]   [1] Line 285, /home/forums/content/files/7/0/1/4/3/127575.attach::StopTimer
L 05/13/2018 - 01:19:38: [SM]   [2] Line 158, /home/forums/content/files/7/0/1/4/3/127575.attach::OnRespawnRoomEndTouch
L 05/13/2018 - 01:19:38: [SM] Exception reported: Invalid timer handle 930f411d (error 1)
L 05/13/2018 - 01:19:38: [SM] Blaming: spawnroommusic.smx
L 05/13/2018 - 01:19:38: [SM] Call stack trace:
L 05/13/2018 - 01:19:38: [SM]   [0] KillTimer
L 05/13/2018 - 01:19:38: [SM]   [1] Line 285, /home/forums/content/files/7/0/1/4/3/127575.attach::StopTimer
L 05/13/2018 - 01:19:38: [SM]   [2] Line 158, /home/forums/content/files/7/0/1/4/3/127575.attach::OnRespawnRoomEndTouch
Here is the KillTimer part of the code that may be causing the issue:
PHP Code:
public OnRespawnRoomStartTouchiSpawnRoomiClient )
    if( 
iClient <= MaxClients )
    {
        
bInRespawn[iClient] = true;
        
StopTimerhSndRepeater[iClient] );
        if( 
iMethod == )
            
SpawnSound__iClient );
    }

public 
OnRespawnRoomEndTouchiSpawnRoomiClient )
    if( 
iClient <= MaxClients )
    {
        
bInRespawn[iClient] = false;
        
StopTimerhSndRepeater[iClient] );
        
DeleteSoundsiClient );
    }

stock StopTimer( &Handle:hTimer )
{
    if( 
hTimer != INVALID_HANDLE )
        
KillTimerhTimer );
    
hTimer INVALID_HANDLE;


Last edited by PC Gamer; 05-13-2018 at 11:05. Reason: Added content
PC Gamer is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 05-18-2018 , 07:22   Re: [TF2] Respawn Room Music v1.0 (06 Nov 2013)
Reply With Quote #23

try this one
Attached Files
File Type: sp Get Plugin or Get Source (spawnroommusic.sp - 342 views - 9.2 KB)
__________________
Leonardo is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-19-2018 , 00:37   Re: [TF2] Respawn Room Music v1.0 (06 Nov 2013)
Reply With Quote #24

I tried the updated version, thanks for that. The updated version does not error on every map, but when it does it will log an error every couple of seconds. Here's what appears on the log:

Code:
L 05/18/2018 - 22:46:35: SourceMod error session started
L 05/18/2018 - 22:46:35: Info (map "pl_pier_b20") (file "errors_20180518.log")
L 05/18/2018 - 22:46:35: [SM] Exception reported: Invalid timer handle e0ac39a1 (error 1)
L 05/18/2018 - 22:46:35: [SM] Blaming: spawnroommusic.smx
L 05/18/2018 - 22:46:35: [SM] Call stack trace:
L 05/18/2018 - 22:46:35: [SM]   [0] KillTimer
L 05/18/2018 - 22:46:35: [SM]   [1] Line 289, /home/forums/content/files/7/0/1/4/3/169788.attach::StopTimer
L 05/18/2018 - 22:46:35: [SM]   [2] Line 158, /home/forums/content/files/7/0/1/4/3/169788.attach::OnRespawnRoomEndTouch
L 05/18/2018 - 22:46:37: [SM] Exception reported: Invalid timer handle e0ac39a1 (error 1)
L 05/18/2018 - 22:46:37: [SM] Blaming: spawnroommusic.smx
L 05/18/2018 - 22:46:37: [SM] Call stack trace:
L 05/18/2018 - 22:46:37: [SM]   [0] KillTimer
L 05/18/2018 - 22:46:37: [SM]   [1] Line 289, /home/forums/content/files/7/0/1/4/3/169788.attach::StopTimer
L 05/18/2018 - 22:46:37: [SM]   [2] Line 173, /home/forums/content/files/7/0/1/4/3/169788.attach::SpawnSound
L 05/18/2018 - 22:46:37: [SM]   [3] Line 150, /home/forums/content/files/7/0/1/4/3/169788.attach::OnRespawnRoomStartTouch
L 05/18/2018 - 22:46:38: [SM] Exception reported: Invalid timer handle e0ac39a1 (error 1)
L 05/18/2018 - 22:46:38: [SM] Blaming: spawnroommusic.smx
L 05/18/2018 - 22:46:38: [SM] Call stack trace:
L 05/18/2018 - 22:46:38: [SM]   [0] KillTimer
L 05/18/2018 - 22:46:39: [SM]   [1] Line 289, /home/forums/content/files/7/0/1/4/3/169788.attach::StopTimer
L 05/18/2018 - 22:46:39: [SM]   [2] Line 158, /home/forums/content/files/7/0/1/4/3/169788.attach::OnRespawnRoomEndTouch
L 05/18/2018 - 22:47:19: [SM] Exception reported: Invalid timer handle e0ac39a1 (error 1)
L 05/18/2018 - 22:47:19: [SM] Blaming: spawnroommusic.smx
PC Gamer is offline
Rokasz
Junior Member
Join Date: Jun 2020
Old 06-10-2020 , 13:44   Re: [TF2] Respawn Room Music v1.0 (06 Nov 2013)
Reply With Quote #25

"music"
{
"cp_dustbowl_spawn"
{
"file" "tf/sound/Undertale OST - sans. Extended-360p.mp4"
"volume" "1.0"
"length" "00.0"
}
}


Does the above thing need to look like that?
Rokasz is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 06-11-2020 , 03:28   Re: [TF2] Respawn Room Music v1.0 (06 Nov 2013)
Reply With Quote #26

Quote:
Originally Posted by Rokasz View Post
"music"
{
"cp_dustbowl_spawn"
{
"file" "tf/sound/Undertale OST - sans. Extended-360p.mp4"
"volume" "1.0"
"length" "00.0"
}
}


Does the above thing need to look like that?
maybe use an mp3 instead of an mp4


i don't know if any source engine games actually even support playing an mp4...

Last edited by 404UserNotFound; 06-11-2020 at 03:29.
404UserNotFound 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 11:36.


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