PDA

View Full Version : cannabis guide lua bug help



gunntims0103
October 29th, 2006, 22:57
iv been having problems with the final release of the cannabis guide im wondering if anyone can help it has to do with the LoadA file null (which i cant seem to fix). i think all other bugs has been fixed as yaustar has told me to do. Benh and i cant seem to fix the problem so im open to anyone coming in and taking a look at the script and fixing the problem.

this is the error that i get

error: menu1.lua:80: attempt to call global 'LoadA' (a nil value)

I cant seem to fix it in my script i tried almost everything but nothing works

-looks like the rapidshare link doent work so i removed it iv uploaded it via post.

if anyone can help it would be much appriciated i just want to get this app done. So that i can fully focus on my old project.

thanx

BL4Z3D247
October 29th, 2006, 23:00
damn u bugs!!! damn u to hell!!! :D hope u work em out gunn, can't wait to see the weed-ictionary
o0o0o0o...that's a good name for ur app "Weed-ictionary" has a nice ring to it huh? lol :D

gunntims0103
October 29th, 2006, 23:05
lol you know what thats a really good and original name i might just change it to that :)

BL4Z3D247
October 29th, 2006, 23:12
:D cool

gunntims0103
October 29th, 2006, 23:19
back on topic--

i cant seem to work out the problem in the code it happens when the luaplayer trient to go from the transition from the menu1.lua to the start menu.lua. the defined variable LoadA becomes "null" when this happens i dont even know why. There were alot of typos in the script but i have corrected all of that and i still get the same error. actually i think things have worsened since now the menu1.lua loops itself and you cant enter any options i dont know why this is. If worst come's to worst i will just have the cannabis bios in rapid consetion while you press X almost like browing through them.
The problem started when i created a new menu. A table of contents to veiw all the cannabis strains with out actually giong into them.

anyhelp would be much appreciated

yaustar
October 29th, 2006, 23:59
You missed a whole chunk of my corrections to "start menu.lua".

gunntims0103
October 30th, 2006, 00:01
i missed them???

i did all of them like you said on the luaplayerwindows

yaustar
October 30th, 2006, 00:04
No you didn't.

Look again: http://www.rafb.net/paste/results/t2T0Qa17.html

More specifically right at the end:

if pad:square() and not oldpad:square() and current == 46 then
load40()
end

screen.waitVblankStart()
screen.flip()

end

gunntims0103
October 30th, 2006, 00:06
ok i understand but when i did all the corrections on my comp my command promt didnt show any error until you actually enter the start application but il just use the one that you put up sorry for my incompitence

yaustar
October 30th, 2006, 00:10
I had no problems when running it myself.

gunntims0103
October 30th, 2006, 00:13
ok it works now

but im having probs with new things now

il try and fix it

gunntims0103
October 30th, 2006, 00:17
It Works!!!!!!!!!

Time To Post