Topic: Please report any instance og the Double Fighter/weapon bug  (Read 6513 times)

0 Members and 2 Guests are viewing this topic.

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
I didn't see it last night, but I wasn't fighting plasma or carriers.

Can we put this bug in the "dead" collumn?
Who'd thunk that Star-castling was the root of all evil . . .


Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #1 on: July 28, 2005, 03:28:56 am »
No replies? Has anyone seen coop or pvp missions where the bug was not present?
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

Offline KAT Chuut-Ritt

  • Vice Admiral
  • *
  • Posts: 26163
  • Gender: Male
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #2 on: July 28, 2005, 05:08:39 am »
Didn't see it while fighting Hydrans in co-op last nite, looking promising  :)

Offline KBFKrotz

  • Lt. Junior Grade
  • *
  • Posts: 39
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #3 on: July 28, 2005, 06:08:51 am »
Fought a bunch of ISC and Gorn ai today, no problems yet.

Offline CaptJosh

  • Lt.
  • *
  • Posts: 775
  • Gender: Male
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #4 on: July 28, 2005, 07:58:53 am »
As I've already told Tracey via MSNger, I had two co-op missions without double heavy weaps and two without double fighters last night. Stability seemed same as usual for this server, last night, but I hadn't the time to stick around for extensive testing. I have a job interview this afternoon and I wanted to get a good night's sleep.

I must say, it's nice to have a server long enough to actually fix problems during the run.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

Offline KBF-Kurok

  • Lt.
  • *
  • Posts: 829
  • Gender: Male
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #5 on: July 28, 2005, 08:53:00 am »
 had an instance of double plasma last night.Did and i were flying coop  he recieved a host left message. He got nailed by over 100 pts of damage in one pass. Only thing nis that ship that hit him couldnt do that much damage in one pass.
 This i think is mostly a connection thing now. Im on 56k and he wasnt and i did the drafting. On the whole tho and this might be a bit soon to say, but there seem to be a lot less host messages and everything is going great so far.
 I cant wait to see what you do with the base assults and other missions Tracey.
Great job once again.
Kurok

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #6 on: July 28, 2005, 09:02:12 am »
had an instance of double plasma last night.Did and i were flying coop  he recieved a host left message. He got nailed by over 100 pts of damage in one pass. Only thing nis that ship that hit him couldnt do that much damage in one pass.
 This i think is mostly a connection thing now. Im on 56k and he wasnt and i did the drafting. On the whole tho and this might be a bit soon to say, but there seem to be a lot less host messages and everything is going great so far.
 I cant wait to see what you do with the base assults and other missions Tracey.
Great job once again.
Kurok

That is fine,  host left means the mission is bugged and weird stuff will happen.  It is good to see that this is not happening in normal missions.
Who'd thunk that Star-castling was the root of all evil . . .


Offline KBF-Kurok

  • Lt.
  • *
  • Posts: 829
  • Gender: Male
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #7 on: July 28, 2005, 01:33:27 pm »
Also havent had one host left in a mission where i was solo which is very good. Id say they are about as good as there gonna get. Maybe a little higher payout when fighting ai onlybut that is no biggie. Ill be back on the server and let you know if any thing unusual happens.

el-Karnak

  • Guest
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #8 on: July 28, 2005, 02:27:28 pm »
had an instance of double plasma last night.Did and i were flying coop  he recieved a host left message. He got nailed by over 100 pts of damage in one pass. Only thing nis that ship that hit him couldnt do that much damage in one pass.
 This i think is mostly a connection thing now. Im on 56k and he wasnt and i did the drafting. On the whole tho and this might be a bit soon to say, but there seem to be a lot less host messages and everything is going great so far.
 I cant wait to see what you do with the base assults and other missions Tracey.
Great job once again.
Kurok

That is fine,  host left means the mission is bugged and weird stuff will happen.  It is good to see that this is not happening in normal missions.

You can't do much with "host left" errors, so don't worry about it.

Offline SkyFlyer

  • D.Net Beta Tester
  • Commander
  • *
  • Posts: 4240
  • Gender: Male
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #9 on: July 28, 2005, 08:47:03 pm »
i got a couple host message errors but not many.
Life is short... running makes it seem longer.

"A god who let us prove his existence would be an idol" - Dietrich Bonhoeffer

Offline KBF-Soth

  • Lt. Junior Grade
  • *
  • Posts: 113
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #10 on: July 28, 2005, 09:17:45 pm »
Had no problems all has been well.

Offline Dfly

  • Lt. Commander
  • *
  • Posts: 1735
  • Lyran Alliance Lives
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #11 on: July 28, 2005, 09:41:48 pm »
Funniest host left message extra damage happened to me and Mutilator tonight.  He and I were to face 1 CC+  1 CS and 1 CL+, all feds.  they got to range 22 and fired roughly 50 photons at me.  I lost 2 shields, some power, some weapons, and then took another close to 100 internals from the phaser 1's of the CC+ alone, at range 11.  THAT HURT.

Offline Mr.Bad151

  • Lt. Junior Grade
  • *
  • Posts: 57
  • Gender: Male
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #12 on: July 28, 2005, 10:46:25 pm »
Oh quit crying.. its not like you were actually FLYING a fed ship..  ;)
"As the radius of my knowledge increases, so does the circumference of my ignorance"

Offline LordSaxon

  • Lt. Junior Grade
  • *
  • Posts: 148
  • Honor before Fear.....
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #13 on: July 31, 2005, 12:06:22 pm »
Saw several missions last night flying w/ Dib vs. Gorn A.I.    Never had a host left msg, but in at least three of them the AI fired 2 plasmas from single weapons mount.

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #14 on: July 31, 2005, 08:12:12 pm »
Confirmed, fighting Dib and Kaz (?) a Gorn Ai double-shot it's plasma torp.

Who had drafted that.
Who'd thunk that Star-castling was the root of all evil . . .


Offline KBFLordKrueg

  • Commander
  • *
  • Posts: 3733
  • KBF CO
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #15 on: July 31, 2005, 11:12:42 pm »
I seem to notice the Dbl shot bug only when I have another live player in the mission. I saw it a lot tonight vs Gorn AI. I also saw it a couple times with Fed AI firing dbl photons early in the server, but havn't fought any Fed AI in a couple days.
Lord Krueg
KBF CO
We are the Dead

Offline Braxton_RIP

  • Lt. Commander
  • *
  • Posts: 1073
  • Gender: Male
    • Dynaverse.net
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #16 on: August 01, 2005, 07:12:19 am »
I have to say it, but I think this bug is definitely still there.  I know of many occasions where I will be moving in on some unsusspecting CL or DD and it will have a pair of dizzies on it, and I get hit with what looks like a full alpha from a CC.

Could it possibly be an error when creating the AI ships, so that the attributes get somehow doubled?  The reason I ask that is because I have also noticed that the AI also have double drone control when this error occurs.
Braxton,
Old Geezer

Typical Fleet:
F-DNL, F-CB, F-CLC
Braxton's Fleet:
F-CVTCR, F-BTR, F-BTL+

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #17 on: August 01, 2005, 07:15:10 am »
The bug is still there but it doens't happen EVERY time like it did before and I've yet to see double fighters, seems to only be afecting weapons at this point.
Who'd thunk that Star-castling was the root of all evil . . .


Offline Braxton_RIP

  • Lt. Commander
  • *
  • Posts: 1073
  • Gender: Male
    • Dynaverse.net
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #18 on: August 01, 2005, 07:17:59 am »
I can't recall when or who I was with, but sometime this last weekend, I did recall an instance of double fighters, but from the AI it really doesn't matter since they have those crap fighters anyway.
Braxton,
Old Geezer

Typical Fleet:
F-DNL, F-CB, F-CLC
Braxton's Fleet:
F-CVTCR, F-BTR, F-BTL+

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #19 on: August 01, 2005, 07:27:19 am »
I can't recall when or who I was with, but sometime this last weekend, I did recall an instance of double fighters, but from the AI it really doesn't matter since they have those crap fighters anyway.

Did you get a Host left? 
Who'd thunk that Star-castling was the root of all evil . . .


Offline Braxton_RIP

  • Lt. Commander
  • *
  • Posts: 1073
  • Gender: Male
    • Dynaverse.net
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #20 on: August 01, 2005, 07:56:23 am »
Thinking back, it was the same mission where it has said host left twice.
Braxton,
Old Geezer

Typical Fleet:
F-DNL, F-CB, F-CLC
Braxton's Fleet:
F-CVTCR, F-BTR, F-BTL+

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #21 on: August 01, 2005, 08:16:54 am »
Thinking back, it was the same mission where it has said host left twice.

Thise missions are bugged and don't count.   Please only post if the bugs occur in a mission that loaded correctly.
Who'd thunk that Star-castling was the root of all evil . . .


Offline Corbomite

  • Commander
  • *
  • Posts: 2939
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #22 on: August 01, 2005, 09:09:48 am »
Since there never has been one reported instance of this bug in the stock mission packs, I was wondering if anyone has done a detailed map of their program structure to see what Taldren did to make them stable?

Offline GDA-S'Cipio

  • Brucimus Maximus
  • Captain
  • *
  • Posts: 5749
  • Gender: Male
  • If I took the bones out, it wouldn't be crunchy.
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #23 on: August 01, 2005, 09:14:00 am »
I notice it is damnably predictable with the host left message, whereas it was only hit or miss in the past with host left messages.

But!  I get fewer host left messages than I used to and I have *never* seen the bug happen without that message.

So all in all, great work!!!!!!   :thumbsup: :thumbsup:

-S'Cipio
"I cannot undertake to lay my finger on that article of the Constitution which granted a right to Congress of expending, on the objects of benevolence, the money of their constituents."  - James Madison (chief author of the Constitution)

-----------------------------------------
Gorn Dragon Alliance member
Gorn Dragon Templar
Coulda' used a little more cowbell
-----------------------------------------


el-Karnak

  • Guest
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #24 on: August 01, 2005, 09:55:23 am »
I've done everything I can, but I still can't see the ION Storms in TG missions.  It does not make sense cuz I am using the same SFC.ini settings that were used successfully for EEK missions that also used ION storms but in a different manner.

I've been avoiding PvP matches until this issue was resolved. Have not done one PvP yet on AOTK2.

But, I aint waiting any longer . . .

So, if I'm in a PvP match and I can't see the ION storms then, AFAIC, the mission is bugged, so I'll prolly have to Alt-F4 out unless you tell me where the ION storm in the PvP match and my ship does not get creamed by it.  :o

Better yet, just don't draft me in a ION hex on the map, unless it's a NW mission eligible base/planet hex, and save us both a lot of grief.

Offline KBF-Kurok

  • Lt.
  • *
  • Posts: 829
  • Gender: Male
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #25 on: August 03, 2005, 12:53:42 pm »
wel i didnt notice untill now  but Soth and I are fighting  Lyran and i noticed that the mighty ffg is firing 4 dizzies while it only has 2  showing on the ship in mission. No host left. Not that it is a big deal aginst these little ships but might be a problem with larger ones. Ill keep you posted.
Editing this to let you know that we were experincing  some lag so this might be the problem.
« Last Edit: August 03, 2005, 02:48:40 pm by KBF-Kurok »

Offline Dizzy

  • Captain
  • *
  • Posts: 6179
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #26 on: August 03, 2005, 03:08:48 pm »
Look, the double fighter bug with Traceys missions happens roughly 50% of the time when you draft in Co-op and only Co-op and there is no host left msg.

When there is a host left, I'd say you almost always have double issues. That's not what we are talking about here. Host left are always bugged.

We are talking ONLY about Co-op missions folks. If you dont have a wing, the double fighter/weapon bug wont bite. If you fly with a wing, watch for double fighters and their frequency. Currently, the Hydrans are the only race that consistently have fighters on their ships. So only the kats or coalition will notice this. Otherwise in Co-op you'll have to ck for double shots.


Offline Capt_Bearslayer_XC

  • "Sorry I haven't been around much lately. I'm easily distracted by shiney things."
  • XenoCorp® Member
  • Captain
  • *
  • Posts: 9558
  • Gender: Male
  • Virtute non verbis
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #27 on: August 03, 2005, 07:09:28 pm »
I have yet to run into the double fighter bug.  I have seen double weapons bug on a few host left missions.

But I have experienced other issues... 4 OL'd fusions & 6 ph2's on range 0 alpha overrun blast thru a pink shield and does only FOUR internals?!?!?!??  This has happened several times.... very fustrating.

AI that seem to have a faster recharge rate than my ship does.

And hellbores that seem to be missing much more than then should be... I have had more than a few times when all 4 hb's in a volley missed from range 2 or less.

Political Correctness is really Political Censorship

A tax code should exist to procure the funds necessary for the operation of government, not to manipulate human or business behavior.

A nocens dies in loricatus est melior quam a bonus dies procul opus.

A bad peace is even worse than war."  --  Tacitus

"We thought we could resolve the system's problems by rationing services or injecting massive amounts of new money into it" -Claude Castonguay

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #28 on: August 04, 2005, 06:20:16 am »
Since there never has been one reported instance of this bug in the stock mission packs, I was wondering if anyone has done a detailed map of their program structure to see what Taldren did to make them stable?

Yes, the stock missions neither seem to exhibit any dble ftr/weapons bugs (aside from host connection issues) nor do they contain any code that has been employed to resolve these bugs.

Why then do they work?? A good question.

Firstly, we need to know what actually causes the bug in the first place. Something we have always known since the very first host left message was discovered in online play, is that damage by weapons and loadouts are multiplied by the number of players in a dynaverse mission when there is a host left message and this is consistant for all missions ever made (stock and otherwise). The reason for this, as we now know, is that each player has their own version of the script running on each computer, but ceratin tasks are delegated only to the host computer, such as controlling AI. Now, what is supposed to happen, is that the host script overides the script for non-host players, thus we dont see each computer generating a set of AI for each player. However, if a non-host script detects that a host has dropped, a new host is allocated to the reamining players. When there is a connection and the script does not connect with the host, each script then becomes its own host, and thus it will run the mission as if it was the script. If we have 3 players in a mission, and they are all acting as hosts, then each script will fire the weapons of AI, launch fighters etc. so we get three sets of damage and fighters. In worse conditions, a computer acting as a host may have had such a lousy connection at the beginning of the mission that it did not recognise another human player as human, and so this script will also begin controlling the player ship as if it was AI. I'm sure we're all familiar with as well. This too happens in stock missions.

What we do not see in stock missions though, is when there is no host left message or connection issue, yet we still see this anomaly occurring where each player script is acting as a host, although we never see another script actually taking player ships as AI. This is significant. It means then that there must be some other mechanism at work associated with host scripts controlling AI and player ships.

The remedies that have been employed to fix this bug have met with limited success. Firesoul first found a possible solution by only allowing host scripts to register AI ships within a script. This appears to have worked well GSA, but not for the D2. Karnak then put foreward another solution, by removing all code that changed the states of AI Officers running in all scripts on the premise that doing so was in some way instogating non-host scripts to 'activate' their AI code. Again, this works in some cases, but not others.

In fact, both Firesoul and Karnak are both correct in their approaches, but the solution is not yet complete. So, I have combined both approaches building on this and extending it by further restricting all code associated with AI (ie. AI ship generation, all AI commands etc.) only to the host script. This appears to work, as has been reported maybe half of the time, but still is not a complete solution.

Now, interestingly enough, when these missions were first tested, this bug was not seen at all, and did not reappear until the ship AI generation method was changed in order to accomodate the time warping and AI ships being produced out of era. The first method used was, I believe, was the same that Karnak has used. On inspection of the API, it would also appear to be the method of choice, as we can specify the BPV, hull class ranges, and variant percentages of generated AI. This proved to work exactly as it should except for the one deal breaking issue that ships generated using this method ignore the YFA of the ship in question and interestingly enough do not use a metaverse id. These id is necessary to connect the ship in game with the id of the player ship in the server database and the API actually comments that only the method that does use this id is compatible with the metaverse. It should also be noted that in the stock scripts, the non metaverse id methods were actually used and then later commented out (deleted) in favour of the metaverse id version.

The metaverse id version, however, only takes parameters from the server database (or single player database) to create player ships. If the ship being created does not belong to a human player, the function appears to create an AI ship but there are no parameters whatsoever over what ship is actially made. Instead, in the mission script calss, another function is used to set BPV strengths of AI teams which previously appeared not to work, but is now known to work only when with metaverse id version method. This is exactly how the stock scripts work and I switched to this method in order to overcome the timewarp issue.

Unfortunately, using this method presents severe problems when trying to remove AI ships in PvP.AI ships are now being created at the exact same moment as player ships. We do not know if a ship is human controlled or AI controlled until after it is created. Teams are setup in a particular order though, with the host team taking the first slot. Since the host generates AI ships, and it is the first team to be created, it cannot yet evaluate the status of subsequent ships yet to be created, and thus cannot know if there are human opponents at the time of AI ship creation. A possible solution to this might just be to re-evaluate AI ships, say, 5 seconds after the mission begins, and destroy them if human opponents are present (but this is not an ideal solution). Another possibility on my list of experiments is to create the host team last (but may have unknown effects in mission).

In conclusion then, there is still something else hapenning in these scripts that the stock scripts do not do that is causing non-host scripts to 'activate' their AI code. These scripts are more complicated and do employ far more API methods than the stock scripts do which perhaps were never tested with the API under these circumstances. If we had the source code to the client API, the problem could be fixed yesterday. Rather, the world of scripting is more like conducting tests on a black box to see what happens without the code. The API does contain many known bugs which have since been documented and easily fixed if the code was available (my list of API bugs seems to grow with each mission written).

Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #29 on: August 04, 2005, 06:31:59 am »
I've done everything I can, but I still can't see the ION Storms in TG missions.  It does not make sense cuz I am using the same SFC.ini settings that were used successfully for EEK missions that also used ION storms but in a different manner.

I've been avoiding PvP matches until this issue was resolved. Have not done one PvP yet on AOTK2.

But, I aint waiting any longer . . .

So, if I'm in a PvP match and I can't see the ION storms then, AFAIC, the mission is bugged, so I'll prolly have to Alt-F4 out unless you tell me where the ION storm in the PvP match and my ship does not get creamed by it.  :o

Better yet, just don't draft me in a ION hex on the map, unless it's a NW mission eligible base/planet hex, and save us both a lot of grief.

The ion storms in these missions are not created as map objects but simply reside as part of the map being selected for that terrain type. That is the only code employed to add ion storms to these missions, which is the same fashion for which asteroids, suns, dustclouds, nebulas, etc. also appear in mission. If ion storms are appearing in other missions though, then this discounts an issue with the texture file for ion storms which is the first place to look for a problem. While I do not think that the SFC.ini settings should have any effect on the appearance of ion storms in game, to test that hypothesis, try using a set of settings from another player who sees the ion storms (or the stock settings) to see what effect it has. If there is no effect, that is you still do not see ion storms, then we can conclude that the ini settings are not the issue and that the problem exists elsewhere in your system. Trial and error.
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #30 on: August 04, 2005, 06:35:43 am »
Look, the double fighter bug with Traceys missions happens roughly 50% of the time when you draft in Co-op and only Co-op and there is no host left msg.

When there is a host left, I'd say you almost always have double issues. That's not what we are talking about here. Host left are always bugged.

We are talking ONLY about Co-op missions folks. If you dont have a wing, the double fighter/weapon bug wont bite. If you fly with a wing, watch for double fighters and their frequency. Currently, the Hydrans are the only race that consistently have fighters on their ships. So only the kats or coalition will notice this. Otherwise in Co-op you'll have to ck for double shots.



Dizzy is correct, however the bug can appear whenever there is more than one human player including an enemy player in addition to coop.
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

el-Karnak

  • Guest
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #31 on: August 05, 2005, 09:59:15 am »
Was running a simple PvE mission against Hydrans with my I-CCY. No Host Left or anything untowards.  My BCH shot out dbl-plasma S torps. Hydran LM go BOOM!! real quick.

You definitely have some work left to do in cleaning out dbl-fire bugs.  Haven't seen any dbl-fighter bug, but my router ports are giving me fits so I can't tell. Only player that I can co-op with so far is Freedom

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #32 on: August 05, 2005, 11:30:20 am »
I se the double-shot on occaison still, it seems to only happen when the host is on Dial-up.   
Who'd thunk that Star-castling was the root of all evil . . .


Offline KBFLordKrueg

  • Commander
  • *
  • Posts: 3733
  • KBF CO
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #33 on: August 05, 2005, 03:03:43 pm »
I se the double-shot on occaison still, it seems to only happen when the host is on Dial-up.   

Not really, ran several missions last night with different wings, all players involved were on DSL or cable, had double shot plasmas and photons.
Wew tried different areas of space, different hosts, everything.
In every case we still got double shot AI... :-\
In a few we had 3 of us and saw TRIPLE shot plasmas (didn't try it in area where Fed AI was present...
It's really becoming quite irritating when a ship with 2 Plasma launchers shoots 4-6 plasmas at you and THEY'RE ALL REAL!!
I really do appreciate all the work put into the new scripts, but, THAT DOUBLE SHOT CRAP HAS GOT TO GO!!
Lord Krueg
KBF CO
We are the Dead

el-Karnak

  • Guest
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #34 on: August 05, 2005, 04:05:33 pm »
Yep, if you're in a PvP missions and the AI stripping does not work, so the AIs are there and then the AIs double-shot.  That mucho bad . . .

Bye, bye PvP game; may as well Alt-out.

Offline KBFLordKrueg

  • Commander
  • *
  • Posts: 3733
  • KBF CO
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #35 on: August 05, 2005, 04:50:30 pm »
Yep, if you're in a PvP missions and the AI stripping does not work, so the AIs are there and then the AIs double-shot.  That mucho bad . . .

Bye, bye PvP game; may as well Alt-out.

None of the mentioned missions had enemy players, only allied players vs the AI...
Lord Krueg
KBF CO
We are the Dead

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #36 on: August 05, 2005, 05:40:35 pm »
Yep, if you're in a PvP missions and the AI stripping does not work, so the AIs are there and then the AIs double-shot.  That mucho bad . . .

Bye, bye PvP game; may as well Alt-out.

None of the mentioned missions had enemy players, only allied players vs the AI...

I had one PvP Double-shot, but I had only seen that happen once in PvP, not in the other PvP encounters with AI.
Who'd thunk that Star-castling was the root of all evil . . .


Offline Corbomite

  • Commander
  • *
  • Posts: 2939
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #37 on: August 08, 2005, 09:43:41 am »

In conclusion then, there is still something else hapenning in these scripts that the stock scripts do not do that is causing non-host scripts to 'activate' their AI code. These scripts are more complicated and do employ far more API methods than the stock scripts do which perhaps were never tested with the API under these circumstances. If we had the source code to the client API, the problem could be fixed yesterday. Rather, the world of scripting is more like conducting tests on a black box to see what happens without the code. The API does contain many known bugs which have since been documented and easily fixed if the code was available (my list of API bugs seems to grow with each mission written).




Thank you. that was informative (the entire thing, not just the quote).


If what you say here is true then there might be a  possible work-around. We don't have the API source code but we do have the server kit code. If the only way at present to make the missions stable is to give the script free rein to time warp then let it and control ship selection through the server side shiplist. If a program could be written into the server code that takes a shiplist where most of the ships are listed as R (restricted) until they are scheduled to appear in the timeline when the program would update the list and make them available each game year that passed by, changing their Special Role designation from R to whatever it is supposed to be. My understanding is that these types of changes have no effect on the playerside list (that would be normal in the fact that all ships would have their regular Special Role rating from the start) and that not even the broken API can call up a Restricted ship out of the ether. I suppose you could even write the program to R out all the ships in the submitted list and just have it update all available ships at server start so the the admin wouldn't have to go through and do the selections manually.


el-Karnak

  • Guest
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #38 on: August 08, 2005, 09:54:55 am »

In conclusion then, there is still something else hapenning in these scripts that the stock scripts do not do that is causing non-host scripts to 'activate' their AI code. These scripts are more complicated and do employ far more API methods than the stock scripts do which perhaps were never tested with the API under these circumstances. If we had the source code to the client API, the problem could be fixed yesterday. Rather, the world of scripting is more like conducting tests on a black box to see what happens without the code. The API does contain many known bugs which have since been documented and easily fixed if the code was available (my list of API bugs seems to grow with each mission written).



Thank you. that was informative (the entire thing, not just the quote).


If what you say here is true then there might be a  possible work-around. We don't have the API source code but we do have the server kit code. If the only way at present to make the missions stable is to give the script free rein to time warp then let it and control ship selection through the server side shiplist. If a program could be written into the server code that takes a shiplist where most of the ships are listed as R (restricted) until they are scheduled to appear in the timeline when the program would update the list and make them available each game year that passed by, changing their Special Role designation from R to whatever it is supposed to be. My understanding is that these types of changes have no effect on the playerside list (that would be normal in the fact that all ships would have their regular Special Role rating from the start) and that not even the broken API can call up a Restricted ship out of the ether. I suppose you could even write the program to R out all the ships in the submitted list and just have it update all available ships at server start so the the admin wouldn't have to go through and do the selections manually.



EEK scripts have been built to do this since SS2.  I did put in MagnumMan's shiplist API in some prototype missions in early 2004, but since I could never get the stardate off the dyna, the ops. was rendered moot.  For the lay people, MagnumMan's shiplist API is a C++ library that he wrote which basically accesses almost every field in shiplist.txt.  I've tested it a lot and found a couple bugs, but I can fix those NP.  What's been missing in 2004 is a server admin. willing to do the shiplist.txt changes on periodic basis.  Then SWG came around and I lot interest in the OP game . . .

As for the mission script development issues.  I see a lot of mission scripters just trying any old API call without testing it out enough first. Then it all comes out in the wash on the dyna.  When I worked on EEK missions, I used the standard Spiral SDLC S/W model where you open up a few features at a time, test them out on the prod. dyna, then moved on from there. Ya don't unleash the whole API, that is known to be incomplete and somewhat buggy, in a new mission pack and hope that it all works. That's not realistic coding and certainly does not work in the real world of commercial software development. You would have no customer confidence left after the first couple of gold releases. Of course, this is gaming software where the quality standards are somewhat lower that what is expected in other industries.  The world won't exactly end if the mission script on the dyna is buggy. ;D

Anyway, back to the issue at hand. Anyone that bothers to to read the Admin. section of the README file that comes with every EEK mission pack would see that you can simply set the unwanted ship as SPECIAL class and it will never show up in an EEK mission as AI, PERIOD.  This feature has been in since post-SS2, almost 2 years ago. Also, in SS2 there were some serverlist changes for G-BCS and L-BCHT and they showed up in the EEK AI used on that dyna, so EEK missions always read AI of the dyna server shiplist.

 Now, I have irrefutable evidence that nobody bothers to read my README.txt files, hehe ::)
« Last Edit: August 08, 2005, 10:20:25 am by el-Karnak »

Offline Corbomite

  • Commander
  • *
  • Posts: 2939
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #39 on: August 08, 2005, 04:11:58 pm »
That's all well and good Karnak, but it does nothing about ships that we want in there showing up 20 years early.

el-Karnak

  • Guest
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #40 on: August 08, 2005, 04:48:09 pm »
That's all well and good Karnak, but it does nothing about ships that we want in there showing up 20 years early.

Are you trying to prevent time warping or make exceptions?  First case is already taken cared off, as stated above by judicious usage of SPECIAL class, and second case is what?

Two different animals that require two distinctly different approaches.

Also, when you mess with the SPECIAL_ROLE field then you are messing with the shipyards. Sometimes, you want a ship to be available in the shipyards, but not as AI in the missions.  That means you use SPECIAL class, but not SPECIAL_ROLE 'R' and the ship cost is whatever is set for SPECIAL class in the economy settings.

You want a ship in 20 years early? Just don't use SPECIAL class and change the YFA date. 

I think the I-CCZ should be HEAVY_BATTLECRUISER class and YFA -20. That's 40 years earlier than it's original YFA. ;D

I guess that I need to do a dyna campaign to show how it all can work. I've yet to see an admin. use the dyna tools available to its fullest potential.  I prefer to wait until the SQL server kit is fixed though.
« Last Edit: August 08, 2005, 04:59:07 pm by el-Karnak »

Offline GDA-S'Cipio

  • Brucimus Maximus
  • Captain
  • *
  • Posts: 5749
  • Gender: Male
  • If I took the bones out, it wouldn't be crunchy.
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #41 on: August 08, 2005, 05:05:02 pm »
Yes, the stock missions neither seem to exhibit any dble ftr/weapons bugs (aside from host connection issues) nor do they contain any code that has been employed to resolve these bugs.

Another annoying piece of data that is probably useless to you now, but maybe will prove helpful once you start figuring out what is going on.

We did used to get the double shot bug in standard scripts, even without the host left message.  The main difference was that when the bug happens now, it lasts for the entire mission.  In the old days, using the Taldren scripts, it would happen once during a mission, and then maybe it wouldn't happen again.  (Though I do remember it happening twice in a row a few times.)  The bug was most visible with the plasma torpedo, and for a while it was erroneously called "the double plasma bug", but in truth it happened with all heavy weapons.  (Though I admit I don't ever remember it happening with drones.)

Based upon their behaviour this may be a completely different problem.  But at least you know that the stock scripts aren't completely immune!

-S'Cipio
"I cannot undertake to lay my finger on that article of the Constitution which granted a right to Congress of expending, on the objects of benevolence, the money of their constituents."  - James Madison (chief author of the Constitution)

-----------------------------------------
Gorn Dragon Alliance member
Gorn Dragon Templar
Coulda' used a little more cowbell
-----------------------------------------


el-Karnak

  • Guest
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #42 on: August 08, 2005, 05:27:19 pm »
The main difference was that when the bug happens now, it lasts for the entire mission.

That a big LWO red flag or improperly set AI officer red flag.

Quote
  In the old days, using the Taldren scripts, it would happen once during a mission, and then maybe it wouldn't happen again.  (Though I do remember it happening twice in a row a few times.)  The bug was most visible with the plasma torpedo, and for a while it was erroneously called "the double plasma bug", but in truth it happened with all heavy weapons.  (Though I admit I don't ever remember it happening with drones.)

One thing about the AI that is deceiving is that sometimes they will be shoot off 2 plasmas: one real and one pseudo.  I've seen this happen many times with EEK AI and got lotsa films from admins. on it. I ran the mission and actually sat there and took the plasma hits. Only the real plasma gave you damage. 

This case only occurs though, if you properly fixed the above case.  Otherwise, you are gonna be pasted with double weapons fire.

Offline GDA-S'Cipio

  • Brucimus Maximus
  • Captain
  • *
  • Posts: 5749
  • Gender: Male
  • If I took the bones out, it wouldn't be crunchy.
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #43 on: August 08, 2005, 09:09:51 pm »

One thing about the AI that is deceiving is that sometimes they will be shoot off 2 plasmas: one real and one pseudo.  I've seen this happen many times with EEK AI and got lotsa films from admins. on it. I ran the mission and actually sat there and took the plasma hits. Only the real plasma gave you damage. 

This is very true.  But what I'm remembering from before really was two real torps.  I specifically remember my own ship would launch two plasmas from the same launcher, both real.  But this would only happen about once in a thousand.  If I were pressing repeatedly on the z key, both would go.  If I was just pressing once, I'd fire but still have a full tube.

-S'Cipio
"I cannot undertake to lay my finger on that article of the Constitution which granted a right to Congress of expending, on the objects of benevolence, the money of their constituents."  - James Madison (chief author of the Constitution)

-----------------------------------------
Gorn Dragon Alliance member
Gorn Dragon Templar
Coulda' used a little more cowbell
-----------------------------------------


Offline Corbomite

  • Commander
  • *
  • Posts: 2939
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #44 on: August 08, 2005, 09:36:23 pm »
Scippy,

That bug was fixed (sort of) several patches ago. It still does happen occasionally, but only to a live player.


Karnak,

You are not following the conversation.  We are talking about ships we do indeed want in the ship list; and in play for the AI; and in the shipyards all at their respective proper times. We do not want ships that are intended for use coming out as AI draws earlier than the YFA of that vessel. "R"ing or "Special"ing out ships in the Special Role column manually is not going to happen for every game year that happens on a server. We need an automated program that is part of the server code that does it without need for human intervention.

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #45 on: August 09, 2005, 02:22:18 am »
Interesting... so the stock missions did display this behaviour at some time in the past. What we need to do then is test some stock missions with the exact same conditions that we have for AOTK2. The ED base assaults in use at the moment use a different AI generation method to the patrols so these are not valid. The AI generation method is different because the base must be 'hardcoded' in the same way freighters are hardcoded in convoy missions (thats why you always see them).

Now, if we don't see the bug in stock patrols, then we can conclude its a scripting issue. If we do see the bug, then this is worse, because then we have to look elsewhere which would require a lot of testing (using a stock shiplist etc.)
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

Offline Mog

  • Lt.
  • *
  • Posts: 610
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #46 on: August 09, 2005, 02:31:04 am »
The double-firing used to occur on Mplayer and GSA scripts as well.
Merriment is All

Fear the Meow!

Offline Corbomite

  • Commander
  • *
  • Posts: 2939
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #47 on: August 09, 2005, 10:22:12 am »
Different bug Tracey. Scippy is refering to a bug where human players get an occasional free HW shot. It even happens in single player once in awhile.

Offline Soreyes

  • Commander
  • *
  • Posts: 3903
  • Gender: Male
  • It's Not News. It's CNN
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #48 on: August 09, 2005, 10:35:37 am »
I have only seen the Double shot bug so far. it seems to only happen when im in a co-op mission.  Last night had a K-E3Y almost take out my DF with a salvo of four Photon torps at range 8..... of course they all hit ::)   I thought Chuut was going to pass out laughing so hard ;D


[img width=600 height=150]

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: Please report any instance og the Double Fighter/weapon bug
« Reply #49 on: August 09, 2005, 10:45:12 am »
Different bug Tracey. Scippy is refering to a bug where human players get an occasional free HW shot. It even happens in single player once in awhile.

Indeed, but it could be related though. I have noticed when your ship gets taken over by the AI, it fires heavy weapons but they are still showing as charged sometimes. This tends to suggest that the ship object is not as encapsulated as it should be in an object-oriented sense.
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore