BadgerCode / emojichat

Adds support for unicode emojis in the Garry's Mod chatbox
MIT License
8 stars 2 forks source link

Emojichat does not finish loading #43

Closed BadgerCode closed 5 years ago

BadgerCode commented 5 years ago

Steps to reproduce

  1. On the main menu, click Start new game
  2. Select "2 players" and tick "Local server"

Actual behaviour

The chat has "loading" stuck in it and pressing T will open a non-closable chat window.

Console:

This should never happen - datapack file entry has no data! (addons/emojichat/lua/emojichat/cl_html.lua)
Couldn't include file 'emojichat\cl_html.lua' (File not found) (@addons/emojichat/lua/autorun/emoji-chat.lua (line 19))

[HTML] :1: Uncaught ReferenceError: emojiChat is not defined
[HTML] :1: Uncaught ReferenceError: emojiChat is not defined
[HTML] :1: Uncaught ReferenceError: emojiChat is not defined
[HTML] :1: Uncaught ReferenceError: emojiChat is not defined

[Badger|3|STEAM_0:0:30458122] Lua Error:
Couldn't include file 'emojichat\cl_html.lua' (File not found) (@addons/emojichat/lua/autorun/emoji-chat.lua (line 19))

bug image

BadgerCode commented 5 years ago

Also noticed

Requesting 1 lua files from the server
Lua file 234 too big, ignoring! (66318 > 65536)
BadgerCode commented 5 years ago

Potential solution: Store the file serverside. Send it in 65k chunks to the client using the net library- http://wiki.garrysmod.com/page/Net_Library_Usage

BadgerCode commented 5 years ago

Fixed