Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: Modding mistake

  1. #1
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts

    Modding mistake

    Hello Guys!
    I am trying to update my mod, but I have a problem: If I am testing the mod, I go to the testserver and then it loads a map. If the loadbar is full, then CoD2_mp.exe don't work anymore and it will be closed.

    I don't know why, but it does close 100% cause of my new update (mod), my friend tried to come in the testserver too and he has got the same problem.
    But it's 100% cause of my maps

    It would be nice if someone know why it happens

    Thanks!

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Loveboy View Post
    Hello Guys!
    I am trying to update my mod, but I have a problem: If I am testing the mod, I go to the testserver and then it loads a map. If the loadbar is full, then CoD2_mp.exe don't work anymore and it will be closed.

    I don't know why, but it does close 100% cause of my new update (mod), my friend tried to come in the testserver too and he has got the same problem.
    But it's 100% cause of my maps

    It would be nice if someone know why it happens

    Thanks!
    The gamestate is too high. You need to remove some stuff from your mod, or switch to COD2 1.3.

  3. #3
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    Fuck :/ but thanks

    Edit: But I don't think that there are too many stuffs

  4. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    You can see how big the gamestate is with "set developer 1" and connect to the server. The server prints then the size of the gamestate in console.

    So you can check which change to your mod adds most to the size of the gamestate, maybe you can lower it.
    timescale 0.01

  5. The Following User Says Thank You to kung foo man For This Useful Post:

    Loveboy (12th December 2013)

  6. #5
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    I can't find any errors, and it's 100% not the limit, should be it a iwd bugg?

    Edit: I tested all iwd's. Everytime one iwd test, all worked. But if all are in the server, then CoD2 will be closed. No file is the same
    Last edited by Loveboy; 8th December 2013 at 10:24.

  7. #6
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    Anyone know more about gamestate (1.2 limit, 1.3 limit etc.)? It would be useful for me. Thanks.

    @Loveboy, you need to delete some precaches to reduce the gamestate.
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

  8. #7
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    you mean on _weapons.gsc or other .gsc's too?

  9. #8
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Anyone know more about gamestate (1.2 limit, 1.3 limit etc.)? It would be useful for me
    1.0 -> 16k
    1.2 -> 16k
    1.3 -> 128k

  10. The Following 3 Users Say Thank You to serthy For This Useful Post:

    Loveboy (12th December 2013),Ni3ls (8th December 2013),RobsoN (9th December 2013)

  11. #9
    Private
    Join Date
    Nov 2012
    Location
    Denmark, where else
    Posts
    27
    Thanks
    5
    Thanked 13 Times in 6 Posts
    Too large .gsc files will also cause this.

    Also i wouldnt suggest including 1 gsc file into another. ( #include )

    Mass including gsc files will cause this gamestate error.
    so be cautious.

    EDIT: Actually not sure if this concerns the "gamestate error".
    Dont drink and drive, smoke and fucking fly

  12. The Following User Says Thank You to Sense For This Useful Post:

    RobsoN (9th December 2013)

  13. #10
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    I am not sure...
    I tested server without iwd's (so server includes only scripts) - worked
    I tested server with all iwd's (1 iwd on server, so test all iwd's alone to test which give me the error) - all worked
    I tested server with only one iwd (all iwd's in one) - didn't worked
    I tested server with all 3 iwd's - didn't worked.

    So I go in the testserver, the map loads (no map will give me the error), and at this point the loadbar is full, then there stay: CoD2_mp.exe doesn't work... [CLOSE PROGRAM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •