KoYGeR 112 Posted April 29, 2020 Share Posted April 29, 2020 M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) Someone asked me for cache chat messages. Here is the release constInfo.py Add: lastSentenceStack = [] lastSentencePos = 0 game.py In def Open(self): add: if len(constInfo.lastSentenceStack) > 0: constInfo.lastSentencePos = 0 uiChat.py remove: self.lastSentenceStack = [] self.lastSentencePos = 0 All: self.lastSentenceStack Replace with: constInfo.lastSentenceStack All: self.lastSentencePos Replace with: constInfo.lastSentencePos That's all, enjoy 19 1 8 21 Link to comment Share on other sites More sharing options...
Johnny69 366 Posted May 11, 2020 Share Posted May 11, 2020 (edited) Why you reset the position in stack to 0 on game.py ? This will reset the chat message to 32 messages back (if the stack is full, first message you typed anyway) and a user actualy need his last message, not 32 messages ago message. Edited May 11, 2020 by Johnny69 1 Link to comment Share on other sites More sharing options...
Recommended Posts