Page 1 of 1
Error when trying to access global 'default' (not defined)

Posted:
Mon Apr 16, 2012 20:48
by lkjoel
I get something along the lines of that error. It works on my desktop computer, but it doesn't work on my server computer. I'm just trying to use sound. I tried removing that, but then it started complaining about LIGHT_MAX not being defined.
Anybody got a clue?

Posted:
Mon Apr 16, 2012 21:04
by Jordach
its a variable.

Posted:
Mon Apr 16, 2012 21:13
by lkjoel
yeah, and it's global. How would I fix that though?

Posted:
Tue Apr 17, 2012 05:52
by kddekadenz
Maybe you haven't default in dependencies?

Posted:
Tue Apr 17, 2012 12:22
by mauvebic
try switching
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
to
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.

Posted:
Tue Apr 17, 2012 12:38
by sfan5
The Methods are only in the default Mod.
Copy it from the default Mod or add it to the Dependices (not tested)

Posted:
Tue Apr 17, 2012 13:03
by mauvebic
i got sounds to work w/ fireplace, not quite sure how lol

Posted:
Tue Apr 17, 2012 15:43
by lkjoel
I know, what's weird is that it works fine for my desktop, but terrible for my server.. :S