bug: [basalt.autoUpdate() Expected something before the end of the line Tip: Use () to call with no arguments] #115

Open
opened 2024-07-11 19:29:32 +08:00 by SlideShowGames · 5 comments
SlideShowGames commented 2024-07-11 19:29:32 +08:00 (Migrated from github.com)

Describe the bug

Im new to this framework and just Lua in general btw. I was just writing code to add titlebars and stuff for some movable windows and all of a sudden I got this error. I removed all the code I had just added but it still won't work.

Expected behavior

The code should run and a movable window should appear

Screenshots
2024-07-11_07 28 30

Checklist

[*] I am running the latest version.
Tick the box if you are running the latest version!

**Describe the bug** Im new to this framework and just Lua in general btw. I was just writing code to add titlebars and stuff for some movable windows and all of a sudden I got this error. I removed all the code I had just added but it still won't work. **Expected behavior** The code should run and a movable window should appear **Screenshots** ![2024-07-11_07 28 30](https://github.com/Pyroxenium/Basalt/assets/108354503/a6ebb556-24ac-4801-ba88-43b833ad322b) **Checklist** [*] I am running the latest version. Tick the box if you are running the latest version!
SlideShowGames commented 2024-07-11 19:35:18 +08:00 (Migrated from github.com)

Also the code freezes the computer and no matter how much you change the file it WILL NOT RUN it will say the same error with the same line the original error it was on

Also the code freezes the computer and no matter how much you change the file it WILL NOT RUN it will say the same error with the same line the original error it was on
NoryiE commented 2024-07-11 19:46:17 +08:00 (Migrated from github.com)

Can you send me the code you're using?

Can you send me the code you're using?
SlideShowGames commented 2024-07-11 20:10:40 +08:00 (Migrated from github.com)
> Can you send me the code you're using? https://github.com/SlideShowGames/n4-Window-Manager/blob/main/startup.lua
NoryiE commented 2024-07-11 20:43:22 +08:00 (Migrated from github.com)

Hm, interesting, i downloaded your startup.lua and your basalt.lua and it worked (only thing i had to do was adding an end and removing setHorizontalAlign/setVerticalAlign from buttons):
image

How do you test your code? I was using CraftOS-PC for it.

Hm, interesting, i downloaded your startup.lua and your basalt.lua and it worked (only thing i had to do was adding an end and removing setHorizontalAlign/setVerticalAlign from buttons): ![image](https://github.com/Pyroxenium/Basalt/assets/36573031/2e29a02f-c340-41c7-8cdf-2de0ebd1e18b) How do you test your code? I was using CraftOS-PC for it.
SlideShowGames commented 2024-07-12 01:14:34 +08:00 (Migrated from github.com)

I tested using CraftOS-PC and CraftOS-PC accelerated

I tested using CraftOS-PC and CraftOS-PC accelerated
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GitHub/Basalt#115
No description provided.