Read more ...»
Example of how you would do a health bot
int iHealth;
BYTE* pYOURHEALTH = (BYTE*)0x66666666;
void Thread1(void)
{
while(1) // loop
{
iHealth = *(BYTE*)pYOURHEALTH; // get health
if( iHealth > 0 && iHealth < 100 )
{
*(BYTE*)pYOURHEALTH = 100;//set health
MySendMessage(hWnd, WM_KEYDOWN,VK_F5,0); // or press a key or click the mouse...
MySendMessage(hWnd, WM_KEYUP,VK_F5,0);
}
Sleep(200);
}
}
Read more ...»
BYTE* pYOURHEALTH = (BYTE*)0x66666666;
void Thread1(void)
{
while(1) // loop
{
iHealth = *(BYTE*)pYOURHEALTH; // get health
if( iHealth > 0 && iHealth < 100 )
{
*(BYTE*)pYOURHEALTH = 100;//set health
MySendMessage(hWnd, WM_KEYDOWN,VK_F5,0); // or press a key or click the mouse...
MySendMessage(hWnd, WM_KEYUP,VK_F5,0);
}
Sleep(200);
}
}
Ejemplo GB
DWORD* pCurRoom = (DWORD*)0x912954;
if ( bAntiKick )
{
if ( *(DWORD*)pCurRoom >= 0 && *(DWORD*)pCurRoom < 1000 )
{
*(DWORD*)pCurRoom += 0x3E8;
}
}
BYTE* pWeather = (BYTE*)0x914728;
char cWeatherb[59] = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
char cWeather[59];
void mem_setweather(void)
{
memcpy(cWeather,(void*)pWeather,58); //save old bytes
memcpy((void*)pWeather,cWeatherb,58);
}
void mem_rstweather(void)
{
memcpy((void*)pWeather,cWeather,58);//restore old bytes
}
Read more ...»
if ( bAntiKick )
{
if ( *(DWORD*)pCurRoom >= 0 && *(DWORD*)pCurRoom < 1000 )
{
*(DWORD*)pCurRoom += 0x3E8;
}
}
BYTE* pWeather = (BYTE*)0x914728;
char cWeatherb[59] = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
char cWeather[59];
void mem_setweather(void)
{
memcpy(cWeather,(void*)pWeather,58); //save old bytes
memcpy((void*)pWeather,cWeatherb,58);
}
void mem_rstweather(void)
{
memcpy((void*)pWeather,cWeather,58);//restore old bytes
}
c++ programming style guide
i was recently searching for some info on what kind of info was standard to include at the top of header files in c++ and came across this:
c++ Programming Style Guidelines
http://geosoft.no/style.html
IMO, this is an EXCELLENT resource explaining the do's and dont's, as well as what is common practice, of programming in c++. I'm reading through it and finding that i am doing alot of the dont's according to the document
anyways, just thought some of you would find this helpful, enjoy!
Read more ...»
c++ Programming Style Guidelines
http://geosoft.no/style.html
IMO, this is an EXCELLENT resource explaining the do's and dont's, as well as what is common practice, of programming in c++. I'm reading through it and finding that i am doing alot of the dont's according to the document
anyways, just thought some of you would find this helpful, enjoy!
Suscribirse a:
Entradas (Atom)







