Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ZTzTopia/GTProxy/llms.txt
Use this file to discover all available pages before exploring further.
Build Issues
CMake cannot find Conan
CMake cannot find Conan
Git submodules not found
Git submodules not found
lib/enet or lib/cpp-httplib.Solution:Initialize and update submodules:--recurse-submodules, this will fetch the missing dependencies.C++23 compiler errors
C++23 compiler errors
- Windows: Visual Studio 2022 or newer
- Linux: GCC 11+ or Clang 14+
- macOS: Xcode 14+ or Clang 14+
Conan dependency resolution fails
Conan dependency resolution fails
LibreSSL build errors on Windows
LibreSSL build errors on Windows
-
Update Conan:
-
Force a rebuild of LibreSSL:
-
If the issue persists, you may need to use a different SSL library. Edit
conanfile.pyto use OpenSSL instead:
Link errors with eventpp or sol2
Link errors with eventpp or sol2
-
Clean and rebuild:
- Ensure you’re not mixing Debug and Release builds.
- Check that the library is properly included in your CMakeLists.txt.
Runtime Issues
GTProxy crashes on startup
GTProxy crashes on startup
-
Check configuration: Ensure
config.jsonexists and is valid JSON. If missing, GTProxy should create a default one. -
Run with logging: Enable debug logging to see detailed error messages:
-
Check dependencies: On Linux, verify all shared libraries are available:
-
Port conflicts: Ensure the proxy port (default 16999) is not already in use:
Cannot connect to Growtopia servers
Cannot connect to Growtopia servers
- Check internet connection: Ensure you have a stable internet connection.
- Firewall rules: Make sure your firewall allows GTProxy to make outbound connections.
-
IP flagged: Some IP addresses may be flagged by Growtopia servers. Try:
- Using a different network
- Using a VPN (ensure the VPN allows UDP traffic)
- Contacting your ISP if your residential IP is blocked
- Server status: Check if Growtopia servers are online and accessible.
Lua scripts not loading
Lua scripts not loading
scripts/ directory are not being executed.Solution:- Check script location: Ensure scripts are in the correct directory relative to the executable.
-
Syntax errors: Verify Lua syntax is correct:
- Enable script logging: Check GTProxy logs for script loading errors.
-
File permissions: Ensure script files are readable:
HTTP server not accessible
HTTP server not accessible
http://localhost:port.Solution:-
Check configuration: Verify the HTTP server is enabled in
config.json. - Port binding: Ensure the HTTP server port is not blocked by a firewall.
- Listen address: Check if the server is listening on the correct interface (0.0.0.0 for all, 127.0.0.1 for localhost only).
-
Process verification: Confirm GTProxy is running:
Packet modification not working
Packet modification not working
- Packet structure: Verify the packet structure matches the current Growtopia version.
- Serialization: Ensure your packet serialization/deserialization is correct.
- Packet size: Check that modified packets don’t exceed size limits.
- Validation: Some packets have checksums or validation that must be updated after modification.
-
Debug mode: Enable packet logging to see raw packet data:
Platform-Specific Issues
Windows
Missing DLL errors
Missing DLL errors
.dll files when running GTProxy.Solution:- Visual C++ Redistributable: Install the Microsoft Visual C++ Redistributable:
- Conan DLLs: Ensure Conan dependencies are in the same directory as the executable or in PATH.
- Copy DLLs manually: You may need to copy DLLs from the Conan cache to the build directory.
Windows Defender blocks execution
Windows Defender blocks execution
- Open Windows Security
- Go to “Virus & threat protection”
- Click “Manage settings”
- Under “Exclusions”, add the GTProxy directory
Linux
Permission denied when binding to ports
Permission denied when binding to ports
-
Use a higher port: Edit
config.jsonto use a port above 1024 (recommended) -
Grant capabilities:
-
Run as root: (not recommended)
Shared library errors
Shared library errors
macOS
Unsigned binary warning
Unsigned binary warning
- Control-click the executable and select “Open”
- Or, remove the quarantine flag:
Homebrew vs system libraries conflict
Homebrew vs system libraries conflict
Testing Issues
Tests fail to compile
Tests fail to compile
Tests fail at runtime
Tests fail at runtime
-
Run specific test: Isolate the failing test:
-
Verbose output: Enable verbose output:
-
Working directory: Some tests may depend on specific files being in the working directory. Run from the project root:
Performance Issues
High CPU usage
High CPU usage
-
Build type: Ensure you’re using a Release build, not Debug:
-
Logging level: Reduce logging verbosity in
config.json: - Script optimization: Review Lua scripts for inefficient loops or excessive logging.
High memory usage
High memory usage
-
Memory leaks: Run with a memory debugger:
- Packet buffering: Reduce buffer sizes in network configuration.
- Script cleanup: Ensure Lua scripts properly release resources.
Getting Help
If you encounter an issue not covered here:- Check logs: Review GTProxy logs for detailed error messages
- GitHub Issues: Search existing issues at github.com/ZTzTopia/GTProxy/issues
- Create an issue: If your problem is new, create a detailed issue report including:
- Operating system and version
- Compiler version
- CMake and Conan versions
- Full error messages and logs
- Steps to reproduce