Results 1 to 6 of 6

Thread: extension thought?

  1. #1
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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

    Default

    Currently this is not possible. It would probably be rather hard to do this too, considering you don't know which script you want to execute the procedure of. Calling script procedures usually only happens from the script thread, and not from the main thread, unless the script thread synchronizes with the main thread.

    Possible, yes.
    Last edited by Wizzup?; 07-25-2010 at 10:14 AM.



    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)

  3. #3
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    Currently this is not possible. It would probably be rather hard to do this too, considering you don't know which script you want to execute the procedure of. Calling script procedures usually only happens from the script thread, and not from the main thread, unless the script thread synchronizes with the main thread.

    Possible, yes.
    ok, fair enough
    thanks anyway

    ~shut

  4. #4
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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

    Default

    Quote Originally Posted by Shuttleu View Post
    as you disabled the use of more than one script running at any time, wouldnt it be able to know which script is running?
    or would it be too hard to implement because of the sync problems?

    ~shut
    That way you would know what script is running, yeah. I still don't think it would be much easier to implement because of Synchronisation issues. Imagine the following:
    Your script is in the middle of its Mining loop, and suddenly it must call a completely different procedure. This is quite hard to implement. (Although the interpreter may support it, IDK)



    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)

  6. #6
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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
  •