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

[L4D2] Player Joining


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dirka_dirka
Veteran Member
Join Date: Nov 2009
Plugin ID:
1795
Plugin Version:
1.0.1
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    22 
    Plugin Description:
    Informs other players when a client connects to the server and changes teams
    Old 07-12-2010 , 19:55   [L4D2] Player Joining
    Reply With Quote #1

    Based off [L4D2] Player/Server Notification: http://forums.alliedmods.net/showthread.php?t=118503

    When I reported several issues with the plugin and it was never updated.. I rewrote it and incorporated into another plugin I use. Lately people have been asking for a replacement of the original.. so here is what I use..

    Reports to everyone when a player client connects to the server and when they change teams (everyone except the affected client).

    It delays reporting team changes for 1 second to be less spammy on the first round when everyone connects (and joins spectator team, then either survivors or infected). As people connect to the game in progress, it sometimes reports both. Can't do much about that w/o delaying it even longer (which would be silly to see the person running around and THEN see that they joined).

    No convars, no commands, just install and watch the spam.

    Versions:
    1..0: Initial Release
    1.0.1:
    • Fixed string format error.
    • Fixed handle error.
    • Removed potential fake client team change reports.
    • Verify userid = clientid after timer.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_playerjoining.sp - 13674 views - 4.0 KB)

    Last edited by dirka_dirka; 07-14-2010 at 09:40. Reason: 1.0.1
    dirka_dirka is offline
    pirko7
    Junior Member
    Join Date: Dec 2009
    Old 07-13-2010 , 06:01   Re: [L4D2] Player Joining
    Reply With Quote #2

    Thx for plugin. But in new version 2.0.2.6 is error.
    For example:
    In start server: Game say message: rochelle joining, coach joining, nick joining...
    And in during game: Game say message: Hunter joining, smoker joining...
    Sorry for my english.
    pirko7 is offline
    kiwi87
    Member
    Join Date: Sep 2009
    Old 07-13-2010 , 14:53   Re: [L4D2] Player Joining
    Reply With Quote #3

    works great, thanks
    kiwi87 is offline
    dirka_dirka
    Veteran Member
    Join Date: Nov 2009
    Old 07-13-2010 , 16:36   Re: [L4D2] Player Joining
    Reply With Quote #4

    Quote:
    Originally Posted by pirko7 View Post
    Thx for plugin. But in new version 2.0.2.6 is error.
    For example:
    In start server: Game say message: rochelle joining, coach joining, nick joining...
    And in during game: Game say message: Hunter joining, smoker joining...
    Sorry for my english.
    thats not from this plugin. you probably have another joining plugin running.
    dirka_dirka is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 07-14-2010 , 08:22   Re: [L4D2] Player Joining
    Reply With Quote #5

    There are errors
    Code:
    L 07/14/2010 - 19:35:58: [SM] Native "PrintToChat" reported: Client index -1618680315 is invalid
    L 07/14/2010 - 19:35:58: [SM] Displaying call stack trace for plugin "l4d2_playerjoining.smx":
    L 07/14/2010 - 19:35:58: [SM]   [0]  Line 93, F:\l4d2ser\left4dead2\left4dead2\addons\sourcemod\scripting\l4d2_playerjoining.sp::PrintJoinToAll()
    L 07/14/2010 - 19:35:58: [SM]   [1]  Line 77, F:\l4d2ser\left4dead2\left4dead2\addons\sourcemod\scripting\l4d2_playerjoining.sp::_Timer_AnnounceJoining()
    L 07/14/2010 - 19:35:58: [SM] Plugin "l4d2_playerjoining.smx" encountered error 23: Native detected error
    L 07/14/2010 - 19:35:58: [SM] Invalid data handle dfcd0534 (error 3) passed during timer end with TIMER_DATA_HNDL_CLOSE
    L 07/14/2010 - 19:35:58: [SM] Unable to call function "_Timer_AnnounceJoining" due to above error(s).
    change
    Code:
    new Handle:pack;
    to
    Code:
    new Handle:pack=CreateDataPack();
    alexip121093 is offline
    Send a message via MSN to alexip121093
    dirka_dirka
    Veteran Member
    Join Date: Nov 2009
    Old 07-14-2010 , 09:41   Re: [L4D2] Player Joining
    Reply With Quote #6

    yep.. i already had that fixed last night - was just making sure the errors were gone before uploading 1.0.1
    dirka_dirka is offline
    cheewongken
    Senior Member
    Join Date: Feb 2009
    Old 09-06-2010 , 10:21   Re: [L4D2] Player Joining
    Reply With Quote #7

    can you have a cvar so that it only says when a player connects to the server but not when the player changes teams or vice versa? thanks.
    cheewongken is offline
    s7riktlyxd4nk
    Junior Member
    Join Date: Nov 2010
    Old 11-16-2010 , 13:18   Re: [L4D2] Player Joining
    Reply With Quote #8

    which server folder to I put this in?
    s7riktlyxd4nk is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 11-21-2010 , 08:51   Re: [L4D2] Player Joining
    Reply With Quote #9

    Quote:
    Originally Posted by s7riktlyxd4nk View Post
    which server folder to I put this in?
    After installing metamod:source and sourcemod properly put the smx file into addons\sourcemod\plugins.
    Skorpion1976 is offline
    joshuakai
    Junior Member
    Join Date: Jan 2010
    Old 02-15-2011 , 23:06   Re: [L4D2] Player Joining
    Reply With Quote #10

    I don't need the hints of joining survivor / spectator, TAB is good to see LOL
    joshuakai 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 05:12.


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