Post your lunadll findings
Post your lunadll findings
This is to prevent the help thread from being clogged up.
https://www.sendspace.com/file/k3yelm
Long story short you can't even force Toad Peach or Link to ride Yoshi
And if you set Mario's form to 8 he's invisible even with a "Mario-8" graphic. Oh well
https://www.sendspace.com/file/k3yelm
Long story short you can't even force Toad Peach or Link to ride Yoshi
And if you set Mario's form to 8 he's invisible even with a "Mario-8" graphic. Oh well
Re: Post your lunadll findings
Here's a bunch of codes I made for an example I never ended up making
Also I found out 0x00B250E2 is related to pausing, but I'm not sure if it can be controlled yet
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Re: Post your lunadll findings
Here's the gold flower codes
NPCMemSet,263,0xE2,10,0,0,w
NPCMemSet,10,0x88,32,0,0,df
NPCMemSet,10,0x90,32,0,0,df
And here's the gravity codes
Falling (12 is max and smbx default, lower numbers are less weight)
MemAssign,0x00B2C6F4,#,0,0,0,w
Jumping (20 is smbx default, higher numbers are more jumping)
MemAssign,0x00B2C6DC,#,0,0,0,w
NPCMemSet,263,0xE2,10,0,0,w
NPCMemSet,10,0x88,32,0,0,df
NPCMemSet,10,0x90,32,0,0,df
And here's the gravity codes
Falling (12 is max and smbx default, lower numbers are less weight)
MemAssign,0x00B2C6F4,#,0,0,0,w
Jumping (20 is smbx default, higher numbers are more jumping)
MemAssign,0x00B2C6DC,#,0,0,0,w
Re: Post your lunadll findings
Well apparently manually setting the fairy height and width does nothing.
Re: Post your lunadll findings
According to my count, SMBX uses on average 8100 windows GDI objects. The max amount the OS allows you to have is 10000. I wonder if that's the source of its limitations.
DON'T PM me. Ask your question in the help thread so everyone can be answered.
-
- Posts: 0
- Joined: 9 years ago
Re: Post your lunadll findings
This shows how to make a Switch Palace System! (Thx to Kil)
Re: Post your lunadll findings
Someone requested a full list of the hitbox addresses for all the characters. Hopefully I copied all of these down correctly. They can be manipulated with MemAssign:
//Example
//make Mario's hitbox 50 pixels high when small
MemAssign,0x00B2C6FC,50,0,0,1,w
//Example
//make Mario's hitbox 50 pixels high when small
MemAssign,0x00B2C6FC,50,0,0,1,w
Code: Select all
address default description
/size value
MARIO
00B2C6FC w 30 Mario small hitbox height
00B2C706 w 54 Mario big hitbox height
00B2C710 w 54 Mario fire hitbox height
00B2C71A w 54 Mario leaf hitbox height
00B2C724 w 54 Mario tanuki hitbox height
00B2C72E w 54 Mario hammers hitbox height
00B2C738 w 54 Mario ice hitbox height
00B2C742 w 0 Mario small duck height
00B2C74C w 30 Mario big duck height
00B2C756 w 30 Mario fire duck height
00B2C760 w 30 Mario leaf duck height
00B2C76A w 30 Mario tanuki duck height
00B2C774 w 30 Mario hammers duck height
00B2C77E w 30 Mario ice duck height
00B2C788 w 24 Mario small hitbox width
00B2C792 w 24 Mario big hitbox width
00B2C79C w 24 Mario fire hitbox width
00B2C7A6 w 24 Mario leaf hitbox width
00B2C7B0 w 24 Mario tanuki hitbox width
00B2C7BA w 24 Mario hammers hitbox width
00B2C7C4 w 24 Mario ice hitbox width
LUIGI
00B2C6FE w 30 Luigi small hitbox height
00B2C708 w 60 Luigi big hitbox height
00B2C712 w 60 Luigi fire hitbox height
00B2C71C w 60 Luigi leaf hitbox height
00B2C726 w 60 Luigi tanuki hitbox height
00B2C730 w 60 Luigi hammers hitbox height
00B2C73A w 60 Luigi ice hitbox height
00B2C742 w 0 Luigi small duck height
00B2C74E w 30 Luigi big duck height
00B2C758 w 30 Luigi fire duck height
00B2C762 w 30 Luigi leaf duck height
00B2C76C w 30 Luigi tanuki duck height
00B2C776 w 30 Luigi hammers duck height
00B2C780 w 30 Luigi ice duck height
00B2C78A w 24 Luigi small hitbox width
00B2C794 w 24 Luigi big hitbox width
00B2C79E w 24 Luigi fire hitbox width
00B2C7A8 w 24 Luigi leaf hitbox width
00B2C7B2 w 24 Luigi tanuki hitbox width
00B2C7BC w 24 Luigi hammers hitbox width
00B2C7C6 w 24 Luigi ice hitbox width
PEACH
00B2C700 w 38 Princess small hitbox height
00B2C70A w 60 Princess big hitbox height
00B2C714 w 60 Princess fire hitbox height
00B2C71E w 60 Princess leaf hitbox height
00B2C728 w 60 Princess tanuki hitbox height
00B2C732 w 60 Princess hammers hitbox height
00B2C73C w 60 Princess ice hitbox height
00B2C746 w 26 Princess small duck height
00B2C750 w 30 Princess big duck height
00B2C75A w 30 Princess fire duck height
00B2C764 w 30 Princess leaf duck height
00B2C76E w 30 Princess tanuki duck height
00B2C778 w 30 Princess hammers duck height
00B2C782 w 30 Princess ice duck height
00B2C78C w 24 Princess small hitbox width
00B2C796 w 24 Princess big hitbox width
00B2C7A0 w 24 Princess fire hitbox width
00B2C7AA w 24 Princess leaf hitbox width
00B2C7B4 w 24 Princess tanuki hitbox width
00B2C7BE w 24 Princess hammers hitbox width
00B2C7C8 w 24 Princess ice hitbox width
TOAD
00B2C702 w 30 Toad small hitbox height
00B2C70C w 50 Toad big hitbox height
00B2C716 w 50 Toad fire hitbox height
00B2C720 w 50 Toad leaf hitbox height
00B2C72A w 50 Toad tanuki hitbox height
00B2C734 w 50 Toad hammers hitbox height
00B2C73E w 50 Toad ice hitbox height
00B2C748 w 26 Toad small duck height
00B2C752 w 30 Toad big duck height
00B2C75C w 30 Toad fire duck height
00B2C766 w 30 Toad leaf duck height
00B2C770 w 30 Toad tanuki duck height
00B2C77A w 30 Toad hammers duck height
00B2C784 w 30 Toad ice duck height
00B2C78E w 24 Toad small hitbox width
00B2C798 w 24 Toad big hitbox width
00B2C7A2 w 24 Toad fire hitbox width
00B2C7AC w 24 Toad leaf hitbox width
00B2C7B6 w 24 Toad tanuki hitbox width
00B2C7C0 w 24 Toad hammers hitbox width
00B2C7CA w 24 Toad ice hitbox width
LINK
00B2C704 w 54 Link small hitbox height
00B2C70E w 54 Link big hitbox height
00B2C718 w 54 Link fire hitbox height
00B2C722 w 54 Link leaf hitbox height
00B2C72C w 54 Link tanuki hitbox height
00B2C736 w 54 Link hammers hitbox height
00B2C740 w 54 Link ice hitbox height
00B2C74A w 44 Link small duck height
00B2C754 w 44 Link big duck height
00B2C75E w 44 Link fire duck height
00B2C768 w 44 Link leaf duck height
00B2C772 w 44 Link tanuki duck height
00B2C77C w 44 Link hammers duck height
00B2C786 w 44 Link ice duck height
00B2C790 w 24 Link small hitbox width
00B2C79A w 24 Link big hitbox width
00B2C7A4 w 24 Link fire hitbox width
00B2C7AE w 24 Link leaf hitbox width
00B2C7B8 w 24 Link tanuki hitbox width
00B2C7C2 w 24 Link hammers hitbox width
00B2C7CC w 24 Link ice hitbox width
Last edited by kitikami 9 years ago, edited 1 time in total.
- Mabel
- Just west of wierd
- Posts: 302
- Joined: 10 years ago
- https://marbels.talkhaus.com/
Re: Post your lunadll findings
you wouldnt happen to also have Link's attack hitbox length as well would you?kitikami wrote:Someone requested a full list of the hitbox addresses for all the characters. Hopefully I copied all of these down correctly. They can be manipulated with MemAssign:
//Example
//make Mario's hitbox 50 pixels high when small
MemAssign,0x00B2C6FC,50,0,0,1,w
Code: Select all
address default description /size value MARIO 00B2C6FC w 30 Mario small hitbox height 00B2C706 w 54 Mario big hitbox height 00B2C710 w 54 Mario fire hitbox height 00B2C71A w 54 Mario leaf hitbox height 00B2C724 w 54 Mario tanuki hitbox height 00B2C72E w 54 Mario hammers hitbox height 00B2C738 w 54 Mario ice hitbox height 00B2C742 w 0 Mario small duck height 00B2C74C w 30 Mario big duck height 00B2C756 w 30 Mario fire duck height 00B2C760 w 30 Mario leaf duck height 00B2C76A w 30 Mario tanuki duck height 00B2C774 w 30 Mario hammers duck height 00B2C77E w 30 Mario ice duck height 00B2C788 w 24 Mario small hitbox width 00B2C792 w 24 Mario big hitbox width 00B2C79C w 24 Mario fire hitbox width 00B2C7A6 w 24 Mario leaf hitbox width 00B2C7B0 w 24 Mario tanuki hitbox width 00B2C7BA w 24 Mario hammers hitbox width 00B2C7C4 w 24 Mario ice hitbox width LUIGI 00B2C6FE w 30 Luigi small hitbox height 00B2C708 w 60 Luigi big hitbox height 00B2C712 w 60 Luigi fire hitbox height 00B2C71C w 60 Luigi leaf hitbox height 00B2C726 w 60 Luigi tanuki hitbox height 00B2C730 w 60 Luigi hammers hitbox height 00B2C73A w 60 Luigi ice hitbox height 00B2C742 w 0 Luigi small duck height 00B2C74E w 30 Luigi big duck height 00B2C758 w 30 Luigi fire duck height 00B2C762 w 30 Luigi leaf duck height 00B2C76C w 30 Luigi tanuki duck height 00B2C776 w 30 Luigi hammers duck height 00B2C780 w 30 Luigi ice duck height 00B2C78A w 24 Luigi small hitbox width 00B2C794 w 24 Luigi big hitbox width 00B2C79E w 24 Luigi fire hitbox width 00B2C7A8 w 24 Luigi leaf hitbox width 00B2C7B2 w 24 Luigi tanuki hitbox width 00B2C7BC w 24 Luigi hammers hitbox width 00B2C7C6 w 24 Luigi ice hitbox width PEACH 00B2C700 w 38 Princess small hitbox height 00B2C70A w 60 Princess big hitbox height 00B2C714 w 60 Princess fire hitbox height 00B2C71E w 60 Princess leaf hitbox height 00B2C728 w 60 Princess tanuki hitbox height 00B2C732 w 60 Princess hammers hitbox height 00B2C73C w 60 Princess ice hitbox height 00B2C746 w 26 Princess small duck height 00B2C750 w 30 Princess big duck height 00B2C75A w 30 Princess fire duck height 00B2C764 w 30 Princess leaf duck height 00B2C76E w 30 Princess tanuki duck height 00B2C778 w 30 Princess hammers duck height 00B2C782 w 30 Princess ice duck height 00B2C78C w 24 Princess small hitbox width 00B2C796 w 24 Princess big hitbox width 00B2C7A0 w 24 Princess fire hitbox width 00B2C7AA w 24 Princess leaf hitbox width 00B2C7B4 w 24 Princess tanuki hitbox width 00B2C7BE w 24 Princess hammers hitbox width 00B2C7C8 w 24 Princess ice hitbox width TOAD 00B2C702 w 30 Toad small hitbox height 00B2C70C w 50 Toad big hitbox height 00B2C716 w 50 Toad fire hitbox height 00B2C720 w 50 Toad leaf hitbox height 00B2C72A w 50 Toad tanuki hitbox height 00B2C734 w 50 Toad hammers hitbox height 00B2C73E w 50 Toad ice hitbox height 00B2C748 w 26 Toad small duck height 00B2C752 w 30 Toad big duck height 00B2C75C w 30 Toad fire duck height 00B2C766 w 30 Toad leaf duck height 00B2C770 w 30 Toad tanuki duck height 00B2C77A w 30 Toad hammers duck height 00B2C784 w 30 Toad ice duck height 00B2C78E w 24 Toad small hitbox width 00B2C798 w 24 Toad big hitbox width 00B2C7A2 w 24 Toad fire hitbox width 00B2C7AC w 24 Toad leaf hitbox width 00B2C7B6 w 24 Toad tanuki hitbox width 00B2C7C0 w 24 Toad hammers hitbox width 00B2C7CA w 24 Toad ice hitbox width LINK 00B2C704 w 54 Link small hitbox height 00B2C70E w 54 Link big hitbox height 00B2C718 w 54 Link fire hitbox height 00B2C722 w 54 Link leaf hitbox height 00B2C72C w 54 Link tanuki hitbox height 00B2C736 w 54 Link hammers hitbox height 00B2C740 w 54 Link ice hitbox height 00B2C74A w 44 Link small duck height 00B2C754 w 44 Link big duck height 00B2C75E w 44 Link fire duck height 00B2C768 w 44 Link leaf duck height 00B2C772 w 44 Link tanuki duck height 00B2C77C w 44 Link hammers duck height 00B2C786 w 44 Link ice duck height
Re: Post your lunadll findings
Thanks a lot I've already managed to make 3 forms of a player. I would like to note that you forgot Link's width if you could please add that
Re: Post your lunadll findings
Oops, I must not have selected all the way to the end of my list when I copied it into the post. Thanks for catching that, Link's widths are added now.
I don't know what controls Link's attack hitbox. I'll keep an eye out for it and post if I do find an address for it.
I don't know what controls Link's attack hitbox. I'll keep an eye out for it and post if I do find an address for it.
-
- Posts: 0
- Joined: 9 years ago
Re: Post your lunadll findings
This code doesn't give you a 1UP after collecting 100 Coins:
Code: Select all
function onLoop()
local coins=mem(0x00B2C5A8, FIELD_WORD)
if(coins>=99)then
coins=0
mem(0x00B2C5A8, FIELD_WORD, 0)
end
end
Re: Post your lunadll findings
I actually haven't used LunaDLL at all yet but doesn't that code just check if you have more than 99 coins then set coins to 0 and nothing else?Darkchaox100 wrote:This code doesn't give you a 1UP after collecting 100 Coins:Code: Select all
function onLoop() local coins=mem(0x00B2C5A8, FIELD_WORD) if(coins>=99)then coins=0 mem(0x00B2C5A8, FIELD_WORD, 0) end end
Re: Post your lunadll findings
0x00B2C5B4
This causes you to leave the level when set to 0xFFFF, and maybe some other weird things to boot
This causes you to leave the level when set to 0xFFFF, and maybe some other weird things to boot
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Re: Post your lunadll findings
Adding something here that Kevsoft found, and I've used for the raocoin counter:
Global memory 0x00B2C59E is 0 when in a level, and other values when finishing a level. The value determines what kind of level finish it is. I haven't got the exact values, but I believe 3 means a key and lock exit.
This does not account for warp exits though doors or pipes, or by instant teleporting.
Global memory 0x00B2C59E is 0 when in a level, and other values when finishing a level. The value determines what kind of level finish it is. I haven't got the exact values, but I believe 3 means a key and lock exit.
This does not account for warp exits though doors or pipes, or by instant teleporting.
Re: Post your lunadll findings
0x00B2C880 - w - current menu choice
Not sure what can be accomplished with this
Not sure what can be accomplished with this
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Re: Post your lunadll findings
It seems the redigitiscool cheat is around here (0x008E7863), and if anyone wanted to hex edit it they would just have to change the char values it's pushing
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Re: Post your lunadll findings
Does this apply to the pause menu? I can see some uses if we can detect when the player selects certain options in the pause menu.Kil wrote:0x00B2C880 - w - current menu choice
Not sure what can be accomplished with this
Re: Post your lunadll findings
whodarestotryKil wrote:It seems the redigitiscool cheat is around here (0x008E7863), and if anyone wanted to hex edit it they would just have to change the char values it's pushing
Re: Post your lunadll findings
It should be for all menus, but I didn't check fully as I think it might not do much since lunadll isn't running during menus
Seems I actually found the purpose of another player memory field when checking out the stickyfingers cheat...
0x156 - w - Player can grab anything setting (0xFFFF = can grab anything)
Seems I actually found the purpose of another player memory field when checking out the stickyfingers cheat...
0x156 - w - Player can grab anything setting (0xFFFF = can grab anything)
That would be amazing. IF anyone thinks it's a good idea to hex edit redigitiscool into "whodarestotrytostopthetimebomb" or something, I'm up to doing itwhodarestotry
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Re: Post your lunadll findings
One more from the cheats, 0x00B2C8AC - w - Player has infinite jumps setting (0xFFFF = on)
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Re: Post your lunadll findings
Kil wrote:One more from the cheats, 0x00B2C8AC - w - Player has infinite jumps setting (0xFFFF = on)
I can see some fun gimmick levels occurring from these two codes. Nice find!Kil wrote: 0x156 - w - Player can grab anything setting (0xFFFF = can grab anything)
Re: Post your lunadll findings
I thought hex edited cheats had to be the same amount of letters?
Re: Post your lunadll findings
I would be rewriting the entire routine so there's no need for thatTiKi wrote:I thought hex edited cheats had to be the same amount of letters?
Ok this last one has bored me to tears so im done for now
0x00B25164 - void* - Pointer to some kind of overworld data block involving locked character selection but I'm not 100% sure
DON'T PM me. Ask your question in the help thread so everyone can be answered.
Re: Post your lunadll findings
Okay I've updated defines.h. Remind me if I missed something!