Page 2 of 4

Re: i have a problem with enji's anotherwalljump script

Posted: Thu Jul 02, 2020 10:24 am
by Emral
Image

Stop PMing me and then making threads after I reply.
You could also just post in the anotherwalljump thread.

Re: i have a problem with enji's anotherwalljump script

Posted: Thu Jul 02, 2020 10:41 am
by iAmGod01
Enjl wrote:
Thu Jul 02, 2020 10:24 am
Image

Stop PMing me and then making threads after I reply.
You could also just post in the anotherwalljump thread.
well man at the time I posted this topic I haven't seen your pm I tried to delete it before there was an answer but it appeared that it was not possible to delete that post

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 10:50 am
by iAmGod01
Enjl wrote:
Sat Oct 19, 2019 7:31 am
Download:
https://pastebin.com/UQBXiG1P

anotherwalljump.lua refurbishes an old walljump script I wrote in 2017. Its aim is to basically just replace Sturg's and PixelPest's libraries, neither of which ever had strong voices backing them, especially now that they're fairly old.

Features:
- 2-Player compatibility
- Different walljump settings per character ID (optional)
- Some customizability.

Gif:
Spoiler: show
Image
Most simple usage example:
local aw = require("anotherwalljump")
aw.registerAllPlayersDefault()

This enables walljumps with the default settings for the 5 default characters. Default settings can be viewed in the file.
Further customization commented in the file.
I copied the simple usage example but this error continued


Image

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 10:59 am
by Emral
iAmGod01 wrote:
Thu Jul 02, 2020 10:50 am
Enjl wrote:
Sat Oct 19, 2019 7:31 am
Download:
https://pastebin.com/UQBXiG1P

anotherwalljump.lua refurbishes an old walljump script I wrote in 2017. Its aim is to basically just replace Sturg's and PixelPest's libraries, neither of which ever had strong voices backing them, especially now that they're fairly old.

Features:
- 2-Player compatibility
- Different walljump settings per character ID (optional)
- Some customizability.

Gif:
Spoiler: show
Image
Most simple usage example:
local aw = require("anotherwalljump")
aw.registerAllPlayersDefault()

This enables walljumps with the default settings for the 5 default characters. Default settings can be viewed in the file.
Further customization commented in the file.
I copied the simple usage example but this error continued


Image
You didn't copy the script. There are differences. Read the differences.

Mine:
local aw = require("anotherwalljump")
aw.registerAllPlayersDefault()

Yours:
local aw = require("anotherwalljump.lua")
aw.registerAllPlayersDefault()

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 11:14 am
by iAmGod01
Enjl wrote:
Thu Jul 02, 2020 10:59 am
iAmGod01 wrote:
Thu Jul 02, 2020 10:50 am
Enjl wrote:
Sat Oct 19, 2019 7:31 am
Download:
https://pastebin.com/UQBXiG1P

anotherwalljump.lua refurbishes an old walljump script I wrote in 2017. Its aim is to basically just replace Sturg's and PixelPest's libraries, neither of which ever had strong voices backing them, especially now that they're fairly old.

Features:
- 2-Player compatibility
- Different walljump settings per character ID (optional)
- Some customizability.

Gif:
Spoiler: show
Image
Most simple usage example:
local aw = require("anotherwalljump")
aw.registerAllPlayersDefault()

This enables walljumps with the default settings for the 5 default characters. Default settings can be viewed in the file.
Further customization commented in the file.
I copied the simple usage example but this error continued


Image
You didn't copy the script. There are differences. Read the differences.

Mine:
local aw = require("anotherwalljump")
aw.registerAllPlayersDefault()

Yours:
local aw = require("anotherwalljump.lua")
aw.registerAllPlayersDefault()
buddy ]this time I corrected the code I put yours in the correct case but still giving this error is it the same way it puts in the lua file behind the error window? I know I'm a little boring today I apologize


Image

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 11:23 am
by Emral
Then the file is in the wrong folder. Where did you put it? If you want troubleshooting to go faster you must provide more information.

Re: i have a problem with enji's anotherwalljump script

Posted: Thu Jul 02, 2020 12:31 pm
by Cedur
it's fine but next time if you have a problem with a specific thing (be it a script, episode, graphic etc) just post in its respective thread.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 2:17 pm
by iAmGod01
Enjl wrote:
Thu Jul 02, 2020 11:23 am
Then the file is in the wrong folder. Where did you put it? If you want troubleshooting to go faster you must provide more information.
well enji as the level i'm testing is provisional i created a test "episode" to test some script a and how i want this script to work at all levels of the episode and left the luna file and the anotherwalljump file out of the folder the level next to the level file


Image

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 2:24 pm
by Emral
Notice how anotherwalljump is the only file with a file extension in the folder. This is immediately suspicious. Your file is actually called anotherwalljump.lua.lua. Did you rename it? It doesn't have that name upon download. Rename the duplicate extension and it should work.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 2:42 pm
by iAmGod01
Enjl wrote:
Thu Jul 02, 2020 2:24 pm
Notice how anotherwalljump is the only file with a file extension in the folder. This is immediately suspicious. Your file is actually called anotherwalljump.lua.lua. Did you rename it? It doesn't have that name upon download. Rename the duplicate extension and it should work.
I can't believe it was that the problem was bad for the annoyance good afternoon and thank you very much

when I had downloaded the file it came named like tha

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Jul 02, 2020 2:57 pm
by Emral
Must've been a mis-save from pastebin to your file system then, interesting.
Generally I recommend going into file explorer settings and enabling file extensions globally (you can google it if you don't know how to). It makes these kinds of things easier to spot, and makes renaming files by extension easier, too.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Tue Sep 08, 2020 8:03 am
by SergioZen25
Hello, I'm new to the forum and I wanted to use your script, but I've run into some problems, the scripts works smoothly and I can walljump and stuff, but somehow, it has broken the tail swipe animation, even if the attack is still being done. I saw someone else mentioning it, but I don't know what has to be changed to make it work again.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Tue Nov 10, 2020 2:50 pm
by JayTheUnwise123
Are you supposed to register character costumes as well? If so, how?
For some reason I can't wall jump when I have a costume on.

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Mon Jan 25, 2021 5:58 pm
by rael1up
Nice! ... And Link too!! The next steep is add compability with the another player characters!

Re: i have a problem with enji's anotherwalljump script

Posted: Mon Jan 25, 2021 10:26 pm
by EclipseMain
iAmGod01 wrote:
Thu Jul 02, 2020 10:21 am
good afternoon guys i was trying to use enji's anotherwalljump script but i have these errors
Image

Image

well I will leave here also the print of the moon file anyone if you know can help me
You're doing it the javascript way. This is how you do it in Lua

Code: Select all

local anotherwalljump = API.load("anotherwalljump")

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Tue Jan 26, 2021 1:18 am
by Emral
You shouldn't put .lua in the require call.

Code: Select all

local aw = require("anotherwalljump")

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Tue Jan 26, 2021 8:00 pm
by MrCaves
Enjl: i dont know why others like mario walljumping

Also Enjl: literally makes a walljump api

Seriously though, why would you make walljumps for mario if you dont like it?

Re: i have a problem with enji's anotherwalljump script

Posted: Tue Feb 09, 2021 11:15 am
by Lusho
EclipseMain wrote:
Mon Jan 25, 2021 10:26 pm
iAmGod01 wrote:
Thu Jul 02, 2020 10:21 am
good afternoon guys i was trying to use enji's anotherwalljump script but i have these errors
Image

Image

well I will leave here also the print of the moon file anyone if you know can help me
You're doing it the javascript way. This is how you do it in Lua

Code: Select all

local anotherwalljump = API.load("anotherwalljump")
Actually you should still use require, API.load is really outdated

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Tue Feb 09, 2021 11:52 am
by Emral
MrCaves wrote:
Tue Jan 26, 2021 8:00 pm
Enjl: i dont know why others like mario walljumping

Also Enjl: literally makes a walljump api

Seriously though, why would you make walljumps for mario if you dont like it?
I was bored one afternoon and nobody else was doing it (the previous two walljump scripts being either deprecated or undiscoverable).

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Posted: Thu Feb 11, 2021 5:12 pm
by EeveeEuphoria
Hey there, there's a bug in the script that was causing me a few issues; invisible blocks didn't properly register as being invisible, and kept allowing me to wallslide on them.

Looking into the code, at line 132, I replaced "o:mem(0x5A, FIELD_WORD) > 0" with "o:mem(0x5A, FIELD_WORD) < 0" and that seemed to fix it, but I'm not sure if that'll cause further problems.