zingkasce.blogg.se

Gmod lua wiki
Gmod lua wiki




gmod lua wiki
  1. Gmod lua wiki how to#
  2. Gmod lua wiki mod#
  3. Gmod lua wiki code#

Gmod lua wiki how to#

How to use this script: Once the script is loaded, it creates a new protocol named "MyDNS" (or "MYDNS" in some places). We also have other example Lua scripts, but the nice thing about this one is getting capture files to run it against is trivial. The goal isn't to fully dissect DNS properly - Wireshark already has a good DNS dissector built-in. It's neither comprehensive nor error-free with regards to the DNS protocol. This script creates an elementary dissector for DNS.

gmod lua wiki

If you wonder why some functions are called some way, or differently than previous invocations of the same function: the reason is its trying to to show both that it can be done numerous ways, but also trying to test those numerous ways. To test various functions being called in various ways, so this script can be used in the test-suites.To provide a reference tutorial for others writing Wireshark dissectors in Lua.The script is too long to embed in this page, and it's much better to view it in a text editor that supports Lua syntax highlighting, because there are a lot of comments in the script explaining things. Using Lua to register protocols to more portsĭownload this a file for an example Lua script for a protocol dissector.A custom file reader & writer tutorial script.A dissector tutorial with TCP-reassembly.

Gmod lua wiki mod#

debug.getinfo data for the "View Source" buttons) from Garry's Mod and may need to periodically be updated as new features and libraries are added to Garry's Mod. This extension uses the gluadump addon to extract some information (e.g. Recommended Companion Extensions glualintĪ GLua linter, powered by FPtje's glualint. Please open an issue to report bugs and suggest features. You may have the editor.quickSuggestions setting set to false. Press CTRL + Space I'm not seeing globals or local variables Auto completion documentation isn't showing up!

Gmod lua wiki code#

Generates a (very, VERY approximate) "heatmap" of how heavy some parts of your code are, and allows you to inspect what bytecode is being generated and where.Ĭredits: Spar Common Issues Where are the file icons?!Ĭlick the Gear icon in the bottom left of VSCode, click "File Icon Theme" and then select GLua.

  • See definitions of functions defined in the Garry's Mod Lua repositoryĪnd way more that I can't really be bothered to list because there are just too many :D Workspace Globals Scanner.
  • Hover to decode Lua ASCII byte sequences.
  • Hover to see string length and cursor position.
  • Net message discovery and autocompletion.
  • NetworkVar discovery and autocompletion.
  • "View Source" auto completions button to look at the GitHub Lua source of literally every Lua-defined function in Garry's Mod.
  • Default materials/icon16/ autocompletion file browser.
  • Default materials/flags16/ autocompletion file browser.
  • Default sound/ autocompletion file browser.
  • Workspace models/, materials/, sound/ and lua/ autocompletion file browser.
  • Function argument names, types and descriptions shown as you type.
  • Auto completion & wiki integration for almost everything in Garry's Mod.
  • Supercharge your Garry's Mod development experience! Media Click!






    Gmod lua wiki