Skip to content

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

Description

@SlideShowGames

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!

Activity

  1. SlideShowGames commented on Jul 11, 2024

    @SlideShowGames
    Author

    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

  2. NoryiE commented on Jul 11, 2024

    @NoryiE
    Collaborator

    Can you send me the code you're using?

  3. SlideShowGames commented on Jul 11, 2024

    @SlideShowGames
    Author
  4. NoryiE commented on Jul 11, 2024

    @NoryiE
    Collaborator

    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.

  5. SlideShowGames commented on Jul 11, 2024

    @SlideShowGames
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions