Results 1 to 11 of 11

Thread: Question about ReadConnectionData()

  1. #1
    Join Date
    Dec 2009
    Location
    Next to my PC
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Question about ReadConnectionData()

    Could anyone give me the code of the function ReadConnectionData() or tell me where I could find it?

    Thanks
    ~Swiss

  2. #2
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Nope, its closed source. Sorry bro.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  3. #3
    Join Date
    Dec 2009
    Location
    Next to my PC
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thing is, I need that function, but it doesn't work for me how I expect it to do. So I thought of changing the function for me to let it work. I'd write my own function if I knew the stuff.

    Well, seems like I need to try something else, thanks for the answer tho

    ~~Swiss

  4. #4
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    It's in SCAR, which is closed. You could ask Freddy, but chances are that he won't be open to sharing it.

  5. #5
    Join Date
    Dec 2009
    Location
    Next to my PC
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, I try to explain what I mean now, maybe someone is able to help me.

    It seems like Readconnectiondata() is waiting for an answer, if you start the function. What if it should continue with the rest of the script if it hasn't received anything yet? Or how would I create a function doing exactly what I stated before?

    Still hoping for help
    ~Swiss

  6. #6
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    s := readconnectiondata();
    if s = '' then
    dostuff;

    maby, i dunno tbh
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  7. #7
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Isnt multithreading possible in scar now?

    Quote Originally Posted by Awkwardsaw View Post
    s := readconnectiondata();
    if s = '' then
    dostuff;

    ect maby, i dunno tbh
    I think he wants to continue the script while still waiting for the data.
    There used to be something meaningful here.

  8. #8
    Join Date
    Dec 2009
    Location
    Next to my PC
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Awkwardsaw View Post
    s := readconnectiondata();
    if s = '' then
    dostuff;

    maby, i dunno tbh
    Doesn't work, that's what I already tried :S

    @frement, I'll read a tutorial and test it, will respond wether it works or not.

    Thanks for your help!
    ~swiss

  9. #9
    Join Date
    Jul 2008
    Location
    England
    Posts
    763
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use indy (http://www.indyproject.org/index.en.aspx) components for this kind of stuff.
    lol

  10. #10
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    http://villavu.com/forum/showthread....ulti-threading

    That post has some good information i think.
    There used to be something meaningful here.

  11. #11
    Join Date
    Dec 2009
    Location
    Next to my PC
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think it's almost working! Although my scar seems to crash everytime I try it :P

    ~Swiss

    [EDIT] I always get the error "The application seems to be frozen". Meh, any help?
    Last edited by swisspking; 03-24-2010 at 02:24 PM.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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