I'm making builds for a friend of mine remotely, and we're both mac users. However, after downloading Love for themself to try and mess around with it, running the builds throws a blue screen immediately for him with an error saying a function that is definitely defined was not defined.
Does anyone know what this bug is? Did I package my game incorrectly?
Multiple Love App Bug? [Mac]
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- dizzykiwi3
- Citizen
- Posts: 58
- Joined: Tue Jan 14, 2014 2:03 am
Re: Multiple Love App Bug? [Mac]
could it be my require ussage? I use
require "folder/file"
and I see one can also do
require("folder.file")
require "folder/file"
and I see one can also do
require("folder.file")
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: Multiple Love App Bug? [Mac]
Could it be some mistyping? Also make sure of the scope of the function.
And, showing us your codes will help us figure it out more
And, showing us your codes will help us figure it out more
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Multiple Love App Bug? [Mac]
Are you running an un-fused game folder on your local machine, whereas your friend is running a zipped .love file (either fused or unfused)? The zip file system is case-sensitive whereas the regular macOS filesystem is not by default, so if you have incorrect capitalization in your code for loading or reading a file it will work if the folder is loaded through love but not if a .love file is, in macOS (and Windows).
- dizzykiwi3
- Citizen
- Posts: 58
- Joined: Tue Jan 14, 2014 2:03 am
Re: Multiple Love App Bug? [Mac]
I have encountered that situation before, but I think it is not that as I can run the zipped love file on my computer. As well I just double checked the capitalization.
- dizzykiwi3
- Citizen
- Posts: 58
- Joined: Tue Jan 14, 2014 2:03 am
Re: Multiple Love App Bug? [Mac]
The blue screen in question The function in question in controls.lua The require calls from player.lua to main.luayetneverdone wrote: ↑Wed May 03, 2017 2:45 am Could it be some mistyping? Also make sure of the scope of the function.
And, showing us your codes will help us figure it out more
- dizzykiwi3
- Citizen
- Posts: 58
- Joined: Tue Jan 14, 2014 2:03 am
Re: Multiple Love App Bug? [Mac]
My friend also downloaded another love game of mine from online, which may another cause? Could this have changed some directory if I had not packaged the games properly?
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Multiple Love App Bug? [Mac]
Okay, so please show
- line 32 of your main.lua with the update function,
- line 244 of your menus.lua with the updateMenus function,
- line 113 of your controls.lua with the updateKeyboard function.
and the surrounding code as well, as per the traceback that the error screen shows.
- line 32 of your main.lua with the update function,
- line 244 of your menus.lua with the updateMenus function,
- line 113 of your controls.lua with the updateKeyboard function.
and the surrounding code as well, as per the traceback that the error screen shows.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
- dizzykiwi3
- Citizen
- Posts: 58
- Joined: Tue Jan 14, 2014 2:03 am
Re: Multiple Love App Bug? [Mac]
Wait I am so so so silly, I was totally misreading the error, this is entirely an error in my logic... I was misdrawing conclusions from coincidences like superstition.
Sincerest apologies for my inability to read all, but thanks so sincerely for being such a great community to help me out with my silly bug witch hunt. Many thanks Zorg for reminding me I need to actually read the traceback and error, duh.
Sincerest apologies for my inability to read all, but thanks so sincerely for being such a great community to help me out with my silly bug witch hunt. Many thanks Zorg for reminding me I need to actually read the traceback and error, duh.
Who is online
Users browsing this forum: Google [Bot] and 9 guests