Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 60 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Controlling chat by .gsc file ?
kelik
General Member
Since: Jan 2, 2011
Posts: 13
Last: Dec 8, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Sunday, Jan. 2, 2011 11:23 am
Hi everyone, I would like to write a script that will be controlling in-game chat. For example if someone will use "bad word" the script will warn him.

I know that b3 offers me censor plugin, but I wanted to write it on my own, so I am asking you, if it is even possible to have acces to in-game chat using .gsc file ?
Share |
clanhelio
General Member
Since: Aug 30, 2008
Posts: 223
Last: Mar 24, 2011
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Sunday, Jan. 2, 2011 08:55 pm
Nope.
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Sunday, Jan. 2, 2011 09:56 pm
You could try to read the log file, it contains chat too, although this is serious stuff to script.

B3 is much better for this.
Share |
Brokzor
General Member
Since: Feb 27, 2009
Posts: 22
Last: Jan 4, 2011
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Monday, Jan. 3, 2011 05:17 pm
yeah i think so too, i think this script you would have to make would be really tough. You could just use B3 and turn every other option off.
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD2 Scripting
Posted: Monday, Jan. 3, 2011 05:30 pm
As everyone said B3 would be the best for this. A script *could* be run on server side im sure but it would ultimately affect server perf i think.
Share |
Brokzor
General Member
Since: Feb 27, 2009
Posts: 22
Last: Jan 4, 2011
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Monday, Jan. 3, 2011 05:32 pm
no i wouldn't believe that, a script doesnt effect the server to often, except you have something like unlimited loops in it. So i think it should be fine, the only thing i thought could be messy would be that the mod wouldn't get every message if they are send out too fast
Share |
kelik
General Member
Since: Jan 2, 2011
Posts: 13
Last: Dec 8, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Tuesday, Jan. 4, 2011 12:37 pm
Ehh, I thought so. Using b3 or any other possibility needs to read log file which I wanted to avoid. Anyway, thanks for replys.
Share |
|S!T|
General Member
Since: Nov 8, 2007
Posts: 93
Last: Dec 9, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, Feb. 1, 2011 08:27 pm
google morkeye

warns bad language (also kicks)
identify scripting (like m1-script)

and so on

Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»