pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.7k stars 1.7k forks source link

Long lua functions via console breaks #4307

Closed rubiksw closed 2 years ago

rubiksw commented 2 years ago

Current Behavior

My experience with this issue is specific to source engine games like Garry's Mod, but maybe other games as well.

Trying to run a lua function via the console using "lua_run <command/function>" will break if the function is longer than a certain number of characters, as if the console is adding a line break somewhere.

Expected Behavior

Being able to run long lua functions via the console with lua_run without erroring out.

Steps to Reproduce

Try and run a Lua function via the console with lua_run. If the function is over a certain number of characters, it will break.

Panel Version

1.9.1

Wings Version

1.9.1

Games and/or Eggs Affected

Garry's Mod

Docker Image

ghcr.io/pterodactyl/games:source

Error Logs

No response

Is there an existing issue for this?

DaneEveritt commented 2 years ago

There is not enough information available here for me to try to reproduce this issue. You must provide an actual command that breaks. "If the function is over a certain number of characters" is not enough details.