|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Thu Jul 10, 2008 10:25 pm
[2.30] lua print command broken |
Type the following in the command line:
#LUA {print("hello")}
It will give you an error. I'm guessing this has been doing this since you added the #print command. |
|
_________________ Taz :) |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Jul 10, 2008 10:43 pm |
Working fine for me. That code there prints hello just like it should. Have you done any mucking about hooking the function? What error do you get?
|
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Thu Jul 10, 2008 11:18 pm |
That's decidedly odd, it's working for me now too. Before it was giving an error something along the lines of "attempt to call global 'print' (string value) (line 1)", that is not exactly word for word what a shame that I didn't take a screen shot like I was initially going to.
|
|
_________________ Taz :) |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Jul 10, 2008 11:41 pm |
It's a good idea. The string value thing sounds like print has been changed somehow - probably in an attempt to hook print that went horribly wrong, or else a script that tried to access top-level global variables dynamically using _G that ended up changing print by mistake.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jul 11, 2008 12:46 am |
I can't get this to fail here either.
|
|
|
|
|
|