.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
  #21  
Old May 19th, 2009, 04:30 PM

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: Script for combining multiple mods

I will have a quick look when I get home. Maybe I somehow uploaded a broken version or something, or maybe CPCS has some features I didn't take account of.
__________________
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
  #22  
Old May 19th, 2009, 04:37 PM

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: Script for combining multiple mods

It must be CPCS, but dunno what. EVen leaving 1 spell from CPCS makes it crash in that way. So you can look just there.
__________________
谋事在人,成事在天。

LA Agartha guide
Reply With Quote
  #23  
Old May 19th, 2009, 07:16 PM

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: Script for combining multiple mods

Okay, bug hunted!!

I will upload the fixed version in a minute. However, all that needs to change is line 852 (it may be +-1, if I have unknowingly added or deleted a line).

It did read:
for my $modCounter (keys %unknownNationNumberFillIns) {
It should read:
for my $modCounter (keys %spellFillIns) {

D'oh!

The error messages are in fact just warnings. I had warnings turned off (bad llama!) and so hadn't seen them. In fact they do not indicate any actual problems and are harmless.

By the way, I really appreciate that you made the effort to get ActivePerl, work out how to run the code, print the error messages and so forth. Sorry it didn't work right away. I hope it works for you now!
__________________
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
  #24  
Old May 20th, 2009, 03:15 AM
Gregstrom's Avatar

Gregstrom Gregstrom is offline
Major General
 
Join Date: Sep 2007
Location: Scotland
Posts: 2,066
Thanks: 109
Thanked 162 Times in 118 Posts
Gregstrom is on a distinguished road
Default Re: Script for combining multiple mods

It works!

A thousand thankyous, llamabeast.
__________________
A Beginner's guide to Lanka

Want to use multiple mods? The Mod Compatibility Index might be useful.
Reply With Quote
  #25  
Old May 20th, 2009, 09:45 AM
Gregstrom's Avatar

Gregstrom Gregstrom is offline
Major General
 
Join Date: Sep 2007
Location: Scotland
Posts: 2,066
Thanks: 109
Thanked 162 Times in 118 Posts
Gregstrom is on a distinguished road
Default Re: Script for combining multiple mods

I've found another issue, I'm afraid.

When renumbering of units takes place, it appears that new sites that have those units as recruitables don't get their #com and #mon renumbered appropriately. At least, you don't if you're combining the Antilarium4 mod.
__________________
A Beginner's guide to Lanka

Want to use multiple mods? The Mod Compatibility Index might be useful.

Last edited by Gregstrom; May 20th, 2009 at 10:04 AM..
Reply With Quote
  #26  
Old May 20th, 2009, 01:18 PM

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: Script for combining multiple mods

Poo. When I wrote this I tested it really carefully, but I think I tested it on rather different mods - just CBM and nation mods if I remember correctly.

Unfortunately I am out at a big posh dinner tonight (by some quirk I seem to be on the records as a "lecturer" just for having done a little teaching last year so I get to go to a black tie feast!). I'll fix it tomorrow night, but I'm sorry in the meantime for holding your game up. Which mods does it affect (I am in the library now so can't check things properly)? Possibly if it is just say the magic site mod and the holy mod, you could combine all of the others, and keep those ones separate. They are unlikely to clash with the combined ones because the combined ones are given very high numbers for things IIRC.
__________________
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
  #27  
Old May 20th, 2009, 02:17 PM
Gregstrom's Avatar

Gregstrom Gregstrom is offline
Major General
 
Join Date: Sep 2007
Location: Scotland
Posts: 2,066
Thanks: 109
Thanked 162 Times in 118 Posts
Gregstrom is on a distinguished road
Default Re: Script for combining multiple mods

It affected Antilarium4.dm, but I've renumbered the #coms and #mons manually - there weren't too many of them.
__________________
A Beginner's guide to Lanka

Want to use multiple mods? The Mod Compatibility Index might be useful.
Reply With Quote
  #28  
Old May 20th, 2009, 05:06 PM
Gregstrom's Avatar

Gregstrom Gregstrom is offline
Major General
 
Join Date: Sep 2007
Location: Scotland
Posts: 2,066
Thanks: 109
Thanked 162 Times in 118 Posts
Gregstrom is on a distinguished road
Default Re: Script for combining multiple mods

...apparently the script doesn't always get new summon spells correct either. In the unsanity combi-mod it looked like it got the Mytheology summons correct (at least, to a casual inspection), but apparently it messed up Divine War.
__________________
A Beginner's guide to Lanka

Want to use multiple mods? The Mod Compatibility Index might be useful.
Reply With Quote
  #29  
Old May 20th, 2009, 06:52 PM

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: Script for combining multiple mods

Bah, humbug! Sorry Gregstrom! I will try to take a look tomorrow night. By the sound of it it is a bug rather than a missing feature, so hopefully it will be quickish to solve.
__________________
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
  #30  
Old June 2nd, 2009, 06:42 AM
Amonchakad's Avatar

Amonchakad Amonchakad is offline
Corporal
 
Join Date: Jan 2009
Location: Modena, Italy
Posts: 192
Thanks: 27
Thanked 21 Times in 10 Posts
Amonchakad is on a distinguished road
Default Re: Script for combining multiple mods

I'd really like to use this script to merge some mods,but I haven't got the slightiest clue on how to use it: I've never used perl,and I've tried downloading that perl program for windows,but it's a huge mess, so I went on another pc who has Ubuntu, and I tried your instructions for Linux, but it just says something like "no file found".
I'm a total newbie of Linux, so...does the combineMods file need to be in a particular directory? Do the mods need to be in the same one? Anything else that you might explain for this program to work?
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 08:30 AM.


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