Signal Attacked not firing when Pirate is attacker?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
Signal Attacked not firing when Pirate is attacker?
I've noticed some escort ships recently not responding or helping their flight leaders. I traced the issue down to "protect ship" and ran a couple scenarios.
After many tests, I've come to the conclusion that signal attacked doesn't fire if the attacker is a Pirate. If the hidden state is NOT removed, the signal works fine.
Can someone else confirm this?
After many tests, I've come to the conclusion that signal attacked doesn't fire if the attacker is a Pirate. If the hidden state is NOT removed, the signal works fine.
Can someone else confirm this?
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
can't confirm but my knowledge of s.a is that it does not always fire on every attack
have you tried building in a 1 line logging script for testing, e.g. sec signal script , write to log book attacker/or play sound 945
i used this method when banging my head against the desk with that signal
have you tried building in a 1 line logging script for testing, e.g. sec signal script , write to log book attacker/or play sound 945
i used this method when banging my head against the desk with that signal
LV's TC Scripts
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
When I was banging my ahead against my desk, I just used player logging for this one, showing the attacker and the defender in a single line. I tried every race against each other, and everything works as expected except when an unhidden pirate attacks any other race. The signal doesn't fire. I know for sure it doesn't fire. I just don't know why, or if I've somehow created an environment that's causing it.
-
- Posts: 389
- Joined: Sat, 10. Apr 04, 13:05
interesting, just tried it against a few player ships and pirate fighters with their coverstate removed did not trigger the primary signal attacked at all e.g. ships did not even try to fight back
however if you spawn the ships as another race and change ownership to pirate race the signal fires as it should, need to change some spawn scripts now -.-
thanks for stumbling across this one
however if you spawn the ships as another race and change ownership to pirate race the signal fires as it should, need to change some spawn scripts now -.-
thanks for stumbling across this one

-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
does this mean that someone with a slightly dark orientation could use this "feature" to get them to attack ships without them fighting back?
LV's TC Scripts
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
-
- Posts: 389
- Joined: Sat, 10. Apr 04, 13:05
-
- Posts: 4254
- Joined: Fri, 20. Oct 06, 19:02
The problem is, as most wings are set to protect rather than attack same, most wings will not respond when attacked by a pirate. Even if the lead ship is engaged in full combat with a pirate, a whole wing of 20 ships will do nothing but follow.
As for my own fix, I'm going to be switching all wings to attack same.
As for my own fix, I'm going to be switching all wings to attack same.
-
- Posts: 389
- Joined: Sat, 10. Apr 04, 13:05
-
- Posts: 850
- Joined: Fri, 6. Feb 04, 21:02
-
- Posts: 1703
- Joined: Sat, 15. Jul 06, 20:59
gazz' and my oos-tests of yore
showed, that this is the main reason for poor sectorpatrol-performance. afaik this has not changed in 3.1
I'm pretty sure this is not race-related but I will not rule out the possibility that it is worse for pirates.
most of the Q-renown stems from the fact that the victim simply ignores being shot to pieces
There exists a patched fight-script by gazz (see oos-rebalance-thread) doing massive logging and checking if signal attack was seen, iirc the "D"-flag

I'm pretty sure this is not race-related but I will not rule out the possibility that it is worse for pirates.
most of the Q-renown stems from the fact that the victim simply ignores being shot to pieces
There exists a patched fight-script by gazz (see oos-rebalance-thread) doing massive logging and checking if signal attack was seen, iirc the "D"-flag
Redest du noch - oder denkst du schon ?
-
- Posts: 389
- Joined: Sat, 10. Apr 04, 13:05
no, thats something different - the uncovered pirates never trigger signal_attacked (which is a bug)
the Q kills stuff before signal_attack gets a chance to trigger ^^ signal_killed simply trumps signal_attacked (I tested it a while ago with a Q oos, signal fires fine if the target survives)
additional to this the ES implementation of signal_attacked is quite weird, the first call blocks any further calls until the first attacker is killed ...
the Q kills stuff before signal_attack gets a chance to trigger ^^ signal_killed simply trumps signal_attacked (I tested it a while ago with a Q oos, signal fires fine if the target survives)
additional to this the ES implementation of signal_attacked is quite weird, the first call blocks any further calls until the first attacker is killed ...
-
- Posts: 1703
- Joined: Sat, 15. Jul 06, 20:59
OK
Q is a bad example because of the massive damage. But I'm positive about similar incidents to lesser xenon not signal-killing (at least up to 2.6)
I do not have a large logfile to prove it for my (just begun) 3.1 game though.
I'll post the incidents if I do
Q is a bad example because of the massive damage. But I'm positive about similar incidents to lesser xenon not signal-killing (at least up to 2.6)
I do not have a large logfile to prove it for my (just begun) 3.1 game though.
I'll post the incidents if I do
Redest du noch - oder denkst du schon ?
-
- Posts: 366
- Joined: Sat, 7. Feb 04, 18:27
-
- Posts: 366
- Joined: Sat, 7. Feb 04, 18:27
LV wrote:can't confirm but my knowledge of s.a is that it does not always fire on every attack./quote]
Just been working withese signal alot as writign a bailing / loot drop mod.
I havnt noticed any issues with the signal not firing at all, but I havnt been explicityly checking for pirates in either state. However the signal does not fire on every attack - Im guessing for performance reasons - for eg I often only see if it fire maybe 2-3 times from first attack to death of ship in AP.
I suspect its on a timer - ie if signal sent within last N seconds, dont bother sending it again...
-
- Posts: 366
- Joined: Sat, 7. Feb 04, 18:27
Odd - now that I havnt noticed, or maybe it doesnt impact secondaries?Sartorie wrote:additional to this the ES implementation of signal_attacked is quite weird, the first call blocks any further calls until the first attacker is killed ...
Im definately getting multiple, but spaced out signals in the same fight involving only two ships - else no way would watching for my bailing conditions work.