Error menu.lua:258

Mods, guides how to use and install mods go right in here.
Post Reply
User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 04 Nov 2013, 02:08

Hello, and "thank you" ahead of time.
FYI: This is my son's account and I am logged in to try and fix what I broke. My son, Zack, is 13, autistic, but VERY bright. I (his father) am a software engineer (Microsoft technologies - please - no haters ;-) ). I was unaware that many of the files he had scattered all over the desktop on our iMac, were needed for Mari0, which by the way HE LIVES FOR. I deleted all of the .love files, because when clicking on them, the just created what I thought was a bunch of nonsense animations - resembling virus's I have seen in the PC world.

My son is VERY into modding the Mari0 boards and has created many custom maps. I have moved ALL of his custom maps to a new folder, removed any version of Mari0 on the Mac, re-downloaded new versions of Mari0 but STILL get the below error message. How can I get the Mari0 install back to 'vanilla' baseline, so he can play and Mari0? (see error message below).

I am running Mac OSX 10.6.8

When I launch Mari0, right after the splash screen, I get this error

Code: Select all

Error

menu.lua:258: attempt to index field '?' (a nil value)

Traceback

menu.lua:258: in function 'menu_draw'
main.lua:810: in function 'draw'
[C]: in function 'xpcall'
On behalf of my son, who has trouble expressing himself, "Thank you" :)

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 04 Nov 2013, 02:26

You have a custom hat.
Use the mod that you were using that has the custom hats, change your hat to a hat that is in un modded Mari0.

If you don't know what hat mod it was then go to your Mari0 folder and remove options.txt.
you can go to your Mari0 folder by searching %appdata% then clicking the "LOVE" folder then "Mari0".

User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 04 Nov 2013, 03:07

@alesan99 - Thanks you!!! Haven't tried it yet. Doing it now. I'll let you know if I have any success.

User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 04 Nov 2013, 03:34

@alesan99,
I cannot locate an options.txt file on the entire computer. Remember, Mac OSX 10.6.8. I'm a PC guy, so some Mac pointers towards this solution, would be very helpful. Thank you SOOO much for narrowing down the source of the error ! :)

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 04 Nov 2013, 04:04

...
Last edited by Qcode on 21 Oct 2021, 18:49, edited 1 time in total.

User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 05 Nov 2013, 00:04

Thanks @alesan99 and Qcode. Issue fixed thanks to both of your help!

User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 01 Dec 2013, 19:15

Ugh, I am still having this issue again. I used to be able to fix it and now it doesn't work anymore. Still the error code coming up. I tried getting the most updated Love 8.0 for the Mac and it's still not working. I am trying to get certain Map Packs to work and I keep getting the error message :-(

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 01 Dec 2013, 20:04

FireMariofan86 wrote:Ugh, I am still having this issue again. I used to be able to fix it and now it doesn't work anymore. Still the error code coming up. I tried getting the most updated Love 8.0 for the Mac and it's still not working. I am trying to get certain Map Packs to work and I keep getting the error message :-(
Are you sure it's the exact same error? The error may look the same but read it and you'll see the difference.
Did it happen when you downloaded a mappack? If so, what mappack was it?

User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 01 Dec 2013, 21:18

This is the error we are getting

Code: Select all

Error

menu.lua:455: attempt to index field '?' ( a nil value)

Traceback

menu.lua:455: in function 'menu_draw'
main.lua:1505: In function 'draw'
[C]: in function 'xpcall'

User avatar
HugoBDesigner
Posts: 2189
Joined: 19 Sep 2012, 02:23
Contact:

Post » 01 Dec 2013, 21:37

FireMariofan86 wrote:This is the error we are getting

Code: Select all

Error

menu.lua:455: attempt to index field '?' ( a nil value)

Traceback

menu.lua:455: in function 'menu_draw'
main.lua:1505: In function 'draw'
[C]: in function 'xpcall'
"menu_draw" errors often happen when you play a mappack that requires a mod. Try this: Open you %appdata%/LOVE/mari0 and find "options.txt". Open it and change the "mappack:[current mappack]" to "mappack:smb". If the error don't happen again it means it was something with the last mappack you played (probably needed a mod).

User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 01 Dec 2013, 22:00

Thanks @HugoBDesigner for the help. Currently, it is currently set for mapppack:smb. I can run Mari0 and play, but I cannot select a mappack. That's when I get the error shown.

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 01 Dec 2013, 22:23

...
Last edited by Qcode on 21 Oct 2021, 18:48, edited 1 time in total.

User avatar
FireMariofan86
PERMABANNED
Posts: 68
Joined: 02 Nov 2013, 20:42

Post » 04 Dec 2013, 15:46

Thank you SO MUCH!!! That really helped. Game is back running normally without any errors :-)

Post Reply