[NPC Pack] Magikoopa Sorcerer

Share and discuss custom LunaLua code and content packs for SMBX2.
Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

[NPC Pack] Magikoopa Sorcerer

Postby Enjl » Tue Dec 29, 2020 3:15 am

https://drive.google.com/file/d/1-eBFGj ... sp=sharing

Image

From Subzero Heroes.
This NPC prevents damage taken from all non-Magikoopa Sorcerer NPCs on the same layer as itself. In order to damage those NPCs, all Magikoopa Sorcerers on that layer have to be defeated.

DrMekar
Eerie
Eerie
Posts: 759
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: [NPC Pack] Magikoopa Sorcerer

Postby DrMekar » Tue Dec 29, 2020 3:52 pm

They're great, so it is intential that they don't save a Parakoopa from losing it's Wings?

TheTrueMarioMaster
Blooper
Blooper
Posts: 196
Joined: Mon Mar 19, 2018 11:58 pm

Re: [NPC Pack] Magikoopa Sorcerer

Postby TheTrueMarioMaster » Tue Jan 05, 2021 11:26 am

These are like the Hoodoo Sorcerers from Rayman 3.

Minky Momo
Cheep-Cheep
Cheep-Cheep
Posts: 14
Joined: Mon Nov 30, 2020 4:41 am

Re: [NPC Pack] Magikoopa Sorcerer

Postby Minky Momo » Tue Jan 05, 2021 8:45 pm

How interesting

dragonfan96
Nipper
Nipper
Posts: 820
Joined: Sun Aug 03, 2014 1:42 pm
Pronouns: he/him
Contact:

Re: [NPC Pack] Magikoopa Sorcerer

Postby dragonfan96 » Wed Jul 28, 2021 5:31 am

Hello, I'd like to pass on a bug with a lua of yours. I am currently using this lua for a boss idea and came acrossed a bug where
if a enemy with a shield is below a breakable block such as a ? block or brick block. it results in an immediate crash.
Example :
Image

Crash Report:
== Crash Summary ==
LunaLua Version: LUNALUA f2e4725
Exception Code: 0xc000008f (VB Error)
VB6 Error Code: 9 (Subscript out of range)

== Stack Trace ==
0: 72C88546 (MSVBVM60): _vbaStrI4
1: 009E2EB6 (smbx): updateBlock
2: 0019F820 ((module-name not available)): (function-name not available)
3: 0019F81C ((module-name not available)): (function-name not available)
4: 008CA398 (smbx): levelLoop
5: 72C59978 (MSVBVM60): rtcDoEvents

== Reporting ==
If you like to help us finding the error then please post this log at:

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

Re: [NPC Pack] Magikoopa Sorcerer

Postby Enjl » Wed Jul 28, 2021 1:38 pm

dragonfan96 wrote:
Wed Jul 28, 2021 5:31 am
Hello, I'd like to pass on a bug with a lua of yours. I am currently using this lua for a boss idea and came acrossed a bug where
if a enemy with a shield is below a breakable block such as a ? block or brick block. it results in an immediate crash.
Is that a 1.3 NPC? This bug is something I originally encountered with fighterflies, but not with fighterflies in the custom range. Use the new hammer bros, they're better anyway.

dragonfan96
Nipper
Nipper
Posts: 820
Joined: Sun Aug 03, 2014 1:42 pm
Pronouns: he/him
Contact:

Re: [NPC Pack] Magikoopa Sorcerer

Postby dragonfan96 » Wed Jul 28, 2021 7:25 pm

Enjl wrote:
Wed Jul 28, 2021 1:38 pm
dragonfan96 wrote:
Wed Jul 28, 2021 5:31 am
Hello, I'd like to pass on a bug with a lua of yours. I am currently using this lua for a boss idea and came acrossed a bug where
if a enemy with a shield is below a breakable block such as a ? block or brick block. it results in an immediate crash.
Is that a 1.3 NPC? This bug is something I originally encountered with fighterflies, but not with fighterflies in the custom range. Use the new hammer bros, they're better anyway.
That is the new hammer brother, its the SMB3 Hammer Brother using a custom graphic from MFGG GFX pack
Image

I use to use the SMB1 Hammer Bro, but now I've been using SMB3's variant instead

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

Re: [NPC Pack] Magikoopa Sorcerer

Postby Enjl » Thu Jul 29, 2021 2:55 am

In that case you must avoid the error through level design. I spent a couple days trying to debug the fighterfly bump instance with no good result other than avoiding the code that triggers the error. I suspect this one to be similarly obnoxious.

newgamer762
Rex
Rex
Posts: 35
Joined: Fri Apr 02, 2021 1:08 pm
Pronouns: he

Re: [NPC Pack] Magikoopa Sorcerer

Postby newgamer762 » Wed Dec 15, 2021 12:46 pm

Hello,I want to make the magikoopa protect others only when he's onscreen.What should I do with the code?


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest