• Log in or sign up for an account here: https://www.sythe.org/login

Help SMR write his unstable foundations bot!

Govind

The One Musketeer

Highly Respected
Mudkips
Retired Administrator
Joined
Apr 22, 2005
Sythe Gold
23
Messages
7,825
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
http://www.2shared.com/file/xSlKPLiA/SSTaker.html

1. Open runescape and change its settings to:
screenshot2lx.png

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!
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
No problem :) Your help is greatly appreciated.

PS: Anyone who uploads screenshots will have their name listed in a "credits" section of my App :)
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Thanks a lot, Jimmy :)
 
Can you upload to mediafire or something? I cant seem to download it.

Ill be glad to help :)


Pm me the link pl0x :)
I PMed you a link I mirrored. I will post it here for anyone else who may have troubles downloading it.
SSTaker.zip

Naw, more people will help =)

Thanks for doing it at all.
Okay, my offer stands if you end up needing more.
 
Sythe Awards 2010 Winner
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)
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Thank you JezusTime :)
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
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);

}
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Any client will work, including browsers.
 
Back
Top