Results 1 to 17 of 17

Thread: SendInterSCARMessage - Internet/Network

  1. #1
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default SendInterSCARMessage - Internet/Network

    I wanted to know if there was a way to send/recieve InterSCARMessages through the internet/over a network.

    I was digging around in the scripts\test, and there was some really cool stuff in there! Among others, I found two scripts. One called "message_plane" and one called "message_tower". It's really cool how Send/ReadInterSCARMessage works, and I thought it would be cool to have it Send/Recieve SCARMessages, via, the internet/a wireless network.

  2. #2
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Ye, I thought too it would be cool to send messages with SCAR via internet.

  3. #3
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    It doesn't work that way...

  4. #4
    Join Date
    Feb 2006
    Location
    Franklin, Ohio, USA
    Posts
    991
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    But...

    SCAR does have socket connections and stuff to communicate over the network with, right Freddy1990?

  5. #5
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    But you could steal people Runescape passwords with SCAR scripts that way, so its not good idea.

  6. #6
    Join Date
    Mar 2007
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah that's true, but since all scar scripts code are viewable for everybody, the scripters little plot would fail miserably.

  7. #7
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by moparisthebest View Post
    But...

    SCAR does have socket connections and stuff to communicate over the network with, right Freddy1990?
    Yes, but, SCAR doesn't allow you to be a server if I'm correct, you can only use SCAR as a client...

  8. #8
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    How does Send/ReadInterSCARMessage work?

  9. #9
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    How does Send/ReadInterSCARMessage work?
    It can send messages just on your own computer. Look at this:
    SCAR Code:
    program SCAR1;
    begin
    SendInterScarMessage('Lol','Hi')
    end.
    Open up scar, run with that.

    2. open up another scar, run with this:
    SCAR Code:
    program SCAR2;
    begin
    writeln(ReadinterScarMessage('Lol'))
    end.

  10. #10
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    It's like a super global variable. With the ID being the name of the variable, and the message being the string it holds. It can be seen from different SCARs, and I believe only gets cleared when all SCARs are closed.

  11. #11
    Join Date
    Feb 2006
    Location
    Franklin, Ohio, USA
    Posts
    991
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    How does Send/ReadInterSCARMessage work?
    Using Shared Memory

    An example of how to talk let java and SCAR talk back and forth was posted by regex on kaitnieks.com, I kept a copy here: http://www.moparisthebest.com/downlo...edmem_Scar.rar

    Interesting stuff isn't it?

  12. #12
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by moparisthebest View Post
    Using Shared Memory

    An example of how to talk let java and SCAR talk back and forth was posted by regex on kaitnieks.com, I kept a copy here: http://www.moparisthebest.com/downlo...edmem_Scar.rar

    Interesting stuff isn't it?
    Oooh, I'm gonna have some messing around to do

    Thanks.

  13. #13
    Join Date
    Apr 2007
    Posts
    186
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes you could do it with PHP as the server where it writes the text and another procedure what reads it (i have private one)

  14. #14
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Freddy1990 View Post
    Yes, but, SCAR doesn't allow you to be a server if I'm correct, you can only use SCAR as a client...
    Jason and I figured that out after ~ an hour of trying

    I guess we'd have to make a plugin to do it?
    Interested in C# and Electrical Engineering? This might interest you.

  15. #15
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    You'd have to do something with either a PHP script to handle and send SCAR Messages, or use sockets.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  16. #16
    Join Date
    Feb 2006
    Location
    With mooncow on the moon
    Posts
    292
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    i made a powerminer that would do 2 accounts allmost at the same time using this.
    ~ Solemn Wishes

  17. #17
    Join Date
    Nov 2006
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, it doesn't use InterSCARMessages but I came up with a little idea..

    If SCAR saves the messages it wants as a file, then the file could be shared on a LAN or on a web server

    Then instead of ReadInterSCARMessage, it could read the file from the place it is being shared on the other computer. (Not sure how to do that but some scripts download version numbers etc from websites.)

    Would this work or is it just another one of my useless ideas?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Faster Internet (Network Optimization)
    By Dude in forum Computer Help and Tutorials
    Replies: 9
    Last Post: 04-30-2008, 10:00 PM
  2. Possibilities of SendInterSCARMessage?
    By IronTeapot in forum OSR Help
    Replies: 11
    Last Post: 10-30-2006, 09:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •