• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

help with features?

Okay, i've looked into it, can't reproduce it :dunno:.
Started a new game with the basic mod event, killed a civ via WB a round before the spawning, and the byzantines spawned just fine :dunno:.

Are python exceptions activated? If not, then do it please.

And i made a quick adjustment to ensure that the first mentioned city name will always be the capital, changed .py file attached.
 

Attachments

how would I check python exceptions are on/turn them on?
 
hmm the thought just occured that if this is going on the database then what will happen if the person who has downloaded doesn't have the exceptions hidden? And what is the exceptions for exactly
 
Python exceptions are the error messages generated by invalid code. The game hides those from the player by default - the game isn't supposed to generate any errors... But then again, nor is your mod, right?
 
oh..... That makes perfect sense now I was thinking it was something that corrects errors somehow.... yeah ok (I have not tried it out yet but I will very soon (unfortunatly I may have deleted my save for it so I will have to play 225 turns again (just in case)
 
Do you know how to launch and use the Python console? Because if you do, then you can change the current game turn with the command line:
Code:
CyGame().setGameTurn(254)
 
no I don't! BUT wouldn't I still have to kill the civ first in like turn 10?

how do I use the consol
 
Oh, if you look in my sig you find a Python tutorial link. It should be explained in the first "lesson".
 
would that be for a british keyboard (QWERTY)?
 
I actually suggest you look up different keyboard layout on like Wikipedia in order to figure out what key would replace the ´or ~ key (the latter seems to be the default :dunno:). There is actually a link in the tutorial I mentioned. :D

I also believe that you need to press the shift key, but it might not apply in your case.
 
On my Swedish keyboard its actually shift + ö (which is located beside the L key, replacing colon/semicolon on a US keyboard). :crazyeye:

I've said it before: There needs to be a better way of launching the Python console. Anybody? :confused: (I assume you can't fire it with a line of Python code, at least. :rolleyes:)
 
ok I will test this feautre out tommorrow along with the activate of the python console


In the mean time I still have to find a way of getting the other features
 
Yeah, that works also. Don't forget to try all keys with shift. :p
 
ok I got an exception...

Traceback(most recent call last):

File "CvAppInterface", line 56, in onLoad

File "CvEventInterface", line 23, in onEvent

File "CvEventManager", line 187, in handleEvent

File "vEventManager", line 323, in onLoadGame

AttributeError: 'module' object has no attribute
'resetNoLiberateCities'

I got this when loading the game saved on turn 224 when it loaded it popped up with the forementioned... Hope it's helpful


this is with the original code (before you made sure that Byzantium would ALWAYS be the capital
 
Back
Top Bottom