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

[ANY] Admin-Tools [work in progress][updated to work with any game]


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 12-16-2013 , 13:28   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #21

Quote:
Originally Posted by MafiaBoss View Post
I tried compiling ... cannot read from file: "smlib"
Do you have the SMLib include files?
__________________
View my Plugins | Donate
TnTSCS is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 12-16-2013 , 17:24   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #22

Quote:
Originally Posted by MafiaBoss View Post
Hi, I tried compiling a root only version, I merely edited all the admflag_whatever to root but couldn't compile, it says 'fatal error 120: cannot read from file: "smlib" '

What do I do?
Don't do unnecessary things... use the override system its way easier than what you try to do!
https://wiki.alliedmods.net/Overridi..._Configuration
  1. Open configs/admin_overrides.cfg
  2. Use "sm cmds admin-tools" in the server console to find desired commands to override.
  3. Type: "sm_whatevercommand" "z"
  4. Repeat step 3 for any other command...
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 12-16-2013 , 17:26   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #23

Quote:
Originally Posted by Zero Alpha 2 View Post
Can someone help me with my issue of inputs not being correctly sent to npc's? For example I spawn npc_alyx (not using additionalequipment for purpose of demostration), I look at her and put the command "sm_input giveweapon weapon_shotgun", and the console says it's sending that input but nothing happens. I am trying to use this to replace ent_fire so other admins can use it, and no one can figure out how to properly send an input to the npc. Any help would be greatly appreciated!
Use the following instead:
sm_addoutput admin Adds an output to an entity. Like ent_fire <someentity> addoutput 'wait 1'
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline
MafiaBoss
AlliedModders Donor
Join Date: Aug 2013
Old 12-16-2013 , 20:51   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #24

Quote:
Originally Posted by Spyper View Post
I mean (sm_hp gives overheal)can sm_hp give "health" not overheal for tf2
Ha, okay, my bad.
MafiaBoss is offline
MafiaBoss
AlliedModders Donor
Join Date: Aug 2013
Old 12-16-2013 , 21:23   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #25

Quote:
Originally Posted by Chanz View Post
Don't do unnecessary things... use the override system its way easier than what you try to do!
https://wiki.alliedmods.net/Overridi..._Configuration
  1. Open configs/admin_overrides.cfg
  2. Use "sm cmds admin-tools" in the server console to find desired commands to override.
  3. Type: "sm_whatevercommand" "z"
  4. Repeat step 3 for any other command...
Ah, well, I can't tell as some plugins that I've used before weren't able to override the cmds even when I placed them in admin_overrides.cfg , thanks.

EDIT: Yea, I was right, I think as it's already stated in the code, I'm unable to overwrite the cmds

Last edited by MafiaBoss; 12-16-2013 at 21:38.
MafiaBoss is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-22-2013 , 20:10   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #26

Quote:
Originally Posted by MafiaBoss View Post
Ah, well, I can't tell as some plugins that I've used before weren't able to override the cmds even when I placed them in admin_overrides.cfg , thanks.
You used to only be able to override admin commands, this was changed in SourceMod ages ago.
__________________
asherkin is offline
MafiaBoss
AlliedModders Donor
Join Date: Aug 2013
Old 12-23-2013 , 04:16   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #27

Quote:
Originally Posted by asherkin View Post
You used to only be able to override admin commands, this was changed in SourceMod ages ago.
Well, I didn't really understand that, but, if you're saying all admin cmds can be override now with admin_overrides, then its a no for me
MafiaBoss is offline
suprtommyman
Junior Member
Join Date: Dec 2012
Old 01-04-2014 , 00:16   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #28

Could you fix sm_respawn for Synergy?
It doesnt detect players and leaves No matching clients found.
suprtommyman is offline
wtfaatp
Senior Member
Join Date: Jul 2010
Old 01-20-2014 , 08:07   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #29

Would be great to see a a cmd like sm_time that instead works with rounds...

So sm_round 1 "sm_disarm @all;sm_give @all knife" would make it so that next round everyone would only have a knife..
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows

Last edited by wtfaatp; 01-20-2014 at 08:08.
wtfaatp is offline
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 01-20-2014 , 12:40   Re: [ANY] Admin-Tools [work in progress][updated to work with any game]
Reply With Quote #30

Quote:
Originally Posted by suprtommyman View Post
Could you fix sm_respawn for Synergy?
It doesnt detect players and leaves No matching clients found.
I'll look into it for the next version.

Quote:
Originally Posted by wtfaatp View Post
Would be great to see a a cmd like sm_time that instead works with rounds...

So sm_round 1 "sm_disarm @all;sm_give @all knife" would make it so that next round everyone would only have a knife..
There is already a command to do that, try the following:
sm_event round_start/1 "sm_disarm @all; sm_give @all knife"

You can replace the 1 with a 3 as example, that means that the next three rounds are knife rounds.

EDIT: Replaced the : with a /
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]

Last edited by Chanz; 01-20-2014 at 12:54.
Chanz 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 21:54.


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