LogEvents

From Elite Wiki
Revision as of 11:48, 24 June 2017 by Norby (talk | contribs) (v1.2)

Description

This script catch all available handlers and write into the Logs/Latest.log to help developing and to review a battle, or find out why the police attacking you suddenly.

Originally maded to log all laser hits earned in the built-in mini game in the HUDRequests OXP, but separated due to it is useful to everybody, while usually realize it after something happened.


An example output:

23:52:45.171 [LogEvents] GlobalLog (OOJSGlobal.m:256): Player attacked by Thargoid Warship 31748 95+41 shield and 241 energy left

23:52:45.171 [LogEvents] GlobalLog (OOJSGlobal.m:256): Player taking shield damage from Thargoid Warship 31748 82+41 shield and 241 energy left

23:52:45.603 [LogEvents] GlobalLog (OOJSGlobal.m:256): Player attacked Thargoid Warship 31748 who has 6 energy

23:52:46.108 [LogEvents] GlobalLog (OOJSGlobal.m:256): Player lost lock on Thargoid Warship 31748

23:52:46.109 [LogEvents] GlobalLog (OOJSGlobal.m:256): Player target Thargoid Warship 31748 is destroyed

23:52:46.109 [LogEvents] GlobalLog (OOJSGlobal.m:256): Player got message from Thargoid Warship 31748 : Eat yak, food blenders!

23:52:46.109 [LogEvents] GlobalLog (OOJSGlobal.m:256): Player killed Thargoid Warship 31748 with energy damage

23:52:46.235 [LogEvents] GlobalLog (OOJSGlobal.m:256): Wreckage 9948 spawned at 1 km


Dependencies

Oolite v1.77 or later.

Instructions

Unzip the file, and then move the folder named ".oxp" into the AddOns directory of your Oolite installation. Hold down the Shift key when you start the game first time until the splash screen appear.

License

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License version 3.0. If you are re-using any piece of this OXP, please let me know by sending an e-mail to norbylite at gmail.com.

Changelog

2017.06.24. v1.2 - Better log of targets without name like moons, thanks to cag.
2017.03.13. v1.1 - Updated with new events which are added into the game meantime.
2013.06.04. v1.0 - First release.

Download in OXZ format here (downloaded 1138 times).

Old download in OXZ format here (downloaded 669 times).

Old version in OXZ format here (downloaded 6943 times).

Quick Facts

Levelindicator0.png
0-{{{2}}}
Version Released License Features Category Author(s) Feedback
1.2 2017-06-24 CC BY-NC-SA 3 write all events into Latest.log Misc OXPs Norby BB-Link