4 ms·
The character could possibly become drunk immediately after sending the "I am not drunk" message, so you'd need to check if the character was still not drunk af
by tgarv 12y ago
The character could possibly become drunk immediately after sending the "I am not drunk" message, so you'd need to check if the character was still not drunk after sending the FriendNet messages. But assuming that drunkenness lasts much longer than it takes to send the FriendNet messages, you could be sure that if the character was not drunk before and after, then the messages in between were also valid.
- masklinn 12y ago> so you'd need to check if the character was still not drunk after sending the FriendNet messages Just send a checksum with the message.
- leorocky 12y agoYes this would work, even though the message could get garbled including the checksum, you make the first set of characters be a checksum for the rest. If the checksum or message became compromised it would fail validation. This is the best solution so far. Send it with every message.
- MasterScrat 12y agoOr use error-correcting codes so you can get your list accross even if you're drunk :D
- masklinn 12y agoThat probably would've worked fine in WoW yeah. Definitely not in EQ though, the "smashed" level made it pretty much impossible to communicate (outside of the channels which were added later on), and the game became… challenging to play
- leorocky 12y agoWhat do you mean by error-correcting codes?
- erikano 12y agohttp://en.wikipedia.org/wiki/Error_detection_and_correction#Error-correcting_code http://en.wikipedia.org/wiki/Error_detection_and_correction#...
- hibbelig 12y agoI think it's safe to assume that a drunk checksum would fail to match the message, drunk or sober. So check summing the checksum may not be needed.
- leorocky 12y agoOr even better, depending on length limits on message, you could prepend every message with a sentence to check. If it is not OK, discard the entire message. If it is, process the rest.