.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 28th, 2011, 12:17 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 report conflicts between mods

As subject suggests. I basically made this tool for Globu but it may be useful to other modders or players.

works like this
a. go to mods dir
b. run: python [path/to/file]reportDMClashes.py on list of .dm files to check, ex:
cygwin: [/cygdrive/c/games/dominions3/mods/mod_not_in_use:]$ python /cygdrive/c/work/scripts/games/reportDMClashes.py *.dm

windows: c:\games\dominions3\mods\mod_not_in_use>python c:\work\scripts\games\reportDMClashes.py *.dm

Warns go to stdout and logs go to reportDMClashes.log (set to log when >= INFO).

Snippet of very long list of conflicts when running check on a bunch of old mods:

Warning: found conflict! ID 2755 appears 3 times.
At Dominions 3000 v0.75.dm:4829, as type: monster, name Ice Samurai Battle Suit
At Githzerai.dm:426, as type: monster, name Psion
At Shangri La.dm:862, as type: monster, name Dmag Dpon
Warning: found conflict! ID 2525 appears 2 times.
At AI Ogre Kingdoms.dm:1351, as type: monster, name Slavegiant
At Dominions 3000 v0.75.dm:8532, as type: monster, name Primordia Regina
Warning: found conflict! ID 2748 appears 2 times.
At Githzerai.dm:287, as type: monster, name Soryo
At Shangri La.dm:601, as type: monster, name Rta Pa
Warning: found conflict! ID 2749 appears 2 times.
At Githzerai.dm:304, as type: monster, name Zerain
At Shangri La.dm:640, as type: monster, name Guardian of the Hidden Valley
Warning: found conflict! ID 2750 appears 3 times.
At Dominions 3000 v0.75.dm:4729, as type: monster, name Aka-Oni
At Githzerai.dm:323, as type: monster, name Inzen
At Shangri La.dm:679, as type: monster, name Mi G
Warning: found conflict! ID 2751 appears 3 times.
At Dominions 3000 v0.75.dm:4773, as type: monster, name Ao-Oni
At Githzerai.dm:341, as type: monster, name Ninja
At Shangri La.dm:711, as type: monster, name Mi G Rngon Pa
Warning: found conflict! ID 705 appears 2 times.
At Dominions 3000 v0.75.dm:617, as type: weapon, name Lightning Cannon
At Githzerai.dm:58, as type: weapon, name Fists of the Grandmaster
Warning: found conflict! ID 2754 appears 2 times.
At Dominions 3000 v0.75.dm:4801, as type: monster, name Fire Samurai Battle Suit
At Githzerai.dm:410, as type: monster, name Majishan
Warning: found conflict! ID 707 appears 4 times.
At Dominions 3000 v0.75.dm:651, as type: weapon, name Needler
At Githzerai.dm:76, as type: weapon, name Stunning Fist
At WH191andCBM16.dm:1234, as type: weapon, name Orna
At WH19andCBM16.dm:1227, as type: weapon, name Orna
Warning: found conflict! ID 2756 appears 3 times.
At Dominions 3000 v0.75.dm:4856, as type: monster, name Lightning Samurai Battle Suit
At Githzerai.dm:444, as type: monster, name Guru
At Shangri La.dm:897, as type: monster, name Rta Dmag Go
Warning: found conflict! ID 2205 appears 2 times.
At MC_NI_ Indy_Pack.dm:605, as type: monster, name item
At Nephilim.dm:249, as type: monster, name Feral
Warning: found conflict! ID 2757 appears 3 times.
At Dominions 3000 v0.75.dm:4884, as type: monster, name Gokenin
At Githzerai.dm:462, as type: monster, name Senin
At Shangri La.dm:936, as type: monster, name Rje
Warning: found conflict! ID 2758 appears 3 times.
At Dominions 3000 v0.75.dm:4914, as type: monster, name Wraith Suit Shinobi
At Githzerai.dm:481, as type: monster, name Dai-Zerain
At Shangri La.dm:976, as type: monster, name Drapa
Warning: found conflict! ID 2759 appears 3 times.
At Dominions 3000 v0.75.dm:4946, as type: monster, name Hatamoto
At Githzerai.dm:513, as type: monster, name Ghost Gith Commoner
At Shangri La.dm:1018, as type: monster, name Ngagspa
Warning: found conflict! ID 2760 appears 3 times.
At Dominions 3000 v0.75.dm:4976, as type: monster, name Daimyo
At Githzerai.dm:536, as type: monster, name Seirei
At Shangri La.dm:1057, as type: monster, name Demon Hunter
Warning: found conflict! ID 2761 appears 3 times.
At Dominions 3000 v0.75.dm:5006, as type: monster, name Dai-Oni
At Githzerai.dm:552, as type: monster, name Tamashi
At Shangri La.dm:1096, as type: monster, name Ragyapa
...
Attached Files
File Type: zip reportDMClashes.zip (4.4 KB, 141 views)

Last edited by WraithLord; March 1st, 2011 at 09:28 AM..
Reply With Quote
The Following 3 Users Say Thank You to WraithLord For This Useful Post:
  #2  
Old March 1st, 2011, 09:27 AM
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: report conflicts between mods

updated to only report conflict when mod entries are of same type and ID.
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 11:37 AM.


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