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

[H3LP] CD Open/Close


Post New Thread Reply   
 
Thread Tools Display Modes
DarthMan
Veteran Member
Join Date: Aug 2011
Old 11-22-2017 , 13:10   Re: [H3LP] CD Open/Close
Reply With Quote #11

Quote:
Originally Posted by shavit View Post
Those aren't even slowhacks as they don't change anything for the player's computer, but just in context for the gamemode. Even if they would, those examples are just harmless slowhacks.
Not allowing servers to change a player's weapon (see snippet below) would break gamemodes such as Trikz (CS:S) or even a "mini game-mode" inside the popular Jailbreak from CS:S, CS:GO and TF2:
Code:
switch(gLR_Current)
{
	case LR_Dodgeball:
	{
		if(StrEqual(sWeapon, "flashbang"))
		{
			DataPack dp = new DataPack();
			dp.WriteCell(GetClientSerial(client));
			dp.WriteString("weapon_flashbang");

			CreateTimer(0.25, Timer_AutoSwitch, dp);
		}
	}
}

public Action Timer_AutoSwitch(Handle Timer, any data)
{
	ResetPack(data);
	int serial = ReadPackCell(data);

	char[] sWeapon = new char[32];
	ReadPackString(data, sWeapon, 32);

	CloseHandle(data);

	int client = GetClientFromSerial(serial);

	if(client == 0)
	{
		return Plugin_Stop;
	}

	FakeClientCommand(client, "use weapon_knife"); // simulate the same effect of sending "invprev" twice
	GivePlayerItem(client, sWeapon);
	FakeClientCommand(client, "use %s", sWeapon);

	return Plugin_Stop;
}
I see, tbh, I also find this usefull. Especially on my AMXX bury plug-in when a player is burried all weapons are took off excluding knife for CS, crowbar for Hl etc umbrella for TFC as civilian etc or crowbar / wrench / knife / medikit depending on class etc. And after the player is unburried he gets all his weapons back. So, yea, this feature is usefull but here might be cases sometimes like if a serer uses this in terms of harmless slowhacking, like stripping weapons of certain users for no given reason at random time and so that other ppl can kill them, stuff like that you know.
DarthMan is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 11-24-2017 , 03:05   Re: [H3LP] CD Open/Close
Reply With Quote #12

Quote:
Originally Posted by shavit View Post
That would be straight up slowhacking. It's gone for good.
Good to know..
404UserNotFound 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 07:03.


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