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

[ANY] Thirdperson


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-10-2012 , 18:59   Re: [ANY] Thirdperson
Reply With Quote #11

Updated to v1.1.0. Changes:
  • Added sm_thirdperson_enabled cvar
  • Changed sm_thirdperson's reply when the client is dead
__________________
Dr. McKay is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-13-2012 , 21:14   Re: [ANY] Thirdperson
Reply With Quote #12

Can you change the RegConsoleCmd to a RegAdminCmd with the admin flag of 0? As in, RegAdminCmd(command, Callback, 0, description).

That way, server ops can use the admin_overrides file to control who can use the commands.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-13-2012 , 23:56   Re: [ANY] Thirdperson
Reply With Quote #13

Quote:
Originally Posted by FlaminSarge View Post
Can you change the RegConsoleCmd to a RegAdminCmd with the admin flag of 0? As in, RegAdminCmd(command, Callback, 0, description).

That way, server ops can use the admin_overrides file to control who can use the commands.
I'm pretty sure you can override it if it uses RegConsoleCmd also.
__________________
Dr. McKay is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-14-2012 , 01:04   Re: [ANY] Thirdperson
Reply With Quote #14

Nope. I had a long talk with psychonic about it.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-14-2012 , 10:38   Re: [ANY] Thirdperson
Reply With Quote #15

Quote:
Originally Posted by FlaminSarge View Post
Nope. I had a long talk with psychonic about it.
Really? I'd done that before. Whatever, I'll add it in.
__________________
Dr. McKay is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-14-2012 , 15:26   Re: [ANY] Thirdperson
Reply With Quote #16

Yeah, SourceMod can only block a command via admin permissions if it's in the trie of commands that it tracks. For speed, RegConsoleCmd commands aren't added to that trie. RegAdminCmd's are.

Thank you.

Alternatively, you could do CheckCommandAccess in each command callback, checking to see if the client has access to the override, but that's messier than RegAdminCmd.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 01-14-2012 at 15:27.
FlaminSarge is offline
PetRock
New Member
Join Date: Mar 2012
Old 03-03-2012 , 01:55   Re: [ANY] Thirdperson
Reply With Quote #17

FCVAR_SERVER_CAN_EXECUTE prevented server running command: thirdperson

any ideas?

Thanks
PetRock is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-03-2012 , 02:14   Re: [ANY] Thirdperson
Reply With Quote #18

Quote:
Originally Posted by PetRock View Post
FCVAR_SERVER_CAN_EXECUTE prevented server running command: thirdperson

any ideas?

Thanks
What mod?
__________________
Dr. McKay is offline
PetRock
New Member
Join Date: Mar 2012
Old 03-03-2012 , 03:01   Re: [ANY] Thirdperson
Reply With Quote #19

ok well a friend added this mod, thirdperson, to thier HL2DM server. the mod works,commands do display a message in chat when used. However they do not put you in third person, instead, it displays that error. how might I be able to get the command working if its being blocked by the server
PetRock is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-03-2012 , 10:48   Re: [ANY] Thirdperson
Reply With Quote #20

Quote:
Originally Posted by PetRock View Post
ok well a friend added this mod, thirdperson, to thier HL2DM server. the mod works,commands do display a message in chat when used. However they do not put you in third person, instead, it displays that error. how might I be able to get the command working if its being blocked by the server
It's apparently incompatible with HL2DM then. The server is sending sv_cheats 1 to the client fine, but the client isn't accepting the thirdperson command since it's not on the whitelist of commands that the server can send to the client. Not much I can do about it. :/
__________________
Dr. McKay 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 01:19.


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