View Full Version : Winchester?
DJBloodHunter
02-21-2008, 06:00 PM
Guys, I don't know why, but when I press my Winchester button, WarRock crashes and exits...
void CLolDlg::OnGetWinchester()
{
WritePointerFloat(0x1363380, 0x4C, 42);
}
HydroQc
02-21-2008, 06:32 PM
Maybe put in in a timer??
DJBloodHunter
02-21-2008, 06:40 PM
Don't think so... If I put it in a timer, it will be always "giving" the player the weapon, and even if he rolls after to have the weapon, it will do the same thing... and don't know why, nothing is working to me :o:eek:
wr194t
02-21-2008, 07:07 PM
Change float value to long value in your WritePointerFloat function code:
void WritePointerFloat(long addy, short offset, long value)
{
long maddy;
long saddy;
memory();
ReadProcessMemory(hProcess, (LPVOID*)(DWORD) addy, &maddy, sizeof(maddy), NULL);
saddy = maddy + offset;
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) saddy, &value, sizeof(value), NULL);
}
DJBloodHunter
02-21-2008, 07:21 PM
Great :D My first C++ hack working :P
So, but now i can't get Visual Dinar working :rolleyes:
void CLolDlg::OnVISUALDINARON()
{
SetTimer(VISUALDINARTIMER, 1, NULL);
}
void CLolDlg::OnVISUALDINAROFF()
{
KillTimer(VISUALDINARTIMER);
}
void CLolDlg::OnTimer(UINT nIDEvent)
{
switch(nIDEvent)
{
case VISUALDINARTIMER:
{
//Dinar Timer
Writelong(0x121DAAFC,99999);
}
break;
CDialog::OnTimer(nIDEvent);
}
}
HydroQc
02-21-2008, 09:17 PM
i will send my code to a person i trust through PM But the error is that my hack won't work and some hacks make the game crash...Sj won't work Skystormer neither...so anyone would like to help me?? Any DXT-****** member??
DJBloodHunter
02-22-2008, 01:25 AM
lol some of my hacks crash the game too... and the NOP codes, i can't make anything with them, even NOPing, they don't work :(
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.