Raised This Month: $ Target: $400
 0% 

[ANY] Server maintenance [1.4 06/08/2012]


Post New Thread Reply   
 
Thread Tools Display Modes
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-19-2012 , 22:01   Re: [ANY] Server maintenance [1.1 17/07/2012]
Reply With Quote #11

Hello,

solved :
Code posted to 00:10 works !

Last edited by eric0279; 07-19-2012 at 23:30. Reason: Code posted to 00:10 works !
eric0279 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-20-2012 , 00:53   Re: [ANY] Server maintenance [1.1 17/07/2012]
Reply With Quote #12

You need to do admin checks inside OnClientPostAdminCheck. OnClientAuthorized is too soon.

When you kick a client, the engine automatically appends a period to the kick reason. Don't put a period at the end of KickClient.

No real need to generate a config file, the plugin only has one cvar...

Kinda useless imho, if you have admins that can't be trusted to not give out the server password, you need some better admins.
__________________
Dr. McKay is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-20-2012 , 08:37   Re: [ANY] Server maintenance [1.1 17/07/2012]
Reply With Quote #13

Quote:
Originally Posted by shavit View Post
Forum bug, from the sourcemod.net compiler it does, but from the thread it isn't.
You set it to use the SourceMod 1.1 compiler. I've changed it to use the most recent (1.4) and now it's fine.
__________________
asherkin is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-20-2012 , 20:40   Re: [ANY] Server maintenance [1.1 17/07/2012]
Reply With Quote #14

Quote:
Originally Posted by asherkin View Post
You set it to use the SourceMod 1.1 compiler. I've changed it to use the most recent (1.4) and now it's fine.
Weird, I don't see anything that the 1.1 includes don't have for the plugin, blah anyway...
__________________
retired
shavit is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-23-2012 , 20:33   Re: [ANY] Server maintenance [1.2 20/07/2012]
Reply With Quote #15

Hello,

if I translate the file plugin.maintenance.cfg:
Code:
sm_maintenance_kick_reason "Salut %N, ce serveur est en maintenance et seul les administrateurs sont autorises a le rejoindre pour le moment"
it does not display the player's name, just %N, see the screenshot:
http://imagesia.com/snapshot0000_1cvg

Could you tell me how to fix this problem?

cordially
eric0279 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-24-2012 , 08:04   Re: [ANY] Server maintenance [1.2 20/07/2012]
Reply With Quote #16

Quote:
Originally Posted by eric0279 View Post
Hello,

if I translate the file plugin.maintenance.cfg:
Code:
sm_maintenance_kick_reason "Salut %N, ce serveur est en maintenance et seul les administrateurs sont autorises a le rejoindre pour le moment"
it does not display the player's name, just %N, see the screenshot:
http://imagesia.com/snapshot0000_1cvg

Could you tell me how to fix this problem?

cordially
Finally someone use this plugin.
I have no idea how it worked in my server.
But I will fix it, don't worry.
A new update will come tomorrow.
__________________
retired
shavit is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-24-2012 , 10:23   Re: [ANY] Server maintenance [1.2 20/07/2012]
Reply With Quote #17

The first version worked great, I can assure you! : P

Thank you!
eric0279 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-24-2012 , 17:24   Re: [ANY] Server maintenance [1.2 20/07/2012]
Reply With Quote #18

Quote:
Originally Posted by eric0279 View Post
The first version worked great, I can assure you! : P

Thank you!
1.3 - Fixed a bug that you see %N instead of player name in kick.

Done.
__________________
retired
shavit is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-24-2012 , 19:02   Re: [ANY] Server maintenance [1.2 20/07/2012]
Reply With Quote #19

Quote:
21 "Server Maintenance" (1.3) by TimeBomb
I have the same problem
eric0279 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-24-2012 , 22:58   Re: [ANY] Server maintenance [1.2 20/07/2012]
Reply With Quote #20

Quote:
Originally Posted by eric0279 View Post
I have the same problem
Hmm seems weird, works in my server, and works good, if it bugs to you don't use the player's name.
__________________
retired
shavit 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 20:10.


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