Raised This Month: $ Target: $400
 0% 

Connect Announce


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Xterminator
Junior Member
Join Date: Apr 2009
Plugin ID:
544
Plugin Version:
1.8
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    584 
    Plugin Description:
    Replacement of standard player connected message, allows for custom join messages.
    Old 07-13-2010 , 19:14   Re: Connect Announce
    Reply With Quote #1

    That error is caused by geocity.inc, not the plugin itself. To fix it all you have to do is replace
    Code:
            CloseHandle( GeoCityQuery );
    with
    Code:
            if( GeoCityQuery != INVALID_HANDLE )
            {
                CloseHandle( GeoCityQuery );
            }
    Xterminator is offline
    Arg!
    Veteran Member
    Join Date: Jul 2008
    Location: Australia
    Old 07-13-2010 , 19:27   Re: Connect Announce
    Reply With Quote #2

    Quote:
    Originally Posted by turk89 View Post
    I am awaiting for your reply, Arg!
    see above for your reply

    Quote:
    Originally Posted by Xterminator View Post
    That error is caused by geocity.inc, not the plugin itself. To fix it all you have to do is replace
    Code:
            CloseHandle( GeoCityQuery );
    with
    Code:
            if( GeoCityQuery != INVALID_HANDLE )
            {
                CloseHandle( GeoCityQuery );
            }
    i originally had this in there, but it appears to be casuing the memory leak error someone else reported since its not closing the handle.

    the error will need to be fixed by the creator of the include.
    __________________
    Arg! is offline
    turk89
    Member
    Join Date: Jul 2010
    Old 07-13-2010 , 19:38   Re: Connect Announce
    Reply With Quote #3

    Quote:
    Originally Posted by Xterminator View Post
    That error is caused by geocity.inc, not the plugin itself. To fix it all you have to do is replace
    Code:
            CloseHandle( GeoCityQuery );
    with
    Code:
            if( GeoCityQuery != INVALID_HANDLE )
            {
                CloseHandle( GeoCityQuery );
            }
    I am not good at this. What happends by editing this? What will be changed in-game? However, where do you find that "geocity.inc"-file? I have a file called GeoIP (DAT file) - is it this one?



    Quote:
    Originally Posted by Arg! View Post
    this stuff is already logged by srcds, it can be easily extracted using a stats package such as Psychostats.
    Sounds great!
    turk89 is offline
    Darkthrone
    Senior Member
    Join Date: Jun 2009
    Old 07-13-2010 , 20:58   Re: Connect Announce
    Reply With Quote #4

    Quote:
    Originally Posted by Xterminator View Post
    That error is caused by geocity.inc, not the plugin itself. To fix it all you have to do is replace
    Code:
            CloseHandle( GeoCityQuery );
    with
    Code:
            if( GeoCityQuery != INVALID_HANDLE )
            {
                CloseHandle( GeoCityQuery );
            }
    thanks

    - added support for private networks (for country and city as well)
    version 1.2.1

    if client connects from 10.0.0.0/8 or 172.16.0.0/12 or 192.168.0.0/16, the message will show that he is connects from Private network, instead of Unknown/Somewhere
    Attached Files
    File Type: zip cannounce.zip (38.1 KB, 118 views)
    __________________
    all the best for your Zombie:Reloaded server
    Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock

    Darkthrone 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 18:16.


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