Posted by: FredIsHere - Sunday, January 13, 2008 9:55:01 PM
Hello members of the forum,
I'm currently trying to create some new general powers and have been following the tutorial set up but am finding that i get a technical error following the steps, upon further inspection of the tutorial it mentions that you are now on your way to creating a new general power and the additional steps will be followed up in an other tutorial. I was wondering could anyone on this forum point me in the direction of what the additional steps required are?
Thanks in advance
Fred
Posted by: FredIsHere - Monday, January 14, 2008 1:21:44 AM
Just thought I'd add that when i use the world builder to debug i get an ini error then a runtime error the debug file has this code:
********** EXCEPTION DUMP ****************
Dump exception info
Exception is access violation
WinMain at aea526
Found exception description
Error code: EXCEPTION_ACCESS_VIOLATION
Description: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Access address:C2C80000 was read from.
Stack Dump:
Call Stack
**********
(-1) : 0x0074CC46
(-1) : 0x20006972
Details:
Register dump...
Eip:0074CC46 Esp:00127A48 Ebp:0012A3DE
Eax:C2C80000 Ebx:0012A350 Ecx:00127E4C
Edx:00127E4C Esi:0012A3DE Edi:00B94008
EFlags:00010286
CS:001b SS:0023 DS:0023 ES:0023 FS:003b GS:0000
EIP bytes dump...
Bytes at CS:EIP (0074CC46) : 8A 10 8A 1E 8A CA 3A D3 75 1E 84 C9 74 16 8A 50 01 8A 5E 01 8A CA 3A D3 75 0E 83 C0 02 83 C6 02
********** END EXCEPTION DUMP ****************
********** EXCEPTION DUMP ****************
Dump exception info
Exception is access violation
WinMain at aea526
Found exception description
Error code: EXCEPTION_ACCESS_VIOLATION
Description: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Access address:C2C80000 was read from.
Stack Dump:
Call Stack
**********
(-1) : 0x0074CC46
(-1) : 0x20006972
Details:
Register dump...
Eip:0074CC46 Esp:00127A48 Ebp:0012A3DE
Eax:C2C80000 Ebx:0012A350 Ecx:00127E4C
Edx:00127E4C Esi:0012A3DE Edi:00B94008
EFlags:00010286
CS:001b SS:0023 DS:0023 ES:0023 FS:003b GS:0000
EIP bytes dump...
Bytes at CS:EIP (0074CC46) : 8A 10 8A 1E 8A CA 3A D3 75 1E 84 C9 74 16 8A 50 01 8A 5E 01 8A CA 3A D3 75 0E 83 C0 02 83 C6 02
********** END EXCEPTION DUMP ****************
ASSERTION FAILURE: Error parsing block ' Priori' in INI file 'Data\INI\SoundEffects.ini'
Stack Dump:
(-1) : 0x0067F2AF
(-1) : 0x0074A2BD
(-1) : 0x0069BE36
Posted by: MicScoTho - Monday, January 14, 2008 4:48:19 AM
This line is what I'd focus on:
ASSERTION FAILURE: Error parsing block ' Priori' in INI file 'Data\INI\SoundEffects.ini'
Maybe there's something wrong in your SoundEffects.ini file?
Posted by: FredIsHere - Monday, January 14, 2008 3:06:35 PM
I found out what the main problem was.
At some point after i started adding my new general powers some of the semicolons from various ini's i hadn't touched and some i had were deleted or moved around in the file so i just restored them from a previous working copy and that fixed them I'm now in the process of reintroducing the general powers to see if it works now.
Posted by: FredIsHere - Monday, January 14, 2008 3:49:39 PM
Update:
I've re added the new generals powers following similar steps in the tutorial and i ran the debugger and it comes up with an error in the behaviour block of code.
the debug file code looks like this:
ASSERTION FAILURE: [LINE: 8855 - FILE: 'Data\INI\Object\factionbuilding.ini'] Unknown field 'Behaviour' in block 'Object'
Stack Dump:
(-1) : 0x0067F2AF
(-1) : 0x0074CB67
(-1) : 0x0074C808
[Ignore]
ASSERTION FAILURE: Error parsing block ' Behaviour' in INI file 'Data\INI\Object\factionbuilding.ini'
Stack Dump:
(-1) : 0x0067F2AF
(-1) : 0x0074A2BD
(-1) : 0x00749D3D
(-1) : 0x0067E576
[Ignore]
Is there some step i need to define the behaviour as a moduletag_**? as i used text similar to how it is done in the tutorial.
Posted by: Stewox - Tuesday, January 15, 2008 3:19:11 AM
Try to remember every object(structure) you have edited , and then inspect all of their Behavior -s , also make sure there are End -s , alo you maybr used wrong module-tag for one behavior.
Try launching the game and look into ReleaseCrashInfo.txt
Posted by: FredIsHere - Tuesday, January 15, 2008 5:36:21 AM
I manage to get past the world builder test and now when i run main game i get an error.
Could you tell me where exactly i can find the releasecrashinfo.txt is as i cannot seem to find it.
-Edit-
I found it. The error states this
; Reason Error parsing INI file 'Data\INI\CommandSet.ini' (Line: 'CommandSet ChinaBarracksCommandSet ')
Last error:
Current stack:
Posted by: Me Myself and Pi - Tuesday, January 15, 2008 6:28:42 AM
You probably have the wrong name of a command button for the Chinese Barracks. Double check the command buttons there.
Posted by: Stewox - Tuesday, January 15, 2008 12:32:42 PM
[quote=FredIsHere]
-Edit-
I found it. The error states this
; Reason Error parsing INI file 'Data\INI\CommandSet.ini' (Line: 'CommandSet ChinaBarracksCommandSet ') [/quote]
This means you'll need to check or fix the names and every single letter in that command set , also remember that it's case sensitive and try finding if there is accidently another one with the same name , change it or delete.
I remember once , i was "blowing up" for 20 minutes trying to fix a simple command set , then it turned out , another one was already existing.[img]https://www.cnclabs.com/forums/images/emoticons/gwicon_banghead.gif[/img]
Posted by: FredIsHere - Tuesday, January 15, 2008 9:02:49 PM
Thanks it works now just an other question.
How does one create the detailed info for powers and things?
-Edit-
Okay What happens now is that i use the unit to use their strike ability but it spawns 1 Mig when it is supposed to spawn 5 and it doesn't drop anything just flies over the drop zone