Logging in game online

Post Reply
User avatar
m8ii
Member
Posts: 88
Joined: Fri Dec 02, 2016 11:28

Logging in game online

by m8ii » Post

In local game there is logging in console, for example:
2017-11-01 01:27:55: ACTION[Server]: singleplayer digs default:dirt_with_grass at (-18,17,88)
I want this in game online.
I play as client, my actions are to log. To console and to file debug.txt.

One time i forgot where i was die and loose many things.

P.S. And show clock in right bottom angle.
2016-12-02 17:20:25: ACTION[Server]: singleplayer places node default:furnace at (402,-47,349)

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Logging in game online

by sfan5 » Post

That's not possible, instead you can just press F5 to see your coordinates and write them down somewhere.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
m8ii
Member
Posts: 88
Joined: Fri Dec 02, 2016 11:28

Re: Logging in game online

by m8ii » Post

Why is impossible? Client knows koordinates and other information. To print such information:

2016-12-02 17:20:25: ACTION[Server]: singleplayer places node default:furnace at (402,-47,349)
2016-12-02 17:20:25: ACTION[Server]: singleplayer places node default:furnace at (402,-47,349)

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Logging in game online

by Krock » Post

m8ii wrote:Client [...] print such information:
2016-12-02 17:20:25: ACTION[Server]: singleplayer places node default:furnace at (402,-47,349)
That, my friend, is a message from the server, as you can see from that [Server] tag in the log. The client is not the same as the server. If you join a local world (no matter whether singleplayer or not), the client and server share the same log and console output but they can only communicate over the (local) network connection.
Adding a log message to the console when your client thinks that it mined a node is possible, but not reliable. If you place or dig a node, it's just a prediction until it's approved by the server for the entire mapblock. Doing a reliable check, as it should be to log the actions is not worth the effort. It's even (currently) impossible to log the other player's actions at all.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
m8ii
Member
Posts: 88
Joined: Fri Dec 02, 2016 11:28

Re: Logging in game online

by m8ii » Post

Krock. To log my actions. Dig, die, place, other. Reliability is not important. Or after answer of server.

Main information: where are my bones. Or possible coordinates of my bones. When i died.
2016-12-02 17:20:25: ACTION[Server]: singleplayer places node default:furnace at (402,-47,349)

User avatar
sorcerykid
Member
Posts: 1841
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Logging in game online

by sorcerykid » Post

Use F5 to show your coordinates. When you die, write down those coordinates on a piece of paper or in Notepad for reference.

User avatar
jas
Member
Posts: 593
Joined: Mon Jul 24, 2017 18:15
IRC: Freenode
Location: IRC

Re: Logging in game online

by jas » Post

Possible with client-side modding?

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests