smbx communitysmw centralirc.cat.bio

firefox related css updates (bbcode/shoutbox) - ctrl-f5 if they're still jacked up for you

Help Thread

If you lost something come look for it here
User avatar
Dog In Da Grass
Perro de los Muertos
Posts: 433
Joined: 3 years ago
First name: Dog
Pronouns: that dog
Location: somewhere between the sacred silence and sleep

Re: Help Thread

Postby Dog In Da Grass » 2 years ago

Rednaxela wrote:
Dog In Da Grass wrote:Okay, thanks, sorry I had to double post it :P
Don't have time to test right now but something like

Code: Select all

local event_triggered = false

function onLoop()
	if (mem(0xB2C8B4, FIELD_WORD) ~= 0) then
		if (not event_triggered) then
			event_triggered = true
			triggerEvent("SomeEvent")
		end
	else
		event_triggered = false
	end
end
May works...

Thanks! Works just like I wanted it to! (for the most part) I just need to figure out how to get NPCs to spawn in frozen time when I cause the layer to switch.
Image
Image
Image

User avatar
Rednaxela
Maker of Shenanigans
Posts: 654
Joined: 3 years ago

Re: Help Thread

Postby Rednaxela » 2 years ago

Dog In Da Grass wrote:Thanks! Works just like I wanted it to! (for the most part) I just need to figure out how to get NPCs to spawn in frozen time when I cause the layer to switch.
So you want to spawn NPCs at the same time as you trigger the event? Any reason it doesn't work to just put them on a layer that gets shown? If that's not working right with the time freeze you may wish to try the spawnNPC call in Lua.

Code: Select all

spawnNPC(npcidgoeshere, x, y, section)
Currently LPing: Ys Origin

User avatar
Dog In Da Grass
Perro de los Muertos
Posts: 433
Joined: 3 years ago
First name: Dog
Pronouns: that dog
Location: somewhere between the sacred silence and sleep

Re: Help Thread

Postby Dog In Da Grass » 2 years ago

Rednaxela wrote:
Dog In Da Grass wrote:Thanks! Works just like I wanted it to! (for the most part) I just need to figure out how to get NPCs to spawn in frozen time when I cause the layer to switch.
So you want to spawn NPCs at the same time as you trigger the event? Any reason it doesn't work to just put them on a layer that gets shown? If that's not working right with the time freeze you may wish to try the spawnNPC call in Lua.

Code: Select all

spawnNPC(npcidgoeshere, x, y, section)
Thanks, this'll probably work better than what I ultimately did but I was able to use backgrounds to keep the "npc" animated while the time was stopped, I went with this alternative since I realized that you cant talk with npcs while they're frozen in time.
Image
Image
Image

User avatar
TaviTurnip
I'm just here to remind people I'm here
Abministrator
Posts: 980
Joined: 7 years ago
First name: Rena, despite assumptions
Location: Up

Re: Help Thread

Postby TaviTurnip » 1 year ago

So I learned during the relay level that you can't change the size of background objects, but I attempted to change the size of a block and that also apparently didn't work at all.

Code: Select all

width=256
height=320
gfxwidth=256
gfxheight=320
Yes, it's a very big block :P Is this something that you can only do with NPCs? :/ It basically only sees the top left 32x32 of the graphic, which is to say it doesn't see the whole thing at all.
I'm just here to annoy you so that you aren't here instead.

User avatar
Dog In Da Grass
Perro de los Muertos
Posts: 433
Joined: 3 years ago
First name: Dog
Pronouns: that dog
Location: somewhere between the sacred silence and sleep

Re: Help Thread

Postby Dog In Da Grass » 1 year ago

RenaTurnip wrote:So I learned during the relay level that you can't change the size of background objects, but I attempted to change the size of a block and that also apparently didn't work at all.

Code: Select all

width=256
height=320
gfxwidth=256
gfxheight=320
Yes, it's a very big block :P Is this something that you can only do with NPCs? :/ It basically only sees the top left 32x32 of the graphic, which is to say it doesn't see the whole thing at all.
Yeah, that's my experience too. the text files just don't seem to do anything for non-npc stuff.
Image
Image
Image

User avatar
Willhart
Reader on the forums
Posts: 2457
Joined: 6 years ago
Location: Finland

Re: Help Thread

Postby Willhart » 1 year ago

RenaTurnip wrote:So I learned during the relay level that you can't change the size of background objects, but I attempted to change the size of a block and that also apparently didn't work at all.

Code: Select all

width=256
height=320
gfxwidth=256
gfxheight=320
Yes, it's a very big block :P Is this something that you can only do with NPCs? :/ It basically only sees the top left 32x32 of the graphic, which is to say it doesn't see the whole thing at all.
You can easily place custom size blocks with BGE-editor. Just make the graphic and the mask, and then place it somewhere on the level with it. The editor detects the size of the new block automatically.
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Starting a new LP Here. Do give the game a look if you find it interesting.

User avatar
TaviTurnip
I'm just here to remind people I'm here
Abministrator
Posts: 980
Joined: 7 years ago
First name: Rena, despite assumptions
Location: Up

Re: Help Thread

Postby TaviTurnip » 1 year ago

Willhart wrote: You can easily place custom size blocks with BGE-editor. Just make the graphic and the mask, and then place it somewhere on the level with it. The editor detects the size of the new block automatically.
If I go back to edit in the main editor after doing this, will it become unhappy and break itself?
I'm just here to annoy you so that you aren't here instead.

User avatar
Willhart
Reader on the forums
Posts: 2457
Joined: 6 years ago
Location: Finland

Re: Help Thread

Postby Willhart » 1 year ago

RenaTurnip wrote:
Willhart wrote: You can easily place custom size blocks with BGE-editor. Just make the graphic and the mask, and then place it somewhere on the level with it. The editor detects the size of the new block automatically.
If I go back to edit in the main editor after doing this, will it become unhappy and break itself?
You can play and edit the level on the main editor, but picking up and trying to move the resized blocks with mouse will revert them back to normal size.
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Starting a new LP Here. Do give the game a look if you find it interesting.

User avatar
TaviTurnip
I'm just here to remind people I'm here
Abministrator
Posts: 980
Joined: 7 years ago
First name: Rena, despite assumptions
Location: Up

Re: Help Thread

Postby TaviTurnip » 1 year ago

Willhart wrote: You can play and edit the level on the main editor, but picking up and trying to move the resized blocks with mouse will revert them back.
Cool, good enough. Thanks very much :o Assume it worked if I don't bring this topic back up.
I'm just here to annoy you so that you aren't here instead.

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

when testing the levels missionproudstar and mushroom kingdom sky desert, I keep getting the error "run-time error 6: overflow". I'm using LunaLUA_0.6.1.1-beta_smbx13_sfx_mus_fullgame and I successfully used it to play yellow switch volcano and toads gone wild. anyone knows what the problem could be?

User avatar
Rednaxela
Maker of Shenanigans
Posts: 654
Joined: 3 years ago

Re: Help Thread

Postby Rednaxela » 1 year ago

FFR wrote:when testing the levels missionproudstar and mushroom kingdom sky desert, I keep getting the error "run-time error 6: overflow". I'm using LunaLUA_0.6.1.1-beta_smbx13_sfx_mus_fullgame and I successfully used it to play yellow switch volcano and toads gone wild. anyone knows what the problem could be?
Hm, odd. Well, if you switch to a pre-release version of LunaDLL 0.7 (see the dev build I posted here), thanks to Kevsoft the vague "run-time error 6: overflow" error will be replaced with a detailed crash log, which would give enough information for Kev or myself to find where in the smbx engine that error was triggered.
Currently LPing: Ys Origin

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

I did a really quick test and both levels played fine with the pre-release version, no errors. I'm leaving right now, but later today I'll look into it a bit more

User avatar
KingTwelveSixteen
🐩 Title Title Title Title 🐩
Posts: 30
Joined: 6 years ago
Location: USA

Re: Help Thread

Postby KingTwelveSixteen » 1 year ago

Mission: Proud Star did not in fact use any Luna stuff whatsoever, if it helps figure out the issue.

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

KingTwelveSixteen wrote:Mission: Proud Star did not in fact use any Luna stuff whatsoever, if it helps figure out the issue.
I tested them with basic smbx as well and same error happened... weird, huh?

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

Rednaxela wrote:if you switch to a pre-release version of LunaDLL 0.7 (see the dev build I posted here), thanks to Kevsoft the vague "run-time error 6: overflow" error will be replaced with a detailed crash log, which would give enough information for Kev or myself to find where in the smbx engine that error was triggered.
... I'm really jarred by whats going on. using 0.7 luna, I tested mission proud star and it ran fine, then I tested mushroom kingdom sky desert and several things happened: music doesn't play, some blocks may or may not show up everytime you start playing, screen randomly flickers and lags... I'm really liking the vibe of the level, but I don't wanna review it yet cos I'm afraid of missing something like an event due to an error or something something

I'm tempted to ask, did you guys screw up when putting up the links at the first post of the thread?

User avatar
FrozenQuills
ok flair 2017
Posts: 704
Joined: 2 years ago
Location: my own skull, obviously

Re: Help Thread

Postby FrozenQuills » 1 year ago

FFR wrote:
Rednaxela wrote:if you switch to a pre-release version of LunaDLL 0.7 (see the dev build I posted here), thanks to Kevsoft the vague "run-time error 6: overflow" error will be replaced with a detailed crash log, which would give enough information for Kev or myself to find where in the smbx engine that error was triggered.
... I'm really jarred by whats going on. using 0.7 luna, I tested mission proud star and it ran fine, then I tested mushroom kingdom sky desert and several things happened: music doesn't play, some blocks may or may not show up everytime you start playing, screen randomly flickers and lags... I'm really liking the vibe of the level, but I don't wanna review it yet cos I'm afraid of missing something like an event due to an error or something something

I'm tempted to ask, did you guys screw up when putting up the links at the first post of the thread?
That's kind of strange; that level I made does not use luna at all either.
Image
Image
Image
SMBX Tileset Compiler and Separator
MaGLX2 Level Commentaries (updated up to 169th place) + My entry
The boss entry that made me eat a shoe.
Image

5th place counter: 4
(SMBX Forums CC11, SMBX Forums CC12, Endgame Madness Contest, SMWC Kaizo Contest 2016)

User avatar
Rednaxela
Maker of Shenanigans
Posts: 654
Joined: 3 years ago

Re: Help Thread

Postby Rednaxela » 1 year ago

I'm unable to get Mission: Proud Star to crash the way it did for you under any configuration, be it vanilla, LunaDLL 0.6.1.1, nor 0.7
FFR wrote:then I tested mushroom kingdom sky desert and several things happened: music doesn't play, some blocks may or may not show up everytime you start playing, screen randomly flickers and lags...
Uh... what? I'm not seeing anything like that occur.

For Mushroom Kingdom Sky Desert, it's working 100% fine for me with LunaDLL 0.6.1.1, but it outright crashes under LunaDLL 0.7 for some reason... Going to investigate this. (Aka, time for git bisect)
Currently LPing: Ys Origin

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

Rednaxela wrote:.
to recap, opening it in standard smbx or the luna version I got from the MAFAB relay thread gives an "error 6 overflow" and CTD.
opening in luna 0.7 pre-release fancy, I can play the level but the music doesn't play, and weird stuff happens, such as this:
I opened the level in the editor and saw this
Image
then pressed F5, clicked yes, then pressed ESC to return to the editor and saw this
Image
see the bits of sand to the bottom left? that happens in a couple other areas as well

User avatar
Rednaxela
Maker of Shenanigans
Posts: 654
Joined: 3 years ago

Re: Help Thread

Postby Rednaxela » 1 year ago

FFR wrote:to recap, opening it in standard smbx or the luna version I got from the MAFAB relay thread gives an "error 6 overflow" and CTD.
Yeah... I tested both Mission Proud Star and Mushroom Kingdom Sky Desert using a fresh install of LunaLUA_0.6.1.1-beta_smbx13_sfx_mus_fullgame.zip and I don't get any "error 6 overflow" message with either of them.
FFR wrote:opening in luna 0.7 pre-release fancy, I can play the level but the music doesn't play, and weird stuff happens, such as this:
I opened the level in the editor and saw this
Image
then pressed F5, clicked yes, then pressed ESC to return to the editor and saw this
Image
see the bits of sand to the bottom left? that happens in a couple other areas as well
Yeah... nothing like that is happening at all here...

I do have Mushroom Kingdom Sky Desert giving an error in the 0.7 pre-release (I think I found the cause, and it's no big deal), but nothing remotely like what you're seeing.
Currently LPing: Ys Origin

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

Rednaxela wrote:.
sorry to keep pinging you, this is the last time!

those cutoffs in the SS I sent? in those parts, there are blocks on top of blocks. in one of them there are 3 blocks on the same spot. you can't do that on vanilla editor. I'm assuming you can do that with wohl's editor, so I'm assuming that problem has to do with that.

the overflow error? I deleted all the events and the level played fine. of course, I can't get past the elevator because there are no events to trigger it... and then I deleted events one by one and tested the level, and I can say that there is no one event causing the overflow error, but it is caused by a combination of 2 or more events.

if these sort of glitches never happen again, I'm just gonna forget all of this and move on...

User avatar
Rednaxela
Maker of Shenanigans
Posts: 654
Joined: 3 years ago

Re: Help Thread

Postby Rednaxela » 1 year ago

FFR wrote:those cutoffs in the SS I sent? in those parts, there are blocks on top of blocks. in one of them there are 3 blocks on the same spot. you can't do that on vanilla editor. I'm assuming you can do that with wohl's editor, so I'm assuming that problem has to do with that.
If you hit "yes" to the do you want to save thing that the vanilla editor asks, then yeah it might explain something. Otherwise, I'd doubt it.
Currently LPing: Ys Origin

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

oh, so you can't hit yes, thats just silly -_- I usually just hit enter, so one of the problems is potentially explained


...



...



... I hate smbx -_-


I just went and tried hitting "no" and all of the problems were magically fixed. they were all caused by doing dark magic on the fancy editor. so yeah, I'm a noob, nothing to see here, move on

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

edit: nevermind, the troll got banned and deleted

FFR
Posts: 264
Joined: 2 years ago
Pronouns: he/him/his

Re: Help Thread

Postby FFR » 1 year ago

not really a smbx question, but this is the "help thread", so....

could you guys post here some ideas for "methods of flight"?

User avatar
Pikabread
p
Posts: 1217
Joined: 2 years ago
First name: Lilith/Lily
Pronouns: she/her/xe/xem
Location: well this isnt relevant

Re: Help Thread

Postby Pikabread » 1 year ago

hmmmmmmm

I guess I'd do a level where you have to reach the end, but the method of getting there constantly changes. You could have airships, line platforms, bowser clown cars, little angel girls, random platforming segments, spinjumping stuff, etc.

For a fast-paced level I'd use autoscroll, but if you wanted each segment to be longer, you could change the "section" and maybe even accompany the change with some director dialogue. Or maybe a mixture of the two
avatar by unaniem


Return to “Magl X : the Lost Levels”

Who is online

Users browsing this forum: No registered users and 1 guest

cron