Space Engineers

Space Engineers

68 个评价
Chat History
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script, Other
文件大小
发表于
更新日期
251.323 KB
2015 年 1 月 23 日 上午 5:12
2016 年 1 月 14 日 上午 11:03
16 项改动说明 ( 查看 )

订阅以下载
Chat History

在 Digi 的 1 个合集中
Digi's Space Engineers mods
51 件物品
描述
NOTE: The game added chat history to global coms (after this mod was made ofc), this mod however can still be useful to see the chat history from before you joined.


This mod tracks all the public chat messages and stores the last 50 entries and it also shows messages from the last server session since they are stored.

Use /ch in chat to view the past messages.

The messages are saved in %AppData%/SpaceEngineers/Storage/ChatHistory_379856794/chat <world directory name>.txt every time the game is saved and on exit.

The messages are also loaded from that file.

When a client joins they'll be able to see all the past messages before they joined as well.

I've only tested it on a listen server, if you have any issues on dedicated servers (or otherwise) please post in the errors in discussions tab.


Related mods
No Global Chat - Realistic comms only (but indirectly incompatible for obvious reasons :P)


mod io?
Please read[gist.github.com]
热门讨论 查看全部(2)
11
2015 年 6 月 22 日 下午 1:47
置顶: Having issues ? Post here!
Digi
2
2019 年 3 月 14 日 上午 7:38
Journal for missions
Mr Colonel
79 条留言
Godrich 2018 年 6 月 4 日 下午 10:18 
@Digi
i suppose it isnt needed, but i would like to be able to store more. I havent seen anyone else voice this view though so it may just be me :/
Digi  [作者] 2018 年 6 月 4 日 下午 5:34 
Programmable block (PB) does not have access to chat. It must be a mod that runs a PB when a chat message is sent.

The old block would've been useless for your needs since it was a spawned block somewhere in the world just to store the data; it wasn't available for players to build.
Kyneroth 2018 年 6 月 4 日 下午 5:19 
@Digi, I am a complete C# noob unfortunately. I am rediscovering my love of SE after being promoted to server admin and I'm trying to learn scripts and mods best I can.

Just a simple question to test viability then, is the chat history API accessible from the player side / player script without mods? This might decide whether I take this route or not...
Digi  [作者] 2018 年 6 月 4 日 下午 3:59 
@Godrich
Nope, is it really needed? I'm not sure why I didn't make it larger, probably because the packets had a size limit of 4096 (which they no longer have).

@Kyneroth
This mod no, it's out of its purpose scope :P
But it is quite possible to do.
You should request it on the keen forum or in the keen discord.
Or do it yourself if you're familiar with C# and the discord chat can help with the API.
Kyneroth 2018 年 6 月 4 日 下午 2:43 
Hi, I was looking your mod as we have it on our server and I noticed in your old discussions, you used to have a block to store the chat information? I'm looking at writing some code for Drone A.I on my server. One thing that would really prove useful is a script that could:

1. Read the chat log and look for the admin's name (for correct permissions etc)
2. Read the chat command for a specific character (trigger for command eg "/")
3. Execute that command, using the word as the argument for that programming block

This would almost be like grid to grid communication with antenna but instead, suit to grid. Would your mod facilitate that to happen?
Kyn
Godrich 2018 年 5 月 20 日 下午 6:32 
Is there a way to increase the number of messages stored?
Ninjor 2017 年 1 月 23 日 下午 1:01 
Think this could be also implemented for Medieval Engineers? Am digging through the code now...
shiznt 2016 年 10 月 9 日 下午 1:26 
the game has native support of this now
Digi  [作者] 2016 年 2 月 21 日 下午 11:08 
You'll have to be more specific, it works fine for me.
Kham 2016 年 1 月 23 日 上午 7:43 
Yeah, I hadn't read the log well enough at the time (it was 12:47AM). Sadly my entire log is long reset by now as I've been hunting down other bugs. I was connecting to DS when that happened though. I'd been on the DS just fine twenty minutes before the Thursday patch and hadn't changed anything or loaded it into SEToolbox etc.

In the end I had to remove this mod and also strangely your Improved Thrusters (the atmospheric ones) before the server would let anybody log in. Did have some strange bugs that first day though where we couldn't jetpack on a planets surface until we toggled all projectors on and off at our base... Go figure, Space Engineers being weird after a patch... So it's possible it was a random side effect.

I'll try loading it up again and get back to you if I can get a cleaner error log.