Jump to content

Cache Chat Messages


Recommended Posts

M2 Download Center

This is the hidden content, please
( 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 ;)

  • Metin2 Dev 16
  • Eyes 1
  • Good 8
  • Love 19
Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.