sory for the "w" i mean that i saw it not...
it is also crashing if it is not showing up...
i made:
if(GetAsyncKeyState(VK_NUMPAD0)){
DrawHealthbar(200,200,100,10,0xFF00FF00,0xFFFFFFFF ,pMain->goToInfoClass->iCurrentHealth,pMain->goToInfoClass->iMaxHealth);}
Crash after Login(have not pressed the key! and if im not using this code, no crash...)
Last edited by kotentopf; 08-21-2010 at 04:54 AM.
ᶠᶸᶜᵏ (10-31-2010)
this is like gordons i use a simple PTC thanks for sharing crash
Make sure that CShell is loaded before initializing it or else it will crash when you try to use it.
founded one thing
class Info
{
public:
char unknown0[8];
__int32 Unknown1; //0008
__int32 iCurrentHealth; //000C
__int32 iCurrentAP //0010<---- founded by kotentopf
__int32 iMaxHealth; //0014
char unknown3[4];
WepInfo* goToWepInfo;//001C
Something* goToSomething; //0020
char unknown4[348];
float fStamina; //0180
char unknown5[8];
__int32 iWeaponSlotInUse; //018C
float fCameraSomething; //0190
float fCameraSomething2; //0194
float fCameraSomething3; //0198
char unknown6[32];
Stats* goToStats; //01BC
};
markoj (08-28-2010)
JDeezy (08-28-2010)