Results 1 to 21 of 21

Thread: Virtual Box

  1. #1
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default Virtual Box

    Hi,

    Can someone help me with virtual box?
    I've just installed windows XP 32bit on a virtual box, with 4GB memory (I got 16GB RAM, so no problem) and 50GB space.
    Then I installed all the programs I needed to run a bot with simba, and after some time it worked.
    The problem now is that Java only uses 150-300MB memory of the 4GB I have, but still it uses 70-90% CPU.....

    How come?
    What's the best way to make it use less CPU (and more RAM?)

    This is the first time I use virtual box, so I hope someone can help me.

    Screenshot: http://img21.imageshack.us/img21/1614/9rramuse.png


    Master BAW
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  2. #2
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    First off, I'd suggest using Linux, (Talk to Greg, he's the man on that stuff.)
    Anyway, XP is fine.

    RAM is Random Access Memory, and it moves all of the stuff going through it to the CPU. The CPU is what sends the information on to your drivers and whatnot. Mind telling me what processor(s) you have?

  3. #3
    Join Date
    Dec 2011
    Posts
    571
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dont like virtual box it takes forever to install
    created my mr[s]

  4. #4
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Yeah, but mine's about functionality, I prefer VMWare. But I've used both, and both are good in there own ways. But VMWare is better.

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

    Default

    No, ram doesn't work that way.. a processor does all the processing, ram caches it.. not sure how to say so you can get it..

    a piece of paper holds X amount of information, the pencil is constantly working to put more info on or change the info on the paper.. getting more paper wouldn't increase the pencils ability


    java / runescape
    use about 300k memory, I believe that's maximum default for a java app.. using more won't really do anything


    Quote Originally Posted by print123 View Post
    i dont like virtual box it takes forever to install
    virtual box takes the same speed, it's faster with everything except video acceleration
    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.

  6. #6
    Join Date
    Nov 2011
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you have a multicore cpu, you can give access to more cores to your virtual box. Sometimes vbox give only 1 core by default.

  7. #7
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I can only use one processor per virtual box, or else I needed to install virtual hardware or something and I don't know what that is...

    I have a big computer with good stuff in it and with the intel core i7 3.5GHz (8 processors)

    I have to go now, thanks for the explanations, I will reply more later
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  8. #8
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    553
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    I just made a virtual box today with an old windows XP disk I had laying around.
    Sorry I can't help you though... But why use a VB for simba?
    Sinking. Always. Sinking.

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

    Default

    Quote Originally Posted by demoniste View Post
    If you have a multicore cpu, you can give access to more cores to your virtual box. Sometimes vbox give only 1 core by default.
    by default, it always gives 1 core.

    Quote Originally Posted by Master BAW View Post
    I can only use one processor per virtual box, or else I needed to install virtual hardware or something and I don't know what that is...

    I have a big computer with good stuff in it and with the intel core i7 3.5GHz (8 processors)

    I have to go now, thanks for the explanations, I will reply more later
    No? enable IO APIC and you can put as many cores as you want


    your cpu has 8 threads, 4 cores.. btw
    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.

  10. #10
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Leonardo Da Vinci View Post
    I just made a virtual box today with an old windows XP disk I had laying around.
    Sorry I can't help you though... But why use a VB for simba?
    Because I want to run about 10-12 bots, but I don't want to run them all on the same IP adress... So I found a program called PrivateTunnel which gives you a new IP adress. My Idea was to run 2 virtual boxes with both 4 bots on them, and 2, 3 or 4 bots on the normal windows. This because PrivateTunnel sends all your internet to that other IP so then I have 3 different IP's so I can't get IP banned...

    Understand?
    P.S. If anyone has a better solution tell me

    Quote Originally Posted by grats View Post
    by default, it always gives 1 core.


    No? enable IO APIC and you can put as many cores as you want


    your cpu has 8 threads, 4 cores.. btw
    I tried that but I get an error when starting the VM....
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  11. #11
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    553
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Master BAW View Post
    Because I want to run about 10-12 bots, but I don't want to run them all on the same IP adress... So I found a program called PrivateTunnel which gives you a new IP adress. My Idea was to run 2 virtual boxes with both 4 bots on them, and 2, 3 or 4 bots on the normal windows. This because PrivateTunnel sends all your internet to that other IP so then I have 3 different IP's so I can't get IP banned...
    Well... damn, nice plan!
    Sinking. Always. Sinking.

  12. #12
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Leonardo Da Vinci View Post
    Well... damn, nice plan!
    Thanks The problem now is that I get a lot of lag on my VBox's...
    But theoretically my computer should easily be able to run so many (12+) runescape bots... All I need is the right settings....
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  13. #13
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    553
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Master BAW View Post
    Thanks The problem now is that I get a lot of lag on my VBox's...
    But theoretically my computer should easily be able to run so many (12+) runescape bots... All I need is the right settings....
    That sucks, but with gratz on the case, you'll have the problem under control in no time!
    You'll have to keep the thread updated with your progress, it would be awesome to see how this turns out!
    Sinking. Always. Sinking.

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

    Default

    The problem is because you're using windows.. if you get an error after that.

    I'd just run them all in 1 vm, as jagex doesn't care about IP addresses.. and if you want to keep a vm separate from your main machine I would do something like:



    or you can use the linux built in VPN connection, but your windows is your problem.. I believe the early home editions were only capable of like 1 core & 2GB of ram in windows.. they put stupid limits in the different versions.. for example now a lot of the versions are capped at like 16GB of ram, you have to get the enterprise version to have more or something like that, I don't really know all the details because windows sucks, and I don't care.
    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.

  15. #15
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by grats View Post
    The problem is because you're using windows.. if you get an error after that.

    I'd just run them all in 1 vm, as jagex doesn't care about IP addresses.. and if you want to keep a vm separate from your main machine I would do something like:



    or you can use the linux built in VPN connection, but your windows is your problem.. I believe the early home editions were only capable of like 1 core & 2GB of ram in windows.. they put stupid limits in the different versions.. for example now a lot of the versions are capped at like 16GB of ram, you have to get the enterprise version to have more or something like that, I don't really know all the details because windows sucks, and I don't care.
    Thanks! I'll try linux then Which linux? Mint? Ubuntu?

    I think it's still better to run them on different IP's because else it's very easy to detect for them IF they would use it. But I'll see...

    One more question I think may be important. My computer is 64 bit. Should I install the 64 bit or 32 bit version of linux, or doesn't it really matter (because runescapes java is 32bits anyway)
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  16. #16
    Join Date
    Nov 2011
    Location
    Salt Lake City
    Posts
    219
    Mentioned
    17 Post(s)
    Quoted
    140 Post(s)

    Default

    Make it look like this:


    <-- Give it 2-3 processors, depending on how it runs on each one. Also know that ANY time you change your processor settings or amount of processors you have to completely reinstall the OS or else it won't register.




    I know of a website that has a full Virtualbox VM guide, but it's on a different bot site and I don't know if I'm allowed to post the link.

  17. #17
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    ^ +Rep, most helpful post.

    Quote Originally Posted by Trent! View Post
    I know of a website that has a full Virtualbox VM guide, but it's on a different bot site and I don't know if I'm allowed to post the link.
    You should, it's just posting a guide on VMs and stuff. Related, and not advertising the bot on the site, so It shouldn't matter.

    I think I know what VM tut you're talking about. Is it on RiD?
    Last edited by Vinyl Scratch; 09-12-2012 at 11:39 AM.

  18. #18
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Trent! View Post
    Make it look like this:


    <-- Give it 2-3 processors, depending on how it runs on each one. Also know that ANY time you change your processor settings or amount of processors you have to completely reinstall the OS or else it won't register.




    I know of a website that has a full Virtualbox VM guide, but it's on a different bot site and I don't know if I'm allowed to post the link.
    thanks, and which OS should I install?
    and I think you can post the link it's not illegal to post to other forum threads if you don't have the intention of making advertising or something, at least, I suppose
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  19. #19
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    Quote Originally Posted by Vinyl Scratch View Post
    ^ +Rep, most helpful post.



    You should, it's just posting a guide on VMs and stuff. Related, and not advertising the bot on the site, so It shouldn't matter.

    I think I know what VM tut you're talking about. Is it on RiD?
    It is on RiD yeah.

    There is also a version of XP that you can download from a link in the tutorial.
    Solar from RiD.

  20. #20
    Join Date
    Jan 2012
    Posts
    915
    Mentioned
    13 Post(s)
    Quoted
    87 Post(s)

    Default

    Then you should be able to post it, just don't go about saying "RiD's Best Bot"

  21. #21
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    2,254
    Mentioned
    21 Post(s)
    Quoted
    238 Post(s)

    Default

    If you are going to use Linux, remember to install java for windows via WINE, instead of just java for linux .

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
  •