|  | 
| 
 
 
 
 
 
 
 
 
    
    
 |  | 
 
 
	
		|  |  |  
	
	
		
	
	
	| 
			
			 
			
				February 27th, 2009, 08:12 PM
			
			
			
		 |  
	| 
		
			
			| 
 First Lieutenant |  | 
					Join Date: Oct 2008 Location: In Ulm und um Ulm herum 
						Posts: 787
					 Thanks: 133 
		
			
				Thanked 78 Times in 46 Posts
			
		
	      |  |  
    
	| 
				 Dominions Diplomacy Tool - Amnesia 
 For those that are never sure to which nation they sent which item like me I've made a small prog to double check their diplomacy.For a given *.2h file it displays all diplomacy you conducted in a list.
 
 There are currently versions for 64 bit Linux and Windows XP (hopefully it runs on vista to).
 
 The program recognizes all items and nations in the vanilla game, mod items and nations will just be called unknown item/nation with the item/nation number in brackets.
 
 It also displays gold and gem transfers in detail but only the recipient of a message.
 
 
 If you find any bugs while using it please tell me.
 
                 Last edited by Illuminated One; March 2nd, 2009 at 11:05 PM..
 |  
	
		
			| The Following 10 Users Say Thank You to Illuminated One For This Useful Post: |  |  |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 03:45 AM
			
			
			
		 |  
	| 
		
			
			| 
 National Security Advisor |  | 
					Join Date: Nov 2006 Location: Oxford, UK 
						Posts: 5,921
					 Thanks: 194 
		
			
				Thanked 855 Times in 291 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 Wow, that sounds very useful! |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 08:10 AM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Feb 2007 Location: R'lyeh 
						Posts: 3,861
					 Thanks: 144 
		
			
				Thanked 403 Times in 176 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 Haha, chrisp will love this, I think he said that he's always sending stuff to the wrong nations because of frequent misclicks. Very nice, though Linux only... Maybe make it into a web frontend?
 Instead of saying "unknown nation" or "unknown item", better tell the ID number so that it's compatible with modding.
 |  
	
		
			| The Following User Says Thank You to lch For This Useful Post: |  |  |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 04:55 PM
			
			
			
		 |  
	| 
		
			
			| 
 BANNED USER |  | 
					Join Date: May 2004 
						Posts: 4,075
					 Thanks: 203 
		
			
				Thanked 121 Times in 91 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 YES I do LOVE LOVE LOVE it.   I started doing it but I'm not much of a programmer.  (Send a gift, compare turn file, send a gift, compare turn file)
 YAH!!!!!!
 
 The best way to run this illuminated/LCH would be to chain program *after* dominions.  The ability is already on the command line.  That way, after you run dominions, (but before you submit your turn) it will pop up a little screen that says:
 
 1 msg sent to mictlan
 1 msg sent to Ea-Lanka
 5 fire gems sent to Kailasa
 200 gold sent to Atlantis...
 1 unknown item (#45) sent to Jotunheim
 
 Etc.
 
 This is brilliant (the original poster, not me)...
 |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 05:30 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Sep 2003 Location: Tel Aviv, Israel 
						Posts: 3,465
					 Thanks: 511 
		
			
				Thanked 162 Times in 86 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 Awesome! 
A windows .exe would be so   |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 06:21 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Oct 2003 Location: Vacaville, CA, USA 
						Posts: 13,736
					 Thanks: 341 
		
			
				Thanked 479 Times in 326 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 I agree that a windows exe would probably go over well.I draw this info from the game logs. For myself, or players in mp games that request it. Thats fairly easy to do for a linux user but much harder for a windows user. Im sure they would appreciate an exe.
 
 Gandalf  Parker
 --
 To some people, unlimited options seems to them to be zero options.
 Without a menu of choices, they are lost.
 |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 06:37 PM
			
			
			
		 |  
	| 
		
			
			| 
 BANNED USER |  | 
					Join Date: May 2004 
						Posts: 4,075
					 Thanks: 203 
		
			
				Thanked 121 Times in 91 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 What would be *EVEN COOLER*
 would be an even further extension.
 
 This would be an application that runs *before* the turn is processed.
 
 The application would check to see that matching trades were made, and if not, set the values traded to zero.
 
 The way to do this would be a text message to your intended trading partner.
 
 So, suppose mictlan wants to trade 150 gold for 10 fire gems from Abysia.
 
 Mictlan would send two messages:
 
 The usual message, sending Abysia 150 gold.  And a second text message:
 "CT 150 gold Abysia 10 Fire"
 
 The application would check both turn files- if Abysia didn't send fire gems, the application would modify the gold sent to zero.
 
                 Last edited by llamabeast; March 1st, 2009 at 03:47 AM..
 |  
	
		
			| The Following User Says Thank You to chrispedersen For This Useful Post: |  |  |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 09:11 PM
			
			
			
		 |  
	| 
		
			
			| 
 First Lieutenant |  | 
					Join Date: Oct 2008 Location: In Ulm und um Ulm herum 
						Posts: 787
					 Thanks: 133 
		
			
				Thanked 78 Times in 46 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 
	Quote: 
	
		| 
					Originally Posted by Ich
					
				 Instead of saying "unknown nation" or "unknown item", better tell the ID number so that it's compatible with modding. |  Good idea, I will add that.
 
	Quote: 
	
		| 
					Originally Posted by chrispedersen
					
				 The best way to run this illuminated/LCH would be to chain program *after* dominions. The ability is already on the command line. That way, after you run dominions, (but before you submit your turn) it will pop up a little screen that says: |  You should be able to do that already. If you want a window output after running dominions instead of console use this shell script with zenity (I don't like programming UI    ). 
For windows I'll probably just use Messagebox.
 
	Code: #!/bin/sh
dom3 yourgame
amnesia ~/dominions3/savedgames/yourgame/yournation.2h > amnesia.txt
zenity --text-info --title="Yourgame Diplomacy" --filename="amnesia.txt" If you'd wanted to make a insurance you could just send the gold/items back to yourself that would be 5 lines of code. Even somewhat thematic the trade caravan returns...   
But making an interpreter for the messages is a lot of work, and the program would have to decrypt the messages and update the crc.
                 Last edited by llamabeast; March 1st, 2009 at 03:47 AM..
 |  
	
		
	
	
	| 
			
			 
			
				February 28th, 2009, 08:32 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Feb 2007 Location: R'lyeh 
						Posts: 3,861
					 Thanks: 144 
		
			
				Thanked 403 Times in 176 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 chrispedersen, that's a pretty wonky workaround to get insurance about trade agreements, though. You shouldn't have an external program do this for you. I haven't heard of any people that deliberately violated trade agreements in any game, too. |  
	
		
	
	
	| 
			
			 
			
				March 1st, 2009, 03:48 AM
			
			
			
		 |  
	| 
		
			
			| 
 National Security Advisor |  | 
					Join Date: Nov 2006 Location: Oxford, UK 
						Posts: 5,921
					 Thanks: 194 
		
			
				Thanked 855 Times in 291 Posts
			
		
	      |  |  
    
	| 
				 Re: Dominions Diplomacy Tool - Amnesia 
 The censor has been at work... thanks for that guys, I'll let Illwinter know about it. |  
	
		
	
	
	
	
	
	
	| Thread Tools |  
	|  |  
	| Display Modes |  
	
	| 
		
		 Hybrid Mode |  
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is On 
 |  |  |  |  |