daons 6 Posted September 5, 2013 Report Share Posted September 5, 2013 Hi, I've just downloaded the latest PM4E Australia 2013 program and am in the process of creating a new scenario through the campaign editor and editing XML files. With two parties i have no problems but when I add more, I am unable to view the Two-Party Preference Votes. It is very strange as there are more than two parties in the standard 2013 scenario in Australia. As well as this I have made sure that the 'preference_voting.XML' is exactly like the Australia 2013 file. Everytime I click on the Preference vote button the software gives me this message. Access violation at address 005A1A3E in module 'pm4e-aus-2013.exe'. Read of address 00000010 Maybe it is just a bug as the Aussie game is quite new? Any ideas? Quote Link to post Share on other sites
RI Democrat 39 Posted September 6, 2013 Report Share Posted September 6, 2013 Make sure you download the new version 1.4.7 - it appears to be working in that version. I can't seem to find the candidates' names, though. Quote Link to post Share on other sites
Anthony_270 969 Posted September 6, 2013 Report Share Posted September 6, 2013 @RI Democrat, No constituency candidate names yet - that will be added shortly. Quote Link to post Share on other sites
mithcd 0 Posted September 6, 2013 Report Share Posted September 6, 2013 Just out of curiosity Daons, what version do you currently have on? Quote Link to post Share on other sites
Anthony_270 969 Posted September 6, 2013 Report Share Posted September 6, 2013 @Daons, Are the new party names in the new preference_voting.xml file? Quote Link to post Share on other sites
daons 6 Posted September 6, 2013 Author Report Share Posted September 6, 2013 I am using version 1.4.7, as far as I can tell all the new party names are in the new preference_voting.xml file? Quote Link to post Share on other sites
Anthony_270 969 Posted September 6, 2013 Report Share Posted September 6, 2013 @Daons, If you post your preference_voting.xml file, I can check it for any possible errors. Quote Link to post Share on other sites
daons 6 Posted September 6, 2013 Author Report Share Posted September 6, 2013 <?xml version="1.0" encoding="utf-8"?><preference_voting> <!-- this means that if a Liberal candidate is eliminated, x% of Liberal votes go to Labor, and so on --> <!-- if target_party percentages sum to > or < 100, will re-calculate them automatically --> <!-- if a party doesn't exist in a constituency, it is removed from the calculation before re-calculating --> <!-- if a party isn't listed, it receives 0% --> <!-- if a party with the same name is listed, it is ignored --> <!-- if all parties are at 0%, then the first party in the game is assigned all the voters --> <voter_flow source_party_id="conservative"> <target_party id="conservative" percentage="0" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="5" /> <target_party id="serb" percentage="10" /> <target_party id="russian" percentage="5" /> <target_party id="lithuanian" percentage="10" /> <target_party id="korean" percentage="10" /> <target_party id="jewish" percentage="10" /> <target_party id="kazakh" percentage="10" /> <target_party id="reunification" percentage="10" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="liberal"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="0" /> <target_party id="labour" percentage="5" /> <target_party id="serb" percentage="10" /> <target_party id="russian" percentage="10" /> <target_party id="lithuanian" percentage="10" /> <target_party id="korean" percentage="10" /> <target_party id="jewish" percentage="10" /> <target_party id="kazakh" percentage="10" /> <target_party id="reunification" percentage="10" /> <target_party id="green" percentage="10" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="labour"> <target_party id="conservative" percentage="5" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="0" /> <target_party id="serb" percentage="10" /> <target_party id="russian" percentage="20" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="10" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="10" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="serb"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="10" /> <target_party id="serb" percentage="0" /> <target_party id="russian" percentage="20" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="10" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="russian"> <target_party id="conservative" percentage="5" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="10" /> <target_party id="serb" percentage="10" /> <target_party id="russian" percentage="0" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="10" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="lithuanian"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="5" /> <target_party id="serb" percentage="5" /> <target_party id="russian" percentage="5" /> <target_party id="lithuanian" percentage="0" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="5" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="korean"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="5" /> <target_party id="serb" percentage="5" /> <target_party id="russian" percentage="5" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="0" /> <target_party id="jewish" percentage="5" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="jewish"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="10" /> <target_party id="serb" percentage="10" /> <target_party id="russian" percentage="5" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="0" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="kazakh"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="5" /> <target_party id="serb" percentage="5" /> <target_party id="russian" percentage="5" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="5" /> <target_party id="kazakh" percentage="0" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="reunification"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="5" /> <target_party id="serb" percentage="5" /> <target_party id="russian" percentage="5" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="5" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="0" /> <target_party id="green" percentage="5" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="green"> <target_party id="conservative" percentage="5" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="10" /> <target_party id="serb" percentage="5" /> <target_party id="russian" percentage="5" /> <target_party id="lithuanian" percentage="5" /> <target_party id="korean" percentage="5" /> <target_party id="jewish" percentage="5" /> <target_party id="kazakh" percentage="5" /> <target_party id="reunification" percentage="5" /> <target_party id="green" percentage="0" /> <target_party id="independent" percentage="10" /> </voter_flow> <voter_flow source_party_id="independent"> <target_party id="conservative" percentage="10" /> <target_party id="liberal" percentage="10" /> <target_party id="labour" percentage="10" /> <target_party id="serb" percentage="10" /> <target_party id="russian" percentage="10" /> <target_party id="lithuanian" percentage="10" /> <target_party id="korean" percentage="10" /> <target_party id="jewish" percentage="10" /> <target_party id="kazakh" percentage="10" /> <target_party id="reunification" percentage="10" /> <target_party id="green" percentage="10" /> <target_party id="independent" percentage="0" /> </voter_flow></preference_voting> Quote Link to post Share on other sites
daons 6 Posted September 6, 2013 Author Report Share Posted September 6, 2013 thanks Quote Link to post Share on other sites
Anthony_270 969 Posted September 6, 2013 Report Share Posted September 6, 2013 Ok, I think I know what the problem is. You're using the preference_voting_new.xml file for the basis. That's an experimental XML file that isn't currently used by the game engine. Make sure to use the preference_voting.xml file, including the syntax contained in it. If this doesn't resolve the problem, please let me know. Quote Link to post Share on other sites
daons 6 Posted September 6, 2013 Author Report Share Posted September 6, 2013 Ok, I think I know what the problem is. You're using the preference_voting_new.xml file for the basis. That's an experimental XML file that isn't currently used by the game engine. Make sure to use the preference_voting.xml file, including the syntax contained in it. If this doesn't resolve the problem, please let me know. Brilliant! That sorted it out, thank you Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.