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

[CS:S+GO] Afk Bomb


Post New Thread Reply   
 
Thread Tools Display Modes
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 11-08-2011 , 15:40   Re: [CS:S] Afk Bomb (Updated 08-09-2011 v1.4.1)
Reply With Quote #71

What proof do you have of that?
__________________
Happy Happy Joy Joy

sinblaster is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-08-2011 , 22:30   Re: [CS:S] Afk Bomb (Updated 08-09-2011 v1.4.1)
Reply With Quote #72

new gamedata update for the CSWeaponDrop signature... changed highlighted in red below and txt file attached!

Code:
"Games"
{
	"cstrike"
	{
		"Signatures"
		{
			"CSWeaponDrop"
			{
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\x89\x8D\x2A\x2A\x2A\x2A\xC6\x2A\x2A\x00\x8B\x8D\x2A\x2A\x2A\x2A\xE8"
				"linux"		"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
				"mac"		"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
			}
		}
	}
}
Attached Files
File Type: txt wpndrop-cstrike.games.txt (370 Bytes, 145 views)

Last edited by TnTSCS; 11-08-2011 at 22:34.
TnTSCS is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 11-08-2011 , 23:30   Re: [CS:S] Afk Bomb (Updated 08-09-2011 v1.4.1)
Reply With Quote #73

Quote:
Originally Posted by droland View Post
The latest 2011.11.07 update is freezing with this plugin
Thanks for reporting ! Fixed.

Quote:
Originally Posted by TnTSCS View Post
new gamedata update for the CSWeaponDrop signature... changed highlighted in red below and txt file attached!

Code:
"Games"
{
	"cstrike"
	{
		"Signatures"
		{
			"CSWeaponDrop"
			{
				"library"	"server"
				"windows"	"\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\x89\x8D\x2A\x2A\x2A\x2A\xC6\x2A\x2A\x00\x8B\x8D\x2A\x2A\x2A\x2A\xE8"
				"linux"		"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
				"mac"		"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
			}
		}
	}
}
Thanks a lot !
  • Updated wpndrop-cstrike.games.txt, since yesterday's update changed some functions' signatures. Big thanks to TnTSCS for bringing me the gamedata (didn't even have to request ). (08-11-2011)

Everyone should update gamedata file. Thanks to TnTSCS.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 11-08-2011 at 23:34.
RedSword is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 11-10-2011 , 19:16   Re: [CS:S] Afk Bomb (Fixed 08-11-2011 update; still 1.4.1)
Reply With Quote #74

I don't know, if it has any meaning, but I've noticed, that source is a little messed up:

[img]http://img703.**************/img703/735/afkbomb.png[/img]
GrO is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 11-10-2011 , 21:12   Re: [CS:S] Afk Bomb (Fixed 08-11-2011 update; still 1.4.1)
Reply With Quote #75

Quote:
Originally Posted by GrO View Post
I don't know, if it has any meaning, but I've noticed, that source is a little messed up:

[img]http://img703.**************/img703/735/afkbomb.png[/img]
I'm trying to see what is messed up but I don't seem to be able to.

Could you point it out ?
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 11-10-2011 , 21:41   Re: [CS:S] Afk Bomb (Fixed 08-11-2011 update; still 1.4.1)
Reply With Quote #76

I mean those extra TABs and NewLines in ConVars' section. As I said, I don't know, if it's important, but I thought it should look like this:

Code:
    g_afkBomb = CreateConVar( "afkbomb", "2", "How long will it takes before the afk drop the bomb, in seconds. 0 = disabled, 1+ = enabled. Def. 2.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0 );
    g_afkBomb_addFreeze = CreateConVar( "afkbomb_freezetime", "0", "If mp_freezetime value is added to the time before bomb drop. 0 = no, 1 = yes. Def. 0.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_action = CreateConVar( "afkbomb_action", "1", "What to do when someone is considered afk. 1=Drop. 0=Give to random player (not recommended since it could be exploited). Def. 1.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_displayMsg = CreateConVar( "afkbomb_msg", "1", "Notify team when bomb is dropped (afkbomb_action=1) / Notify everyone when bomb is given to a random terrorist (afkbomb_action=0 ). 0 = no, 1 = yes. Def. 1.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_lateCheckNumber = CreateConVar( "afkbomb_latecheck", "2", "Number of latechecks to do before dropping the bomb. 0 = disabled. Def. 2.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0 );
    g_afkBomb_lateCheckDelay = CreateConVar( "afkbomb_latecheckdelay", "5.0", "Time between 2 latechecks to drop the bomb, in seconds. Min. 1. Def. 5.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 1.0 );

Last edited by GrO; 11-10-2011 at 21:41.
GrO is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 11-10-2011 , 21:52   Re: [CS:S] Afk Bomb (Fixed 08-11-2011 update; still 1.4.1)
Reply With Quote #77

Quote:
Originally Posted by GrO View Post
I mean those extra TABs and NewLines in ConVars' section. As I said, I don't know, if it's important, but I thought it should look like this:

Code:
    g_afkBomb = CreateConVar( "afkbomb", "2", "How long will it takes before the afk drop the bomb, in seconds. 0 = disabled, 1+ = enabled. Def. 2.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0 );
    g_afkBomb_addFreeze = CreateConVar( "afkbomb_freezetime", "0", "If mp_freezetime value is added to the time before bomb drop. 0 = no, 1 = yes. Def. 0.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_action = CreateConVar( "afkbomb_action", "1", "What to do when someone is considered afk. 1=Drop. 0=Give to random player (not recommended since it could be exploited). Def. 1.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_displayMsg = CreateConVar( "afkbomb_msg", "1", "Notify team when bomb is dropped (afkbomb_action=1) / Notify everyone when bomb is given to a random terrorist (afkbomb_action=0 ). 0 = no, 1 = yes. Def. 1.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0, true, 1.0 );
    g_afkBomb_lateCheckNumber = CreateConVar( "afkbomb_latecheck", "2", "Number of latechecks to do before dropping the bomb. 0 = disabled. Def. 2.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 0.0 );
    g_afkBomb_lateCheckDelay = CreateConVar( "afkbomb_latecheckdelay", "5.0", "Time between 2 latechecks to drop the bomb, in seconds. Min. 1. Def. 5.", FCVAR_PLUGIN | FCVAR_NOTIFY, true, 1.0 );
ugh... format it if you like; that doesn't change anything...
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-23-2012 , 23:32   Re: [CS:S] Afk Bomb (23-02-2012 minor update; 1.4.2 = removed gamedata file)
Reply With Quote #78

Minor update since I got time :
  • 1.4.2 Removed dependency for wpndrop-cstrike.games.txt gamedata file. This is possible due to SM 1.4.0 built-in CSWeaponDrop gamedata under CS_DropWeapon function. This lighten the .sp and .smx a tiny bit. (23-02-2012)

This doesn't affect in any way the previous version. It is more SM-1.4.0-compliant (due to built-in drop function). If you're passing from 1.4.1, you might save 1 or 2 ko on your hard drive .
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 02-23-2012 at 23:34.
RedSword is offline
nikedu45
Senior Member
Join Date: May 2011
Old 02-24-2012 , 10:24   Re: [CS:S] Afk Bomb (23-02-2012 minor update; 1.4.2 = removed gamedata file)
Reply With Quote #79

Quote:
Plugin failed to compile! Please try contacting the author.
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-24-2012 , 16:17   Re: [CS:S] Afk Bomb (23-02-2012 minor update; 1.4.2 = removed gamedata file)
Reply With Quote #80

Thanks for reporting.

Solved.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 02-24-2012 at 16:17.
RedSword 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 17:47.


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