Page 1 of 2 12 LastLast
Results 1 to 25 of 31

Thread: When is simba going to support binary compilation?

  1. #1
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default When is simba going to support binary compilation?

    Hello, its surprising simba still dont support binary compilation after so long.
    and im pretty sure wizzup did promise this in the beginning. is this something witch is yet to come or is it impossible to integrate ?

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

    Default

    It's not impossible. We've done this right in the beginning, before Simba ever went public. You could compile scripts to .exe's. The reason we dropped it back then was to have backwards compatibility and because interpreting is a lot user friendlier.

    That said, the main reason we don't have this is security and maintainability.

    The benefits of binaries are:

    • Can run standalone.
    • Possibly more simple to use.


    Downsides:

    • Not easy to validate code for safety.
    • Not dynamic. This is important. Now, if there is a SRL update, you'll simply let Simba update your SRL. You click run and you're using the latest SRL. This isn't the case with your executable. You'll have to rebuild it. Note that obviously the interpreter rebuilds SRL too, but it does this every time you run the script. IOW, every script update, every SRL update, you'll have to rebuild the .exe.
    • External dependencies could be annoying.
    • Architecture dependent. (Not really an issue)


    Note that I currently assumed that you meant just having a button ``Convert script to exe''. This also means you'll be using Simba's interpreter in the .exe.

    You can do this in some way, Sythe did it once with a very nasty hack. (He basically just included the scar binary in his .exe)

    Perhaps we can create a tool that will create a .exe, use the right simba libraries and add the interpreter to it.

    There's another possibility, though... If you would use a proper compiler like FPC, you'd have these advantages:

    • Speed
    • Access to a lot of extra units and libraries.


    But this would mean you can't use SRL in it's current form. But you can use Simba!

    Simba due to it's open sourceness already gives you the ability to directly use all the features / units we have built in your own executables. I've already created some small executable tools that use exactly this. So essentially, you can already create binaries with Simba. If I recall correctly SPS uses the Simba units as well, for example. But this area could use a lot more documentation and is quite useless for runescape purposes since you can't use SRL with it.



    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
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Hi wizzup , well i can see the only consern is regarding the security.

    i think we shoud think possiblities instead of be so picky about the security.
    but if somone did release a rs tool or similiar it could contain a keylogger designed to steal your account.

    But i know for a fact that scar woud not be any more effective than a good ftp keylogger made in c++ witch is fud aswell.

    and why is it hard to make native binary compilation work with the srl functions?
    after all srl is only nesesary to solve randoms in rs (or atleast it used to )


    and maby try to implement it. and if troubles apear then make it ilegale to post rs related native code/compiled exe's. then allow it for other things and make the downloader responsible for any damage done of such files not the creator.
    but ofcourse make some sort of punishment if somone get caught in publishing a malicious exe file.

    keep in mind this last sentence ^ is just a tought of me. i believe this is a good idea, and absolute worth a try

  4. #4
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    People will get them to other forums and use them with malicious intent anyway.
    Ce ne sont que des gueux


  5. #5
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Floor66 View Post
    People will get them to other forums and use them with malicious intent anyway.
    Good point people get hacked every week in rs and it will always be like that.

    Also rsbot can use precompiled scripts witch is almost the same thing, in that means that your not able to see the script only class files.

  6. #6
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by tom99 View Post
    Good point people get hacked every week in rs and it will always be like that.

    Also rsbot can use precompiled scripts witch is almost the same thing, in that means that your not able to see the script only class files.
    You can easily view those with a java decompiler, .exe is a little more challenging to take apart.

  7. #7
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Yes thats correct. but i seriously doubt people woud spend time making some sort of maleware in simba, so it dosent matter right?
    with my comp
    scar use 1 min to count to 100.000
    while java is using 14 sec to count to 100.000.000 that make it pretty self explained right?

  8. #8
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    -bump- i woud like to see more opinions on this.

  9. #9
    Join Date
    Dec 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by tom99 View Post
    Yes thats correct. but i seriously doubt people woud spend time making some sort of maleware in simba, so it dosent matter right?
    with my comp
    scar use 1 min to count to 100.000
    while java is using 14 sec to count to 100.000.000 that make it pretty self explained right?
    SCAR counts to 100,000 in 62 milliseconds for me, and to 100,000,000 in about 1.2 seconds. I don't see your point?

  10. #10
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    the point is people woud not waist their time away to create malewares with scar because it so slow and got lack of functions to make it suitable for that. and if the purpose is to hack an account there is ALOT bether alternatives than pascal.

  11. #11
    Join Date
    Dec 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by tom99 View Post
    the point is people woud not waist their time away to create malewares with scar because it so slow and got lack of functions to make it suitable for that. and if the purpose is to hack an account there is ALOT bether alternatives than pascal.
    I could easily throw a whole keylogger in a 4 line script [in simba], 3 lines in SCAR. I still don't see your point.

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

    Default

    You guys are going a bit off topic. Of course you can write malware in programs that interpret code.



    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)

  13. #13
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    wizzup why cant you just add it already ?

  14. #14
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by tom99 View Post
    wizzup why cant you just add it already ?
    I don't really understand what huge advantage you would gain by having executable versions of your scripts

  15. #15
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Why do you want this supported so much, what's the advantage?



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

    Default

    Quote Originally Posted by tom99 View Post
    wizzup why cant you just add it already ?
    No, I don't have to the time to do so currently. It's not that trivial and if I have free time I have things for Simba to work on that are more important.



    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)

  17. #17
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Allright

  18. #18
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    That doesnt explain why you want to run scripts from an exe, or any other positives for adding binary support



  19. #19
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    there is many, forexample deployment or runtime speed and simplified user interface.

  20. #20
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by tom99 View Post
    Yes thats correct. but i seriously doubt people woud spend time making some sort of maleware in simba, so it dosent matter right?
    with my comp
    scar use 1 min to count to 100.000
    while java is using 14 sec to count to 100.000.000 that make it pretty self explained right?
    Simba counts to 100k in like 68ms for me bruh.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  21. #21
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    How much quicker do you want runtime speed? I don't think speed is an issue here and I personally see how a simplified user interface is need

    I think the cons outweigh the pros here



  22. #22
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    i actually would love to see that coming wizzup?, .exe ftw !
    Hi

  23. #23
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Would be dangerous for people sharing scripts.. but I'd like to run from them.

    It would be cool to have scripts like we have now and then people can create their own .exe's from them.. so when srl / reflection updates they can open up the script and compile it to an exe in a few seconds / minutes and then bam have a new exe for the script
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  24. #24
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    why not just make it a rule that if people were to release scripts on these forums, to make it a .simba, and not an .exe. this would completely stop the security/keylogger issues.

    i would like the exe simply because it is easier to transport. even though simba is small, it is annoying to have to install it on a new computer that i will probably never use simba on again, just to run a script. having an exe would make it way easier to run scripts on computers (like i go to computer labs and such).

    ^ sry if that didnt make much sense, im in a hurry.

  25. #25
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    why not just make it a rule that if people were to release scripts on these forums, to make it a .simba, and not an .exe. this would completely stop the security/keylogger issues.

    i would like the exe simply because it is easier to transport. even though simba is small, it is annoying to have to install it on a new computer that i will probably never use simba on again, just to run a script. having an exe would make it way easier to run scripts on computers (like i go to computer labs and such).

    ^ sry if that didnt make much sense, im in a hurry.
    Two words, portable Simba .
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

Page 1 of 2 12 LastLast

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
  •