Difference between revisions of "LogEvents"

From Elite Wiki
(v1.3)
m
Line 57: Line 57:
 
|release = 2018-01-29
 
|release = 2018-01-29
 
|features = write all events into Latest.log
 
|features = write all events into Latest.log
|license = CC BY-NC-SA 3
+
|license = CC BY-NC-SA 4.0
 
|category = Misc OXPs
 
|category = Misc OXPs
 
|author = [[User:Norby|Norby]]
 
|author = [[User:Norby|Norby]]

Revision as of 16:22, 29 January 2018

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

2018.01.29. v1.3 - Added new events of Oolite 1.86. Minor fixes by cag.
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 v1.3 here (downloaded 214 times).

Download old v1.2 here (downloaded 1138 times).

Download old v1.1 here (downloaded 669 times).

Download old v1.0 here (downloaded 6943 times).

Quick Facts

Levelindicator0.png
0-{{{2}}}
Version Released License Features Category Author(s) Feedback
1.3 2018-01-29 CC BY-NC-SA 4.0 write all events into Latest.log Misc OXPs Norby BB-Link