Page 2 of 3

Re: [NPC Pack] SMW Pokey

Posted: Sat Mar 07, 2020 10:31 am
by Chilly14
Enjl wrote:
Sat Mar 07, 2020 4:07 am
Chilly14 wrote:
Fri Mar 06, 2020 9:22 pm
Don't forget v.data._basegame.
What do you mean?
You can't use it in your NPC packs anymore.

Re: [NPC Pack] SMW Pokey

Posted: Sat Mar 07, 2020 11:02 am
by Enjl
Chilly14 wrote:
Sat Mar 07, 2020 10:31 am
Enjl wrote:
Sat Mar 07, 2020 4:07 am
Chilly14 wrote:
Fri Mar 06, 2020 9:22 pm
Don't forget v.data._basegame.
What do you mean?
You can't use it in your NPC packs anymore.
You were never supposed to use it in NPC packs. You're supposed to use v.data. Looks like I typo'd ._basegame at the end out of habit in this case. Removing it should be simple enough. Though I don't know what would've changed that explicitly makes it so that subtable cannot be used for npc packs anymore at all.

Re: [NPC Pack] SMW Pokey

Posted: Thu Mar 12, 2020 4:31 pm
by TheGameyFireBro105
Why not do Snow Boiz, too?

Re: [NPC Pack] SMW Pokey

Posted: Sat Mar 21, 2020 4:25 am
by Hammerless Penguin
TheGameyFireBro105 wrote:
Thu Mar 12, 2020 4:31 pm
Why not do Snow Boiz, too?
You can simply find a sprite sheet for the snow pokey npc and reskin it over the npc already made....

Re: [NPC Pack] SMW Pokey

Posted: Mon May 11, 2020 1:02 pm
by TheGameyFireBro105
Maybe if I learn about in what way it currently does not work well with beta 4.
Here's an example of it not cooperating with b4

Image

It's upside-down (segment-wise) and graphically inverted (aka it looks like an upside-down pokey with head segments where body segments should be and vice-versa)

Re: [NPC Pack] SMW Pokey

Posted: Thu Oct 08, 2020 12:30 pm
by ShadowLabrys101
Uhhh...

Image

Re: [NPC Pack] SMW Pokey

Posted: Fri Nov 27, 2020 2:58 pm
by TheGameyFireBro105
So this thing's busted.

Re: [NPC Pack] SMW Pokey

Posted: Fri Nov 27, 2020 4:19 pm
by ShadowLabrys101
TheGameyFireBro105 wrote:
Fri Nov 27, 2020 2:58 pm
So this thing's busted.
However, there's this fix. Put this on the Pokey's lua.

Code: Select all

function pokeySMW.onNPCHarm(eventObj, v, killReason, culprit)
        -- Ignore if wrong NPC or valid kill method
    if v.id ~= npcID then return; end;
 
    if killReason == HARM_TYPE_SPINJUMP then
        eventObj.cancelled = true
        return
    end

    local data = v.data._basegame
 
    if data.adjacentAbove and data.adjacentAbove.isValid then
        data.adjacentAbove.data._basegame.adjacentBelow = nil
    end
end;

Re: [NPC Pack] SMW Pokey

Posted: Fri Nov 27, 2020 6:35 pm
by TheGameyFireBro105
Image

Image

Re: [NPC Pack] SMW Pokey

Posted: Sun Nov 29, 2020 1:40 pm
by ShadowLabrys101
Ok, that didn't work. Try adding this to the onNPCHarm part.

Code: Select all

local data = v.data._basegame

Re: [NPC Pack] SMW Pokey

Posted: Sun Nov 29, 2020 5:36 pm
by TheGameyFireBro105
Image

Image

Re: [NPC Pack] SMW Pokey

Posted: Tue Dec 01, 2020 1:07 pm
by ShadowLabrys101
TheGameyFireBro105 wrote:
Sun Nov 29, 2020 5:36 pm
Image

Image
Perhaps you're doing something wrong. You can also ask for help at the Discord.

Re: [NPC Pack] SMW Pokey

Posted: Tue Feb 02, 2021 11:09 am
by TheGameyFireBro105
Any update on the stability?

Image
Mem is nil

I tried fixing it again, and the first issue's gone, but mem nil is still an issue.

Re: [NPC Pack] SMW Pokey

Posted: Tue Feb 02, 2021 12:14 pm
by TheGameyFireBro105
The issue just won't go away!
Image

If it helps, here's my modified version of the files that I tried fixing myself, but to no avail:
https://www.mediafire.com/file/fqrkvjdw ... 9.lua/file
https://www.mediafire.com/file/qzyc9u1r ... 0.lua/file

Re: [NPC Pack] SMW Pokey

Posted: Tue Feb 02, 2021 1:02 pm
by Enjl
TheGameyFireBro105 wrote:
Tue Feb 02, 2021 12:19 pm
The issue just won't go away!
Image

If it helps, here's my modified version of the files that I tried fixing myself, but to no avail:
https://www.mediafire.com/file/fqrkvjdw ... 9.lua/file
https://www.mediafire.com/file/qzyc9u1r ... 0.lua/file
This error is entirely on your end and not present in the download in the first post. In line 46 you have invalid syntax.

Re: [NPC Pack] SMW Pokey

Posted: Tue Feb 02, 2021 1:17 pm
by TheGameyFireBro105
Enjl wrote:
Tue Feb 02, 2021 1:02 pm
TheGameyFireBro105 wrote:
Tue Feb 02, 2021 12:19 pm
The issue just won't go away!
Image

If it helps, here's my modified version of the files that I tried fixing myself, but to no avail:
https://www.mediafire.com/file/fqrkvjdw ... 9.lua/file
https://www.mediafire.com/file/qzyc9u1r ... 0.lua/file
This error is entirely on your end and not present in the download in the first post. In line 46 you have invalid syntax.
this?
Spoiler: show
local data = v.data.;
do i8 delete it?

Re: [NPC Pack] SMW Pokey

Posted: Tue Feb 02, 2021 1:49 pm
by Enjl
The dot at the end should not be there.

Re: [NPC Pack] SMW Pokey

Posted: Tue Feb 02, 2021 2:27 pm
by TheGameyFireBro105
Image

What is this then?

Re: [NPC Pack] SMW Pokey

Posted: Tue Feb 02, 2021 4:09 pm
by Enjl
TheGameyFireBro105 wrote:
Tue Feb 02, 2021 2:27 pm
Image

What is this then?
You making more syntax errors. It's another instance where you have too many dots. If you encounter another error message after this, please actually like, read it. This is stuff that's glaringly obvious if you take a single look, even if you aren't familiar with lua. You are the one who edited these lines and introduced these mistakes, so it shouldn't be too hard for you to take a quick look at all the surrounding lines and see the inconsistency. You can see the line you need to edit this time in the error message. (The previous error message also showed which line was throwing the error, so by analyzing my previous response it should be fairly easy to derive where you can read the line in the error).

Re: [NPC Pack] bowser jr

Posted: Tue Feb 02, 2021 4:45 pm
by marioiscool
can you guys plese add bowser jr as a boss npc.