Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Needed Improvements/Features in the next scripts.dll
Needed Improvements/Features in the next scripts.dll [message #350625] Fri, 12 September 2008 13:19 Go to next message
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 #350653 is a reply to message #350625] Fri, 12 September 2008 17:31 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

Renegade already makes crashdumps, it's that only people who know what it means can read it...

Re: Needed Improvements/Features in the next scripts.dll [message #350667 is a reply to message #350625] Fri, 12 September 2008 19:39 Go to previous messageGo to next message
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 #350730 is a reply to message #350625] Sat, 13 September 2008 14:01 Go to previous messageGo to next message
Poskov
Messages: 235
Registered: March 2008
Location: Western Oceania
Karma: 0
Recruit
Sure a "Debug Output Messages" tutorial, please and thank you.
Re: Needed Improvements/Features in the next scripts.dll [message #350745 is a reply to message #350625] Sat, 13 September 2008 19:27 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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 #350837 is a reply to message #350625] Sun, 14 September 2008 16:19 Go to previous messageGo to next message
Poskov
Messages: 235
Registered: March 2008
Location: Western Oceania
Karma: 0
Recruit
Well I did; no visible problems were reported...
Re: Needed Improvements/Features in the next scripts.dll [message #350854 is a reply to message #350837] Sun, 14 September 2008 18:31 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
Poskov wrote on Sun, 14 September 2008 18:19

Well I did; no visible problems were reported...


Renegade's presets without any mods *at all* have problems reported, you are obviously doing something wrong...
Re: Needed Improvements/Features in the next scripts.dll [message #350934 is a reply to message #350625] Mon, 15 September 2008 15:12 Go to previous messageGo to next message
Poskov
Messages: 235
Registered: March 2008
Location: Western Oceania
Karma: 0
Recruit
So what would be an example problem?
Text messages displayed in red or what?
Re: Needed Improvements/Features in the next scripts.dll [message #350945 is a reply to message #350934] Mon, 15 September 2008 16:27 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
Poskov wrote on Mon, 15 September 2008 17:12

So what would be an example problem?
Text messages displayed in red or what?


<screenshot> Light grey, such as the text right after "Init Dazzles"
Re: Needed Improvements/Features in the next scripts.dll [message #351019 is a reply to message #350625] Tue, 16 September 2008 14:09 Go to previous messageGo to next message
Poskov
Messages: 235
Registered: March 2008
Location: Western Oceania
Karma: 0
Recruit
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.
Re: Needed Improvements/Features in the next scripts.dll [message #351090 is a reply to message #351019] Tue, 16 September 2008 21:50 Go to previous messageGo to next message
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.
Re: Needed Improvements/Features in the next scripts.dll [message #351190 is a reply to message #350625] Wed, 17 September 2008 13:34 Go to previous message
Poskov
Messages: 235
Registered: March 2008
Location: Western Oceania
Karma: 0
Recruit
Ok
Previous Topic: [REQUEST] Brenbot.dll Source
Next Topic: Uninstalling Scripts 3.4.4
Goto Forum:
  


Current Time: Fri Nov 29 21:03:30 MST 2024

Total time taken to generate the page: 0.00895 seconds