Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SlideShowGames opened this issue Jul 11, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@SlideShowGames
Copy link

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!

@SlideShowGames SlideShowGames added the bug Something isn't working label Jul 11, 2024
@SlideShowGames
Copy link
Author

SlideShowGames commented Jul 11, 2024

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
Copy link
Collaborator

NoryiE commented Jul 11, 2024

Can you send me the code you're using?

@SlideShowGames
Copy link
Author

Can you send me the code you're using?

https://github.com/SlideShowGames/n4-Window-Manager/blob/main/startup.lua

@NoryiE
Copy link
Collaborator

NoryiE commented Jul 11, 2024

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.

@SlideShowGames
Copy link
Author

I tested using CraftOS-PC and CraftOS-PC accelerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants