Announcement

Collapse
No announcement yet.

[Mod] A proper score graph

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #91
    Re: Release v1.8

    Originally posted by ulfn
    Not without getting your hands dirty. From your description it sounds like you are getting a python error. Check the log file (Logs\PythonErr2.log). Anyway, I split the tables for you.
    No log file was generated, so I am not sure what I did wrong. Anyway thanks for the update.

    Comment


    • #92
      Re: Re: Release v1.8

      Originally posted by reznod
      No log file was generated, so I am not sure what I did wrong. Anyway thanks for the update.
      Yeah.. that can sometimes happen. If you touch the python files (just resave it) while Civ is running it usually figures out that it ought to write a log file.

      Comment


      • #93
        Originally posted by Gramphos
        When you update your mod, you should also update the directory entry:
        Yeah, I just couldn't find how to do it... Thanks for the link.

        Comment


        • #94
          The Tecnology function is working for me quite nicly, but I was wondering is it possible to also show a Rate of research aka Research Points generated per turn as welll, know that you have access to the cumulative data finding the perturn amount of reserch shouldn't be very hard.
          Companions the creator seeks, not corpses, not herds and believers. Fellow creators, the creator seeks - those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest. - Thus spoke Zarathustra, Fredrick Nietzsche

          Comment


          • #95
            Originally posted by Impaler[WrG]
            I was wondering is it possible to also show a Rate of research aka Research Points generated per turn as well.
            I actually implemented that (before the research graph though). I didn't include it because the graphs were very jagged and hard to read, even after smoothing with a 5 turn window.

            Comment


            • #96
              Also, the amount of research includes any gained from tech trading. So you would end up with major spiking on the graph any time you (or anyone else) traded techs.

              Bh

              Comment


              • #97
                After installing the mod, I seem to be getting errors while loading Civ4. "Failed to load python file CvEventInterface". As far as I can tell, everything was placed in it's appropriate places?

                That file in particular was placed in:
                C:\Documents and Settings\Sarah\My Documents\My Games\Sid Meier's Civilization 4\CustomAssets\python\entrypoints

                Which, if I am not mistaken is where it should be, right? Am I doing something wrong?

                Also, after entering the game I get "failed to load CvScreensInterface"... Which isn't a file I have touched, but sounds related to the CvInfoScreen file you created?

                Please also note that I have no other python based mods installed at present. Only XML based mods.

                Comment


                • #98
                  Also, the amount of research includes any gained from tech trading. So you would end up with major spiking on the graph any time you (or anyone else) traded techs.
                  I realize this but still think such a graph would be interesting and usefull. Probably more usefull if their was a way to iron out thouse spikes (perhaps subtract the value of the traded/goodyhut techs to show only the domesticaly generated tech points).
                  Companions the creator seeks, not corpses, not herds and believers. Fellow creators, the creator seeks - those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest. - Thus spoke Zarathustra, Fredrick Nietzsche

                  Comment


                  • #99
                    Originally posted by Aloriel
                    After installing the mod, I seem to be getting errors while loading Civ4. "Failed to load python file CvEventInterface". As far as I can tell, everything was placed in it's appropriate places?
                    Can you check the log file for error messages? It should be located in the Logs folder in your civ directory.

                    Comment


                    • I've got exactly one error logged, and it's not related (and from november for that matter!). Something about themes not loading, or whatnot. There are no logs beyond that one.

                      Is there a setting that turns on logging of errors?

                      Comment


                      • It's in the .ini file ("My Documents\My Games\Civilization 4\CivilizationIV.ini").

                        Find:
                        LoggingEnabled = 0
                        and change to:
                        LoggingEnabled = 1

                        Bh

                        Comment


                        • Ah ha! Okay, loading the mod with logging enabled.

                          Comment


                          • Well, this isn't pretty, but here goes... Had to use the [ php] tag to get the greater than/less than symbols to show...
                            PHP Code:
                            --------------------------
                            PythonErr.log
                            --------------------------
                            Traceback (most recent call last):
                              
                            File "<string>"line 1in ?
                              
                            File "<string>"line 52in load_module
                              File 
                            "CvEventInterface"line 13in ?
                            ImportError

                            No module named CvCustomEventManager

                            ERR
                            Call function onEvent failedCan't find module CvEventInterface
                            ERR: Call function onEvent failed. Can'
                            t find module CvEventInterface
                            Traceback 
                            (most recent call last):

                              
                            File "<string>"line 1in ?

                              
                            File "<string>"line 52in load_module

                              File 
                            "CvScreensInterface"line 22in ?

                              
                            File "<string>"line 52in load_module

                              File 
                            "CvInfoScreen"line 7in ?

                            ImportErrorNo module named ResearchProgress
                            ERR
                            Call function onEvent failedCan't find module CvEventInterface
                            ERR: Call function onEvent failed. Can'
                            t find module CvEventInterface
                            ERR
                            Call function showIntroMovie failedCan't find module CvScreensInterface
                            ERR: Call function onEvent failed. Can'
                            t find module CvEventInterface

                            -------------------------------------
                            PythonDbg.log
                            -------------------------------------
                            Initializing Python
                            1. Using Python sys path
                            ASSETS\PYTHON\SYSTEM\email

                            <snipped a bunch of stuff that went off without errorbut resulted in a large post>

                            load_module CvCustomEventManager

                            CvCustomEventManager
                             
                            import failed

                            load_module ResearchProgress

                            ResearchProgress
                             
                            import failed

                            UnInit Python 
                            Obviously I edited the second log file's results so as to simplify the post to show where the errors were...
                            Last edited by Aloriel; December 20, 2005, 16:42.

                            Comment


                            • Well, from the sounds of it, it's finding the entrypoints file correctly, but none of the others. Do you have the other files from the .zip in the correct location?

                              Bh

                              Comment


                              • Aaaagh! I missed a few files. Corrected now. Testing in a few moments. (Which I am guessing it'll work)...

                                Thanks for your help.

                                EDIT: Yep, loaded JUST fine. Can't believe I overlooked those files. Guess I was multitasking too much when I installed it LOL

                                Comment

                                Working...
                                X