GHW Connect Messages
7 Attachment(s)
Features:
CVARs:
String Replace Characters:
Default Connect Message Appears As:
|
Re: GHW Connect Messages
Good job, for sure i will use it.
May be make the geoip feature optional (to prevent geoip module from loading) Wouldn't it be better to get the msgid as a global, and not use players[i] 3 times in your loop ? Code:
credit for v3x ? |
Re: GHW Connect Messages
A. thx
B. disagree 17. I was going to do that when I finished the code but forgot Q. Don't have to show me how to do it thx though K. v3x? Edit: v3x - didn't take anythin from him. Only thing I see in common w/ his is the base idea rly (which im not sure was his to begin with) |
Re: GHW Connect Messages
LOL, i made a template for new plugin which should be as much customizable as my Preset KillStreak plugin but have no time to start to work on it yet. I think you have a chance to make it an ultimate connection announcer plugin which will cover all user needs.
Here is what i was going to implement: 1) let user to set string format per each area where announce msg should appear: in chat, at HUD, at console; don't forget to double them for connect & disconnect events (so, there will be 6 more cvars). Each format has predefined vars which will be replaced by values, i.e. %n% - player name %s% - player steam id %i% - player ip %c% - country %r% - player rank 2) you should rearrange config params per each of two events (connect/dicsonnect) by using the following flags: Code:
c - announce in Chat |
Re: GHW Connect Messages
GJ GHW_Chronic :up:
|
Re: GHW Connect Messages
I had a very similar idea which I was planning on implementing (and just did). It's pretty much the same thing so thx for sharing your idea and reminding me.
|
Re: GHW Connect Messages
Gj, now is pretty cool. ;-)
|
Re: GHW Connect Messages
I haven't seen a new GHW script in ages!
|
Re: GHW Connect Messages
fixed a bug where I used MSG_ALL instead of MSG_ONE and it would cause the message to appear possibly several times
|
Re: GHW Connect Messages
You, sir, have done it again. :up:
|
Re: GHW Connect Messages
NICE PLUGIN GHW ! Gj:)
|
Re: GHW Connect Messages
WoW :up: This Plugin must every Server have :)
Test it CounterStrike 1.6 ..... OWNED ! :P |
Re: GHW Connect Messages
I found bug.
When cm_flags is set to "4" Text isn't coloured. |
Re: GHW Connect Messages
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.
|
Re: GHW Connect Messages
Quote:
|
Re: GHW Connect Messages
Quote:
|
Re: GHW Connect Messages
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) |
Re: GHW Connect Messages
Quote:
As for the rest I give you a nice: ¡maybe! |
Re: GHW Connect Messages
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.
|
Re: GHW Connect Messages
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. |
Re: GHW Connect Messages
put that into amxx.cfg
|
Re: GHW Connect Messages
I thought so. I just didn't have a chance to experiment. I don't have a CS installation right now and I can't see the results right away. Should be the value of cm_connect_string cvar be in " "?
|
Re: GHW Connect Messages
yes
|
Re: GHW Connect Messages
Thnanks a lot.
|
Re: GHW Connect Messages
Please Help me,
i have uploaded the "GHW_connect.amxx" to my plugins-Folder, and have the Plugin in plugins.ini registered, but the does not work. Wich other Files & Entries i must modyfing before ? Please give me a simple guidance. Thx (Sorry for my terrible english) |
Re: GHW Connect Messages
that's all you have to do. download the GHW_connect.amxx file and add the following line to the end of plugins.ini:
Code:
GHW_connect.amxx |
Re: GHW Connect Messages
One word,.,.,awesome plug
-but,can you add like a rank next to show country -ex. [AMXX] lol (STEAM_0:0:7064509) has connected (Korea, Republic of) rank1 of 9...... -kinda like that,with colors -thanx |
Re: GHW Connect Messages
i need that too.Couldn't find it.Know i saw it on a server.A link anyone?
|
Re: GHW Connect Messages
Owesome:)
|
Re: GHW Connect Messages
How can i disable the sounds when ppl connect and disconnect ?
|
Re: GHW Connect Messages
cm_flags - Flags for Customizing (Add the numbers up)
|
Re: GHW Connect Messages
OT:
Could a kind moderator move this topic to "High-Traffic Plugins > GHW_Chronic's Scripts", please? I always end up not finding it there when I'm looking for it :/ //edit: Thank you ;) |
Re: GHW Connect Messages
how can i change the txt color?
|
Re: GHW Connect Messages
you can't
|
Re: GHW Connect Messages
:) WOW very nice. Can you display ip, country and name ( no steamID ) ?
|
Re: GHW Connect Messages
Copy and paste into your amxx.cfg:
Code:
cm_connect_string "[AMXX] %name (%ip) has connected (%country)." |
Re: GHW Connect Messages
Great plugin.
I have one problem with it though. On player connect, 80% of the time it shows "unknown country" instead of the players country. Am I doing something wrong? |
Re: GHW Connect Messages
update your geoip.dat
search around this forum how to do that. |
Re: GHW Connect Messages
Worked fine, thank you.
|
Re: GHW Connect Messages
i have a problem, anyone whom enters or leave my server, i get this..
Code:
Name from Unknown Country has connected. pls help :( - i used the auto-installer for superheromod for my server |
All times are GMT -4. The time now is 14:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.