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

Members Online

1 Active | 53 Guests


Mohaa maps on Cod2?
CoD2 MP Mapping



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 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Restricted Access Topic is Locked subscribe
Author Topic: cod2 server anticrash
General Member
Since: Jun 19, 2008
Posts: 96
Last: Mar 17, 2010
[view latest posts]
Level 3
Category: CoD2 General
Posted: Saturday, Feb. 20, 2010 11:47 am
Well, i just started a zombie server in cod2 1.0 and someone is crashing the server with an stupid cfg based on spamming the server saying aaaa hundred of times.I saw somewhere that there is a fixed cod2.exe that doesn't allows that spamm,so i ask here if someone have it and can give it to me, i really need it...thanks.
Share |
Preferred Member
Since: Aug 24, 2006
Posts: 821
Last: Apr 15, 2011
[view latest posts]
Level 7
Forum Moderator
Im a fan of MODSonair
Category: CoD2 General
Posted: Saturday, Feb. 20, 2010 04:07 pm
You could modify every gametype so that the name mode is the manual_change (like it is for Search and Destroy).

In every gametype script, there is the function, setClientNameMode. This can either be "manual_change" or "auto_change".

Manual change means the client's name will not be changed until the end of the round or map_restart. (Search and Destroy does this)

Auto change means the client's name will change whenever they change it. (Deathmatch and Team Deathmatch use auto)

If you change it so every gametype uses manual instead of auto, you could eliminate that threat! However, the only disadvantage is no one's name would change...
nullFew tips for coding.
1. Keep the script as short as possible.
2. Don't comment every line. Only comment portions where they may be needed to point something out.
3. Don't over complicate the script, keep it organized and easy to read.

These help you find simple errors and makes it easy to make changes.
Share |
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD2 General
Posted: Saturday, Feb. 20, 2010 04:34 pm
I think you've misunderstood what the problem is - its a variation on the QuakeBoom\CODBoom exploit. This happens when the game tries to build a string longer than 1024 chars using va(), the function which calls snprintf and returns a pointer to its static buffer. In the COD2 version of the exploit, a player can take advantage of a hole in the mapvote system and exceed the va() cache and crash a server.

It was patched out in the 1.2/1.3 patches.

There is no unofficial patch by Luigi Auriemma for it for COD2 1.0, so the only option is to disable mapvote or patch to 1.2 or 1.3.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 General

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