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

[ANY] Joinsound ( Admin | Stop)


Post New Thread Reply   
 
Thread Tools Display Modes
brlight
Senior Member
Join Date: Jun 2011
Old 12-13-2014 , 12:01   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #11

Hi, I´ve installed this plugin once, it was working ok, then I´ve changed the welcome sound and path, I went to plugin source and modified the path to my last modification, I´compiled plugin, uploaded to server but everytime I try to connect to server, game is trying to download the music from the very first path created when I installed the plugin. This is driving me nuts cause I don´t know where Server is getting that information from.
Any help is really well apprecciated.
Thank you.
brlight is offline
que
SourceMod Donor
Join Date: Jan 2014
Location: Poland
Old 02-22-2015 , 15:28   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #12

I've got the same problem as brlight, can anyone help us to fix it?
/edit

I find the way to the config, it's:
/csgo/cfg/sourcemod/plugin.joinsound.cfg

Author or someone else could add this to first post.
__________________


Last edited by que; 02-22-2015 at 16:27.
que is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-02-2015 , 23:26   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #13

Hey,

Please fix the following for approval :
  • Use user id / serial id for timer, instead of client id. Currently a race condition is possible (client A join, client A leave, client B join and has client A's callback executed). You may want to take a look at GetClientOfUserId and GetClientUserId
  • Mention in your first posts the autoexecconfig library that you're using (a link, for transparence)

On a side note, I was surprised that
Code:
RegConsoleCmd(sBuffer, Command_StopSound);
did not generate errors (SM handles multiple definition )

You could have also used a single buffer in OnConfigsExecuted (Format/FormatEx/strcopy all adds a \0, don't worry)

Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 03-03-2015 , 06:04   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #14

Quote:
Originally Posted by RedSword View Post
Use user id / serial id for timer, instead of client id. Currently a race condition is possible (client A join, client A leave, client B join and has client A's callback executed). You may want to take a look at GetClientOfUserId and GetClientUserId
Thanks, changed in 1.0.5.

Quote:
Originally Posted by RedSword View Post
Mention in your first posts the autoexecconfig library that you're using (a link, for transparence)
I've added it with MultiColors and EmitSoundAny.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
brlight
Senior Member
Join Date: Jun 2011
Old 03-03-2015 , 06:36   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #15

Hi,
I´m getting this error on log file
Quote:
L 03/03/2015 - 113:40: SourceMod error session started
L 03/03/2015 - 113:40: Info (map "surf_acp_fix") (file "errors_20150303.log")
L 03/03/2015 - 113:40: [SM] Native "GetConVarFloat" reported: Invalid convar handle 0 (error 4)
L 03/03/2015 - 113:40: [SM] Displaying call stack trace for plugin "joinsound.smx":
L 03/03/2015 - 113:40: [SM] [0] Line 149, C:\Users\Tobias\Desktop\Repos\Joinsound\addon s\sourcemod\scripting\joinsound.sp::OnClientP ostAdminCheck()
How can this be fix?

Thank you
brlight is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 03-03-2015 , 08:41   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #16

Fixed in 1.0.6
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-03-2015 , 14:24   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #17

Hey...

Did you modify Powerlord's include ? Because I can't seem to find StopSoundAny (L180). Also @ L156 "Native 'VFormat' reported [...] missing at least 1 parameters".

Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 03-03-2015 , 14:40   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #18

I use this version; https://forums.alliedmods.net/showpo...7&postcount=19 (works for sm1.6 and sm1.7 - https://travis-ci.org/Bara20/Joinsound/builds/52882654)
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 03-03-2015 , 16:15   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #19

Still same problem @ L156
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 03-03-2015 , 16:29   Re: [CSS/CSGO/?] Admin / Joinsound
Reply With Quote #20

Quote:
Originally Posted by RedSword View Post
Also @ L156 "Native 'VFormat' reported [...] missing at least 1 parameters".
Quote:
Originally Posted by RedSword View Post
Still same problem @ L156
Oh...
Thanks, is fixed with 1.0.7.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara 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 17:19.


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