Difference between revisions of "LogEvents"

From Elite Wiki
(v1.4)
(Added Links)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[File:Latest.log example.png|thumb|600px|right|Boring but VITAL! '''LogEvents''' records expanded detail of what happened in your latest game to help track down problems!]]
 +
This oxp puts more information into your latest.log while you are playing the game. This means that if something goes wrong, there is more information to sort it out for the future!
 
=== Description ===
 
=== Description ===
  
This script catch all available handlers and write into the Logs/Latest.log to help developing
+
This script catch all available handlers and write into the Logs/[[Latest.log]] to help developing, or to review a battle, or find out why the police attacking you suddenly.
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 [http://bb.aegidian.org/viewtopic.php?f=4&t=14536 HUDRequests OXP],
+
Originally made to log all laser hits earned in the built-in mini game in the [https://bb.oolite.space/viewtopic.php?f=4&t=14536 HUDRequests OXP], but separated due to it is useful to everybody, while usually realize it after something happened.
but separated due to it is useful to everybody, while usually realize it after something happened.
 
  
  
Line 56: Line 56:
  
 
Download old v1.0 [[Media:LogEvents_1.0.oxz|here]] (downloaded {{#downloads:LogEvents_1.0.oxz}} times).
 
Download old v1.0 [[Media:LogEvents_1.0.oxz|here]] (downloaded {{#downloads:LogEvents_1.0.oxz}} times).
 +
 +
=== Links ===
 +
*See also [[Logcontrol.plist]] - which controls output to the latest.log (for those with skills in [[The Dark Side]]).
  
 
===Quick Facts===
 
===Quick Facts===
Line 65: Line 68:
 
|category = Misc OXPs
 
|category = Misc OXPs
 
|author = [[User:Norby|Norby]]
 
|author = [[User:Norby|Norby]]
|feedback = [http://bb.aegidian.org/viewtopic.php?f=4&t=14536 BB-Link]
+
|feedback = [https://bb.oolite.space/viewtopic.php?f=4&t=14536 BB-Link]
 
}}
 
}}

Latest revision as of 13:52, 2 July 2024

Boring but VITAL! LogEvents records expanded detail of what happened in your latest game to help track down problems!

This oxp puts more information into your latest.log while you are playing the game. This means that if something goes wrong, there is more information to sort it out for the future!

Description

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

Originally made 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.07.27. v1.4 - Added a new event for Oolite 1.87.
                   Removed Player word from each message to reduce log size.
                   A minor fix in systemInformationChanged by cag.
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.4 here (downloaded 0 times).

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).

Links

Quick Facts

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