Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Making the DreamBot Client Full Screen


    fat2slow

    Recommended Posts

    21 hours ago, DeadmanVlei said:
    
    float map(x_or_y, float original_width_or_height, float new_width_or_height){
        return x_or_y / original_width_or_height * new_width_or_height
    }
    	

    Then go around changing everything that uses x to

    
    map(x,originalgamewidth,currentgamewidth) 

    and everything that uses y to

    
    map(y,originalgameheight,currentgameheight)

     

    So if it's about the math can we get full-screen mode now 😛

    Unfortunately, because of how we have some of our stuff set up, that doesn't work. I did that for a quick fix on some things, but on our model it doesn't.

    Plus zoom breaks that, which also requires us to update things in how we handles models. Overall it would require a decent amount of rewriting to make that all work without risk of breaking something else somewhere.

    This is one of the goals to fix with dreambot 3.

    Link to comment
    Share on other sites

    On 11/14/2018 at 3:06 PM, DeadmanVlei said:
    
    float map(x_or_y, float original_width_or_height, float new_width_or_height){
        return x_or_y / original_width_or_height * new_width_or_height
    }
    	

    Then go around changing everything that uses x to

    
    map(x,originalgamewidth,currentgamewidth) 

    and everything that uses y to

    
    map(y,originalgameheight,currentgameheight)

     

    So if it's about the math can we get full-screen mode now 😛

    That isn't going compensate for scripts; a majority would be broken. 

    Nonetheless, nicely concluded- unfortunately there is no positive purpose that would serve. 

    Link to comment
    Share on other sites

    I gotcha, sometimes things are more complicated than they seem.  Do many scripts really rely on the mouses absolute position on the screen?  I know the internal api functions rely on that but they could be updated with the forementioned.

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.