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

CT-C4 (CT can pickup the bomb)


Post New Thread Reply   
 
Thread Tools Display Modes
blue zebra
BANNED
Join Date: Jun 2010
Old 02-01-2012 , 12:28   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #21

I try to use this: http://forums.alliedmods.net/showpos...3&postcount=16
blue zebra is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 02-01-2012 , 13:28   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #22

Quote:
Originally Posted by Jasonbourne View Post
if you using the most recent code posted by TnTSCS

and this is still happening

let me know ill have a look as well
Thanks jason - I changed it to the entity of the bomb onentitycreated - maybe this is causing the issue with how the author originally handled the interruption of the CT planting the bomb. - has nothing to do with bomb entity, but client entity

Trying to fix plugins mid week when still stressed from work is not a good idea for me apparently

...:: TnT Edit ::...

I changed line 39 from OnClientConnected(client) to public OnClientAuthorized(client) - I think that may be the issue. Maybe OnClientPutInServer is more appropriate?

BTW, in this version and the original, bots can pick up the bomb as CT, did you want that or no?

...:: TnT Edit ::...

GoD-Tony advised to use OnClientPutInServer, so that's what it is now - version 1.1a
Attached Files
File Type: smx ctc4.smx (4.5 KB, 118 views)
File Type: sp Get Plugin or Get Source (ctc4.sp - 467 views - 3.8 KB)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 02-01-2012 at 13:47.
TnTSCS is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 02-01-2012 , 18:21   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #23

Quote:
Originally Posted by TnTSCS View Post
BTW, in this version and the original, bots can pick up the bomb as CT, did you want that or no?
Is it a CVAR option?
and thank you for the update.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!



Last edited by nightrider; 02-01-2012 at 18:21.
nightrider is offline
Jasonbourne
Senior Member
Join Date: Nov 2011
Location: Sydney , AUS
Old 02-01-2012 , 18:23   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #24

i used to get these errors all the time

maybe add this
if (client != 0 && IsClientInGame(client) && !IsFakeClient(client) && IsClientConnected(client))
before line 39
Jasonbourne is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 02-01-2012 , 19:44   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #25

I can add a CVar... I'll add it when I get home
__________________
View my Plugins | Donate
TnTSCS is offline
blue zebra
BANNED
Join Date: Jun 2010
Old 02-02-2012 , 00:20   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #26

Update:
Since the original plugin are bugy. I try the rodipm version too, and some times the ct can pick up the bomb, some times not. So this bug is not your fault.
blue zebra is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 02-02-2012 , 12:03   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #27

did you try the latest?
TnTSCS is offline
blue zebra
BANNED
Join Date: Jun 2010
Old 02-02-2012 , 13:45   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #28

I was try all versions.
All buggy. Some times the ct's can pick up the bomb, some times not.
And all version do error messages in the logs.

Last edited by blue zebra; 02-02-2012 at 13:47.
blue zebra is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 02-02-2012 , 19:09   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #29

that's just strange... I ran my server with 10 bots all day and not one error... I just jumped on my test server and had 0 problems with being able to pick up the bomb as a CT
__________________
View my Plugins | Donate
TnTSCS is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 02-02-2012 , 21:51   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #30

TnTSCS do you think it's possible to set a time CVAR
that requires x amount of time before a CT pick the bomb up?
Kind of like the defuse timer, but a pickup timer?
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider 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 00:28.


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