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 Private Servers › Realm of the Mad God Private Servers Tutorials/Source Code › RotMG [NR-Core] Vault Slot Unlocker + Character Slot Unlocker

RotMG [NR-Core] Vault Slot Unlocker + Character Slot Unlocker

Posts 1–6 of 6 · Page 1 of 1
DE
dewewe
RotMG [NR-Core] Vault Slot Unlocker + Character Slot Unlocker
I my self wanted this in my game for a very long time, so here it is!

You must add this into dat1 or whatever you use.
-----------------------------------------------------------------------------------
<Object type="0x32a" id="Character Slot Unlocker">
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lofiObj3</File>
<Index>0x5a0</Index>
</Texture>
<SlotType>10</SlotType>
<Description>Unlocks a character slot! Once activated, do not change maps before the confirmation message appears or the item might disappear!</Description>
<Sound>use_potion</Sound>
<Activate>UnlockCharacter</Activate>
<Consumable/>
<!--<Soulbound/>-->
<BagType>4</BagType>
</Object>
<Object type="0x32b" id="Vault Chest Unlocker">
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lofiObj3</File>
<Index>0x5a1</Index>
</Texture>
<SlotType>10</SlotType>
<Description>Unlocks a vault chest! Once activated, do not change maps before the confirmation message appears or the item might disappear!</Description>
<Sound>use_potion</Sound>
<Activate>UnlockVault</Activate>
<Consumable/>
<!--<Soulbound/>-->
<BagType>4</BagType>
</Object>
-----------------------------------------------------------------------------------

go to xmldescriptors.cs and search for public enum ActivateEffects

-----------------------------------------------------------------------------------------

add this

UnlockVault,
UnlockCharacter,


------------------------------------------------------------------------------------


Go to player.useitem.cs and search for private void Activate(RealmTime time, Item item, Position target)

------------------------------------------------------------------------------------

add this under Activate

case ActivateEffects.UnlockVault:
AEUnlockVault(time, item, target, eff);
break;
case ActivateEffects.UnlockCharacter:
AEUnlockCharacter(time, item, target, eff);
break;


---------------------------------------------------------------------------------

now go below and add this

private void AEUnlockVault(RealmTime time, Item item, Position target, ActivateEffect eff)
{
var db = Manager.Database;
var acc = Client.Account;
var availableSlot = Inventory.GetAvailableInventorySlot(item);

if (!(Owner is Vault))
{
SendInfo("Vault Slot Unlocked!");
Manager.Database.CreateChest(acc);
return;
}
SendError("You cannot use a vault unlocker in vault!");
Inventory[availableSlot] = item;
return;
}

private void AEUnlockCharacter(RealmTime time, Item item, Position target, ActivateEffect eff)
{
var db = Manager.Database;
var acc = Client.Account;

Manager.Database.CreateCharacterSlot(acc);
SendInfo("Character Slot Unlocked!");
return;
}


hopefully this should work. bye
#1 · edited 6y ago · 6y ago
RE
reynkkko
What does this do and how do I use it?
#2 · 6y ago
RI
Riigged
Quote Originally Posted by reynkkko View Post
What does this do and how do I use it?
its for adding 2 items; a Character Slot Unlocker and Vault Chest Unlocker, char slot unlocker will grant you +1 char slot when consuming, and vault chest unlocker grants +1 vault chest when consuming...

9999% pointless if you don't host a public server though, its really good thing to have if you run a server though as u can use it for giveaways or just simply add it to the loot tables for realm events or something
#3 · 6y ago
DE
dewewe
Quote Originally Posted by Riigged View Post
its for adding 2 items; a Character Slot Unlocker and Vault Chest Unlocker, char slot unlocker will grant you +1 char slot when consuming, and vault chest unlocker grants +1 vault chest when consuming...

9999% pointless if you don't host a public server though, its really good thing to have if you run a server though as u can use it for giveaways or just simply add it to the loot tables for realm events or something
it is pointless if your not hosting it publicly, but i wanted people to use this on their servers :P
#4 · 6y ago
IC
IceCubeHCC
yeah but where do i add it,cuz im confused
#5 · 6y ago
Invader_Zim
Invader_Zim
Quote Originally Posted by IceCubeHCC View Post
yeah but where do i add it,cuz im confused
It states where to add everything in the post. The XML objects are self explanatory, add descriptors for the new active effects, then the code for those effects.
#6 · 6y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Tags for this Thread

None