Adblock breaks this site

Help SMR write his unstable foundations bot!

Discussion in 'Community General' started by Govind, Nov 22, 2010.

  1. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

    http://www.2shared.com/file/xSlKPLiA/SSTaker.html

    1. Open runescape and change its settings to:
    [​IMG]
    2. Create a new account and then run SSTaker.exe. As you go through Unstable Foundations, it will save screenshots every second of your Runescape window as "screenshotX.bmp".
    3. When you're finished with Unstable Foundations, put all those screenshots in a zip file and upload them to any file-sharing site, and post the link here.
    4. Open Task Manager (Ctrl+Alt+Delete), Processes Tab, and end SSTaker.exe.
    5. These uncompressed bitmaps are HUGE; each is over 1MB in size. Don't forget to delete them when you're finished!

    I am trying to determine which tolerances to use as I make my unstable foundations bot.

    Thanks for your help guys!
     
  2. World Domination

    World Domination Guru
    Banned

    Joined:
    Apr 9, 2007
    Posts:
    1,563
    Referrals:
    3
    Sythe Gold:
    5
    Help SMR write his unstable foundations bot!

    Not really sure how much help this will actually be. This was my first time going through Unstable Foundations so I wasn't completely sure what I was doing. xD

    screenshots.zip
     
  3. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

    No problem :) Your help is greatly appreciated.

    PS: Anyone who uploads screenshots will have their name listed in a "credits" section of my App :)
     
  4. Jimmy

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25
    Help SMR write his unstable foundations bot!

  5. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

    Thanks a lot, Jimmy :)
     
  6. World Domination

    World Domination Guru
    Banned

    Joined:
    Apr 9, 2007
    Posts:
    1,563
    Referrals:
    3
    Sythe Gold:
    5
    Help SMR write his unstable foundations bot!

    SMR, if no one else does this to help you, I could do it again if you need.
     
  7. jkernan7553

    jkernan7553 Forum Addict

    Joined:
    Oct 17, 2010
    Posts:
    346
    Referrals:
    0
    Sythe Gold:
    0
    Help SMR write his unstable foundations bot!

    I've never done UF so i'd be of no help haha.

    Anyway, good luck with the bot!
     
  8. JezusTime

    JezusTime Apprentice
    Banned

    Joined:
    Feb 22, 2010
    Posts:
    766
    Referrals:
    0
    Sythe Gold:
    0
    Help SMR write his unstable foundations bot!

    Can you upload to mediafire or something? I cant seem to download it.

    Ill be glad to help :)


    Pm me the link pl0x :)
     
  9. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

    Naw, more people will help =)

    Thanks for doing it at all.
     
  10. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

  11. World Domination

    World Domination Guru
    Banned

    Joined:
    Apr 9, 2007
    Posts:
    1,563
    Referrals:
    3
    Sythe Gold:
    5
    Help SMR write his unstable foundations bot!

    I PMed you a link I mirrored. I will post it here for anyone else who may have troubles downloading it.
    SSTaker.zip

    Okay, my offer stands if you end up needing more.
     
  12. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

  13. Alteranz

    Alteranz Hero
    Zombie Angelic Retired Global Moderator

    Joined:
    Nov 11, 2008
    Posts:
    5,076
    Referrals:
    2
    Sythe Gold:
    0
    Help SMR write his unstable foundations bot!

    Haha fiddlesticks... I moved the post here, but you've already sorted it. Feel free to delete if you like! :)
    Also, I'd help out - but I'm on a bleeding Macintosh (my whole house is Mac's)
     
  14. JezusTime

    JezusTime Apprentice
    Banned

    Joined:
    Feb 22, 2010
    Posts:
    766
    Referrals:
    0
    Sythe Gold:
    0
    Help SMR write his unstable foundations bot!

  15. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

    Thank you JezusTime :)
     
  16. JezusTime

    JezusTime Apprentice
    Banned

    Joined:
    Feb 22, 2010
    Posts:
    766
    Referrals:
    0
    Sythe Gold:
    0
    Help SMR write his unstable foundations bot!

    No problem man :p
     
  17. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

    If anyone's curious:
    Code:
    void SaveBitmap(HWND hWnd, int append)
    {
    	BITMAPFILEHEADER bfHeader;
    	BITMAPINFOHEADER biHeader;
    	BITMAPINFO bInfo;
    	HDC winDC, memDC;
    	TCHAR filename[1024];
    	int d_x, d_y, outBytes;
    	RECT rsRect;
    	HBITMAP hBitmap;
    	ofstream file;
    	BYTE* memory = 0;
    
    	GetWindowRect(hWnd, &rsRect);
    	d_x = rsRect.right-rsRect.left;
    	d_y = rsRect.bottom-rsRect.top;
    	bfHeader.bfType = ('B' | ('M' << 8));
    	bfHeader.bfSize = 0;
    	bfHeader.bfReserved1 = 0;
    	bfHeader.bfReserved2 = 0;
    	bfHeader.bfOffBits = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER);
    	
    	biHeader.biSize = sizeof(biHeader);
    	biHeader.biHeight = d_y;
    	biHeader.biWidth = d_x;
    	biHeader.biPlanes = 1;
    	biHeader.biBitCount = 24;
    	biHeader.biCompression = BI_RGB;
    	biHeader.biSizeImage = 0;
    	biHeader.biXPelsPerMeter = 0;
    	biHeader.biYPelsPerMeter = 0;
    	biHeader.biClrImportant = 0;
    	biHeader.biClrUsed = 0;
    
    	sprintf(filename, "screenshot%d.bmp", append);
    	
    	file.open(filename, ios::binary);
    	if(!file)
    	{
    		TCHAR mbBuf[500];
    		sprintf(mbBuf, "Could not open %s for writing. Ensure that this application is running in a directory where it has permission to write files, and that the path, including the file name, does not exceed %d characters.", filename, MAX_PATH);
    		MessageBox(0, mbBuf, "Error", MB_OK | MB_ICONSTOP);
    		ExitProcess(0x0);
    	}
    	file.write((char*)&bfHeader, sizeof(bfHeader));
    	file.write((char*)&biHeader, sizeof(biHeader));
    
    	
    	bInfo.bmiHeader = biHeader;
    	winDC = GetDC(hWnd);
    	memDC = CreateCompatibleDC(winDC);
    
    	
    	hBitmap = CreateDIBSection(winDC, &bInfo, DIB_RGB_COLORS, (void**) &memory, 0, 0);
    	SelectObject(memDC, hBitmap);
    	BitBlt(memDC, 0, 0, d_x, d_y, winDC, 0, 0, SRCCOPY);
    	DeleteDC(memDC);
    	ReleaseDC(hWnd, winDC);
    	outBytes = (((24*d_x+31) & (~31))/8)*d_y;
    	file.write((char*)memory, outBytes);
    	DeleteObject(hBitmap);
    
    }
     
  18. Drrizzzy Drake

    Drrizzzy Drake Forum Addict
    $5 USD Donor New

    Joined:
    Oct 30, 2010
    Posts:
    285
    Referrals:
    0
    Sythe Gold:
    0
    Help SMR write his unstable foundations bot!

    What client will your bot use?
     
  19. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    Help SMR write his unstable foundations bot!

    Any client will work, including browsers.
     
  20. xGRAVESx

    xGRAVESx Member
    Banned

    Joined:
    Nov 21, 2010
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0
    Help SMR write his unstable foundations bot!

    You can use www.e-bin.net if you like; SMR, I will make you premium so you do not have to wait :)
     
< Old IRC logs | Things old people remember >


 
 
Adblock breaks this site