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 › Realm of the Mad God Hacks & Cheats › Realm of the Mad God Tutorials & Source Code › Additions To Packets

Additions To Packets

Posts 1–10 of 10 · Page 1 of 1
DI
DIA4A
Additions To Packets
As of the X34.2.1 a few things were changed + added to packets, namely the addition of something called "CompressedInt" and 2 extra variables received with NewTick, one of which now also needs to be sent with Move
CompressedInt is used for both short and normal integers and is only read, never written from the client
Code:
int m_nRead(Packet* m_pPacket)
{
	byte m_nStartByte = m_pPacket->m_pReadBytes<byte>();
	bool m_bFlipValue = (m_nStartByte & 64) != 0;
	int m_nShiftAmmount = 6;
	int m_nFinalValue = m_nStartByte & 63;
	while (m_nStartByte & 128)
	{
		m_nStartByte = m_pPacket->m_pReadBytes<byte>();
		m_nFinalValue = m_nFinalValue | (m_nStartByte & 127) << m_nShiftAmmount;
		m_nShiftAmmount += 7;
	}
	if (m_bFlipValue)
	{
		m_nFinalValue = int(-m_nFinalValue);
	}
	return m_nFinalValue;
}
Its used in StatData for the value if its an integer as well for all the counts in the Update packets
It might also be used somewhere else but I havent encountered any issue ever since adding the compressed int to those 2
#1 · edited 6y ago · 6y ago
SM
smackerROTMG
Yeah, like you said move also got one added
"serverRealTimeMSofLastNewTick_") type QName(PackageNamespace(""), "uint") end

So you fixed new tick and I assume your proxy is working?
#2 · 6y ago
DI
DIA4A
Quote Originally Posted by smackerROTMG View Post
Yeah, like you said move also got one added
"serverRealTimeMSofLastNewTick_") type QName(PackageNamespace(""), "uint") end

So you fixed new tick and I assume your proxy is working?
Not a proxy and it indeed works, moving around, getting all entities, tiles, connecting to portals and so on
#3 · 6y ago
SM
smackerROTMG
Okay, I'm updating proxy and having issues but think I'll get it, just need to mess around with statdata then
#4 · 6y ago
enmity4
enmity4
message me if you need an updated version of nrelay with the compressedint change
#5 · 6y ago
SM
smackerROTMG
I had my krelay updated, but after this couldn't figure it out. Anyone else?
#6 · 6y ago
059
059
Quote Originally Posted by smackerROTMG View Post
I had my krelay updated, but after this couldn't figure it out. Anyone else?
to anyone wondering, it's "Variable Length Quantity"
I used the C# one here as a reference after figuring out what it was:
https://stackoverflow.com/a/51352160
#7 · 6y ago
SM
smackerROTMG
Quote Originally Posted by 059 View Post
to anyone wondering, it's "Variable Length Quantity"
I used the C# one here as a reference after figuring out what it was:
https://stackoverflow.com/a/51352160
Thank you good sir, will look into it
#8 · 6y ago
LU
LucinaOfYlisse
isn't this a pretty bad use case for it
#9 · 6y ago
UY
Uys
Quote Originally Posted by enmity4 View Post
message me if you need an updated version of nrelay with the compressedint change
can u im it to me? i have no idea how this shitty website works
#10 · 5y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • Sugestion--Post Saved packets (WR)By wardo1926 in General Game Hacking
    12Last post 20y ago
  • Packets & Visual BasicBy BadBob in Hack Requests
    5Last post 20y ago
  • packet editingBy terence in Hack Requests
    1Last post 19y ago
  • warrock wpe packet infoBy kvmn8 in WarRock - International Hacks
    0Last post 20y ago
  • Flying / Jump PacketBy Bull3t in WarRock - International Hacks
    14Last post 20y ago

Tags for this Thread

None