Raised This Month: $120 Target: $400
 30% 

GHW Connect Messages


Post New Thread Reply   
 
Thread Tools Display Modes
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 11-24-2007 , 02:53   Re: GHW Connect Messages
Reply With Quote #11

NICE PLUGIN GHW ! Gj
__________________
IneedHelp is offline
nukey451
Member
Join Date: Sep 2006
Location: Köln
Old 11-24-2007 , 17:59   Re: GHW Connect Messages
Reply With Quote #12

WoW This Plugin must every Server have

Test it CounterStrike 1.6 ..... OWNED !
__________________
Leave or Ba$H # German Fun Clan # Male and Female Gaming 2oo6

www.lob-crew.com or www.leave-or-bash.de

[IMG]http://img223.**************/img223/3889/linkus1kc4.jpg[/IMG]
nukey451 is offline
Send a message via ICQ to nukey451
Tramp
Senior Member
Join Date: Aug 2005
Old 11-25-2007 , 07:50   Re: GHW Connect Messages
Reply With Quote #13

I found bug.

When cm_flags is set to "4"
Text isn't coloured.
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.
Tramp is offline
dangerix
Senior Member
Join Date: Aug 2007
Location: Germany
Old 11-25-2007 , 07:59   Re: GHW Connect Messages
Reply With Quote #14

It's not a bug, your usage is wrong. The flags are additive. If you want to use SHOW_COLOR, SHOW_CONNECT and SHOW_DISCONNECT, it's cm_flags 7.
__________________
dangerix is offline
Tramp
Senior Member
Join Date: Aug 2005
Old 11-26-2007 , 11:56   Re: GHW Connect Messages
Reply With Quote #15

Quote:
Originally Posted by dangerix View Post
It's not a bug, your usage is wrong. The flags are additive. If you want to use SHOW_COLOR, SHOW_CONNECT and SHOW_DISCONNECT, it's cm_flags 7.
So it should be written in instruction ?
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.
Tramp is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 11-26-2007 , 11:58   Re: GHW Connect Messages
Reply With Quote #16

Quote:
Originally Posted by GHW_Chronic View Post
  • cm_flags - Flags for Customizing (Add the numbers up)
    • 1 - SHOW_COLOR (green)
    • 2 - SHOW_CONNECT
    • 4 - SHOW_DISCONNECT
    • 8 - PLAY_SOUND_CONNECT
    • 16 - PLAY_SOUND_DISCONNECT
    • Default: 31 (All)
it is
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 11-26-2007 , 13:03   Re: GHW Connect Messages
Reply With Quote #17

I think SHOW_COLOR is redundant because you can freely put color codes (so, worth to make contants like %green, %red, %blue etc) into format string. But you need a new cvar which defines default color also.

PS. Is it properly to define cvars within plugin_precache() ?

PSS. LAN ip is 10.0.0.0/8 & 172.[16-31].0.0/16 also.

PSSS. Also you forgot to handle "127.0.0.1" ip (compare with "127." is enough) because when you're connecting to dedicated server from the same ip you get "127.0.0.1" ip instead of "loopback" (at least on win32 platform)
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm

Last edited by Simon Logic; 11-26-2007 at 13:20.
Simon Logic is offline
Send a message via Skype™ to Simon Logic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 11-26-2007 , 15:47   Re: GHW Connect Messages
Reply With Quote #18

Quote:
Originally Posted by Simon Logic View Post
PS. Is it properly to define cvars within plugin_precache() ?
if you don't register CVARs used in plugin_precache in plugin_precache they are not set yet (because plugin_precache is called before plugin_init). So thus one the first map the first time the plugin is loaded / every server reset (unless CVARs are defined in amxx.cfg) the sounds wouldn't work.

As for the rest I give you a nice: ˇmaybe!
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 11-30-2007 , 19:09   Re: GHW Connect Messages
Reply With Quote #19

Could you make a option for it to tell how many times the player has been in the server? and maybe if there name has changed show there old name. just a suggestion but you could use nvault for counting the number of times a player has been in the server.
purple nurple is offline
rumbeto
Member
Join Date: Feb 2007
Old 12-11-2007 , 19:03   Re: GHW Connect Messages
Reply With Quote #20

I think I'm stupid.
I put the following in server.cfg :
cm_connect_string "[AMXX] %name has connected (%ip)"
cm_disconnect_string "[AMXX] %name has disconnected (%ip)"
but it still shows the default ones.

Where am I wrong?
Thanks.
rumbeto 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:56.


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