| View previous topic :: View next topic |
| Author |
Message |
MSgalileo
Joined: 24 Aug 2003 Posts: 336 Location: Paris (France)
|
Posted: Mon Jul 04, 2005 3:45 pm Post subject: AI P3 magic sub detection |
|
|
I made a pre-test of a challenge mission (classic : 2PC and 2 sub, some islands separating the challenge area).
I take a P3 and left the other to the IA, the goal is to detect and sunk the sub the faster.
The P3 IA detect my target sub in 10min wihtout launching any sonobuoy and at a distance of 43mn!!!! and do not forget the islands that separate the scenario aera in two! so How can he do?
Oko notice the same kind of magic detection with "Harper Chase" mission,all sub where detected by the IA in 10min. We have played this mission a lot at MS without any problems before . it is the patch 1.01 or the sound fix that are responsible?
Any clue?
Regards,
Galileo. |
|
| Back to top |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Mon Jul 04, 2005 5:57 pm Post subject: |
|
|
| Why not let OKO report that on Mantis (he know what I mean)? |
|
| Back to top |
|
 |
MSgalileo
Joined: 24 Aug 2003 Posts: 336 Location: Paris (France)
|
Posted: Tue Jul 05, 2005 2:41 am Post subject: |
|
|
| I will ask him if he do that, normally yes , we give him all bugs we found to report to SCS. |
|
| Back to top |
|
 |
Amizaur
Joined: 22 Nov 2002 Posts: 549 Location: Poland
|
Posted: Tue Jul 05, 2005 8:56 am Post subject: |
|
|
Or you could use DbgView to see with what sensor was the sub detected. The program with graphical micro-tutorial (how2use with DW) here:
http://members.chello.pl/m.ostrowski7/Files/DebugView_4_DW.zip
Or send me the mission and I'll check it, but it's really easy to do it by yourself.
Last edited by Amizaur on Tue Jul 05, 2005 3:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Tue Jul 05, 2005 12:18 pm Post subject: |
|
|
I get the following warning;
This version of debugview is not compatible with this version of NT/Win2K/whistler.
I have win xp home edition with all the updates. |
|
| Back to top |
|
 |
Amizaur
Joined: 22 Nov 2002 Posts: 549 Location: Poland
|
|
| Back to top |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Wed Jul 06, 2005 6:48 am Post subject: |
|
|
Ok, I have it now, but
Is it posible to use by people, like myself, who donnot know much from computer language.
Can I use it to find bugs in new maps I make?
Maybe someone can give me some step by step info in case it is usefull?
 |
|
| Back to top |
|
 |
Amizaur
Joined: 22 Nov 2002 Posts: 549 Location: Poland
|
Posted: Wed Jul 06, 2005 11:42 am Post subject: |
|
|
Well, I try to write something, maybe even later today. But it's really not complicated.
DbgView can show you many infos about what happens in the game engine. Most of this info is not interesting for us, but some is - for example the raports about detections are most interesting, also custom messages from doctrines are VERY helpful for doctrine modders or to understand what's happening in the game.
First thing is to be sure that debugoutput is turned on in DW. You have to add "-debugoutput" to your DW desktop icon, exactly like on the picture.
Next thing is to start DbgView and filter the output, to get only the info you want. If DbgView is just launched, without setting anything, it will raport detections but they will be so much other info that you probably woudn't find the info you need.
So, after launching DbgView click on the the Filter/Highlight icon (or press Ctrl+L). In the upper string called "Include:" you see a * character. This means that DbgView will simply show all it gets. We are interested in detection raports, in them always appear a word "detected" or more simple "detect" string. So let's filter the output to show as only the messages with "detect" in them. Type *detect* in upper string window, again exactly as on my picture. Click OK and now run DW and play a mission. In DbgView output you should get only detection raports, something like "XXX detected YYYY with sensor ZZZZ at range AAAA".
Only detections by your platform will not be displayed, but detections of your platform by AI units wil be displayed. Also, all this doesn't work in multiplayer game, for obvious reasons . I hope this helped.
So, two simple steps - first add "-debugoutput" to your DW icon just like on the picture, and next in DbgView filter the output with *detect* string - again exactly like on the picture, and you should get detection raports.
(If you don't get anything, then either DW debugoutput is not enabled or something is wrong with the filter used.)
To get other info, other filter strings can be used, if you want then try unfiltered output (simply default filter *) and see if there is something interesting for you. |
|
| Back to top |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Wed Jul 06, 2005 12:18 pm Post subject: |
|
|
Thanks Amizaur, but now I get this warning. Sorry for the Dutch but I think know what this means.
 |
|
| Back to top |
|
 |
MSgalileo
Joined: 24 Aug 2003 Posts: 336 Location: Paris (France)
|
Posted: Wed Jul 06, 2005 1:05 pm Post subject: |
|
|
do not forget the "" in the properties:
type for example:
"F:\GAMES\Dangerous Waters\dangerouswaters.exe" "-debugoutput"
and you should have a report like this on the debug windows:
00000340 20:04:59.671 [2744] NSE: PowerBoat detected by Kilo SS CHI with Passive Sonar at rng 13275
00000342 20:04:59.718 [2744] NSE: TICO CG detected by Kilo SS CHI with Passive Sonar at rng 20465
00000346 20:05:00.765 [2744] NSE: PowerBoat detected by TICO CG with Radar at rng 8413
00000350 20:05:03.093 [2744] NSE: TICO CG detected by PowerBoat with Visual at rng 8403
00000352 20:05:15.781 [2744] NSE: Kilo SS CHI detected by TICO CG with Radar at rng 20288
Last edited by MSgalileo on Wed Jul 06, 2005 2:13 pm; edited 1 time in total |
|
| Back to top |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Wed Jul 06, 2005 1:54 pm Post subject: |
|
|
| " "-debugoutput" doesn't work either. :hmm: |
|
| Back to top |
|
 |
serpent46
Joined: 21 Sep 2001 Posts: 103 Location: Bielefeld, Germany
|
Posted: Wed Jul 06, 2005 2:23 pm Post subject: |
|
|
Ooops,
the -debugoutput does not need any " masking,
BUT the path to the executable DOES need it!
(thanx to Bill G. there's a WHITE_SPACE char between 'Program' and 'Files' )
In Fish's case the " is missing BEFORE the C:\Program Files....
BTW.
You can also add
-skipopening
if you don't want to see the opening movie
If you are about testing and want some 'more' comparable detection range results, add
-seed 64
This seeds the random number generator always with the same seed ( in this case '64'; - you will still encounter some randomness, but a lesser degree... )
hope this helps,
Ludger |
|
| Back to top |
|
 |
Amizaur
Joined: 22 Nov 2002 Posts: 549 Location: Poland
|
Posted: Wed Jul 06, 2005 3:10 pm Post subject: |
|
|
On my system adding -debugoutput without any "" works.
From what I see, there is no space between the file name and
-debugoutput on your screen.
first is what you have, second is what should be:
...\dangerouswaters.exe"-debugoutput
...\dangerouswaters.exe" -debugoutput
There should be space between .exe" and -debugoutput, like on the picture.
additionaly you may enable windowed mode or any other switches
filtering the output to get only detection raports:
For me, the exact string in game icon is:
"E:\Gry\Dangerous Waters\dangerouswaters.exe" -debugoutput -windowed
for you it would be probably:
"C:\Program Files\Sonalysts Combat Simulations\Dangerous Waters\dangerouswaters.exe" -debugoutput
you may paste this to your icon but just adding the space in correct place should work |
|
| Back to top |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Wed Jul 06, 2005 4:08 pm Post subject: |
|
|
| Ok, that did the trick , thanks. |
|
| Back to top |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Wed Jul 06, 2005 4:11 pm Post subject: |
|
|
| serpent46 wrote: | Ooops,
the -debugoutput does not need any " masking,
BUT the path to the executable DOES need it!
(thanx to Bill G. there's a WHITE_SPACE char between 'Program' and 'Files' )
In Fish's case the " is missing BEFORE the C:\Program Files....
BTW.
You can also add
-skipopening
if you don't want to see the opening movie
If you are about testing and want some 'more' comparable detection range results, add
-seed 64
This seeds the random number generator always with the same seed ( in this case '64'; - you will still encounter some randomness, but a lesser degree... )
hope this helps,
Ludger |
Thanks Ludger,,
The -seed 64 do I add that behind -debugoutput? |
|
| Back to top |
|
 |
|