Raised This Month: $32 Target: $400
 8% 

[ANY] Dev Cmds (1.50) [05-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 06-11-2014 , 11:52   Re: [ANY] Dev Cmds (1.2) [09-Aug-2013]
Reply With Quote #11

Um, the description of the sm_refresh is misleading.
It reads:
Quote:
sm_refresh // Refresh plugins (same as "sm plugins list").
when it should be:
Quote:
sm_refresh // Refresh plugins (same as "sm plugins refresh").
WildCard65 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-28-2015 , 09:44   Re: [ANY] Dev Cmds (1.2) [09-Aug-2013]
Reply With Quote #12

@WildCard65: Thanks, fixed.

Quote:
Originally Posted by starstrucktiger View Post
How exactly do you use the createent command? I create an entity, and it says success. But it doesn't really let me set a model or anything.
This command is there simply to test if it's possible to create certain entities (not all of those listed are able to be created). It won't let you set the model etc and I think the command deletes the entity after success.
__________________
Silvers is offline
Scout001
New Member
Join Date: Feb 2018
Old 05-23-2019 , 00:56   Re: [ANY] Dev Cmds (1.3) [05-May-2018]
Reply With Quote #13

Been using this plugin in L4D2, really enjoying it. Saves a lot of time with certain stuff, especially fcmding my friends to get them to do commands they're not sure with.

I use it in synergy though and attempt to use the e (cheat command) and give myself weapons or anything like that, but it doesn't work. Is there another plugin that can help with that kind of stuff, or am I doing something wrong?

The command in question was (written in console) "e give weapon_crowbar"
Scout001 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-31-2019 , 21:44   Re: [ANY] Dev Cmds (1.3) [05-May-2018]
Reply With Quote #14

Quote:
Originally Posted by Scout001 View Post
The command in question was (written in console) "e give weapon_crowbar"
Try without the "weapon_" part, otherwise I'm not sure why. I forgot I made a plugin years ago for Synergy to spawn lots of different things. It was never finished 100% and will have bugs but I'll release soon.


New update:
Quote:
1.4 (01-Jun-2019)
- Added "sm_anim" to show your players animation sequence number (for 6 * 0.5 seconds).
- Changed "sm_tel" to also accept angles when teleporting.
- Changed "sm_ente" to work from the server console.
__________________
Silvers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 09-17-2019 , 13:45   Re: [ANY] Dev Cmds (1.4.1) [28-Jun-2019]
Reply With Quote #15

Something wrong:

Code:
] sm_find logic_relay
-2044064254 [coop_tank] - 6986.359863 604.945983 221.341003
-2014712317 [versus_tank] - 6976.000000 592.000000 221.341003
-2103562700 [panic_event_relay] - 7048.000000 608.000000 210.886001
-2130162117 [relay_intro_start] - 12957.000000 2065.820068 -12.887900-2128052676 [relay_intro_setup] - 12961.099609 2081.270019 -12.887900

-2019586499 [relay_intro_survivor_cameras] - 12965.200195 2096.939941 -12.887900
-2122105282 [relay_intro_finished] - 12969.400390 2112.179931 -12.887900
-2079596986 [versus_intro_start] - 12940.000000 2066.000000 -12.887900
-2066006445 [door_spawn_witch] - 7785.600097 71.000000 0.300000

] sm_findname door_spawn_witch

3667 [logic_relay] door_spawn_witch
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-17-2019 , 14:06   Re: [ANY] Dev Cmds (1.4.1) [28-Jun-2019]
Reply With Quote #16

Quote:
Originally Posted by Marttt View Post
I included the output information below in the "!sm_ent" and "!sm_ente" commands.

Also, I added the ADMFLAG_ROOT to the !sm_lobby command.
Thanks I'll add this in the future.

As for sm_lobby, this command is public because everyone can call votes from the games escape menu, if you want to block calling lobby use a vote manager plugin and the command from this plugin will also follow that setting.



Quote:
Originally Posted by Dragokas View Post
Something wrong:

Code:
] sm_find logic_relay
-2044064254 [coop_tank] - 6986.359863 604.945983 221.341003
-2014712317 [versus_tank] - 6976.000000 592.000000 221.341003
-2103562700 [panic_event_relay] - 7048.000000 608.000000 210.886001
-2130162117 [relay_intro_start] - 12957.000000 2065.820068 -12.887900-2128052676 [relay_intro_setup] - 12961.099609 2081.270019 -12.887900

] sm_findname door_spawn_witch

3667 [logic_relay] door_spawn_witch
Nothing wrong. Logic entities and other non-networked entities have an index 2048+ or negative index (reference index).
__________________

Last edited by Silvers; 09-17-2019 at 14:08.
Silvers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 09-17-2019 , 14:26   Re: [ANY] Dev Cmds (1.4.1) [28-Jun-2019]
Reply With Quote #17

Thank you. Understood.

You may find something useful from math helper:

PHP Code:
    RegAdminCmd("sm_dist"CmdDistanceADMFLAG_ROOT"Enter twice to measure distance between the origins you stand on");
    
RegAdminCmd("sm_distdir"CmdDistanceDirADMFLAG_ROOT"Get distance between you and end point of direction you are looking at (considering collision)");
    
RegAdminCmd("sm_distfloor"CmdDistanceFloorADMFLAG_ROOT"Get distance between you and floor below you (considering collision)");
    
RegAdminCmd("sm_distroof"CmdDistanceRoofADMFLAG_ROOT"Get distance between you and roof above your head (considering collision)");
    
RegAdminCmd("sm_size"CmdSizeMeADMFLAG_ROOT"Get sizes (Width, Length, Heigth) of your player");
    
RegAdminCmd("sm_sizee"CmdSizeTargetADMFLAG_ROOT"Get sizes (Width, Length, Heigth) of the entity you are looking at"); 
Attached Files
File Type: zip l4d_vectors.zip (2.7 KB, 87 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 09-17-2019 , 14:44   Re: [ANY] Dev Cmds (1.4.1) [28-Jun-2019]
Reply With Quote #18

Great plugin, used it for many years.

A must have for any plugin developer
__________________
Pelipoika is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-17-2019 , 19:49   Re: [ANY] Dev Cmds (1.4.1) [28-Jun-2019]
Reply With Quote #19

Quote:
Originally Posted by Marttt View Post
Yeah I know but the plugin can be very exploitable if it's enabled to everyone by default.
A lot of dedicated servers can broke, but is just my opinion.
Your inference is invalid. The command simply executes "callvote ReturnToLobby" which anyone can type into their console. As I said, a votemanger if you use one could block it. The command !lobby is not exploitable in anyway and simply a wrapper to an already public command. Now do you understand?
__________________
Silvers is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-17-2019 , 21:23   Re: [ANY] Dev Cmds (1.4.1) [28-Jun-2019]
Reply With Quote #20

Oh sorry, NOW I understand, I was mistaken, thank you Silvers.
__________________
Marttt is offline
Reply


Thread Tools
Display Modes

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:25.


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