PDA

View Full Version : Need help with the LUA feedback


fuzzy bee
March 2nd, 2003, 12:05 PM
I think I've totally botched my setup. I'm attempting to use the the LUA feedback functions to make feedback buttons for Winamp. For some reason I can't get any of the buttons to update on my PPC. What is most frustrating (and, I think, is a key point in my problem) is that when I use the "register" function and then "show clients" I get that I have 1 Netremote client, but without an IP address. I have set the listen port in NR to both 0 and 1023, with the same results either time. I have, at times, had LUA show that I had 2 clients - one of ":" and one of "10.0.0.7", which is the IP of my PPC.

Anybody have any pointers?

fuzzy bee
March 2nd, 2003, 01:15 PM
hmmm... now I seem to have gotten to a point where it recognizes my PPC. Odd, though - it shows 2 clients:

There are (2) NetRemote Clients registered
:
10.0.0.7:


For some reason, it looks like it's not getting port information through. I get the same result no matter what the "listen port" is on NetRemote (I've tried 0 and 1023).

If I try to run one of the LUA feedback examples, I get the following error in the script editor:
error: bad argument #2 to `connect' (number expected, got string)
stack traceback:
1: function `connect' [C]
2: function `NR_client_open' [(none)]
3: function `NR_send_label_feedback_to_client' [(none)]
4: function `NR_send_label_feedback' [(none)]
5: main of (none)

Ben S
March 2nd, 2003, 02:25 PM
I haven't seen this one before. I think only Gavin (the LUA genius) may know the answer to this one.

fuzzy bee
March 2nd, 2003, 05:28 PM
nevermind - i (finally) figured it out. funny how it doesn't work if i haven't given it my ip address.

brockgr
March 2nd, 2003, 07:19 PM
Hmm - the lack of port number is proabbly a version miss-match. LDJ 0.08 and NR 0.98 were incompatible (my fault!). Probably worth checking you have 0.09 and 0.981!

You proabably also want to check out this thread (http://www.netremote.org/phpBB2/viewtopic.php?t=53).

Note, you shouldn't need to hard code your IP or port on the Girder side - when the handshaking is working Girder will "discover" your NR.

Cheers,

Gavin