Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Network connection
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default Network connection - 02-06-2010, 09:53 PM

I derived this program from the Jython scripting works on this website:

http://www.westga.edu/~drocco/alice/

Just make sure you put the protocol at the beginning:

http://www.alice.org Good
www.alice.org Bad!

I am having trouble with some of the parameters, and I don't know enough to reqrite the script in a more efficient way.

This type of advanced scripting may be just what we need to take Alice to the next level. There is plently of documentation on Jython, and it is relatively simple. It can even run alongside drag and drop programming! It can do advanced string methods, too. It's essentially full Java, without having to wait for 3.0!
Attached Files
File Type: a2w Print webpage.a2w (177.3 KB, 20 views)


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.

Last edited by zonedabone; 02-06-2010 at 09:56 PM.
   
Reply With Quote
Impresive
Old
King Gamer(gorit)
Guest
 
Status:
Posts: n/a
Question Impresive - 02-07-2010, 11:38 AM

Ok, well this impreses me but I just wonder what purpose does this have. I mean I see absolutley no use for this because you can llook at the source html in internet explorer. But dont get me wrong this is a very cool world.
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 02-07-2010, 11:52 AM

Can you see the possibilities for it, though? If Alice can connect to any internet page and read data from that page, then we can implement saved games, high scores, passwords, and lots of other cool stuff! This opens up loads of new possibilities!


(')>
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 02-07-2010, 11:55 AM

Yeah! I was also looking into the other capabilities of Jython. It can access the file system, and possibly, even save extentions itself. (eg. updating and saving games to the file)

Also, if you right your own website in html without all the extra stuff, alice can read it very well.


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-07-2010, 12:15 PM

I wish it could interact. Just out of teh ordinary. Did anyoen get more than 3 feet of snow. I did


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 02-07-2010, 12:22 PM

It can! It can open any web adress, including a php form. Using the A joined with B function, you can have your program append parameters, which can be read by the web server.


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
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

Forum Jump



Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.