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

This Month's Specials

BCT Commander- Save $8.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old September 11th, 2010, 06:40 AM
Kadelake's Avatar

Kadelake Kadelake is offline
Sergeant
 
Join Date: Nov 2007
Location: Sweden
Posts: 270
Thanks: 31
Thanked 25 Times in 6 Posts
Kadelake is on a distinguished road
Default CD-keys and playing multipel nations on llamaserver

Is anyone familiar with how the piracy protection works? We've run into some problems in a llamaserver game:

We needed a sub for one of the powerful nations and one of the other players in the game offered to switch nations since he was about to be eliminated soon. However, when the game hosted he got this message:
"CD key violation
Your CD key has been used on multiple installations. Your orders have not been executed."

I suppose this was because he sent in 2h files for two nations that turn. Does anyone know if it will work alright from now on or have we managed to mess up the game permanently
Reply With Quote
  #2  
Old September 11th, 2010, 10:29 AM

Zeldor Zeldor is offline
General
 
Join Date: Oct 2007
Location: Poland
Posts: 3,414
Thanks: 26
Thanked 73 Times in 49 Posts
Zeldor is on a distinguished road
Default Re: CD-keys and playing multipel nations on llamaserver

It will work fine. It works fine if you play 2 nations too, if you obey some rules.
__________________
谋事在人,成事在天。

LA Agartha guide
Reply With Quote
  #3  
Old September 11th, 2010, 10:44 AM
Kadelake's Avatar

Kadelake Kadelake is offline
Sergeant
 
Join Date: Nov 2007
Location: Sweden
Posts: 270
Thanks: 31
Thanked 25 Times in 6 Posts
Kadelake is on a distinguished road
Default Re: CD-keys and playing multipel nations on llamaserver

What are those rules?
Reply With Quote
  #4  
Old September 11th, 2010, 02:46 PM

LDiCesare LDiCesare is offline
Captain
 
Join Date: Apr 2004
Location: France
Posts: 820
Thanks: 4
Thanked 33 Times in 24 Posts
LDiCesare is on a distinguished road
Default Re: CD-keys and playing multipel nations on llamaserver

I think you must send turns with a single CD key from the same computer.
Reply With Quote
  #5  
Old September 13th, 2010, 05:31 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: CD-keys and playing multipel nations on llamaserver

Yes, controlling multiple nations with the same game installation and CD key is no problem, but having nations with the same CD key installed on different machines is.
__________________
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
  #6  
Old September 13th, 2010, 05:45 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: CD-keys and playing multipel nations on llamaserver

The way I understand it

When the game hosts, it checks all the CD keys to make sure they are good.
And then it checks the turned in turn files against each other (but skips the host key).

If it can see that two computers are using the same key, then it considers it a cheat.
No matter what good reasons and logic you have (like both being your computers) it has no way of telling that from an illegal copy. So basically, avoid having 2 computers using the same key in the same game, (on the same turn?) to avoid that particular part of the security check.

For hosts:
there is a --verify switch that will provide a way to check all the turn in files before hosting to help avoid messy rollbacks in case someone is taking an action you are unsure of.
Reply With Quote
  #7  
Old September 13th, 2010, 08:03 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: CD-keys and playing multipel nations on llamaserver

I wonder if it would be worth building the --verify step into the llamaserver code?

If it's effective it could avoid a lot of hassles. It doesn't produce any output, so you'd have to parse the .chk files.
Reply With Quote
  #8  
Old September 13th, 2010, 08:31 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: CD-keys and playing multipel nations on llamaserver

It should be easy to create an addition to the pre.sh to run --verify then do a stop-if-fail check. I know how to in linux but in windows it might take small program.

I also have a routine for a stop-if-fail check on nations going AI. It allows the person running the game to decide whether to allow or, or let them stall while looking for a sub.

Another good verify to do , altho more involved, is a start-game check to make sure that all gods are "legal" for that game. Not as important for direct-connect games as for pbem. Might be good to include.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 04:23 PM.


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