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

Members Online

»
0 Active | 21 Guests
Online:

LATEST FORUM THREADS

»
Call of DutyŽ: WWII
CoD WW2 General
SOF2 Prefabs map
SoFII Mapping
coduo mapping tools
CoDUO 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: Bad command byte
extreem515
General Member
Since: Jul 8, 2011
Posts: 34
Last: Apr 4, 2014
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Wednesday, Aug. 22, 2012 11:17 am
Why 5 minut after start map I cant join server/? It show error cl_parsegamestate Bad command byte. Why is iT?
What I should change in mod? This is zombies server. With nnew mod.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Wednesday, Aug. 22, 2012 12:05 pm
extreem515 writes...
Quote:
Why 5 minut after start map I cant join server/? It show error cl_parsegamestate Bad command byte. Why is iT?
What I should change in mod? This is zombies server. With nnew mod.


Your server is COD2 version 1.0, and you have exceeded the 16k gamestate. There are only 2 things you can do:

1. try to remove a lot of stuff - weapons, fx, and materials/image files - to try to get it down under the 16k gamestate;

2 Upgrade your server to COD2 version 1.3 and you will then have 128k of gamestate to play with.
Share |
extreem515
General Member
Since: Jul 8, 2011
Posts: 34
Last: Apr 4, 2014
[view latest posts]
Level 2
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Saturday, Sep. 1, 2012 04:29 am
How much gamestate is in 1.2 version?
How check gamestate mod?
I can delete something from mod but I dont know how much I should delete.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Saturday, Sep. 1, 2012 05:00 am
extreem515 writes...
Quote:
How much gamestate is in 1.2 version?
How check gamestate mod?
I can delete something from mod but I dont know how much I should delete.


The COD2 1.2 patch was broken. The gamestate was supposed to have been increase to 128k, but in fact it was still at 16k. Also, Punkbuster was broken. This was posted by fourzerotwo just before the release of the 1.3 test, acknowledging that the gamestate update and PunkBuster were both broken in the 1.2 patch:

fourzerotwo writes...
Quote:
The last update on this was that it is in testing and will be released when finished testing. There have been no further updates to this news because there have been no further updates. There were some issues discovered during testing, which is why we test updates before they are released, which have caused it to under go further testing.

It has finished testing however, and will be released when ready. Of course we never give out release dates or time frames so please don't expect one.

This update, as stated before will include the fix for the issue keeping Modders from using the increased 128k gamestate as well as a fix for the PB Guid issue.


http://www.10-78.com/forums/showthread.php?t=6287

As for clearing stuff out of your mod in order to try to get the gamestate down, it is essentially FX and models you have to cull back on. You could try doing what we did back in 2006 which was to edit all of the stock maps's FX, by turning them all off. That helps. Do the same with any cusotm maps you intend to run.

Models - this includes models in custom weapon files. If your mod has custom weapons, you will essentially be forced to cut some from your mod.
Share |
black3r
General Member
Since: May 14, 2011
Posts: 2
Last: Sep 1, 2012
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Saturday, Sep. 1, 2012 05:42 am
Hi thanks for your reply.

But i cant delete models/fx because i have cod2 zom mod on 1.0 and rank system, and mutch weapons for rank..

Maybe if i will delete all custom weapons from weapons menu will help?

Idk... i am thinking to switch to 1.2 because i think its 128k gamestate.

Maybe exist any patch to 1.0 or 1.2 to repair 16k gamestate bug?

Thx for answer
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Saturday, Sep. 1, 2012 05:50 am
black3r writes...
Quote:
Hi thanks for your reply.

But i cant delete models/fx because i have cod2 zom mod on 1.0 and rank system, and mutch weapons for rank..

Maybe if i will delete all custom weapons from weapons menu will help?

Idk... i am thinking to switch to 1.2 because i think its 128k gamestate.

Maybe exist any patch to 1.0 or 1.2 to repair 16k gamestate bug?

Thx for answer


There is no known legitimate fix for 1.0 or 1.2. I know of some programmers who have hacked the executable and fixed it that way, but I wont recommend it as it is illegal.

BTW - the only difference between 1.0 and 1.2 is some new maps (Rostov and Rhine) and some changes to the stock gametypes. Other than that, in terms of the actual game limits etc, there is no difference.
Share |
black3r
General Member
Since: May 14, 2011
Posts: 2
Last: Sep 1, 2012
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Saturday, Sep. 1, 2012 06:02 am
Thanks for reply :)

One significant difference its fast DL on 1.2

I have 2 more questions for you...

Scripts can do badcomand byte? or only models/fx/weapons ?

Quote:
I know of some programmers who have hacked the executable and fixed it that way, but I wont recommend it as it is illegal.


Why its illegal ?
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Saturday, Sep. 1, 2012 06:54 am
black3r writes...
Quote:
Thanks for reply :)

One significant difference its fast DL on 1.2

I have 2 more questions for you...

Scripts can do badcomand byte? or only models/fx/weapons ?

Quote:
I know of some programmers who have hacked the executable and fixed it that way, but I wont recommend it as it is illegal.


Why its illegal ?


It's illegal because the mod tools EULA says it is:

Quote:
- New Game Materials shall not contain modifications to any COM, EXE or DLL files or to any other executable Product files.


And, yes, scripts can lead to exceeding gamestate when gamestate is already being thrashed for other reasons. But the main culprits are FX and models.
Share |
serthy
General Member
Since: Sep 8, 2010
Posts: 482
Last: Jun 28, 2013
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Sunday, Sep. 2, 2012 01:53 am
Like Tally said, models are counting heavily to the gamestate

you can lower the gamestate by forcing only 1 playermodel for ex. the american/hunter side if you use the stock models. american models take like 7 player- and 7 extra headmodels
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

»