Page 6 of 7

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

Posted: Tue May 31, 2016 1:51 pm
by HeroLinik
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.

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

Posted: Tue May 31, 2016 1:51 pm
by Enjl
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.

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

Posted: Tue May 31, 2016 1:56 pm
by HeroLinik
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...

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

Posted: Tue May 31, 2016 2:01 pm
by S1eth
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.

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

Posted: Tue May 31, 2016 2:29 pm
by HeroLinik
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!

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

Posted: Tue May 31, 2016 3:08 pm
by S1eth
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.

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

Posted: Thu Jun 02, 2016 2:45 am
by zaiodic
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

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

Posted: Thu Jun 02, 2016 4:44 am
by S1eth
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.

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

Posted: Thu Jun 02, 2016 5:41 am
by zaiodic
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.

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

Posted: Fri Aug 12, 2016 9:41 pm
by Shadowblitz16
I can confirm this it doesn't seem to work it just hurts the player like a normal koopatroopa

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

Posted: Fri Aug 12, 2016 9:44 pm
by PixelPest
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

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

Posted: Fri Aug 12, 2016 10:46 pm
by Shadowblitz16
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

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

Posted: Sat Aug 27, 2016 4:41 pm
by Stickman01
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.

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

Posted: Sun Sep 11, 2016 12:09 am
by Mariofan121
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

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

Posted: Sun Sep 11, 2016 6:50 pm
by Prado
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.

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

Posted: Fri Sep 23, 2016 9:36 am
by wasdye3000
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?

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

Posted: Fri Sep 23, 2016 2:31 pm
by Prado
They can coexist in singleplayer, but not in multiplayer(yet)

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

Posted: Sat Oct 01, 2016 1:44 am
by TheCreator520
Yeah I decided to touch Lunalua after my episode on another engine .
But where did the tutorial go ?

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

Posted: Sat Oct 01, 2016 8:34 am
by PixelPest
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

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

Posted: Sat Oct 01, 2016 11:08 pm
by TheCreator520
Horikawa can you put this to MEGA ? I can't download it through Google file .