MineKhan
MineKhan copied to clipboard
So I made a text "bomb" (Please find a way to prevent this from being possible (i.e. a 690 character cap per message).)
I accidentally found this, tested it a bit, realized it was too destructive, and posted this.
I'm not putting the text here cuz then It would prob take an hour to open this. (That and to prevent other people doing this.)
Willard can find a way to constrain the amount of characters sent in a message to about, say 50? It would fix this bug almost immediately :P
Well, I feel like 50 would be too little. We still want people to be able to say several sentences in a chat. I feel like 500 is better since that's the normal max characters for posting on many sites. (maybe 591 cuz haha pokemon #591 go brrrr)
Hmmm, you are right.
I am a little curious about one particular thing however, how many characters would it take to crash the MineKhan website? If Willard's computer is the server, then it probably either would be dependent on...
- The capacity and capabilities that Willard's PC / Laptop has.
- (maybe?) The storage quota that Willard's browser recommends and abides by on all windows
- The capacity of Willard's RAM
- The capacity of JS and it's localStorage Quota.
EDIT: I feel like we should set the max amount of characters to around 150 due to the fact that no one is going to type any more than 50 words in a video game 🤔
Btw, it moreso lagged when entering/(maybe iirc)exiting chat than just causing lag period.
Also, you'd be suprised to see how many words people put into normal chat messages
I capped it at I think 512 characters now.