[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Sub Command » » NEW Sub Command patch V1.06
Goto page ( Previous Page 1 | 2 | 3 | 4 Next Page )
Author NEW Sub Command patch V1.06
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-11-16 17:31   
Jsteed could you elaborate in detail here so that I can just cut and paste it into an e-mail.

That would be a great.
Thanks
Ben
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
badhat17


Joined: Jul 14, 2002
Posts: 161
From: Great Britain
Posted: 2002-11-16 17:52   
I dont interpret Neals post as meaning a 3d viewer, think they just mean the replay screen as is? What is the "decleration" problem? Trouble at customs or something? BadHat
_________________
BATTLESHORT NOW OR WE DIE !!


  View Profile of badhat17   Email badhat17   ICQ status       Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-11-17 06:40   
Well maybe the next patch can do things that are more cosmetic fixes than actual bug fixes.
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
novafluxx


Joined: Oct 14, 2002
Posts: 70
From: Tampa, FL
Posted: 2002-11-17 09:08   
Woohoo!! This is great, to bad it most likely won't be out before I ship out... in 9 days.

Anyway, sounds great, keep working with SA and get them to give us all they they can to their best abilities!



  View Profile of novafluxx   Goto the website of novafluxx   ICQ status             Edit/Delete This Post   Reply with quote
Bill Nichols


Joined: Feb 27, 2002
Posts: 664
Posted: 2002-11-17 11:31   
Quote:

On 2002-11-16 01:31, Neal Stevens wrote:

Towed array now deploys correctly at start of mission based on
scenario file




Whoohoo! Now my scenarios that start in port (Sicilian Wedding/Divorce, Silent Dolphins, etc.) will work as I intended -- the player must deploy the towed array after diving.
_________________
My Sub Command website: www.subguru.com


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


Joined: Apr 03, 2002
Posts: 283
From: Budapest, Hungary
Posted: 2002-11-17 13:15   
By the way; as I understand it, there is still no word of an SDK, am I right?

PS. I have forget something very important: THANKS SONALYSTS!
_________________
"There are only two kinds of warships: submarines and targets."



  View Profile of ferenci   Email ferenci   ICQ status       Edit/Delete This Post   Reply with quote
jsteed


Joined: Apr 08, 2002
Posts: 253
Posted: 2002-11-17 16:05   
Hi Ben,
Here is a short list of thing to fix and add with regards to writing doctrines. If something is not clear, let me know.
Cheers jsteed

Suggestions for doctrine interpreter improvements.

Bug Fixes.

1. Launch of aircraft via doctrines do not seem to work.
2. Creation of functions with Func does not seem to work if calculations
with user-created variables are involved.
3. Except for 'transit' "Order" does not return the value of the tactic
set in the Mission Editor. If this is not a bug then a new function
should be created to return this value.

Feature Additions

1. Since gravity does not exist, create a function to set an acceleration.
Better yet, create such a function for all three coordinates.
2. Create a new function that allows a doctrine to be run by another doctrine
and then return control to the parent doctrine. "SetDoctrine" just
substitutes one doctrine for another and does not fill this roll. Also
create a system for passing parameters between the parent doctrine and the
one called.
3. Create a function to remove an object from the game, such as a weapon that
does not detonate properly.

Major Rewrite

Change from a doctrine interpreter to compiled doctrines, (dll's). The use of
p-code does not allow complex, numeric intensive, doctrines to be written. It
also makes it impossible to run more than a few doctrines at once. The removal
this overhead will eliminate computer slowdown and also allow for a more
sophisticated AI.
One solution would be to create a txt to dll conversion program and modify the
NavalSimEngine to accept this new form. However, a better solution would be
to publish the structures of the platforms and targets and supply the necessary
hooks so that the doctrines could be compiled straight from C++.


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


Joined: Feb 28, 2002
Posts: 331
From: Toronto, Canada
Posted: 2002-11-17 16:07   
I'm correc the deceleration bug ist hardcoded right?

  View Profile of Operator   ICQ status       Edit/Delete This Post   Reply with quote
jsteed


Joined: Apr 08, 2002
Posts: 253
Posted: 2002-11-17 16:09   
Hi Operator,
That is correct. The program changes speeds in 30 seconds regardless of the object's momentum.

Cheers, jsteed


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


Joined: Feb 28, 2002
Posts: 279
From: Espoo, Finland
Posted: 2002-11-17 17:04   
jsteed,

I doubt the feasibility of adding a compiled doctrine support to Sub Command. First, developing a compiler capable of producing DLLs is by no means a small undertaking, and I don't think Sonalysts can allocate much official resources to Sub Command's maintenance. That would mean their programmers are most likely doing these patches on their own time.

Second, the entire doctrine execution system would have to be recoded to support function calls from DLLs. Another major coding effort, and one filled with complex couplings between modules. Very likely to produce major bugs.

Third, machine code doctrines (DLLs) can't have many of the run-time safeguards that can be built into the interpreter. This means a syntactically correct but still badly written doctrine would have much better chance of crashing the entire computer than a TXT doctrine has. That would make doctrine development and testing a lot slower and more frustrating task, not to mention possible risks to user's data.

For these three reasons, I don't think we should even ask for a compiled doctrine system. I won't even start to think about what might happen if we began to meddle with the internal data of the program with C++...
_________________
Signature unavailable during refit&resupply.


  View Profile of Monophonic   ICQ status         Edit/Delete This Post   Reply with quote
jsteed


Joined: Apr 08, 2002
Posts: 253
Posted: 2002-11-17 17:56   
Hi Monophonic,
I'm afraid I disagree. Changing from an interpreter to compiled code would involve some work, but not an overwhelming amount. The change would involve removing the txt to p-code converter(the interpreter), removing the p-code to api hooks, (where all the overhead comes from), and writing a program which takes the doctrine file and inserts the api's directly into the new dll's. Since the api's have already been written, it's largely a matter of cut and paste.

The advantage to SA in doing this is that they can use this same technique for any other games they wish to build. If they don't do something like what I suggest, I do not see any way that this game can begin to approach the realism of say Harpoon III. Unless, of course, they want to take the time to hardcode a decent AI.

As for reliability, the current interpreter is extremely fault intolerant. It contains zero safeguards. Any small fault in typing the code, (a missing space for instance), results in the computer freezing. That's why I wrote the doctrine syntax checker. Compiling the code will not have any worse effect. A crash is a crash.

You are probably right in stating that they are largely doing this on their own time. They obviously take pride in their work, otherwise there would be no patches at all. If they are intent on producing the best game that they can, then it is in everybody's best interest to make suggestions on how to improve it. After all, the worst that they can say is no.

Cheers, jsteed


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


Joined: Sep 02, 2002
Posts: 14
From: Boston, MA USA
Posted: 2002-11-17 20:03   
Boy, I really hope they get that soundcard problem cleaned up completely. That thing is a b**** to deal with.

  View Profile of SmugFish      Edit/Delete This Post   Reply with quote
Captain Nemo


Joined: Mar 18, 2002
Posts: 63
From: London, England
Posted: 2002-11-18 04:37   
I wonder if they have fixed the saved game loading problem with this new patch?

Nemo


  View Profile of Captain Nemo      Edit/Delete This Post   Reply with quote
Sub Sailor


Joined: Oct 11, 2002
Posts: 53
Posted: 2002-11-18 10:22   
Well it is quite gratifying to see that sonalayst is still round. Does anyone know if we will nedd to uninstall, many of us have SCX and then reinstall. Either way great news.

SS


  View Profile of Sub Sailor      Edit/Delete This Post   Reply with quote
Goto page ( Previous Page 1 | 2 | 3 | 4 Next Page )
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.040648 seconds.