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

ProChat


Post New Thread Reply   
 
Thread Tools Display Modes
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-31-2009 , 11:09   Re: ProChat
Reply With Quote #21

kinda weird because without this plugin the name changing is same, as with this plugin, i mean i see color too without plugin =/
__________________
xPaw is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 01-31-2009 , 18:50   Re: ProChat
Reply With Quote #22

Updated to 1.2 :
Fixed: chat viewer wasn't working.
Fixed: you didn't had to have special access to enable/disable chatviewer.
Fixed: radio messages were not changed.
Added: descriptive 'fire in the hole' in plugin.
Added: config in source code.
Added: cfg: ability to turn off chatviewer permanently.
Added: cfg: ability to change chatviewer needed access level(s).
Added: cfg: ability to turn of text change for radio messages.
Added: cfg: ability to change language settings for dessriptive 'fire in the hole'.
Changed: plugin uses less CPU.

// edit:

Hope this features didn't made the code less readable...
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 01-31-2009 at 19:50.
MPNumB is offline
Send a message via Skype™ to MPNumB
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 01-31-2009 , 19:00   Re: ProChat
Reply With Quote #23

Quote:
Originally Posted by MPNumB View Post
Damn, before protocol update it was 26 - 100% sure in it...
afaik it was always 32 in cs, but your nick cs showed got cut if its length was bigger than 26.
__________________

Last edited by SchlumPF*; 01-31-2009 at 19:16.
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-31-2009 , 19:02   Re: ProChat
Reply With Quote #24

I've tried with 32 with characters without problems Oo.
Arkshine is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 01-31-2009 , 19:24   Re: ProChat
Reply With Quote #25

Quote:
Originally Posted by SchlumPF* View Post
afaik it was always 32 in cs, but your nick cs showed got cut if its length was bigger than 26.
So after this protocol update nick isn't cut off if length is more than 26...

But after this update to 1.2 I was a bit amazed of possibility to write colorchat via TextMsg event and found out print_chat_color (5) print type. This is quite weird. And later I will try to find some more print types. (Imagine if it would be possible to print make print_center in colorchat [just like cs1.5 engine] or to find another print type to fix print_notify [it's the same as print_console, only also should print message on the left top of the screen - like developer 1] [hate valve for adding this bug since protocol update from 46 to 47 {aka cs1.5 -> cs1.6}]).
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-31-2009 , 20:46   Re: ProChat
Reply With Quote #26

Quote:
Originally Posted by xPaw View Post
kinda weird because without this plugin the name changing is same, as with this plugin, i mean i see color too without plugin =/
Only difference is the green asterisk, otherwise it's the same. The names are normally in color for cs, cz adds a green asterisk.



------------------------------
btw MPNumB, s_iMessage can't be larger than 191 (even less when combined with the iName parameter, 159 max i think?) unless you want to crash servers. (though the messages here should never go over that anyway, unless you are adding to the size of the original message)


Kinda of a fun idea, I like the cz text look better than default cs.

Last edited by vittu; 01-31-2009 at 20:49.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 01-31-2009 , 21:19   Re: ProChat
Reply With Quote #27

Actually the limit is 192. And it's the limit only of one write_string().

And actually this isn't 100% cz style. It's more like a copy from cs1.5, only with a little colorchat plus, and after ":" there are only 2 spaces (not 4 like in 1.5).

// edit:

But real reason of this plugin (just like of most my plugins) is quite simple - CSProMod plugin pack.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-31-2009 , 21:25   Re: ProChat
Reply With Quote #28

Quote:
Originally Posted by MPNumB View Post
Actually the limit is 192. And it's the limit only of one write_string().
Ok well you try and pass 192 into write_string and see what happens.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-01-2009 , 06:39   Re: ProChat
Reply With Quote #29

Quote:
Originally Posted by vittu View Post
Ok well you try and pass 192 into write_string and see what happens.
No one can enter the server anymore
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-05-2009 , 22:35   Re: ProChat
Reply With Quote #30

There are a few mistakes and optimizations that can be made, however it is acceptable.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 16:37.


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