diff --git a/modules/game_shaders/shaders.otmod b/modules/game_shaders/shaders.otmod index 61f606ec..799c6ff0 100644 --- a/modules/game_shaders/shaders.otmod +++ b/modules/game_shaders/shaders.otmod @@ -4,5 +4,6 @@ Module author: edubart website: www.otclient.info scripts: [ shaders.lua ] + sandboxed: true @onLoad: init() @onUnload: terminate() diff --git a/modules/game_tibiafiles/tibiafiles.otmod b/modules/game_tibiafiles/tibiafiles.otmod index a91ffd70..e15d9480 100644 --- a/modules/game_tibiafiles/tibiafiles.otmod +++ b/modules/game_tibiafiles/tibiafiles.otmod @@ -5,4 +5,3 @@ Module sandboxed: true scripts: [tibiafiles.lua] @onLoad: init() - @onUnload: terminate() diff --git a/src/framework/net/inputmessage.h b/src/framework/net/inputmessage.h index 12b5a019..4ef7ea36 100644 --- a/src/framework/net/inputmessage.h +++ b/src/framework/net/inputmessage.h @@ -31,7 +31,7 @@ class InputMessage : public LuaObject { public: enum { - BUFFER_MAXSIZE = 16384, + BUFFER_MAXSIZE = 65536, MAX_HEADER_SIZE = 8 };