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

CT-C4 (CT can pickup the bomb)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
rodipm
Member
Join Date: Feb 2011
Location: Brazil
Plugin ID:
2636
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugins allows CTs to pickup bombs and (if you want to) plant it.
    Unapprover:
    Reason for Unapproving:
    Unfixed reported errors
    Old 11-05-2011 , 02:44   CT-C4 (CT can pickup the bomb)
    Reply With Quote #1

    Description:
    This is a remake of a eventscripts plugin (original here: http://addons.eventscripts.com/addons/view/CTRun) that allows CTs to pickup bombs and plant it (if the convar ctc4_canplant is 1);

    Convar:
    ctc4_canplant - Defines if the CT can plant the C4 - Default: 0 -> 1- Can plant / 0- Can't plant.

    Instalation:

    -This plugin requires SDKHooks, http://forums.alliedmods.net/showthread.php?t=106748

    - Paste ctc4.smx in your sourcemod/plugins folder

    - Restart your server or "sm plugins load ctc4" in the console without quotes.

    Changelog:
    Quote:
    - Fixed bug that you can pickup more than one c4 and crasehs de server
    ~~~~~~~~ REQUIRES SDKHooks ~~~~~~~~
    Attached Files
    File Type: sp Get Plugin or Get Source (ctc4.sp - 835 views - 3.6 KB)
    File Type: smx ctc4.smx (4.5 KB, 671 views)

    Last edited by rodipm; 11-06-2011 at 14:29.
    rodipm is offline
    JoBarfCreepy
    Member
    Join Date: Feb 2011
    Location: Next to Sweden and Norwa
    Old 11-05-2011 , 20:26   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #2

    Won't planting it as a CT cause the Terrorists to win? If so, a jerky teammate can steal the bomb, plant it somewhere, commit suicide and then wait for the team to defuse the burden he left behind? sm_troll @all, approved.
    You should even make a convar to prevent defusing it when planted by a CT, just for even more fun.

    Good luck with the plugin, it's about time someone made it.
    JoBarfCreepy is offline
    rodipm
    Member
    Join Date: Feb 2011
    Location: Brazil
    Old 11-06-2011 , 14:28   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #3

    rsrsrsrsr, thats a good idea! i'll make it, thanks!
    rodipm is offline
    viRR
    Member
    Join Date: Mar 2011
    Location: Slovakia
    Old 01-08-2012 , 07:22   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #4

    Could somebody fix this plugin ?? ;)
    viRR is offline
    Send a message via Skype™ to viRR
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 01-08-2012 , 11:24   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #5

    what's wrong with it? I've never used it so I don't know.
    TnTSCS is offline
    viRR
    Member
    Join Date: Mar 2011
    Location: Slovakia
    Old 01-08-2012 , 17:33   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #6

    CTs can't pick up bomb ;(
    viRR is offline
    Send a message via Skype™ to viRR
    blue zebra
    BANNED
    Join Date: Jun 2010
    Old 01-11-2012 , 01:50   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #7


    ~~~~~~~~ REQUIRES SDKHooks ~~~~~~~~
    !!!!!!!!

    Works for me. CSS, linux based server. Latest metamod and SM snapshots. But my log files full with these error messages:
    Code:
    L 01/11/2012 - 07:58:25: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 07:58:25: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 07:58:55: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 07:58:55: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 07:58:55: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 07:59:35: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 07:59:35: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 07:59:35: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:00:16: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:00:16: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:00:16: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:00:45: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:00:45: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:00:45: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:01:29: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:01:29: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:01:29: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:02:07: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:02:07: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:02:07: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:03:07: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:03:07: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:03:07: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:03:47: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:03:47: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:03:47: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:04:29: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:04:29: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:04:29: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    L 01/11/2012 - 08:05:09: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 01/11/2012 - 08:05:09: [SM] Displaying call stack trace for plugin "ctc4.smx":
    L 01/11/2012 - 08:05:09: [SM]   [0]  Line 123, ctc4.sp::RoundEnd()
    etc. etc. etc.
    So i think this plugin works, but a little bit buggy. Anyone can fix these error messages?

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

    Easy fix. I'll fix it if the author doesn't
    TnTSCS is offline
    blue zebra
    BANNED
    Join Date: Jun 2010
    Old 01-26-2012 , 03:32   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #9

    Then please fix it. If you can and if you want. Thanks in advance.
    blue zebra is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 01-26-2012 , 09:52   Re: CT-C4 (CT can pickup the bomb)
    Reply With Quote #10

    Here you go - hopefully the author will update and fix the OP.

    Basically, I commented out a loop in the on plugin start and removed some, what I think are unneeded, IsClientConnected(client) && IsClientInGame(client) checks in the bomb events.

    Lemme know if you have issues and if this solves your log spamming - it's untested.
    Attached Files
    File Type: sp Get Plugin or Get Source (ctc4.sp - 1146 views - 3.5 KB)
    File Type: smx ctc4.smx (4.4 KB, 309 views)
    __________________
    View my Plugins | Donate
    TnTSCS 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 08:48.


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