Weird attacking

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Weird attacking

Post by DredgerMan »

Hi all,

after I had the game freeze on me, I had to restart the computer as it was unresponsive to the keyboard and mouse. After the restart I checked my latest log to see if there was any ewason there for the freeze but instead I found the following.

Code: Select all

17:52:31.861 [LogEvents]: Player attacked by Krait 19795 307+332 shield and 517 energy left
17:52:31.865 [LogEvents]: Player taking shield damage from Krait 19795 301+332 shield and 517 energy left
17:52:31.928 [LogEvents]: Player attacked Krait 19795 who has 293 energy
17:52:31.961 [LogEvents]: Player attacked unsuccessfully by Krait 19795
17:52:32.028 [LogEvents]: Player attacked Krait 19795 who has 281 energy
17:52:32.028 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.078 [LogEvents]: Player attacked unsuccessfully by Krait 19795
17:52:32.111 [LogEvents]: Player attacked Krait 19795 who has 269 energy
17:52:32.111 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.194 [LogEvents]: Player attacked Krait 19795 who has 257 energy
17:52:32.194 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:32.211 [LogEvents]: Player attacked unsuccessfully by Krait 19795
17:52:32.279 [LogEvents]: Player attacked Krait 19795 who has 245 energy
17:52:32.280 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.361 [LogEvents]: Player attacked Krait 19795 who has 233 energy
17:52:32.362 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:32.362 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.378 [LogEvents]: Player attacked by Krait 19795 308+328 shield and 511 energy left
17:52:32.382 [LogEvents]: Player taking shield damage from Krait 19795 302+328 shield and 511 energy left
17:52:32.444 [LogEvents]: Player attacked Krait 19795 who has 221 energy
17:52:32.444 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:32.478 [LogEvents]: Player attacked by Krait 19795 302+329 shield and 510 energy left
17:52:32.482 [LogEvents]: Player taking shield damage from Krait 19795 296+329 shield and 510 energy left
17:52:32.528 [LogEvents]: Player attacked Krait 19795 who has 209 energy
17:52:32.528 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:32.528 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.611 [LogEvents]: Player attacked Krait 19795 who has 197 energy
17:52:32.611 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.694 [LogEvents]: Player attacked Krait 19795 who has 185 energy
17:52:32.744 [LogEvents]: Player attacked unsuccessfully by Krait 19795
17:52:32.779 [LogEvents]: Player attacked Krait 19795 who has 173 energy
17:52:32.779 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:32.779 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.861 [LogEvents]: Player attacked Krait 19795 who has 161 energy
17:52:32.861 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:32.944 [LogEvents]: Player attacked Krait 19795 who has 150 energy
17:52:32.944 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:33.027 [LogEvents]: Player attacked Krait 19795 who has 138 energy
17:52:33.110 [LogEvents]: Player attacked Krait 19795 who has 126 energy
17:52:33.111 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:33.111 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:33.194 [LogEvents]: Player attacked Krait 19795 who has 115 energy
17:52:33.280 [LogEvents]: Player attacked Krait 19795 who has 103 energy
17:52:33.280 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:33.361 [LogEvents]: Player attacked Krait 19795 who has 91 energy
17:52:33.362 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:33.461 [LogEvents]: Player attacked Krait 19795 who has 80 energy
17:52:33.462 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:33.545 [LogEvents]: Player attacked Krait 19795 who has 68 energy
17:52:33.545 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:33.545 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:33.628 [LogEvents]: Player attacked Krait 19795 who has 56 energy
17:52:33.628 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:33.628 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:39.009 [LogEvents]: Player attacked Krait 19795 who has 64 energy
17:52:39.009 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:39.092 [LogEvents]: Player attacked Krait 19795 who has 53 energy
17:52:39.092 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:39.442 [LogEvents]: Player attacked Krait 19795 who has 42 energy
17:52:39.542 [LogEvents]: Player attacked Krait 19795 who has 30 energy
17:52:39.542 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:39.542 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:39.625 [LogEvents]: Player attacked Krait 19795 who has 19 energy
17:52:39.626 [LogEvents]: Player attacked Krait 26230 who has 506 energy
17:52:39.709 [LogEvents]: Player attacked Krait 19795 who has 7 energy
17:52:39.798 [LogEvents]: Player lost lock on Krait 19795
17:52:39.798 [LogEvents]: Player target Krait 19795 is destroyed
17:52:39.799 [LogEvents]: Player killed Krait 19795 with energy damage
17:52:39.842 [LogEvents]: Wreckage 28312 spawned at 11 km
17:52:39.842 [LogEvents]: Wreckage 10635 spawned at 11 km
17:52:40.426 [LogEvents]: Wreckage 26853 spawned at 11 km
17:52:40.426 [LogEvents]: Wreckage 13017 spawned at 11 km
17:52:42.458 [LogEvents]: Player attacked unsuccessfully by Krait 26230
17:52:42.558 [LogEvents]: Player attacked unsuccessfully by Krait 26230
17:52:42.691 [LogEvents]: Player attacked unsuccessfully by Krait 26230
17:52:42.791 [LogEvents]: Player attacked unsuccessfully by Krait 26230
17:52:42.958 [LogEvents]: Player attacked unsuccessfully by Krait 26230
17:52:43.874 [LogEvents]: Player targeted Metal fragment 20273 who has 1 energy
17:52:45.575 [LogEvents]: Player lost lock on Metal fragment 20273
17:52:48.440 [LogEvents]: Player targeted Krait 26230 who has 506 energy
17:52:49.406 [LogEvents]: Player attacked Krait 26230 who has 494 energy
17:52:49.406 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:49.490 [LogEvents]: Player attacked Krait 26230 who has 482 energy
17:52:49.573 [LogEvents]: Player attacked Krait 26230 who has 471 energy
17:52:49.573 [LogEvents]: Player attacked Rock Hermit 29404 who has 1000 energy
17:52:49.656 [LogEvents]: Player attacked Krait 26230 who has 459 energy
17:52:49.740 [LogEvents]: Player attacked Krait 26230 who has 447 energy
During the battle I attacked a krait that had launched from a pirate cove and whilst I was targetting and firing at it, a second krait was launched from the pirate cove, but it was nowhere near the krait that I was targetting. Yet according to the above, I attacked both ships simultaneously.

The same happened when I killed the krait I actually had targetted when I seem to have attacked the pirate cove and second krait at the same time when both were quite far away from one another.

I remember that in the recent past, after targetting an offender and giving it a warning shot and changing my target to a proper pirate (rather than a trader with a bad rep) then when I fire on the pirate, the first offender keeps screaming its head off that he's under attack yet no shots even came close to it.

This does suggest to me that the game does not properly break the contact after retargetting another ship/station/whatever. Is this normal?
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Weird attacking

Post by another_commander »

Does this happen also in strict mode?
User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Re: Weird attacking

Post by DredgerMan »

I don't know, A_C, I thought of starting a strict game to counter any OXP effects but the events that are listed in the log are the result of an OXP that I installed and I checked the previous log as well.

In it I found no secondary attacks and as I recall I didn't come across a pirate cove or if I did I didn't spend any time lingering near a Rock Hermit to find out of it would start spewing out pirates.

With that in mind I re-checked the latest log and I found that before I encountered an active Pirate Cove battles were as they should be, i.e. you target one enemy and it's the only one you attack and do damage to. Only after reaching an active Pirate Cove and it's pirates did I find the double attacks of which one is an actual attack with energy loss for the opponent.

So I am going to remove the Pirate Cove OXP and see if I can spot the same issue when battling multiple enemies, especially with targetting one enemy then switching to another without actually attacking the first one. If I can't find any issue in a week's time, i will re-install the pirate cove oxp and see if I can create the same issue again.

Unless you know of a shortcut that I can use?

Update: Thinking a bit more about it, it would be better to turn it around, i.e. keep the OXP and try to see if I can trigger the same issue again. If I can then I would know what to do to try it out after removing the OXP (or other OXP's if the Pirate Cove is cleared).
Last edited by DredgerMan on Wed Oct 05, 2016 5:57 pm, edited 1 time in total.
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Weird attacking

Post by another_commander »

DredgerMan wrote:
Unless you know of a shortcut that I can use?
Debug Console. To use:
1. Download the Developer Release patch utility that changes a standard game installation to a Developer (also known as Test Release) one. Run it and point it to your standard installation.
2. Download the Debug Console, which is the debugging tool we use for performing generic god stuff in the game.
3. Run the debug console, then run Oolite. As soon as the game starts, the console should report that it is connected to it.
4. Now you can use the cosole command line to spawn whatever it is you want to test. The standard way to spawn stuff is:

Code: Select all

:spawn <roleOfEntityYouWantToSpawn>
e.g. to spawn a pirate you execute :spawn pirate. If you want a specific ship, you can use its shipdata.plist key enclosed in square brackets e.g. :spawn [cobra3-trader]. Note the colon as the first character of the command, in this case it is required.
With the above you can spawn pirate coves, pirates, traders and whatever else you may want to in order to do a test. This way you reduce the 'good luck' factor a lot and hopefully you will be able to perform your tests much faster than having to wait for the game to generate the ideal conditions for you.
User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Re: Weird attacking

Post by DredgerMan »

:shock: :shock: :shock: :shock: :shock:

What, A_C?

Are you trying to induce me to perform ....... :shock: Dark Arts :shock: ????

It's going to be a first step which, no doubt, will lure me in, deeper and deeper, until sunlight is no longer wanted or even tolerated.
Aghh! It Burns! It Burns us..
But at the same time
We wants it, we needs it.
Hmmmm, what a choisah-to-makah.

Three Fingers for the Trader-kings under the sky,
Seven for the Planet-lords in their halls of stone,
Nine for Mortal Space-Men doomed to die,
One for the Dark Pirate on his dark throne.
One Finger to rule them all. One Finger to find them,
One Finger to bring them all and in the darkness bind them.

Ohhhh, what power I can wield with my finger. The ULTIMATE power to call any vessel, station to appear at my command!

Ok, I'm sold.

Down :wink: loading!
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Weird attacking

Post by another_commander »

Heh, wait until you execute for the first time

Code: Select all

system.sun.goNova()
THEN you will know what REAL power means! Mwwahahahhhahahaaa...

... ahem. As you were.
User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Re: Weird attacking

Post by DredgerMan »

I can only bow to your superior ultimate knowledge and power .....

for the moment. :evil: :wink:
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard
Post Reply