AND SVN Build Thread

And if you were to build the Angkor Wat (still, an exception, but still.) and the Apostolic Palace (which gives the +1 hammer bonus to all members or just to builder?), priests become rather strong.
 
The AP provides the :hammers: bonus to all buildings of that religion regardless of owner.
Not sure if you even need to be a member - just needs to have the religion in that city.
 
And if you were to build the Angkor Wat (still, an exception, but still.) and the Apostolic Palace (which gives the +1 hammer bonus to all members or just to builder?), priests become rather strong.

Apostolic Palace doesn't interact with Priests; the bonus is +2 production from all buildings of the Apostolic Palace religion. You are right about Angkor Wat, and Masada also gives +1 production to Priests. The potential is there for Priest specialists to explode in the early game.
 
45°38'N-13°47'E;13192617 said:
Now I only need time to understand how it works. :)

Anyway, this transition need to be planned carefully so there is no need to hurry !
I'm sure you'll see why we promote that once you'd understand how it works.
 
Woa! Slow down guys! We can not play that fast as you are pushing out the new revs :lol:

Great job anyway :goodjob:

Also great thanx for the AI usin flex.dif. I've been dreaming of that earlier :goodjob:


Just a personel sidenote on changing to github or anything:
Please, always leave the option to download an archive for instalation, and don't make it mandatory to instal through the internet, please. I have no internet conection on my game PC (and that's not going to change soon).

Thank you all for all the goodies! :)
 
Please, always leave the option to download an archive for instalation, and don't make it mandatory to instal through the internet, please. I have no internet conection on my game PC (and that's not going to change soon).

Don't worry, that won't be excluded.

@Afforess : Do you know a command to checkout a SVN repository into a folder which already have the data ? The command seems to force the redownloading of every file.
 
Don't worry, that won't be excluded.

@Afforess : Do you know a command to checkout a SVN repository into a folder which already have the data ? The command seems to force the redownloading of every file.

No. If the SVN has not tracked the data it won't recognize the existing stuff. You have to redownload.
 
Revision 696

Fix broken AI logic for remembering backstabs

I'm not sure what my past self was thinking, but there was basically no way the AI would correctly remember if you had backstabbed a friend of theirs. Fixed now.
 
45°38'N-13°47'E;13194943 said:
Thank you lordfistas, I'm adding your translation and credits to you. If you wish so, and if you wish to be part of the team as polish translator, I'll add you to the AND2 team page. :)

Thank you! I'm glad to join your team but I'm not only one who working on this translation. I lead this project but some people help me with texts. If I may ask please add to team page: "lordfistas, attyla and helpful people from civ.org.pl site"
 
Thank you! I'm glad to join your team but I'm not only one who working on this translation. I lead this project but some people help me with texts. If I may ask please add to team page: "lordfistas, attyla and helpful people from civ.org.pl site"

Sounds good, I'll do as you say. :)
 
@lordfistas: I'm importing your polish translation but I see a problem. Some polish letters aren't displayed correctly. For example ł is being displayed as ô. I see that you've changed ANDAutomationsTab.py but for some reason it doesn't work and ô is always displayed instead of ł. I see that in xml files ł is reported as ô. What if I change ô with ł? (and the same for other letters, of course). I don't know how it works in your version of BTS but at least I see a l (and not a ł) instead of ô. Would that work?
 
45°38'N-13°47'E;13195111 said:
@lordfistas: I'm importing your polish translation but I see a problem. Some polish letters aren't displayed correctly. For example ł is being displayed as ô. I see that you've changed ANDAutomationsTab.py but for some reason it doesn't work and ô is always displayed instead of ł. I see that in xml files ł is reported as ô. What if I change ô with ł? (and the same for other letters, of course). I don't know how it works in your version of BTS but at least I see a l (and not a ł) instead of ô. Would that work?

It's encoding problem: "&#322;" have code "0xF4", in ISO 8859-1 it's "ô" letter. I changed it in AutomationTab to display "l". If we use "&#322;" to display then some errors occurs in encoding and Automation Tab and DynamicCivNames don't work : < This problem occurs with all polish special chars
 
It's encoding problem: "&#322;" have code "0xF4", in ISO 8859-1 it's "ô" letter. I changed it in AutomationTab to display "l". If we use "&#322;" to display then some errors occurs in encoding and Automation Tab and DynamicCivNames don't work : < This problem occurs with all polish special chars

So is that ok for you to show "l" instead of "&#322;"? Can I use your python as is? I'm wondering if it's causing problems with other languages, such as french which has "ô" character. If it does, I think I can just split that "remove_diacriticals" function in the python file for different languages.

Edit: by the way the change in python doesn't seem to work. For example I see tank as czoôg instead of czo&#322;g in Sevopedia.
Edit2: I mean, I can't see the correct character on MY pc. But if I import exactly what you've done, will it work on polish pc?

The only change I had in mind was in the python file:

Code:
	iLang = gc.getGame().getCurrentLanguage()
	
	if iLang !=  7:
		accent = ['é', 'è', 'ê', 'à', 'ù', 'û', 'ç', 'ô', 'î', 'ï', 'â' ,'õ' ,'ä' ,'ö' ,'ü']
		sans_accent = ['e', 'e', 'e', 'a', 'u', 'u', 'c', 'o', 'i', 'i', 'a', 'o', 'a' ,'o' ,'u']
	else:
	        accent =      ['é', 'è', 'ê', 'à', 'ù', 'û', 'ç', 'ô', 'î', 'ï', 'â' ,'õ' ,'ä' ,'ö' ,'ü','ó' ,'¹' ,'&#339;' ,'³' ,'¿' ,'&#376;' ,'æ' ,'ñ', 'á' ,'Ä', 'ë' ,'Ô']
	        sans_accent = ['z', 'e', 'e', 'a', 'u', 'u', 'c', 'l', 'i', 'i', 'a', 'o', 's' ,'o' ,'u','o' ,'a' ,'s' ,'l' ,'z' ,'z' ,'c' ,'n', 'a' ,'S', 'z' ,'L']
This way your changes should only be applied if the current language is 7 (polish)
 
45°38'N-13°47'E;13195138 said:
So is that ok for you to show "l" instead of "&#322;"? Can I use your python as is? I'm wondering if it's causing problems with other languages, such as french which has "ô" character. If it does, I think I can just split that "remove_diacriticals" function in the python file for different languages.

Edit: by the way the change in python doesn't seem to work. For example I see tank as czoôg instead of czo&#322;g in Sevopedia.
Edit2: I mean, I can't see the correct character on MY pc. But if I import exactly what you've done, will it work on polish pc?

The only change I had in mind was in the python file:

Code:
	iLang = gc.getGame().getCurrentLanguage()
	
	if iLang !=  7:
		accent = ['é', 'è', 'ê', 'à', 'ù', 'û', 'ç', 'ô', 'î', 'ï', 'â' ,'õ' ,'ä' ,'ö' ,'ü']
		sans_accent = ['e', 'e', 'e', 'a', 'u', 'u', 'c', 'o', 'i', 'i', 'a', 'o', 'a' ,'o' ,'u']
	else:
	        accent =      ['é', 'è', 'ê', 'à', 'ù', 'û', 'ç', 'ô', 'î', 'ï', 'â' ,'õ' ,'ä' ,'ö' ,'ü','ó' ,'¹' ,'œ' ,'³' ,'¿' ,'Ÿ' ,'æ' ,'ñ', 'á' ,'Ä', 'ë' ,'Ô']
	        sans_accent = ['z', 'e', 'e', 'a', 'u', 'u', 'c', 'l', 'i', 'i', 'a', 'o', 's' ,'o' ,'u','o' ,'a' ,'s' ,'l' ,'z' ,'z' ,'c' ,'n', 'a' ,'S', 'z' ,'L']
This way your changes should only be applied if the current language is 7 (polish)

On my computer everything is ok, maybe your notepad++ change encoding : ) Don't worry please merge and I will check all texts. Sorry for borken French encoding, thank you for change this python method : )
 
On my computer everything is ok, maybe your notepad++ change encoding : ) Don't worry please merge and I will check all texts. Sorry for borken French encoding, thank you for change this python method : )

Ok, I think I can upload everything in a while; once I'm finished, just let me know if it's working or if there are problems. Thank you.
 
45°38'N-13°47'E;13195396 said:
rev697

  • Polish translation, thank you to lordfistas, attyla and helpful people from civ.org.pl
  • Improved logic for NPT voting

Thank you! But why you don't include files with prefix polishupdateXXX_ ? We need this files because orginal Polish translation is on French tags : ( Don't worry I removed from this files duplicate tags : )
 
Thank you! But why you don't include files with prefix polishupdateXXX_ ? We need this files because orginal Polish translation is on French tags : ( Don't worry I removed from this files duplicate tags : )

Damn, because I forgot. I only uploaded changed files and forgot to upload new files. I'm uploading them now. Thank you for pointing it out :)
 
Back
Top Bottom