[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Sub Command » » Problems with ROE
Author Problems with ROE
Bill Nichols


Joined: Feb 27, 2002
Posts: 664
Posted: 2002-10-12 20:52   
I've noticed some strange things happening with countries' ROE lately. Actually, I never had any problem before loading SCX, not that I'm pointing any fingers...

Here's the problem: Countries given ROE = PEACE will still shoot, just as if they were at war. Odin had it happen in one of my scenarios, where a Pakistani sub was supposed to have peacetime ROE.

I've seen even stranger things: For example, I once was attacked and sunk by a ship that was assigned as NEUTRAL !!!

Any thoughts, SCX masters?
_________________
My Sub Command website: www.subguru.com


  View Profile of Bill Nichols      Edit/Delete This Post   Reply with quote
Odin


Joined: May 24, 2002
Posts: 669
From: Scotland / Canada
Posted: 2002-10-12 21:06   
I also had it happen in a mission I am working on currently, 688i set to peacetime, attacked my boat (Akula II), and attacked and sunk 2 Delta's. (Like, OOPS, talk about starting WWIII!! )
_________________
"...Aww, don't worry about that sub, it's just a Russkie..." BOOM!!


  View Profile of Odin   Email Odin   ICQ status         Edit/Delete This Post   Reply with quote
AdamWarren


Joined: May 23, 2002
Posts: 1329
From: squinting at the monitor TN, USA
Posted: 2002-10-12 21:16   
yeah
_________________
Fair winds and following seas.

GO NEAL!

© 1988-2003


  View Profile of AdamWarren   Email AdamWarren   ICQ status         Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-10-12 21:46   
Hi

I'm afraid you're barking up the wrong tree with this one. The Mission Editor, ROE, Ship Sides etc., ... are all controlled by the Program itself .... not the DB, nor the Doctrines, whether it be 1.05 or otherwise.

There is nothing in the DB where you can set, or determine a Platform's side.

Also, bear in mind ... that Platforms assigned a ROE of Peace, will still Attack ... if they are Attacked, or they think they are being Attacked.

Neutral Platforms need to be assigned 'Transit' orders, ... to ensure they will not indiscriminately Attack ...

These issues actually cropped up months ago. However, you'll probably find it is more prevalant/noticeable now .... as the AI now has ears.

It just requires a little more fine-tuning of the Mission.


Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Bill Nichols


Joined: Feb 27, 2002
Posts: 664
Posted: 2002-10-12 23:03   
Quote:

On 2002-10-12 21:46, Thomasew wrote:

the AI now has ears.




Since you mentioned it, does the French Lafayette have any sonar? It doesn't ping, and can't hear me cavitating just a couple of hundred yards away...
_________________
My Sub Command website: www.subguru.com


  View Profile of Bill Nichols      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-10-12 23:18   
Hi Bill

No ... it doesn't. It has no ASW capability at all.

Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Bill Nichols


Joined: Feb 27, 2002
Posts: 664
Posted: 2002-10-12 23:33   
Roger that, and I see that Taiwan's version of the Lafayette _does_ have ASW capability. That gives me an idea...
_________________
My Sub Command website: www.subguru.com


  View Profile of Bill Nichols      Edit/Delete This Post   Reply with quote
jsteed


Joined: Apr 08, 2002
Posts: 253
Posted: 2002-10-13 11:43   
Hi Tom, Bill,
The DB could effect the game. More precisely, the size of the DB could effect the behavior of the game. SC has memory management problems. At start-up, the game reads in the entire DB. Depending on how this is done, it is possible that parts of the program space get written over by the DB. For instance, if SA told the program that the DB would have some maximum size, (poor programming technique), and that size is now exceeded, then other variables used by the program, such as ROE for example, could be overwritten by the DB. This is not Tom's fault as he doesn't know the program specifications.

Bill, one way to tell if this is the problem would be to test the various versions of the SCX database. It has become larger with each version. If you can find one version that does not cause problems and the next version does, then we would know if the problem is as I have hypothesized.

Cheers, jsteed


  View Profile of jsteed      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-10-13 12:52   
Hi John

I hardly think that a 400K increase in the size of the DB would have an adverse effect on the game.

One must also consider the 3D files ... that have essentially doubled in size ... and we're talking Megabytes here ... not Kilobytes.

Also, larger scenarios also take up much more memory .... and they have also been around a long time. I remember Bills' Sicilian Wedding Mission, where at one point my saved game was over 100 MB. I certainly had no problems loading this into memory. If what you say was true ... there would be far many more problems ... which would obviously manifest themselves with larger Missions, and larger, more detailed bitmaps. Consider as well ... that we have been using larger bitmaps for some of the Subs etc., long before SCX. Mike Hense's 'Warpaints' addon springs to mind.

Plus, as I mentioned in my post ... the issues with ROE etc., have been around since the game was released.

Since Bills' post I have run a few tests, with ROE and Neutral Platforms .... with not one single solitary problem ... and I am running with SCX 1.3, which is even bigger than 1.2 ..... AND with all the new graphics, which have pushed my 3D files to 138 MB .... as opposed to the 50Mb default of SC. As I said in my previous post ... one just has to be aware of how ROE and Neutral platforms etc actually work in the game.

Maybe the Memory issues of which you speak, are more related to the OS that SC is running under. I run SC under Windows 98 ... and the results I get in my various tests of one thing or the other, seem to more consistent .... than with others running XP or 2000. Memory Management routines between the various OSs are different.

The only adverse affects that I would expect to see from SCX, and specifically from the new bitmaps .... would be a slight degradation in speed. I certainly don't think Program segments/data etc are being overwritten. If that was the case ... we would have been in trouble a long time ago.


Cheers
Tom

_________________
He Who Will Not Risk Cannot Win



[ This Message was edited by: Thomasew on 2002-10-13 12:56 ]


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
french boomer


Joined: Jul 28, 2002
Posts: 28
Posted: 2002-10-13 13:01   
Quote:

On 2002-10-12 23:03, Bill Nichols wrote:
Quote:

On 2002-10-12 21:46, Thomasew wrote:

the AI now has ears.




Since you mentioned it, does the French Lafayette have any sonar? It doesn't ping, and can't hear me cavitating just a couple of hundred yards away...



Lafayette class frigates are supposed to "modulable" ships, you can add the Aster pack, the sonar pack... when you walk around the compartiment you can see some indication of a possible sonar room or a the location of the vertical launchers under the forecastle... why Taïwan have a "full options" frigate ? the problem is money....
When you get money you get ships as the Medina Sawari II class, larger than the Lafayette with all what your dreams wanted...

[ This Message was edited by: french boomer on 2002-10-13 13:02 ]


  View Profile of french boomer      Edit/Delete This Post   Reply with quote
jsteed


Joined: Apr 08, 2002
Posts: 253
Posted: 2002-10-13 13:40   
Hi Tom,
Your assessment of what is going on may indeed be correct. However, I do know that there are memory problems with SC. These are not OS dependent but intrinsic to the game itself. The loading of graphic files and save game files is done differently than the loading of the DB. Those files are probably only limited by the amount of RAM available in the computer.

The DB is different. It is not loaded on an "as need" basis. It is loaded in it's entirety when the game starts. It occupies a specific region of memory. If the programmers did not allow sufficient space then part of the DB is written to memory locations that were reserved for other things, such as other game variables. For example, let's assume that the DB writes over the memory location of the address for the ROE value. Lets also assume that the program uses the war setting as the default value. The program will go to the address of the ROE setting, which is now some nonsense value, and return with an ROE value that may also be nonsense. As a result, the program will use the default value = war.

I do not have any proof that this is indeed what is happening. I am just throwing it out as a possibility. As I said, one way to test this is to try using different size DB's and see if the problem exists only for DB's above a certain size. Of course the other way would be to just ask SA if there are any limitations to the size of the DB.

Cheers, John


  View Profile of jsteed      Edit/Delete This Post   Reply with quote
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.046064 seconds.