Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Garry's Mod Hacks & Cheats › Garry's Mod Coding & Resources › Network String Grabber

PostNetwork String Grabber

Posts 1–10 of 10 · Page 1 of 1
ThatPurpleGuy
ThatPurpleGuy
Network String Grabber
Just a lua file which will grab a bunch of network strings and ids.
Just run it when you're on a server and will save to data/opennetfunctions inside of your garrysmod folder, with the string and id.
inspiration for this

Virus scans:
https://www.virustotal.com/en/file/7...is/1498284840/
http://r.virscan.org/report/2c9cfbf9...503c185e0fe3bd
networkstringfinder_mpgh.net.rar
#1 · edited 9y ago · 9y ago
T-800
[MPGH]T-800
//Appproved.
#2 · 9y ago
Cyaegha
Cyaegha
There are actually a few methods for doing this
Code:
local Messages = {}

-- Method 1
local i = 1
local NetworkString = true

while NetworkString do
	NetworkString = util.NetworkIDToString(i)
	Messages[NetworkString] = true
	i = i + 1
end

-- Method 2
for i = 1, math.huge do
	local str = util.NetworkIDToString(i)
	if not str then break end

	Messages[str] = true
end

-- Method 3
local i = 1
local NetworkString = true

repeat
	NetworkString = util.NetworkIDToString(i)
	Messages[NetworkString] = true
	i = i + 1
until not NetworkString
Personally I'd use the second method but all three do the same thing.
Also there's no need to use the server's IP in the created file's name, use GetHostName. It'll make it way easier to find if you join a shit ton of servers.
#3 · edited 9y ago · 9y ago
ThatPurpleGuy
ThatPurpleGuy
Quote Originally Posted by Cyaegha View Post
There are actually a few methods for doing this
snip
Personally I'd use the second method but all three do the same thing.
Also there's no need to use the server's IP in the created file's name, use GetHostName. It'll make it way easier to find if you join a shit ton of servers.
GetHostName would always result in it not saving, so i didn't bother :/
with you saving it into a table, what does Messages[str] = true mean?
#4 · 9y ago
Cyaegha
Cyaegha
Quote Originally Posted by ThatPurpleGuy View Post
GetHostName would always result in it not saving, so i didn't bother :/
with you saving it into a table, what does Messages[str] = true mean?
It just makes checking if the table has the message more efficiently than using table.HasValue. With that method I can just check if the key exists by doing
Code:
if Messages["message"] then
instead of looping through the entire table to check for a value.

This probably goes through it in more depth.

- - - Updated - - -

And to fix the GetHostName issue you could use string.gsub to replace non-alphanumeric characters.
#5 · 9y ago
RA
Razon91
dumb thread -rep it because i can

everyone here is a stupid, half-intellegent thirdworlder . i am an american who is not afraid to express his forum rights. all you mongs struggle with easy lua syntax issues and simple algorithm problems. ha ha ha, dont make me laugh. just yesterday, i programmed my reverse engineered i7 cpu to communicate back-and-fourth with me in machine code. all you nerds on UC and MPGH dont even know a lick of assembly either! hahaha. Terry Davis is a phony CIA ******. Reminder to everyone, whatever I say goes. Respect and worship the HolyC and it's covenant 640x480 resolution. Your absolution depends on it. This is a wakeup call for every wannabe hacker in this trash mobile site.
#6 · edited 9y ago · 9y ago
ME
meme420
Quote Originally Posted by Cyaegha View Post
There are actually a few methods for doing this
Code:
local Messages = {}

-- Method 1
local i = 1
local NetworkString = true

while NetworkString do
	NetworkString = util.NetworkIDToString(i)
	Messages[NetworkString] = true
	i = i + 1
end

-- Method 2
for i = 1, math.huge do
	local str = util.NetworkIDToString(i)
	if not str then break end

	Messages[str] = true
end

-- Method 3
local i = 1
local NetworkString = true

repeat
	NetworkString = util.NetworkIDToString(i)
	Messages[NetworkString] = true
	i = i + 1
until not NetworkString
Personally I'd use the second method but all three do the same thing.
Also there's no need to use the server's IP in the created file's name, use GetHostName. It'll make it way easier to find if you join a shit ton of servers.
Code:
local Messages = {}
local i = 1

for i = 1, math.huge do
	local str = util.NetworkIDToString(i)
	if not str then break end

	Messages[str] = true
	print(str)
end
anyway to make it print only certain net messages?
#7 · 9y ago
0X
0x28
Quote Originally Posted by meme420 View Post
Code:
local Messages = {}
local i = 1

for i = 1, math.huge do
	local str = util.NetworkIDToString(i)
	if not str then break end

	Messages[str] = true
	print(str)
end
anyway to make it print only certain net messages?
search for specific string and if it matches print it
#8 · 9y ago
Cyaegha
Cyaegha
Quote Originally Posted by 0x28 View Post
search for specific string and if it matches print it
That's good if you only have a couple messages. If you have a shit ton of messages you can put them in a table like
Code:
local tbl ={["Net message"] = true,}
then check if tbl[key] is true, you don't have to if you don't want to but it'd save you from typing
Code:
elseif msg == "string" then
a bunch of times.
#9 · 9y ago
TE
TenX
Nice one, lad
#10 · 8y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • Help me with my Email to K2 Job NetworkBy styx23 in WarRock - International Hacks
    37Last post 20y ago
  • Wireless NetworkingBy Jackal in Hardware & Software Support
    10Last post 20y ago
  • Website network issuesBy Dave84311 in News & Announcements
    2Last post 18y ago
  • String TheoryBy arunforce in General
    8Last post 19y ago
  • [RELEASE] Weapon Grabber V1By mains3rv3r in WarRock - International Hacks
    17Last post 19y ago

Tags for this Thread

#gmod#netid#string