divhashmorex
03-17-2011, 07:51 PM
Hi,
I have started editting a CNC3 yesterday (for fun) and after 1 of changes I cannot play a mod until I reverse that (last) change.
That modification is adding AutoDepositUpdate module from TiberiumSpike to GDISpaceCommandUplink (other changes works correctly)
Listing 1.1 - Part of GDISpaceCommandUplink.xml presenting added code - no other changes in this file
<AutoDepositUpdate
DepositInterval="8s"
DepositAmount="40"
GiveNoXP="true"
Flags="ACTIVE_WHEN_REPAIRING"/>
There are no problems in the compilation step, but when the game (with mod) is started it will crash with info:
Listing 1.2 - Game Crash
---------------------------
Game crash
---------------------------
addModuleInfo - ERROR defining module '' on thing template '0x8136f6f6'. The module '0x0' has tag which must be unique among all modules for this object, but the tag '0x0' is also already on behavior module '%s' within this object.
Please make unique tag names within an object definition.
0xe addresses:
(unknown)(0x0): cnc3game.dat+0x8de3 Debug::PreStaticInit+0x902
(unknown)(0x0): cnc3game.dat+0x27574b Debug::PostStaticInit+0x26bf8d
(unknown)(0x0): cnc3game.dat+0x279d2e Debug::PostStaticInit+0x270570
(unknown)(0x0): cnc3game.dat+0x27a6e0 Debug::PostStaticInit+0x270f22
(unknown)(0x0): cnc3game.dat+0x27ad75 Debug::PostStaticInit+0x2715b7
(unknown)(0x0): cnc3game.dat+0x415600 Debug::PostStaticInit+0x40be42
(unknown)(0x0): cnc3game.dat+0x416628 Debug::PostStaticInit+0x40ce6a
(unknown)(0x0): cnc3game.dat+0x416cb4 Debug::PostStaticInit+0x40d4f6
(unknown)(0x0): cnc3game.dat+0x41704f Debug::PostStaticInit+0x40d891
(unknown)(0x0): cnc3game.dat+0x157bf3 Debug::PostStaticInit+0x14e435
(unknown)(0x0): cnc3game.dat+0x15923c Debug::PostStaticInit+0x14fa7e
(unknown)(0x0): cnc3game.dat+0x152aa1 Debug::PostStaticInit+0x1492e3
(unknown)(0x0): cnc3game.dat+0xa146 Debug::PostStaticInit+0x988
(unknown)(0x0): kernel32.dll+0x16d4f RegisterWaitForInputIdle+0x49
Because of the severity of this error the game will now exit.
---------------------------
OK
---------------------------
I don't know what is the problem, maybe the method is not supported in CNC3 for other structures than tech? Maybe some missing lines?
Command and Conquer 3 Patch 1.09 PL (Polish Version), Mod SDK 5, original BuildMod.bat
Thanks and Sorry for my English :)
I have started editting a CNC3 yesterday (for fun) and after 1 of changes I cannot play a mod until I reverse that (last) change.
That modification is adding AutoDepositUpdate module from TiberiumSpike to GDISpaceCommandUplink (other changes works correctly)
Listing 1.1 - Part of GDISpaceCommandUplink.xml presenting added code - no other changes in this file
<AutoDepositUpdate
DepositInterval="8s"
DepositAmount="40"
GiveNoXP="true"
Flags="ACTIVE_WHEN_REPAIRING"/>
There are no problems in the compilation step, but when the game (with mod) is started it will crash with info:
Listing 1.2 - Game Crash
---------------------------
Game crash
---------------------------
addModuleInfo - ERROR defining module '' on thing template '0x8136f6f6'. The module '0x0' has tag which must be unique among all modules for this object, but the tag '0x0' is also already on behavior module '%s' within this object.
Please make unique tag names within an object definition.
0xe addresses:
(unknown)(0x0): cnc3game.dat+0x8de3 Debug::PreStaticInit+0x902
(unknown)(0x0): cnc3game.dat+0x27574b Debug::PostStaticInit+0x26bf8d
(unknown)(0x0): cnc3game.dat+0x279d2e Debug::PostStaticInit+0x270570
(unknown)(0x0): cnc3game.dat+0x27a6e0 Debug::PostStaticInit+0x270f22
(unknown)(0x0): cnc3game.dat+0x27ad75 Debug::PostStaticInit+0x2715b7
(unknown)(0x0): cnc3game.dat+0x415600 Debug::PostStaticInit+0x40be42
(unknown)(0x0): cnc3game.dat+0x416628 Debug::PostStaticInit+0x40ce6a
(unknown)(0x0): cnc3game.dat+0x416cb4 Debug::PostStaticInit+0x40d4f6
(unknown)(0x0): cnc3game.dat+0x41704f Debug::PostStaticInit+0x40d891
(unknown)(0x0): cnc3game.dat+0x157bf3 Debug::PostStaticInit+0x14e435
(unknown)(0x0): cnc3game.dat+0x15923c Debug::PostStaticInit+0x14fa7e
(unknown)(0x0): cnc3game.dat+0x152aa1 Debug::PostStaticInit+0x1492e3
(unknown)(0x0): cnc3game.dat+0xa146 Debug::PostStaticInit+0x988
(unknown)(0x0): kernel32.dll+0x16d4f RegisterWaitForInputIdle+0x49
Because of the severity of this error the game will now exit.
---------------------------
OK
---------------------------
I don't know what is the problem, maybe the method is not supported in CNC3 for other structures than tech? Maybe some missing lines?
Command and Conquer 3 Patch 1.09 PL (Polish Version), Mod SDK 5, original BuildMod.bat
Thanks and Sorry for my English :)