Resetting alliance chat
Blackstone
Posts: 603 Critical Contributor
When does the alliance chat reset?
Is it based on time, or a certain number of messages?
Thanks in advance for any help.
Is it based on time, or a certain number of messages?
Thanks in advance for any help.
0
Comments
-
Looked through the forums and can't find anything on it.
The chat just send you disappear sometimes.
Other times it seems to stay up forever.0 -
I have noticed that it's based on number of messages. In my chat I can't see anything before 14d, but we don't talk much unless there is a Boss event or an Alliance event.
0 -
We don't usually talk a lot but my alliance is mainly newer, casual players that have questions.
I'm the only one in the alliance with a full roster, so most of those questions fall on me to answer.
As such, I find myself repeating things several times.
I don't mind, and enjoy being helpful, i just can't figure out what resets the chat, as it seems inconsistent.0 -
Blackstone said:We don't usually talk a lot but my alliance is mainly newer, casual players that have questions.
I'm there only one in the alliance with a full roster, so most of those questions fall on me to answer.
As such, I find myself repeating things several times.
I don't mind, and enjoy being helpful, i just can't figure out what resets the chat, as it seems inconsistent.
Honestly, they may not have a engineer on staff who was actually around when the code was implemented (its that old!) (My account is older than chat, but not by much and its around 6+ months older than the dawn of Alliances). It could be a legacy do not touch module for all we know, and no one knows how the chat code actually works i.e. buffer sizes, variable names etc..
Use this opportunity to get your newbies onto an outside chat system, where you can save your faq. guides. etc. It just makes life easier for everyone, if you think of it as the most rudimentary of message boards.
0 -
Without seeing the code for either the frontend and backend, it is difficult to be sure how it all works. But here is my guess at how it all works:
- When the game starts up fresh (i.e. after the game has been force closed or the device rebooted), it will download 2 weeks of chat history while loading.
- While the game is running, it keeps an open network connection to the backend servers. If an alliance mate sends a message, it will be delivered down this connection and displayed immediately.
- If the game is suspended (i.e. some other app is in the foreground on Android/iOS), it won't be reading anything from the backend network connection. Eventually the connection will be closed for being idle.
- When the game resumes (i.e. in the foreground again), it will find its connection has been closed and attempt to reconnect.
- There doesn't seem to be any delivery acknowledgement system, so the backend assumes the game received all the messages sent while it was suspended. The game will receive new messages though.
I wouldn't have thought it would be that difficult to improve the reliability of this system. It could be as simple as the following:- When reconnecting to the backend, check the time stamp of the most recent alliance message.
- Send a request to the backend for all messages with time stamped after this point as soon as the connection is established.
- The backend could then redeliver those messages using the same format used for the current real time delivery.
0
Categories
- All Categories
- 44.8K Marvel Puzzle Quest
- 1.5K MPQ News and Announcements
- 20.3K MPQ General Discussion
- 3K MPQ Tips and Guides
- 2K MPQ Character Discussion
- 171 MPQ Supports Discussion
- 2.5K MPQ Events, Tournaments, and Missions
- 2.8K MPQ Alliances
- 6.3K MPQ Suggestions and Feedback
- 6.2K MPQ Bugs and Technical Issues
- 13.6K Magic: The Gathering - Puzzle Quest
- 503 MtGPQ News & Announcements
- 5.4K MtGPQ General Discussion
- 99 MtGPQ Tips & Guides
- 421 MtGPQ Deck Strategy & Planeswalker Discussion
- 298 MtGPQ Events
- 60 MtGPQ Coalitions
- 1.2K MtGPQ Suggestions & Feedback
- 5.6K MtGPQ Bugs & Technical Issues
- 548 Other 505 Go Inc. Games
- 21 Puzzle Quest: The Legend Returns
- 5 Adventure Gnome
- 6 Word Designer: Country Home
- 381 Other Games
- 142 General Discussion
- 239 Off Topic
- 7 505 Go Inc. Forum Rules
- 7 Forum Rules and Site Announcements