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

iChat 2.3.3 - The most powerful chat manager


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-03-2011 , 17:19   Re: iChat - The ultimate CS chat manager [1.0]
Reply With Quote #21

Way to fix :
PHP Code:
#include <amxmodx>

#define VERSION "0.0.1"
#define PLUGIN "HLSW Chat Trigger"

public plugin_init()
{
    
register_plugin(PLUGINVERSION"ConnorMcLeod")
    
register_clcmd("say""ClCmd_Say")
    
register_clcmd("say_team""ClCmd_SayTeam")
}

public 
ClCmd_Sayid )
{
    return 
Host_Say(id0)
}

public 
ClCmd_SayTeamid )
{
    return 
Host_Say(id1)
}

Host_Sayidteamonly )
{
    new 
szSaid[192]
    
read_args(szSaidcharsmax(szSaid))
    
remove_quotes(szSaid)
    if( 
IsChatValidszSaid ) )
    {
        
// UTIL_LogPrintf
        
log_message("^"%s<%d><%s><%s>^" %s ^"%s^"%s",
            
GETPLAYERNAME(id),
            
get_user_userid(id),
            
GETPLAYERAUTHID(id),
            
GETPLAYERTEAM(id),
            
teamonly "say_team" "say",
            
szSaid,
            
is_user_alive(id) ? "" " (dead)")
    }
    return 
PLUGIN_HANDLED_MAIN
}

GETPLAYERAUTHIDid )
{
    static 
szAuthid[32]
    
get_user_authid(idszAuthidcharsmax(szAuthid))
    return 
szAuthid
}

GETPLAYERNAMEid )
{
    static 
szName[32]
    
get_user_name(idszNamecharsmax(szName))
    return 
szName
}

GETPLAYERTEAMid )
{
    static 
szTeam[10]
    
get_user_team(idszTeamcharsmax(szTeam))
    if( 
szTeam[0] == 'U' )
    {
        
szTeam[0] = EOS
    
}
    return 
szTeam
}

IsChatValid( const szChat[] )
{
    new 
ci
    
while( (szChat[i++]) != EOS )
    {
        if( 
!= ' ' )
        {
            return 
1
        
}
    }
    return 
0

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-09-2011 at 02:36.
ConnorMcLeod is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 12-04-2011 , 16:35   Re: iChat - The ultimate CS chat manager [1.0]
Reply With Quote #22

Quote:
Originally Posted by Daddy-K View Post
I tested and it does not work
HLSW does not record all chat conversations
HLTV means HLTV lol, not HLSW.

Aswell, this bug is gonna be fixed tomorrow, thanks to Connor ;)

Daddy-K, try this and tell me if it works. If yes, i'll make 2/3 tests and release it.

Uhuh my bad, completly bugged! Tomorrow, i promise!

Last edited by Kidev; 12-05-2011 at 16:34.
Kidev is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 12-06-2011 , 13:59   Re: iChat - The ultimate CS chat manager
Reply With Quote #23

Then, finally, updated ;) HLSW bug should be fixed now
__________________
Kidev is offline
Daddy-K
Junior Member
Join Date: Jun 2010
Location: Romania/Mangalia
Old 12-07-2011 , 14:20   Re: iChat - The ultimate CS chat manager
Reply With Quote #24

Now it works perfectly. Thanks, man. I hope to be approved.
If they will appear some problems I will come back with a publisher
Daddy-K is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 12-07-2011 , 15:14   Re: iChat - The ultimate CS chat manager
Reply With Quote #25

Quote:
Originally Posted by Daddy-K View Post
Now it works perfectly. Thanks, man. I hope to be approved.
If they will appear some problems I will come back with a publisher
Ok Thanks Connor too ^^
__________________
Kidev is offline
echo_cs
Senior Member
Join Date: Dec 2011
Old 12-08-2011 , 01:52   Re: iChat - The ultimate CS chat manager
Reply With Quote #26

Nice plugin
__________________
Pawn (5%)

C (80%)

C++ (20%)

SQL (5%)
echo_cs is offline
Daddy-K
Junior Member
Join Date: Jun 2010
Location: Romania/Mangalia
Old 12-08-2011 , 03:11   Re: iChat - The ultimate CS chat manager
Reply With Quote #27

Quote:
// Soon: <blue>, <red> and <grey>.
Wait for new update!
Daddy-K is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 12-08-2011 , 12:47   Re: iChat - The ultimate CS chat manager
Reply With Quote #28

Quote:
Originally Posted by Daddy-K View Post
Wait for new update!
Soon, soon
__________________
Kidev is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 12-11-2011 , 07:54   Re: iChat - The ultimate CS chat manager
Reply With Quote #29

Updated to 1.2.0:
  • Added <red>, <blue> and <grey> colors
  • Added %TEAMTAG%
  • Change some variables to 'const' to prevent errors
__________________

Last edited by Kidev; 12-11-2011 at 07:54.
Kidev is offline
Daddy-K
Junior Member
Join Date: Jun 2010
Location: Romania/Mangalia
Old 12-11-2011 , 16:59   Re: iChat - The ultimate CS chat manager
Reply With Quote #30



TEAMTAG does not work
Daddy-K 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 10:08.


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