HOW TO USE: SMBX 2.0 Starman + New Characters

For topics related to SuperMarioBrosX.org. Suggest anything that you would like to see on the site here.
User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3445
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: TCGA Remake
Chat Username: Look below my avatar
Contact:

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby HeroLinik » Tue May 31, 2016 1:51 pm

S1eth wrote:How did you "fix" it? What did you change?
You put API.load("starman") instead of loadAPI("starman"). The former code assumes you made a variable called API, which doesn't exist.
I support: show
Lol, you got trolled. Move along, if you please.
YouTube channel

Moderator of the r/Pokemon Discord server since 2019.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8562
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby Enjl » Tue May 31, 2016 1:51 pm

Linik wrote:
S1eth wrote:How did you "fix" it? What did you change?
You put API.load(starman) instead of loadAPI(starman). The former code assumes you made a variable called API, which doesn't exist.
It exists since lunalua 7.3 which was released in january. Please update your lua.
http://wohlsoft.ru/LunaLua/

Make sure to only copy lunadll.dll and LuaScriptsLib. Copying the rest will mess with 2.0.
The ABC of Creation
________________________________________________________
Image

User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3445
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: TCGA Remake
Chat Username: Look below my avatar
Contact:

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby HeroLinik » Tue May 31, 2016 1:56 pm

Enjl wrote:
Linik wrote:
S1eth wrote:How did you "fix" it? What did you change?
You put API.load(starman) instead of loadAPI(starman). The former code assumes you made a variable called API, which doesn't exist.
It exists since lunalua 7.3 which was released in january. Please update your lua.
http://wohlsoft.ru/LunaLua/

Make sure to only copy lunadll.dll and LuaScriptsLib. Copying the rest will mess with 2.0.
Yep, I've updated my Lua. Still not solving anything, though...
I support: show
Lol, you got trolled. Move along, if you please.
YouTube channel

Moderator of the r/Pokemon Discord server since 2019.

S1eth
Spiny
Spiny
Posts: 54
Joined: Sat Apr 23, 2016 10:44 am

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby S1eth » Tue May 31, 2016 2:01 pm

Linik wrote:
Enjl wrote:
Linik wrote: You put API.load(starman) instead of loadAPI(starman). The former code assumes you made a variable called API, which doesn't exist.
It exists since lunalua 7.3 which was released in january. Please update your lua.
http://wohlsoft.ru/LunaLua/

Make sure to only copy lunadll.dll and LuaScriptsLib. Copying the rest will mess with 2.0.
Yep, I've updated my Lua. Still not solving anything, though...
Play this: https://www.mediafire.com/?i7jyjj8v6ixsmil
I added a local version of starman.lua to it, and the sound file.

Please describe in detail what happens when you play this.

User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3445
Joined: Fri Dec 20, 2013 1:28 pm
Current Project: TCGA Remake
Chat Username: Look below my avatar
Contact:

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby HeroLinik » Tue May 31, 2016 2:29 pm

S1eth wrote:Play this: https://www.mediafire.com/?i7jyjj8v6ixsmil
I added a local version of starman.lua to it, and the sound file.

Please describe in detail what happens when you play this.
Haha, it works! Thanks pal!
I support: show
Lol, you got trolled. Move along, if you please.
YouTube channel

Moderator of the r/Pokemon Discord server since 2019.

S1eth
Spiny
Spiny
Posts: 54
Joined: Sat Apr 23, 2016 10:44 am

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby S1eth » Tue May 31, 2016 3:08 pm

Linik wrote:
S1eth wrote:Play this: https://www.mediafire.com/?i7jyjj8v6ixsmil
I added a local version of starman.lua to it, and the sound file.

Please describe in detail what happens when you play this.
Haha, it works! Thanks pal!
Please know that the level I uploaded is not the solution to your problem. Whenever you play another level that uses starman, it will break again.

I'll need you to upload some screenshots of your smbx directories to figure out the real cause and solution to your problem.
I require screenshots of:
1. your SMBX main directory
2. your SMBX 2.0\LuaScriptsLib folder (scroll down to the scripts that start with 's')
3. your SMBX 2.0\graphics\new_characters\rosalina folder
4. your level folder (of the level which causes the error message, NOT the one I uploaded)

Only then can your problem really be solved.

User avatar
zaiodic
Goomba
Goomba
Posts: 2
Joined: Wed Jun 01, 2016 10:16 pm
Current Project: Learning the tools for now
Contact:

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby zaiodic » Thu Jun 02, 2016 2:45 am

S1eth wrote:
Play this: https://www.mediafire.com/?i7jyjj8v6ixsmil
I added a local version of starman.lua to it, and the sound file.

Please describe in detail what happens when you play this.
I'm also having problems using starman. I used your version and my issue persisted.

My Starman basically just acts like a reskinned Paratroopa. It looks like a starman, but it hurts you and can be killed.

Kinda the opposite effect of what I was looking for XD

S1eth
Spiny
Spiny
Posts: 54
Joined: Sat Apr 23, 2016 10:44 am

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby S1eth » Thu Jun 02, 2016 4:44 am

zaiodic wrote:
S1eth wrote:
Play this: https://www.mediafire.com/?i7jyjj8v6ixsmil
I added a local version of starman.lua to it, and the sound file.

Please describe in detail what happens when you play this.
I'm also having problems using starman. I used your version and my issue persisted.

My Starman basically just acts like a reskinned Paratroopa. It looks like a starman, but it hurts you and can be killed.

Kinda the opposite effect of what I was looking for XD
This sounds like no code is being executed at all, which makes me think that you don't have lunalua installed (correctly).

Even if you think you have already done that, follow these steps:

1. Download SMBX 2.0 Beta here: https://mega.nz/#!A9R1BRIB!RMycZq8h594V ... rqNHxM1ccY
2. unzip it
3. Go to http://wohlsoft.ru/LunaLua/#links
4. Select "Latest" and "Only Update"
5. Unzip that into its own folder (NOT into SMBX 2.0)
6. Copy ONLY lunadll.dll and LuaScriptsLib from that new folder into your SMBX 2.0 directly
7. If asked to replace files, say yes.
8. Start SMBXLauncher.exe

If you have done all that, download this example level: http://www.mediafire.com/download/dks5e4pll6jhckr
And it should work without problems.
This level is different fromthe one you have downloaded from me earlier.

User avatar
zaiodic
Goomba
Goomba
Posts: 2
Joined: Wed Jun 01, 2016 10:16 pm
Current Project: Learning the tools for now
Contact:

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby zaiodic » Thu Jun 02, 2016 5:41 am

S1eth wrote:
This sounds like no code is being executed at all, which makes me think that you don't have lunalua installed (correctly).

Even if you think you have already done that, follow these steps:

1. Download SMBX 2.0 Beta here: https://mega.nz/#!A9R1BRIB!RMycZq8h594V ... rqNHxM1ccY
2. unzip it
3. Go to http://wohlsoft.ru/LunaLua/#links
4. Select "Latest" and "Only Update"
5. Unzip that into its own folder (NOT into SMBX 2.0)
6. Copy ONLY lunadll.dll and LuaScriptsLib from that new folder into your SMBX 2.0 directly
7. If asked to replace files, say yes.
8. Start SMBXLauncher.exe

If you have done all that, download this example level: http://www.mediafire.com/download/dks5e4pll6jhckr
And it should work without problems.
This level is different fromthe one you have downloaded from me earlier.
I followed every step, including re-downloading everything and I'm afraid the same thing is still happening :/

I want to also point out that all the extra characters work just fine! From what I've seen, the starman is the only thing I'm having issues with.

Edit: I just remembered there was a time where I ran megaman and starman in the same level folder once, and when I picked up a power pellet I got an error message about the starman and then the starman sparkle effects started appearing around megaman, but they didn't give him invulnerability.

Shadowblitz16
Fighter Fly
Fighter Fly
Posts: 60
Joined: Tue Aug 09, 2016 1:41 pm

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby Shadowblitz16 » Fri Aug 12, 2016 9:41 pm

I can confirm this it doesn't seem to work it just hurts the player like a normal koopatroopa

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby PixelPest » Fri Aug 12, 2016 9:44 pm

Shadowblitz16 wrote:I can confirm this it doesn't seem to work it just hurts the player like a normal koopatroopa
Then you're doing it wrong. You likely do not have the correct version or are doing something else wrong in the editor or to do with the file. It works fine if you implement it properly

Shadowblitz16
Fighter Fly
Fighter Fly
Posts: 60
Joined: Tue Aug 09, 2016 1:41 pm

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby Shadowblitz16 » Fri Aug 12, 2016 10:46 pm

you cannot say that
you do not know if its something wrong outside of the instructions provided

I followed the instructions exactly
- I downloaded SMBX from here
- I installed vcredist_x86
- I downloaded the latest version of lunalua form here
- I copyed the lunaDll.dll file and LuaModuleLib folder into the SMBX directory
- I made a folder called Test inside the SMBX world folder
- I made a folder called level0 and a file called level0.lvl inside that folder
- I created a lunadll.lua file and lunaworld.lua file and put in...

Code: Select all

local _smb3overhaul = API.load("smb3overhaul");
--local _smb3goalcard = API.load("smb3goalcard");--
--local _smb3inventory = API.load("smb3inventory");--
local _starman = API.load("starman")

function onLoad()

	--SMB3 OverHaul--
	_smb3overhaul.setSecondsLeft(100);
	_smb3overhaul.setTimerState(true);
	_smb3overhaul.usesPBar(true);
	_smb3overhaul.useEasyMode(true);
	_smb3overhaul.usesCard(true);
	_smb3overhaul.disableSpinJump(true);
	
	--SMB3 GoalCard--
	--_smb3goalcard.usesCard(true)--
	
	--SMB3 Inventory--
	
	--SMW Starman
	_starman.koopaId = 123
	
end
- note that I tested both these files separately and in both the episode folder, and level folder
- launched the SMBX Launcher(legacy editor)
- tested my level
- note some things work and some things don't
- for example
-- the SMB3_Overhaul draws and updates variables properly but either doesn't refresh drawn ui images of doesn't draw them at all
-- the Starman just kills mario like a normal koopatroopa

Edit: maybe someone should update the post on how to install SMBX 2.0 to include the actual full installation and what to use between either the vanilla/launcher or the hexed version

User avatar
Stickman01
Cheep-Cheep
Cheep-Cheep
Posts: 16
Joined: Thu Aug 11, 2016 10:06 pm

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby Stickman01 » Sat Aug 27, 2016 4:41 pm

Does this work in the legacy editor? Because every time I try, it crashes, and then a pop up comes up saying that access to file was denied.

Mariofan121
Bob-omb
Bob-omb
Posts: 30
Joined: Wed Jul 20, 2016 9:39 pm

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby Mariofan121 » Sun Sep 11, 2016 12:09 am

PLEASE HELP! I GOT AN ERROR

ERRORS
Using GDI Render, so some LunaDLL Files may not be presented in
some levels.

Could not open OpenGL Renderer Because:
Missing EXT_blend_minmax

User avatar
Prado
Volcano Lotus
Volcano Lotus
Posts: 505
Joined: Tue Aug 05, 2014 10:10 am

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby Prado » Sun Sep 11, 2016 6:50 pm

Mariofan121 wrote:PLEASE HELP! I GOT AN ERROR

ERRORS
Using GDI Render, so some LunaDLL Files may not be presented in
some levels.

Could not open OpenGL Renderer Because:
Missing EXT_blend_minmax
Probaly you have a relatively old computer. I have a very similar problem.
Discord server to play SMBX online via Parsec!

https://discord.gg/FftYYMv

wasdye3000
Goomba
Goomba
Posts: 1
Joined: Sat Mar 12, 2016 12:19 pm

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby wasdye3000 » Fri Sep 23, 2016 9:36 am

Is it possible to have both new and old characters whitout having to replace the old ones?
like, is it possible to have both mario and wario at the same time?

User avatar
Prado
Volcano Lotus
Volcano Lotus
Posts: 505
Joined: Tue Aug 05, 2014 10:10 am

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby Prado » Fri Sep 23, 2016 2:31 pm

They can coexist in singleplayer, but not in multiplayer(yet)
Discord server to play SMBX online via Parsec!

https://discord.gg/FftYYMv

User avatar
TheCreator520
Goomba
Goomba
Posts: 3
Joined: Sun Feb 21, 2016 5:25 am

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby TheCreator520 » Sat Oct 01, 2016 1:44 am

Yeah I decided to touch Lunalua after my episode on another engine .
But where did the tutorial go ?

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
Chat Username: PixelPest
Contact:

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby PixelPest » Sat Oct 01, 2016 8:34 am

TheCreator520 wrote:Yeah I decided to touch Lunalua after my episode on another engine .
But where did the tutorial go ?
As Horikawa stated in the main post, after the release of SMBX 2.0 Beta 3, the tutorial was no longer relevant. The characters now have character blocks for each of them and cheats to access them and are automatically loaded. This means no additional LunaLua stuff is needed anymore. In terms of NPCs, the new ones can be found in the editor and dragged and placed like the 1.3.0.1 ones

User avatar
TheCreator520
Goomba
Goomba
Posts: 3
Joined: Sun Feb 21, 2016 5:25 am

Re: HOW TO USE: SMBX 2.0 Starman + New Characters

Postby TheCreator520 » Sat Oct 01, 2016 11:08 pm

Horikawa can you put this to MEGA ? I can't download it through Google file .


Return to “SuperMarioBrosX.org”

Who is online

Users browsing this forum: No registered users and 1 guest