.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old February 27th, 2009, 08:12 PM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default 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.
Attached Files
File Type: zip amnesia.zip (13.5 KB, 256 views)

Last edited by Illuminated One; March 2nd, 2009 at 11:05 PM..
Reply With Quote
The Following 10 Users Say Thank You to Illuminated One For This Useful Post:
  #2  
Old February 28th, 2009, 03:45 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Dominions Diplomacy Tool - Amnesia

Wow, that sounds very useful!
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #3  
Old February 28th, 2009, 08:10 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default 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.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
The Following User Says Thank You to lch For This Useful Post:
  #4  
Old February 28th, 2009, 04:55 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default 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)...
Reply With Quote
  #5  
Old February 28th, 2009, 05:30 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Dominions Diplomacy Tool - Amnesia

Awesome!

A windows .exe would be so
Reply With Quote
  #6  
Old February 28th, 2009, 06:21 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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.
Reply With Quote
  #7  
Old February 28th, 2009, 06:37 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default 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..
Reply With Quote
The Following User Says Thank You to chrispedersen For This Useful Post:
  #8  
Old February 28th, 2009, 08:32 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default 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.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #9  
Old February 28th, 2009, 09:11 PM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default 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..
Reply With Quote
  #10  
Old March 1st, 2009, 03:48 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Dominions Diplomacy Tool - Amnesia

The censor has been at work... thanks for that guys, I'll let Illwinter know about it.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.