Indigo Rose Software
  #1  
Old 09-20-2005
johnperry9 johnperry9 is offline
Forum Member
 
Join Date: Sep 2005
Posts: 12
Huh? Please Help!!!

Hi There,

I havent posted on here in awhile, so I had to set up a new name, but you guys were great before, and now I have a question for you all. I am trying to create 2 apps, one as a server and one as a client to go across two computers on a network. I am looking to be able to click on a button on the server side, and have the text of that button show on the client side, as well as a wav file to play on the client side. I am using media studio 5.0. Is this going to be possible, and if so, does anyone have any ideas of how to do this. Again, I could not tell you how much I am in dire need of these two programs. Thanks again.

Sincerely,
John
Reply With Quote
  #2  
Old 09-20-2005
johnperry9 johnperry9 is offline
Forum Member
 
Join Date: Sep 2005
Posts: 12
Arrow Can anyone help?

Hi there,

Is there anyone out there that might know how to help with this, or if this is even possible. Thanks so much.
Reply With Quote
  #3  
Old 09-21-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Hi. Yes, there's a couple ways to do that. You might be able to create a direct socket between the two computers if you know some programming using Luacom. The easier way is probably to have the client app setup on a page timer to check the server for commands every x seconds. Then all the server app has to do is upload commands as needed. You can achieve this using HTTP.Submit quite easily, or even by using the FTP plug-in.

If you haven't check out 6.0 yet, it's definitely worth a look. Here's a quick tour:
http://www.indigorose.com/ams/product-tour.php

Reply With Quote
  #4  
Old 09-21-2005
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Quote:
Originally Posted by johnperry9
Hi There,

I havent posted on here in awhile, so I had to set up a new name, but you guys were great before, and now I have a question for you all. I am trying to create 2 apps, one as a server and one as a client to go across two computers on a network. I am looking to be able to click on a button on the server side, and have the text of that button show on the client side, as well as a wav file to play on the client side. I am using media studio 5.0. Is this going to be possible, and if so, does anyone have any ideas of how to do this. Again, I could not tell you how much I am in dire need of these two programs. Thanks again.

Sincerely,
John
It can be done with the LuaSocket library. I wrote an article a while back about how to use the LuaSocket library from within your application:

Document: How to Use LuaSockets from AMS60

As far as the specifics about how to implement the solution, I have no advice as my actual experience with LuaSocket is limited. However, LuaSocket is designed to do this kind of client-server app building.
Reply With Quote
  #5  
Old 09-22-2005
johnperry9 johnperry9 is offline
Forum Member
 
Join Date: Sep 2005
Posts: 12
Oops I think this is exactly what I need!

Hi There, I think this is exactly what I need, but as I am trying to initialize LuaSocket, it is giving me an error when I try to test the app. It is saying:

Globals, Line 2: could not load package `compat-5.1.lua' from path `?C:\Documents and Settings\John\My Documents\AutoPlay Media Studio 5.0 Projects\App\CD_Root\AutoPlay\Modules\?;C:\Documen ts and Settings\John\My Documents\AutoPlay Media Studio 5.0 Projects\App\CD_Root\AutoPlay\Modules\?.lua;C:\Doc uments and Settings\John\My Documents\AutoPlay MediaStudio 5.0 Projects\App\CD_Root\?.lua;C:\Documents and Settings\John\My Documents\AutoPlay Media Studio 5.0 Projects\App\CD_Root\?;'

I am sorry, lol, I am a big newbie at this, at first I thought since it mentions a "modules" folder, I created a modules folder at put the luasocket files in there as well, but to no avail. If anyone has any ideas, please help. Oh yeah, thank you to everyone who has been helping, you guys really are awesome!!!
Reply With Quote
  #6  
Old 09-22-2005
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Did you exactly follow the instructions in that document? Put the files in the exact folders that are in the document.
Reply With Quote
  #7  
Old 09-22-2005
johnperry9 johnperry9 is offline
Forum Member
 
Join Date: Sep 2005
Posts: 12
Oops

Hi Brett, could the problem be that I don't have 6.0, because there is not a "(View > Panes > Project Browser)" Will the LuaSocket work with 5.0? Thanks for all of your great help.
Reply With Quote
  #8  
Old 09-22-2005
Eagle Eagle is offline
Indigo Rose Customer
 
Join Date: Mar 2005
Location: WA 'wait a while' - Australia
Posts: 827
Hi, pretty sure only for V6.0, the ability to use Lua Socket was enabled
internally for v6 by IR
Reply With Quote
  #9  
Old 09-23-2005
johnperry9 johnperry9 is offline
Forum Member
 
Join Date: Sep 2005
Posts: 12
Smile I appreciate it guys

Hi there all, I appreciate all of your great help. Well I guess this just means one thing, time to get 6.0. Thanks all.
Reply With Quote
  #10  
Old 09-23-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Hee. FWIW There's an early upgrade offer on for owners of 5.0:

http://www.indigorose.com/store/cart.php

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 05:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software