Is inventory seeder (drop from inventory) an easy hack to make? #26
-
Hello. I recently made a text to item hack, yet it does not let you spawn trees, rocks, etc. Any help is appreciated. Thanks. EDIT: Thanks for all the help! 😉 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 43 replies
-
The game has a check which checks the inventory if it has invalid items in it, if there is the icon of it will not be showed (the item itself will still be there). You would need to disable that check through assembly. Though to make it easier for you I can send you my way of doing it in 30 minutes! |
Beta Was this translation helpful? Give feedback.
-
This will enable the items from showing in your inventory bool InvalidItemStop(u32* Item) {
//you could add a check here which checks what items can be valid and what not, just use the "Item" argument
return 1; //makes all items valid
}
void YourEntry(MenuEntry *entry) {
static Hook YourHook;
u32 AddressToHookOn = 0x72511C;
if(entry->WasJustActivated()) {
YourHook.Initialize(AddressToHookOn, (u32)InvalidItemStop);
YourHook.SetFlags(USE_LR_TO_RETURN); //might need to change that, as I use a different version of CTRPF
YourHook.Enable();
}
} But due to the seed items (trees, bushes) not getting any settings (settings are like Drop, Show Off, etc) assigned you will not be able to drop them, this patch here will add the ability to drop them: Process::Write32(0x19C050, 0xE1A00000); If your plugin does not use ACNL USA Orig 1.5 I can also give you the address for any other region if you need it! |
Beta Was this translation helpful? Give feedback.
This will enable the items from showing in your inventory
But due to the seed items (trees, bushes) not getting any settings (settings are like Drop, Show Off, etc) assigned you will not be able to…