Results 1 to 16 of 16

Thread: another maybe simple question

  1. #1
    madcowbrother
    Settler
    Join Date
    27 Aug 2003
    Posts
    2
    Country
    This is madcowbrother's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30

    another maybe simple question

    I am experiensing some very enoying errors in the game. The game works perfectly in single player mode for the time before christ.

    However, when I tried to reload it from a saved game after that, the program chuts down and goes back to windows.

    I checked on the problem solving but they do not report such errors. My girlfriend experiences the same problems with call to power 1.

    Is there enything that we can do to stop it, so we can play longer and win, for a change. It 's very anoying when you 're very strong and suddenly the program stops...

    I hope somebody has an answer. It would be very helpfull!

    greetzzzzzzz,

    J.

    PS: I'm sorry for my spelling mistakes. I 'm not so good in writing...

  2. #2
    st_swithin
    CTP1/2 GODDESS
    Join Date
    08 Nov 2002
    Location
    10069
    Posts
    198
    Country
    This is st_swithin's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    I guess the first major bug fix for the game is repairing saved game files. Joe commented out a lot of code for that when we ran out of time on the project. Maybe someone will uncomment it out and fix it.

  3. #3
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,246
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 19, 2013
    Local Time
    19:30

    Post

    Originally posted by st_swithin
    I guess the first major bug fix for the game is repairing saved game files. Joe commented out a lot of code for that when we ran out of time on the project. Maybe someone will uncomment it out and fix it.
    Ah that's why the save games of self made maps doesn't work probably. Whenever you reload you get an extra turn, with production, science unit movement and so on added for you but not for the AI. And I have the fealing that something more got broken, so we have definatly to uncomment this code and fix it.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

  4. #4
    madcowbrother
    Settler
    Join Date
    27 Aug 2003
    Posts
    2
    Country
    This is madcowbrother's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    great let 's fix it!!!

    How??? I really don't know how to start with it! And the thing about the self made maps... I didn 't try to play on self made maps yet, I just played on the random maps you get when you start the game.


    Greetz,

    J.

  5. #5
    st_swithin
    CTP1/2 GODDESS
    Join Date
    08 Nov 2002
    Location
    10069
    Posts
    198
    Country
    This is st_swithin's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    Why didn't Ming or Locutus interview MrOgre? He's really the ONLY PERSON who can answer ANY of these questions.

  6. #6
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    19:30
    I asked him, he read my message but never responded
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  7. #7
    st_swithin
    CTP1/2 GODDESS
    Join Date
    08 Nov 2002
    Location
    10069
    Posts
    198
    Country
    This is st_swithin's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    He must still be in Australia visiting with DinoDoc. Bastard!! (I can say that because he can't come here and kill me right now.)

  8. #8
    Martin the Dane
    Prince Martin the Dane's Avatar
    Join Date
    18 Feb 2000
    Location
    Aarhus, Denmark
    Posts
    550
    Country
    This is Martin the Dane's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    18:30
    Just a thought:

    All comments are supposed to be removed from the code.

    Does this include commented-out parts of the code to?

    I don't hope it's the case, if it is, we will not be able to take advantage of un finished code.
    Visit my CTP-page and get TileEdit and a few other CTP related programs.
    Download and test SpriteEdit development build.

  9. #9
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    18:30
    Our best information at present is that all comments will be removed regardless of content.

  10. #10
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,246
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 19, 2013
    Local Time
    19:30

    Post

    That's right John, but I wonder why it takes so long then to strip them all of you could write a program for that task, and Mr. Ogre talked about lawers who check the code again, so why would you need lawers for checking it, if all comments are removed.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

  11. #11
    st_swithin
    CTP1/2 GODDESS
    Join Date
    08 Nov 2002
    Location
    10069
    Posts
    198
    Country
    This is st_swithin's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    As we mentioned before, some of the comments are linked integrally into the code for obfuscation purposes.

    For example, the Pac-man sprite and code is all written in the comments. (Did I mention Pac-man? We didn't want any trouble from Midway, but nowadays, they haven't a pot to piss in, so they'll probably sue now.)

    The code will NOT compile without thousands of errors if the lawyers simply stripped out the comments. Don't know what to suggest, unless there are some good IP lawyers out there who can also program gamestate and network and AI.

  12. #12
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,246
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 19, 2013
    Local Time
    19:30

    Post

    Originally posted by st_swithin
    As we mentioned before, some of the comments are linked integrally into the code for obfuscation purposes.
    Obfuscation to make it as difficuilt as possible, to decompile the ctp2.exe for example.

    Originally posted by st_swithin
    For example, the Pac-man sprite and code is all written in the comments. (Did I mention Pac-man? We didn't want any trouble from Midway, but nowadays, they haven't a pot to piss in, so they'll probably sue now.)
    Pacman, so does the pacman chat window command really work?

    Originally posted by st_swithin
    The code will NOT compile without thousands of errors if the lawyers simply stripped out the comments. Don't know what to suggest, unless there are some good IP lawyers out there who can also program gamestate and network and AI.
    Would it be possible just to rename the variables and functions regarding pacman to something meaningless? However it looks like it still takes some time.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

  13. #13
    st_swithin
    CTP1/2 GODDESS
    Join Date
    08 Nov 2002
    Location
    10069
    Posts
    198
    Country
    This is st_swithin's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    Originally posted by Martin Gühmann
    Obfuscation to make it as difficuilt as possible, to decompile the ctp2.exe for example.
    Sorry 'bout that. Blame MrOgre.

    Originally posted by Martin Gühmann
    Pacman, so does the pacman chat window command really work?
    It should...

    Originally posted by Martin Gühmann
    Would it be possible just to rename the variables and functions regarding pacman to something meaningless? However it looks like it still takes some time.

    -Martin
    Yeah, just let the compiler do an unconditional search-and-replace for "pacman" and you should be good to go.

    How did you find all that, anyway? That stuff was pretty well hidden in the code.

  14. #14
    Immortal Wombat
    Prince Immortal Wombat's Avatar
    Join Date
    30 Dec 2000
    Location
    in perpetuity
    Posts
    4,965
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    The chat commands are all in the exe as plaintext. A search for the one we knew "reloadslic" brings up the others. I dont think anyone got "pacman" to work though.
    Concrete, Abstract, or Squoingy?
    "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

  15. #15
    st_swithin
    CTP1/2 GODDESS
    Join Date
    08 Nov 2002
    Location
    10069
    Posts
    198
    Country
    This is st_swithin's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    Thank god for small favours.

  16. #16
    Immortal Wombat
    Prince Immortal Wombat's Avatar
    Join Date
    30 Dec 2000
    Location
    in perpetuity
    Posts
    4,965
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 19, 2013
    Local Time
    17:30
    something else to fix then
    Concrete, Abstract, or Squoingy?
    "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

Similar Threads

  1. A simple question
    By Teralitha in forum Civilization III
    Replies: 19
    Last Post: October 2, 2004, 14:16
  2. A simple question
    By Barinthus in forum AC Creation
    Replies: 4
    Last Post: April 14, 2004, 13:32
  3. Simple Question from a Simple Person
    By Gibsie in forum Civilization III
    Replies: 8
    Last Post: November 23, 2003, 13:03
  4. Just a simple question...
    By Heresson in forum Scenario League / Civ2-Creation -Archive
    Replies: 5
    Last Post: July 20, 2001, 19:46
  5. A simple question. Or is it...
    By WarVoid in forum Scenario League / Civ2-Creation -Archive
    Replies: 5
    Last Post: April 22, 2000, 00:39

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Bookmarks

Posting Permissions