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

[L4D-L4D2] New custom commands v1.0.9


Post New Thread Reply   
 
Thread Tools Display Modes
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 10-23-2019 , 08:42   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #471

Quote:
Originally Posted by Crasher_3637 View Post
Updated under Sourcemod 1.8.x.

Fixed the /cheat and /rcheat commands not working on L4D1.
Hi Crasher,

Any chance you could upload your script for your "l4d_custom_commands.smx" plugin as well?

My reason being: I need to tweak the code from the OP plugin, as the old teleport menu system teleports players to the admins location instead of the admins cursor position. Also I think the teleport menu should allow for more than one player to be teleported at once before menu exit on "0". The current teleport menu allows for only 1 player at a time to be selected, after which it switches back to its previous menu - which is not very practical imo - considering I like to teleport more than one player at a time on many occasions.

Last edited by Sunyata; 10-23-2019 at 08:49. Reason: edited
Sunyata is offline
znation
Junior Member
Join Date: Sep 2019
Old 11-19-2019 , 08:44   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #472

@Sunyata

Hi Sunyata,
You can also use some "outside of the box" commands, hehe! I say off the menu.
For example when I want to use the command to teleport one or more players, I write:
! teleport @humans (in chat) or sm_teleport @humans (in console). For me it works super well! : D
Just a tip.
znation is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 11-20-2019 , 07:33   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #473

Thanks for your reply znation,

But those chat commands you suggest won't work for me on my server. And Crasher_3637 never did reply to my last post since he last logged onto the forum back on 15 Nov, so I was forced to write my own script instead. And it serves me well, as it exports all the player and bots altogether at once. I cant take all the credit though, as some of my thanks goes to another coder's script that I managed to hack myself, and get the code to work the way I wanted it to.
Sunyata is offline
lippnc
Member
Join Date: Feb 2013
Old 01-04-2020 , 22:35   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #474

Here is L4D2 Custom Commands with shove removed so no CTerrorPlayer_OnStaggered error. Also L4D1 Survivor Rain which will crash server removed. Plus, Don't Rush command removed which also crashes server.

Last edited by lippnc; 02-12-2021 at 00:08.
lippnc is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-31-2020 , 09:51   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #475

Converted to a new syntax and methodmaps (l4d1 only).
Attached Files
File Type: sp Get Plugin or Get Source (l4d_custom_commands.sp - 504 views - 106.3 KB)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
wyxls
Junior Member
Join Date: Jul 2010
Location: China
Old 02-13-2020 , 12:45   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #476

Quote:
Originally Posted by lippnc View Post
Here is L4D2 Custom Commands with shove removed so no CTerrorPlayer_OnStaggered error. Also L4D1 Survivor Rain which will crash server removed. Plus, Don't Rush command removed which also crashes server.
I found a problem that the BleedPlayer menu function is still running as "Dont Rush Player".

The "MenuHandler_DontRush" just rename to "MenuHandler_BleedPlayer".
wyxls is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 03-15-2020 , 09:45   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #477

Converted to last syntax + updated signature
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_custom_commands.sp - 677 views - 159.2 KB)
File Type: txt l4d2customcmds.txt (4.8 KB, 346 views)

Last edited by foxhound27; 03-22-2020 at 11:46. Reason: Update signature
foxhound27 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-15-2020 , 10:14   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #478

Quote:
Originally Posted by foxhound27 View Post
Converted to last syntax + updated signature
You still have invalid sigs, e.g. "CTerrorPlayer_OnStaggered" theres no need to remove the feature, just update the sig. You can find the latest for many in left4dhooks gamedata.
__________________
Silvers is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 03-15-2020 , 10:34   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #479

Quote:
Originally Posted by Silvers View Post
You still have invalid sigs, e.g. "CTerrorPlayer_OnStaggered" theres no need to remove the feature, just update the sig. You can find the latest for many in left4dhooks gamedata.
Thank you Silvers. Updated!
foxhound27 is offline
gamer_kanelita
Senior Member
Join Date: Jun 2019
Location: Peru
Old 04-13-2020 , 03:09   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #480

Who could make a simple plugin to use it in my admin? , I want this in my admin as an example:


"Super HP"
{
"Set Player HP"
{
"cmd" "sm_hp #1 #2"
"execute" "player"
"1"
{
"type" "teamplayer"
"method" "name"
"title" "Player:"

}
"2"
{
"type" "list"
"title" "Super HP"
"1" "100"
"1." "Normal"
"2" "25000"
"2." "Tank"
"3" "65099"
"3." "God"

}

}
}
}


At least the code is like this, I've tried but it doesn't work for me, anyone?
gamer_kanelita 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 03:53.


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