Needed Improvements/Features in the next scripts.dll [message #350625] |
Fri, 12 September 2008 13:19 |
Poskov
Messages: 235 Registered: March 2008 Location: Western Oceania
Karma: 0
|
Recruit |
|
|
1. You guys know how when C&C Generals has a crash, it prints out a crash report which tells you exactly what caused it, such as an invalid line in an .ini?
You guys should make Renegade generate a crashdump.txt, like Generals, which tells you exactly what caused the error. Like, incorrect values etc. in the objects.ddb or .inis.
2. You guys NEED to increase the Renegade sound limit.
For example, I would be shooting my gun, then a bunch of other players would be shooting their guns, then suddenly, I can't hear ricochets or footsteps anymore.
This is espcially noticable with vehicle engine sounds,
I would be driving my APC and then some players would be shooting it, during all the ricochets and gunshots, my vehicle's engine sound would suddenly stop playing. You guys should at least, make Renegade have 2x the original sound limit.
|
|
|
|
Re: Needed Improvements/Features in the next scripts.dll [message #350667 is a reply to message #350625] |
Fri, 12 September 2008 19:39 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
Poskov wrote on Fri, 12 September 2008 15:19 | 1. You guys know how when C&C Generals has a crash, it prints out a crash report which tells you exactly what caused it, such as an invalid line in an .ini?
You guys should make Renegade generate a crashdump.txt, like Generals, which tells you exactly what caused the error. Like, incorrect values etc. in the objects.ddb or .inis.
|
Renegade makes _except.txt files stock, crashdump.txt files with non-ancient scripts versions, and minidumps in the debug folder with scripts 4.0. That is the scope of what is being done for finding out what crashed and where.
Incorrect values in presets/temps/etc can usually be spotted by LevelEdit if you know how to look at the "Debug Output Messages". If you'd like a tutorial, lemme know and I'll write it.
|
|
|
|
Re: Needed Improvements/Features in the next scripts.dll [message #350745 is a reply to message #350625] |
Sat, 13 September 2008 19:27 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
1) Download Dependency Walker from here, extract it completely to a folder somewhere and run depends.exe
2) In Dependency Walker, open LevelEdit.exe (It's usually located in C:\Program Files\RenegadePublicTools\LevelEdit)
3) Go to Profile->Start Profiling and make sure that the options are set the same as in this screenshot. Afterward, press OK and LevelEdit will launch. Select your "mod" and wait for LevelEdit to finish loading.
4) Among the various "loaded" and "unloaded" messages in Dependency Walker, you will see what LevelEdit deems to be a problem. <screenshot>
EDIT: Fixed last screenshot
[Updated on: Sat, 13 September 2008 22:01] Report message to a moderator
|
|
|
Re: Needed Improvements/Features in the next scripts.dll [message #350809 is a reply to message #350625] |
Sun, 14 September 2008 11:37 |
Poskov
Messages: 235 Registered: March 2008 Location: Western Oceania
Karma: 0
|
Recruit |
|
|
So, what would be a typical error?
PS
I ran Dependency Walker on game.exe and it displayed this:
00:00:02.921: First chance exception 0x406D1388 (Thread was named) occurred in "KERNEL32.DLL" at address 0x7C812AEB.
00:00:12.296: Unloaded "SCRIPTS.DLL" at address 0x11000000.
00:00:12.296: Unloaded "SCRIPTS2.DLL" at address 0x05A00000.
00:00:12.296: Loaded "SCRIPTS.DLL" at address 0x11000000.
00:00:12.296: Loaded "SCRIPTS2.DLL" at address 0x05A00000.
00:00:14.421: First chance exception 0xC0000005 (Access Violation) occurred in "GAME.EXE" at address 0x006CC2E5.
00:00:14.421: Second chance exception 0xC0000005 (Access Violation) occurred in "GAME.EXE" at address 0x006CC2E5.
00:00:14.531: Exited "GAME.EXE" (process 0x1B48) with code -1073741819 (0xC0000005).
[Updated on: Sun, 14 September 2008 11:49] Report message to a moderator
|
|
|
Re: Needed Improvements/Features in the next scripts.dll [message #350818 is a reply to message #350809] |
Sun, 14 September 2008 12:47 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
Poskov wrote on Sun, 14 September 2008 13:37 | So, what would be a typical error?
PS
I ran Dependency Walker on game.exe and it displayed this:
00:00:02.921: First chance exception 0x406D1388 (Thread was named) occurred in "KERNEL32.DLL" at address 0x7C812AEB.
00:00:12.296: Unloaded "SCRIPTS.DLL" at address 0x11000000.
00:00:12.296: Unloaded "SCRIPTS2.DLL" at address 0x05A00000.
00:00:12.296: Loaded "SCRIPTS.DLL" at address 0x11000000.
00:00:12.296: Loaded "SCRIPTS2.DLL" at address 0x05A00000.
00:00:14.421: First chance exception 0xC0000005 (Access Violation) occurred in "GAME.EXE" at address 0x006CC2E5.
00:00:14.421: Second chance exception 0xC0000005 (Access Violation) occurred in "GAME.EXE" at address 0x006CC2E5.
00:00:14.531: Exited "GAME.EXE" (process 0x1B48) with code -1073741819 (0xC0000005).
|
LevelEdit just complains about anything it sees wrong. Try running it with your mod and with a "stock" mod to see what complaints might be different between them
PS: That says the same thing as the crashdump you posted in another thread. I'm going to say the same thing here; If you want to play single player, using any version of scripts.dll other than 4.0 (which has not yet been released) or the ones that came with the game (ie scripts2.dll) can and probably will cause your game to crash...
[Updated on: Sun, 14 September 2008 12:48] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Needed Improvements/Features in the next scripts.dll [message #351090 is a reply to message #351019] |
Tue, 16 September 2008 21:50 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
Poskov wrote on Tue, 16 September 2008 16:09 | Do you have a method which actively checks objects.ddb?
Dependency Walker shows no problems with my objects.ddb, which I know is untrue because,
when I tried single-player with my older objects.ddb, it loaded and worked perfected fine.
|
That is as active of a objects.ddb check as you are going to get.
|
|
|
|