WarRock EU - Code Snippets

01/28/2012 11:04 xBioK1ngz#6361
Quote:
Originally Posted by CyberVeezy :) View Post
Auto Ammo, AutoRepair, AutoMedic (Memory) by UnknownPK

NoReload by CyberRazzer and TradEmArk (for a change on the Source)
Have Fun.
Wie dumm kan man eigendlich sein ?!
Muss Trademark jetzt schon unötiges hinzufügen, um in den Credits zu stehen?
Ich meine, warum braucht man ein "R" Check, wenn die Source schon überprüft ob man nachlädt.
Und weißt du überhaupt was das " ..&0x8000" bringt ?
Code:
[SIZE="2"][COLOR="Blue"]if[/COLOR] ( cWeaponHacks.CH_NoReload )
{
    if ( *([COLOR="Blue"]DWORD[/COLOR]*)(dwPlayerPtr+Addys::Offsets::WeaponState) == *([COLOR="Blue"]DWORD[/COLOR]*)(Addys::Memorys::States::WeaponReload) )
    {
        *([COLOR="Blue"]FLOAT[/COLOR]*)(dwPlayerPtr+Addys::Offsets::NoReload) = 1.0F;
    }
}[/SIZE]
01/28/2012 12:19 ■DarknessIM■#6362
Quote:
Originally Posted by boknoy24 View Post
UP :)


can you give me a example ready to use struct opk i mean the source.
Source OPK:
[Only registered and activated users can see links. Click Here To Register...]

But I think these Structs are outdated.
01/28/2012 13:54 theitfan1337#6363
You guys are just trying to kid me, ain't ya? I mean seriously, I just posted a final warning and you just continue to abuse this thread. I already had to punish 4 out of 6 post after mine ... I am more than sick of it. Really fed up. This is my absolutely last warning. I give you guys two options to choose:
1. Change you behaviour. Come off it. Mind what I told you, mind what both, the section and the board rules are telling you. And we'll get along without any problems.
2. Go on as usual. Don't pay any attention to this board's rules. I will punish any rule-breaking post mercilessly, but you don't give a fuck anyway, do ya?
Choice is yours. I am gravely disappointed by this community. I became Moderator because you guys used to be some pretty cool fellas I loved to chat with. Things obviously changed.
Sidenote: I know there are quite some people that do respect the rules and I am sorry for having to generalize. Just don't fell offended.
01/29/2012 01:39 .Case™#6364
NoMenu just convert to menu if you have a base for it!

void WallClimb()
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
*(float*)(WallClimb_Int) = 999;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
*(float*)(WallClimb_Int) = 5.0e1;
}
}

====================

if( TR_Sipiderman == 1 )
{
*(float*)(0x8AC784) = 999;
}
else
{
*(float*)(0x8AC784) = 5.0e1;
}
01/29/2012 02:12 xxfabbelxx#6365
Quote:
Originally Posted by .Case™ View Post
NoMenu just convert to menu if you have a base for it!

void WallClimb()
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
*(float*)(WallClimb_Int) = 999;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
*(float*)(WallClimb_Int) = 5.0e1;
}
}

====================

if( TR_Sipiderman == 1 )
{
*(float*)(0x8AC784) = 999;
}
else
{
*(float*)(0x8AC784) = 5.0e1;
}
a further description of the effect would be great.
01/29/2012 02:30 Angel-Piece#6366
Quote:
Originally Posted by xxfabbelxx View Post
a further description of the effect would be great.
Quote:
Originally Posted by xflick13 View Post
Hi guyz I'm back :) and now i'm here again! and i would like to share my new PUBLIC FUNCTION that i found on WarPhil and i found the addy on WarInt Too!

So here it is the addy is for!
-> You can Climb on the wall , and you can easily climb on the mountain.
->I know it's still useless cause you can use superjump to jump on the mountain,buildings, so what ever i just want to share what i found!

Screenshot
[Only registered and activated users can see links. Click Here To Register...]

-The Code & Addie-

Code:
#define WallClimb_Int    0x8AC784
#define WallClimb_Phi    0x816FAC 

-> international : flt_8AC784      dd 5.0e1 
-> Philippines    : flt_816FAC      dd 5.0e1

NoMenu just convert to menu if you have a base for it!

void WallClimb()
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
*(float*)(WallClimb_Int) = 999;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
*(float*)(WallClimb_Int) = 5.0e1;
}
}
Notice : If you use this function you should enable unli.sp so you can climb on the wall continuously without any problem :)..
That's all
Credits :xflick13

da...
01/29/2012 14:05 Raz9r#6367
Quote:
Originally Posted by CyberVeezy :) View Post
NoReload by CyberRazzer and TradEmArk (for a change on the Source)
Code:
if (NoReload ==1)
			{
			if(GetAsyncKeyState('r' || 'R') &0x8000)
			{
			if ( *(INT*)(Playerx+OFS_WEAPONSTATE) == *(INT*)(ADR_WEAPONSTATERELOAD) )
			{
			*(FLOAT*)(Playerx+OFS_NORELOAD) = 1.0F;
			}
			}
			}
Have Fun.
Code:
SHORT WINAPI GetAsyncKeyState(
  __in  int vKey
);
Du rufst folgendes auf: GetAsyncKeyState('r' || 'R')

Eine nähere Betrachtung des gegebenen Wertes für vKey sieht so aus:
(1) 'r' || 'R' wird interpretiert als 'r' != 0 || 'R' != 0
(2) Diese Aussage ist in jedem Fall äquivalent zu true || true und ist somit true.
(3) Hier wird zu int gecastet. vKey ist also exakt 1.
(4) Laut [Only registered and activated users can see links. Click Here To Register...] entspricht dieser Wert in der Funktion einem Tastendruck der Linken Maustaste.
(5) Dein if-Ausdruck enthält also: GetAsyncKeyState(VK_LBUTTON) & 0x8000. Es wird also geprüft, ob die Linke Maustaste soeben gedrückt wurde.
(6) Was du eigentlich meintest, ist: GetAsyncKeyState('r') & 0x8000. Es ist vollkommen irrelevant, ob man 'r' oder 'R' nimmt - Man bekommt bei beiden das selbe Ergebnis. Und wenn du es mit 2 verschiedenen möglichen Hotkeys machen willst, dann lautet dein Ausdruck (GetAsyncKeyState(FIRST_KEY) & 0x8000) || (GetAsyncKeyState(SECOND_KEY) & 0x8000).
01/29/2012 14:11 xxfabbelxx#6368
Quote:
Originally Posted by Angel-Piece View Post
da...
merci

#Wallclimb added
01/29/2012 22:40 xBioK1ngz#6369
Quote:
Originally Posted by __underScore View Post
Code:
SHORT WINAPI GetAsyncKeyState(
  __in  int vKey
);
Du rufst folgendes auf: GetAsyncKeyState('r' || 'R')

Eine nähere Betrachtung des gegebenen Wertes für vKey sieht so aus:
(1) 'r' || 'R' wird interpretiert als 'r' != 0 || 'R' != 0
(2) Diese Aussage ist in jedem Fall äquivalent zu true || true und ist somit true.
(3) Hier wird zu int gecastet. vKey ist also exakt 1.
(4) Laut [Only registered and activated users can see links. Click Here To Register...] entspricht dieser Wert in der Funktion einem Tastendruck der Linken Maustaste.
(5) Dein if-Ausdruck enthält also: GetAsyncKeyState(VK_LBUTTON) & 0x8000. Es wird also geprüft, ob die Linke Maustaste soeben gedrückt wurde.
(6) Was du eigentlich meintest, ist: GetAsyncKeyState('r') & 0x8000. Es ist vollkommen irrelevant, ob man 'r' oder 'R' nimmt - Man bekommt bei beiden das selbe Ergebnis. Und wenn du es mit 2 verschiedenen möglichen Hotkeys machen willst, dann lautet dein Ausdruck (GetAsyncKeyState(FIRST_KEY) & 0x8000) || (GetAsyncKeyState(SECOND_KEY) & 0x8000).
Gute Erklärung, aber er braucht es sowieso nicht, den er hat doch den State Check ..
Code:
if ( *(INT*)(Playerx+OFS_WEAPONSTATE) == *(INT*)(ADR_WEAPONSTATERELOAD) )
01/30/2012 00:43 SiroSkill#6370
Auto Ammo, AutoRepair, AutoMedic for nomenu ???
01/30/2012 04:17 Raz9r#6371
Quote:
Originally Posted by xBioK1ngz View Post
Gute Erklärung, aber er braucht es sowieso nicht, den er hat doch den State Check ..
Code:
if ( *(INT*)(Playerx+OFS_WEAPONSTATE) == *(INT*)(ADR_WEAPONSTATERELOAD) )
Dennoch ist es fehlerhaft und lächerlich, so etwas zu posten. Wenn man nicht einmal die Basics versteht, sollte man es besser gleich lassen - und meine Erklärung ist in dem Wissen, dass er nichts weiß, formuliert als wisse er nichts.

Das Einzige, das mich davon abhält häufiger als derzeit hier etwas zu veröffentlichen ist ebendiese Tatsache, dass es nicht nur er ist, der nicht versteht.

Die Leute, die hier auf e*pvp und auch gelegentlich in dieser Diskussion beteiligt sind - und etwas wissen, sind Yazzn und ToxicData, wobei letzterer in Vergleich weniger gut im Bereich "Virtual Memory Modification", dafür aber umso besser in der Programmierung an sich ist.

Solange sich das nicht ändert, ist es auch weiterhin nötig, dass ein solches fachspezifisches Thema überhaupt eingreifend moderiert werden muss.
01/30/2012 15:08 __BuRn3R#6372
#request scrollbar for menu :D
01/30/2012 17:32 brent1995#6373
Quote:
Originally Posted by _BuRn3R_ View Post
#request scrollbar for menu :D
Seriously?
I have a feeling almost no one on this site has a clue what they are doing..
01/30/2012 18:51 xBioK1ngz#6374
was für ein breakpoint muss man setzt für 1x NOP ??
01/31/2012 22:04 Vendetta'#6375
main.cpp von TradEmArk !

Code:
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <wininet.h>
#include "xColor.h"
#include "xMenu.h"
#include "xAddys.h"
#include "xMain.h"
#include "xDetour.h"
#include "xDetour2.h"
#include "xBreakpoint.h"
#include "xStruct.h"
#include "targetever.h"
#include "VTable.h"
#include "xDumpProtection.h"
#include "xAntiRev.h"
#include "xDefines.h"
#include "xPatch.h"
#include "xLog.h"
#include "xGUIDTech.h"
#include "xCrypt.h"
#include "xWeaponBinder.h"
#include "xBypass.h"
#include <fstream>
#include <d3d9.h>
#include <d3dx9.h>
#include <time.h>
using namespace std;
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "D3DX9.LIB")
D3D9Menu *Base = NULL;
ModuleBase* Module;
ID3DXFont * _FontDevice;
LPDIRECT3DTEXTURE9 aRed,aGreen,aBlue,aYellow,aPurple,aPink,aOrange,aGrey,aCyan,aBlack,aWhite;
LPDIRECT3DVERTEXBUFFER9 Stream;
UINT OffsetInBytes;
UINT Offset = 0;
UINT m_Stride;
bool Color = true;
BYTE EndSceneOpCodes[7],DrawIndexedPrimiveOpCodes[7];
BYTE PresenOpCodes[7],ResetOpCodes[7];
BOOL AimbotInitialised = FALSE;
BOOL InitAimBot = FALSE;
D3DVIEWPORT9 viewPort;
D3DXVECTOR3 vOrthoLocation;
D3DXMATRIX projection, view, world, identity;
D3DXVECTOR3 *GetScreenCoordFromWorld( IDirect3DDevice9 *pDevice, D3DXVECTOR3 &vScreenCoord, D3DXVECTOR3 vWorldLocation )
{
if( !pDevice ) return NULL;

pDevice->GetTransform( D3DTS_VIEW, &view );
pDevice->GetTransform( D3DTS_PROJECTION, &projection );
pDevice->GetTransform( D3DTS_WORLD, &world );
pDevice->GetViewport( &viewPort );
D3DXMatrixIdentity( &identity );

D3DXVec3Project( &vScreenCoord, &vWorldLocation, &viewPort, &projection, &view, &identity );

if(vScreenCoord.z < 1)
{
return &vScreenCoord;
}   
return NULL;
}
float xMenu = 12;
float yMenu = 10;
bool Create;
bool IngameMessage = true;


  HRESULT __stdcall xRebuildMenu()
  {
   Base->AddFolder(Decrypt_text (/*Settings*/ "`rv{t€"),OpenClose,&SETTINGSFOLDER,2);
   if(SETTINGSFOLDER)
   {
    Base->AddItem(Decrypt_text (/*Anti Party Program*/ "N{v-]n†-]|tnz"),OnOff,&AntiPartyProgram,2);
    Base->AddItem(Decrypt_text (/*Enable Bypass*/ "R{noyr-O†}n€€"),OnOff,&BypassX1,2);
    Base->AddCategory(Decrypt_text (/*Change Menu Colors*/ "Pun{tr-Zr{‚-P|y|€"),OnOff,&ChangeMenuColors,2);
    if(ChangeMenuColors)
    {
    Base->AddItem(Decrypt_text (/*BackGround Color*/ "OnpxT|‚{q-P|y|"),MColor,&MenuColor,5);
    Base->AddItem(Decrypt_text (/*Box Color*/ "O|…-P|y|"),MColor,&BoxColor,5);
    }
   }
   Base->AddFolder(Decrypt_text (/*D3D Hacks*/ "Q@Q-Unpx€"),OpenClose,&D3DFOLDER,2);
            if(D3DFOLDER)
   {
    Base->AddItem(Decrypt_text (/*D3D Hook*/ "Q@Q-U||x"),OnOff, &nEnable,2);
    Base->AddItem(Decrypt_text (/*Chams A*/ "Punz€-N"),Colors, &nColorA,10);
    Base->AddItem(Decrypt_text (/*Chams B*/ "Punz€-O"),Colors, &nColorB,10);
    Base->AddItem(Decrypt_text (/*WireFrame*/ "dvrSnzr"),OnOff,&WireFrame,2);
    Base->AddItem(Decrypt_text (/*PointMode*/ "]|v{Z|qr"),OnOff,&PointMode,2);
    Base->AddItem(Decrypt_text (/*WallHack*/ "dnyyUnpx"),OnOff, &x_WallHack,2);
    Base->AddItem(Decrypt_text (/*WallColor*/ "dnyyP|y|"),WallColor1, &WallColor,4);
    Base->AddItem(Decrypt_text (/*FullBright*/ "S‚yyOvtu"),OnOff, &x_FullBright,2);
    Base->AddItem(Decrypt_text (/*CrossHair*/ "P|€€Unv"),Colors2, &nCross,10);
    Base->AddItem(Decrypt_text (/*NoFog*/ "[|S|t"), OnOff, &x_NoFog,2);
    Base->AddItem(Decrypt_text (/*GlassWalls*/ "Tyn€€dnyy€"),OnOff,&x_GlassWall,2);
   }
   Base->AddFolder(Decrypt_text (/*AimBot Hacks*/ "NvzO|-Unpx€"),OpenClose,&AIMBOTFOLDER,2);
   if(AIMBOTFOLDER)
   {
    Base->AddItem(Decrypt_text (/*AimBot*/ "NvzO|"),OnOff,&AimBot,2);
    Base->AddItem(Decrypt_text (/*AimKey*/ "NvzXr†"),CV_AIMKEY,&AimKey,4);
    Base->AddItem(Decrypt_text (/*AimType*/ "Nvza†}r"),CV_AIMMODE,&AimType,3);
    Base->AddItem(Decrypt_text (/*Enemy Only*/ "R{rz†-\{y†"),OnOff,&AimEnemy,2);
    Base->AddItem(Decrypt_text (/*See Down*/ "`rr-Q|„{"),OnOff,&SeeDown,2);
   }
   Base->AddFolder(Decrypt_text (/*ESP/GPS Hacks*/ "R`]<T]`-Unpx€"),OpenClose,&ESPFOLDER,2);
   if(ESPFOLDER)
   {
    Base->AddItem(Decrypt_text (/*ESP - Enable*/ "R`]-:-R{noyr"),OnOff,&EspOnOff,2);
    Base->AddItem(Decrypt_text (/*ESP - Enemy Only*/ "R`]-:-R{rz†-\{y†"),OnOff,&EspEnemysOnly,2);
    Base->AddItem(Decrypt_text (/*ESP - Name*/ "R`]-:-[nzr"),OnOff,&NameEsp,2);
    Base->AddItem(Decrypt_text (/*ESP - Team*/ "R`]-:-arnz"),OnOff,&TeamEsp,2);
    Base->AddItem(Decrypt_text (/*ESP - Premium*/ "R`]-:-]rzv‚z"),OnOff,&PremiumEsp,2);
    Base->AddItem(Decrypt_text (/*ESP - Health*/ "R`]-:-Urnyu"),OnOff,&HealthEsp,2);
    Base->AddItem(Decrypt_text (/*ESP - Ping*/ "R`]-:-]v{t"),OnOff,&PingEsp,2); 
    Base->AddItem(Decrypt_text (/*ESP - Flags*/ "R`]-:-Synt€"),OnOff,&FlagsEsp,2);
    Base->AddItem(Decrypt_text (/*ESP - Kills*/ "R`]-:-Xvyy€"),OnOff,&KillsEsp,2);
    Base->AddItem(Decrypt_text (/*ESP - Deaths*/ "R`]-:-Qrnu€"),OnOff,&DeathEsp,2);
    Base->AddItem(Decrypt_text (/*ESP - Class*/ "R`]-:-Pyn€€"),OnOff,&ClassEsp,2);
   }
   Base->AddFolder(Decrypt_text (/*Player Hacks*/ "]yn†r-Unpx€"),OpenClose,&PLAYERFOLDER,2);
            if(PLAYERFOLDER)
   {
    Base->AddItem(Decrypt_text (/*PlayerOPK*/ "]yn†r\]X"), OnOff, &PlayerOPK,2);
    Base->AddItem(Decrypt_text (/*DeadSpinner*/ "Qrnq`}v{{r"), OnOff, &Deadspinner,2);
    Base->AddItem(Decrypt_text (/*Quick Ladder Up*/ "^‚vpx-Ynqqr-b}"), OnOff, &QuickLadderUp,2);
    Base->AddItem(Decrypt_text (/*Super Explosion*/ "`‚}r-R…}y|€v|{"), OnOff, &SuperExplosion,2);
    Base->AddItem(Decrypt_text (/*Moon Jump*/ "Z||{-W‚z}"),OnOff,&MoonJump,2);
    Base->AddItem(Decrypt_text (/*Super Jump*/ "`‚}r-W‚z}"), OnOff, &SuperJump,2);
    Base->AddItem(Decrypt_text (/*No Fall Damage*/ "[|-Snyy-Qnzntr"), OnOff, &NFD,2);
    Base->AddItem(Decrypt_text (/*Speed*/ "`}rrq"), setSpeed, &Speed,4);
    Base->AddItem(Decrypt_text (/*Stamina*/ "`nzv{n"),OnOff,&Stamina,2);
    Base->AddItem(Decrypt_text (/*NoBounds*/ "[|O|‚{q€"),OnOff,&NoBounds,2);
    Base->AddItem(Decrypt_text (/*NoSpawnWait*/ "[|`}n„{dnv"),OnOff,&NoSpawnWait,2);
    Base->AddItem(Decrypt_text (/*W.T.W.*/ "d;a;d;"),OnOff,&WTW,2);
    Base->AddItem(Decrypt_text (/*W.T.H.*/ "d;a;U;"),OnOff,&WTH,2);
    Base->AddItem(Decrypt_text (/*Self Kill*/ "`rys-Xvyy"),OnOff,&Selfkill,2);
    Base->AddItem(Decrypt_text (/*Dig undermap*/ "Qvt-‚{qrzn}"),OnOff,&Dig,2);
    Base->AddItem(Decrypt_text (/*LowGravity*/ "Y|„Tnƒv†"),OnOff,&LowGravity,2);
    Base->AddItem(Decrypt_text (/*D3DPlayerView*/ "Q@Q]yn†rcvr„"),OnOff,&D3DPlayerView,2);
    Base->AddItem(Decrypt_text (/*Auto Repair*/ "N‚|-_r}nv"),OnOff,&AutoRepair,2);
    Base->AddItem(Decrypt_text (/*CQCProne*/ "P^P]|{r"),OnOff,&CQCProne,2);
    Base->AddItem(Decrypt_text (/*Invisible*/ "V{ƒv€voyr"),OnOff,&Invisible,2);
   }
   Base->AddFolder(Decrypt_text (/*Weapon Hacks*/ "drn}|{-Unpx€"),OpenClose,&WEAPONFOLDER,2);
   if(WEAPONFOLDER)
   {
    Base->AddItem(Decrypt_text (/*NoReload*/ "[|_ry|nq"), OnOff, &NoReload,2);
    Base->AddItem(Decrypt_text (/*NoDelay*/ "[|Qryn†"), OnOff, &NoDelay,2);
    Base->AddItem(Decrypt_text (/*NoRecoil*/ "[|_rp|vy"), OnOff, &NoRecoil,2);
    Base->AddItem(Decrypt_text (/*SuperNoSpread*/ "`‚}r[|`}rnq"), OnOff, &SuperNoSpread,2);
    Base->AddItem(Decrypt_text (/*NoSpread*/ "[|`}rnq"), OnOff, &NoSpread,2);
    Base->AddItem(Decrypt_text (/*BoneShot*/ "O|{r`u|"), OnOff, &BoneShot,2);
    Base->AddItem(Decrypt_text (/*BreakLimit*/ "OrnxYvzv"), OnOff, &BreakLimit,2);
    Base->AddItem(Decrypt_text (/*Fast Lock On*/ "Sn€-Y|px-\{"), OnOff, &FastLockOn,2);
    Base->AddItem(Decrypt_text (/*Fast Nade Blast*/ "Sn€-[nqr-Oyn€"), OnOff, &FastNadeBlast,2);
    Base->AddItem(Decrypt_text (/*Crazy Nade*/ "Pn‡†-[nqr"),OnOff,&CrazyNade,2);
    Base->AddItem(Decrypt_text (/*S.T.W.*/ "`;a;d;"),OnOff, &STW,2);
    Base->AddItem(Decrypt_text (/*Unlimited Ammo*/ "b{yvzvrq-Nzz|"),OnOff,&UnlAmmo,2);  
   }
   Base->AddFolder(Decrypt_text (/*Weapon Binder*/ "drn}|{-Ov{qr"),OpenClose,&WBINDERFOLDER,2);
   if(WBINDERFOLDER)
   {
    Base->AddItem(Decrypt_text (/*Choose Class*/ "Pu||€r-Pyn€€"), pClass, &var[1], 6);
    Base->AddItem(Decrypt_text (/*Slot 1*/ "`y|->"), WeaponArray, &var[2], 2003);
    Base->AddItem(Decrypt_text (/*Slot 2*/ "`y|-?"), WeaponArray, &var[3], 2003);
    Base->AddItem(Decrypt_text (/*Slot 3*/ "`y|-@"), WeaponArray, &var[4], 2003);
    Base->AddItem(Decrypt_text (/*Slot 4*/ "`y|-A"), WeaponArray, &var[5], 2003);
    Base->AddItem(Decrypt_text (/*Slot 5*/ "`y|-B"), WeaponArray, &var[6], 2003);
    Base->AddItem(Decrypt_text (/*Slot 6*/ "`y|-C"), WeaponArray, &var[7], 2003);
    Base->AddItem(Decrypt_text (/*Slot 7*/ "`y|-D"), WeaponArray, &var[8], 2003);
    Base->AddItem(Decrypt_text (/*Slot 8*/ "`y|-E"), WeaponArray, &var[9], 2003);
   }
   Base->AddFolder(Decrypt_text (/*Server Hacks*/ "`rƒr-Unpx€"),OpenClose,&SERVERFOLDER,2);
   if(SERVERFOLDER)
   {
    Base->AddItem(Decrypt_text (/*Enable 5. Slot*/ "R{noyr-B;-`y|"), OnOff, &SLOT5,2);
    Base->AddItem(Decrypt_text (/*Enable 6. Slot*/ "R{noyr-C;-`y|"), OnOff, &SLOT6,2);
    Base->AddItem(Decrypt_text (/*Enable 7. Slot*/ "R{noyr-D;-`y|"), OnOff, &SLOT7,2);
    Base->AddItem(Decrypt_text (/*Enable 8. Slot*/ "R{noyr-E;-`y|"), OnOff, &SLOT8,2);
    Base->AddItem(Decrypt_text (/*GM Warning*/ "TZ-dn{v{t"),setGM,&GMWarning,2);
   }
   Base->AddFolder(Decrypt_text (/*Zombie Hacks*/ "g|zovr-Unpx€"),OpenClose,&ZOMBIEFOLDER,2);
   if(ZOMBIEFOLDER)
   {
    Base->AddItem(Decrypt_text (/*Zombie OPK*/ "g|zovr-\]X"),setZOPK, &ZombieOPK,2);
   }
   Base->AddFolder(Decrypt_text (/*User Hacks*/ "b€r-Unpx€"),OpenClose,&USERFOLDER,2);
   if(USERFOLDER)
   {
    Base->AddCategory(Decrypt_text (/*Select User*/ "`ryrp-b€r"),setUser, &SelectUser,33);
    if(SelectUser)
    {
    Base->AddItem(Decrypt_text (/*Kill User*/ "Xvyy-b€r"),OnOff, &KillUser,2);
    Base->AddItem(Decrypt_text (/*Follow User*/ "S|yy|„-b€r"),OnOff, &FollowUser,2);
    }
   }
   Base->AddFolder(Decrypt_text (/*Fast Hacks*/ "Sn€-Unpx€"),OpenClose,&FASTFOLDER,2);
   if(FASTFOLDER)
   {
    Base->AddItem(Decrypt_text (/*Fast Ammo*/ "Sn€-Nzz|"), OnOff, &FastAmmo,2);
    Base->AddItem(Decrypt_text (/*Fast Health*/ "Sn€-Urnyu"), OnOff, &FastHealth,2);
    Base->AddItem(Decrypt_text (/*Fast Flag*/ "Sn€-Synt"), OnOff, &FastFlag,2);
    Base->AddItem(Decrypt_text (/*Fast Repair*/ "Sn€-_r}nv"), OnOff, &FastRepair,2);
   }
   Base->AddFolder(Decrypt_text (/*Teleport Hacks*/ "aryr}|-Unpx€"),OpenClose,&TPFOLDER,2);
   if(TPFOLDER)
   {
    Base->AddItem(Decrypt_text (/*Dotonbori A*/ "Q||{o|v-N"), F5, &DotonboriA,2);
    Base->AddItem(Decrypt_text (/*Dotonbori B*/ "Q||{o|v-O"), F6, &DotonboriB,2);
    Base->AddItem(Decrypt_text (/*Marien A*/ "Znvr{-N"), F5, &MarienA,2);
    Base->AddItem(Decrypt_text (/*Marien B*/ "Znvr{-O"), F6, &MarienB,2);
    Base->AddItem(Decrypt_text (/*Velruf A*/ "cry‚s-N"), F5, &VelrufA,2);
    Base->AddItem(Decrypt_text (/*Velruf B*/ "cry‚s-O"), F6, &VelrufB,2);
    Base->AddItem(Decrypt_text (/*Bloc A*/ "Oy|p-N"), F5, &BlocA,2);
    Base->AddItem(Decrypt_text (/*Bloc B*/ "Oy|p-O"), F6, &BlocB,2);
    Base->AddItem(Decrypt_text (/*Khali A*/ "Xunyv-N"), F5, &KhaliA,2);
    Base->AddItem(Decrypt_text (/*Khali B*/ "Xunyv-O"), F6, &KhaliB,2);
    Base->AddItem(Decrypt_text (/*Xauen A*/ "en‚r{-N"), F5, &XauenA,2);
    Base->AddItem(Decrypt_text (/*Xauen B*/ "en‚r{-O"), F6, &XauenB,2);
    Base->AddItem(Decrypt_text (/*Khyber A*/ "Xu†or-N"), F5, &KhyberA,2);
    Base->AddItem(Decrypt_text (/*Khyber B*/ "Xu†or-O"), F6, &KhyberB,2);
    Base->AddItem(Decrypt_text (/*Artifact A*/ "Nvsnp-N"), F5, &ArtifactA,2);
    Base->AddItem(Decrypt_text (/*Artifact B*/ "Nvsnp-O"), F6, &ArtifactB,2);
    Base->AddItem(Decrypt_text (/*Beringia A*/ "Orv{tvn-N"), F5, &BeringiaA,2);
    Base->AddItem(Decrypt_text (/*Beringia B*/ "Orv{tvn-O"), F6, &BeringiaB,2);
    Base->AddItem(Decrypt_text (/*Decay A*/ "Qrpn†-N"), F5, &DecayA,2);
    Base->AddItem(Decrypt_text (/*Decay B*/ "Qrpn†-O"), F6, &DecayB,2);
   }
   Base->AddFolder(Decrypt_text (/*Bot Hacks*/ "O|-Unpx€"),OpenClose,&BOTFOLDER,2);
   if(BOTFOLDER)
   {
    Base->AddItem(Decrypt_text (/*Auto Start / Ready*/ "N‚|-`n-<-_rnq†"),OnOff, &AutoStart,2);
    Base->AddItem(Decrypt_text (/*Quick Plant*/ "^‚vpx-]yn{"),OnOff, &QuickPlant,2);
    Base->AddItem(Decrypt_text (/*Quick Defuse*/ "^‚vpx-Qrs‚€r"), OnOff, &QuickDefuse,2);
    Base->AddItem(Decrypt_text (/*Plant Any Where*/ "]yn{-N{†-durr"), OnOff, &PAD,2);
    Base->AddItem(Decrypt_text (/*Defuse Any Where*/ "Qrs‚€r-N{†-durr"), OnOff, &DAW,2);
    Base->AddItem(Decrypt_text (/*Auto Bomb*/ "N‚|-O|zo"), OnOff, &AutoBomb,2);
    Base->AddItem(Decrypt_text (/*Auto Nipper*/ "N‚|-[v}}r"), OnOff, &AutoNipper,2);
    Base->AddItem(Decrypt_text (/*Auto Plant*/ "N‚|-]yn{"),OnOff,&AutoPlant,2);
    Base->AddItem(Decrypt_text (/*Auto Defuse*/ "N‚|-Qrs‚€r"),OnOff,&AutoDefuse,2);
    Base->AddItem(Decrypt_text (/*Anti AFK Kick*/ "N{v-NSX-Xvpx"),OnOff, &AntiAFK,2);
   }
   return TRUE;
  }

float fFps = NULL;
float fLastTickCount = NULL;
float fCurrentTickCount;
char  cFrameRate[50] = {NULL};

int xTime5;
int xTime4;
int xTime3;
int xTime2;
int xTime1;


char *GetFrameRate()
{
    fCurrentTickCount = clock() * 0.001f;
    ++fFps;
    if((fCurrentTickCount - fLastTickCount) > 1.0f)
    {
        fLastTickCount = fCurrentTickCount;
  sprintf( cFrameRate, "FPS: %d", int( fFps ) );
        fFps = 0;
    }
    return cFrameRate;

}   void D3D9Menu::Boarders(LPDIRECT3DDEVICE9 pDevice,ID3DXFont* _FontDevice, float x, float y)
  {
   DrawBox(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,GREY);
   DrawRectangle(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,1,mBLACK);
   if(MenuColor == 0){
   DrawBox(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,GREY);}
   if(BoxColor == 0){
   DrawRectangle(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,1,mBLACK);}
   if(MenuColor == 1){
   DrawBox(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,BLUE2);}
   if(BoxColor == 1){
   DrawRectangle(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,1,BLUE);}
   if(MenuColor == 2){
   DrawBox(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,RED2);}
   if(BoxColor == 2){
   DrawRectangle(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,1,RED);}
   if(MenuColor == 3){
   DrawBox(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,CYAN2);}
   if(BoxColor == 3){
   DrawRectangle(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,1,CYAN);}
   if(MenuColor == 4){
   DrawBox(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,GREEN2);}
   if(BoxColor == 4){
   DrawRectangle(pDevice,4,10,Mxofs+25,Mmax*Mysize+40,1,GREEN);}
   //if(xTime5 == 1){DrawTextC(999,800,RED,"Trial Version - [5] - Minutes Remaining",_FontDevice);}
   /*if(xTime5 == 1){*/DrawTextC(999,800,RED,"Full Version - www.CyberCheatz.com",_FontDevice);/*}*/
   if(xTime4 == 1){DrawTextC(999,800,RED,"Trial Version - [4] - Minutes Remaining",_FontDevice);}
   if(xTime3 == 1){DrawTextC(999,800,RED,"Trial Version - [3] - Minutes Remaining",_FontDevice);}
   if(xTime2 == 1){DrawTextC(999,800,RED,"Trial Version - [2] - Minutes Remaining",_FontDevice);}
   if(xTime1 == 1){DrawTextC(999,800,RED,"Trial Version - [1] - Minute Remaining",_FontDevice);}
   if(xTime5 == 0){DrawTextC(999,800,RED,"",_FontDevice);}
   if(xTime4 == 0){DrawTextC(999,800,RED,"",_FontDevice);}
   if(xTime3 == 0){DrawTextC(999,800,RED,"",_FontDevice);}
   if(xTime2 == 0){DrawTextC(999,800,RED,"",_FontDevice);}
   if(xTime1 == 0){DrawTextC(999,800,RED,"",_FontDevice);}
   DrawTextL(x+4,Mmax*Mysize+35,WHITE,GetFrameRate(), _FontDevice);
   DrawTextL(x+74,Mmax*Mysize+35,YELLOW,Decrypt_text (/*By TradEmArk*/ "O†-anqRzNx"),_FontDevice);
   if(SelectUser){Boarders2(pDevice, _FontDevice);}

  }
 void D3D9Menu::Boarders2(LPDIRECT3DDEVICE9 pDevice,ID3DXFont* _FontDevice)
 {
 DrawBox(pDevice,200,10,170,55,GREY);
 DrawRectangle(pDevice,200,10,170,55 ,1, mBLACK);
 DrawTextC(285,10,RED,Decrypt_text (/*User Infos*/ "b€r-V{s|€"),_FontDevice);
 DrawTextC(285,30,WHITE,UserNameMenu,_FontDevice);
 DrawTextC(285,50,WHITE,UserIPMenu,_FontDevice);
 }

void x_Player()
{
 DWORD PTR_PLAYER = *(DWORD*)PTR_PLAYERPTR;
 DWORD PTR_SERVER = *(DWORD*)PTR_SERVERPTR;
 if(PTR_PLAYER  != 0)
 {


 if(SuperNoSpread)
{
*(double*)MEM_SUPERNOSPREAD = 0;
}
else
{
*(double*)MEM_SUPERNOSPREAD = 5;
}
 
if ( AutoRepair )
  {
   if ( *(DWORD*)(PTR_PLAYER+PlayerAnimation) == *(DWORD*)(PlayerAnimationVehicle) )
   {
    *(BYTE*)(ADR_AUTOREPAIR) = 1;
    *(FLOAT*)(ADR_FASTREPAIR) = 14;
   }
  }


if( SuperExplosion )
{
*(float*)(ADR_SuperExplosion) = 400.0f;
}
else
{
*(float*)(ADR_SuperExplosion) = 3.7e-1;
}

  if(DotonboriA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 5745.638184;
   *(float*)(PTR_PLAYER + OFS_Y) = 8136.030273;
   *(float*)(PTR_PLAYER + OFS_Z) = 193.862152;
  }
 }
/////////////////////////////////////////////////////
if(DotonboriB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 4643.898926;
   *(float*)(PTR_PLAYER + OFS_Y) = 5909.547852;
   *(float*)(PTR_PLAYER + OFS_Z) = 204.022903;
  }
 }
/////////////////////////////////////////////////////
if(MarienA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 3653.894531;
   *(float*)(PTR_PLAYER + OFS_Y) = 2495.826416;
   *(float*)(PTR_PLAYER + OFS_Z) = 62.702488;
  }
 }
/////////////////////////////////////////////////////
if(MarienB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2666.574219;
   *(float*)(PTR_PLAYER + OFS_Y) = 3485.433105;
   *(float*)(PTR_PLAYER + OFS_Z) = 62.702488;
  }
 }
/////////////////////////////////////////////////////
if(CadoroA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 1957.290161;
   *(float*)(PTR_PLAYER + OFS_Y) = 2391.639648;
   *(float*)(PTR_PLAYER + OFS_Z) = 262.748016;
  }
 }
/////////////////////////////////////////////////////
if(CadoroB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2996.580566;
   *(float*)(PTR_PLAYER + OFS_Y) = 3690.143066;
   *(float*)(PTR_PLAYER + OFS_Z) = 280.124786;
  }
 }
/////////////////////////////////////////////////////
if(VelrufA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2941.710938;
   *(float*)(PTR_PLAYER + OFS_Y) = 4006.549561;
   *(float*)(PTR_PLAYER + OFS_Z) = 177.879547;
  }
 }
/////////////////////////////////////////////////////
if(VelrufB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2385.072510;
   *(float*)(PTR_PLAYER + OFS_Y) = 3492.060791;
   *(float*)(PTR_PLAYER + OFS_Z) = 200.987244;
  }
 }
/////////////////////////////////////////////////////
if(BlocA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2855.690674;
   *(float*)(PTR_PLAYER + OFS_Y) = 2596.960938;
   *(float*)(PTR_PLAYER + OFS_Z) = 287.452393;
  }
 }
/////////////////////////////////////////////////////
if(BlocB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2855.631836;
   *(float*)(PTR_PLAYER + OFS_Y) = 2841.132568;
   *(float*)(PTR_PLAYER + OFS_Z) = 622.006958;
  }
 }
/////////////////////////////////////////////////////
if(KhaliA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 3638.498291;
   *(float*)(PTR_PLAYER + OFS_Y) = 4668.644531;
   *(float*)(PTR_PLAYER + OFS_Z) = 942.701416;
  }
 }
/////////////////////////////////////////////////////
if(KhaliB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 4666.466309;
   *(float*)(PTR_PLAYER + OFS_Y) = 4580.945313;
   *(float*)(PTR_PLAYER + OFS_Z) = 913.796631;
  }
 }
/////////////////////////////////////////////////////
if(XauenA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 3542.612305;
   *(float*)(PTR_PLAYER + OFS_Y) = 3514.294434;
   *(float*)(PTR_PLAYER + OFS_Z) = 218.159256;
  }
 }
/////////////////////////////////////////////////////
if(XauenB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 4222.146973;
   *(float*)(PTR_PLAYER + OFS_Y) = 4240.328125;
   *(float*)(PTR_PLAYER + OFS_Z) = 201.859665;
  }
 }
/////////////////////////////////////////////////////
if(KhyberA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 3834.090088;
   *(float*)(PTR_PLAYER + OFS_Y) = 2687.793457;
   *(float*)(PTR_PLAYER + OFS_Z) = 36.671398;
  }
 }
/////////////////////////////////////////////////////
if(KhyberB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 4344.426758;
   *(float*)(PTR_PLAYER + OFS_Y) = 3644.459229;
   *(float*)(PTR_PLAYER + OFS_Z) = 117.970886;
  }
 }
/////////////////////////////////////////////////////
if(ArtifactA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2976.223633;
   *(float*)(PTR_PLAYER + OFS_Y) = 3182.355469;
   *(float*)(PTR_PLAYER + OFS_Z) = -3.568463;
  }
 }
/////////////////////////////////////////////////////
if(ArtifactB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2450.996338;
   *(float*)(PTR_PLAYER + OFS_Y) = 3358.174072;
   *(float*)(PTR_PLAYER + OFS_Z) = 128.944641;
  }
 }
/////////////////////////////////////////////////////
if(BeringiaA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 4065.145996;
   *(float*)(PTR_PLAYER + OFS_Y) = 3789.231201;
   *(float*)(PTR_PLAYER + OFS_Z) = 554.373230;
  }
 }
/////////////////////////////////////////////////////
if(BeringiaB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 3061.874756;
   *(float*)(PTR_PLAYER + OFS_Y) = 3644.541504;
   *(float*)(PTR_PLAYER + OFS_Z) = 410.848785;
  }
 }
/////////////////////////////////////////////////////
if(KaraqumA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2410.851074;
   *(float*)(PTR_PLAYER + OFS_Y) = 3254.205322;
   *(float*)(PTR_PLAYER + OFS_Z) = 1434.785034;
  }
 }
/////////////////////////////////////////////////////
if(KaraqumB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2956.465820;
   *(float*)(PTR_PLAYER + OFS_Y) = 4352.144043;
   *(float*)(PTR_PLAYER + OFS_Z) = 1481.444946;
  }
 }
/////////////////////////////////////////////////////
if(DecayA)
{
  if (GetAsyncKeyState(VK_F5)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 2678.036865;
   *(float*)(PTR_PLAYER + OFS_Y) = 3512.164551;
   *(float*)(PTR_PLAYER + OFS_Z) = 6.123757;
  }
 }
/////////////////////////////////////////////////////
if(DecayB)
{
  if (GetAsyncKeyState(VK_F6)&1)
  {
   *(float*)(PTR_PLAYER + OFS_X) = 3654.477051;
   *(float*)(PTR_PLAYER + OFS_Y) = 2941.200195;
   *(float*)(PTR_PLAYER + OFS_Z) = 129.354630;
  }
 }
/////////////////////////////////////////////////////

if( GMWarning == 1 )
{
char *gmname=(char *) (MEM_GMWARNING);
if (strlen(gmname)>2) {
char gmwarn[333];
sprintf(gmwarn, "Warning: %s » is in this Room.", MEM_GMWARNING);
}
}

if (g_pBase->pLocal) 
{
if ( ZombieOPK ) /*Light House*/
{
for(int i = 4; i < 32; i++)
{
CPlayer* pPlayer = g_pBase->pGlobal[i];
pPlayer->PosX=3318.81;
pPlayer->PosY=16.93;
pPlayer->PosZ=3148.48;
}
}
}

if ( PlayerOPK ) 
{
if (PTR_PLAYER != 0 && PTR_SERVER != 0)
for(int i = 0; i < 32; i++)
{
*(float*)(PTR_PLAYER + OFS_X) =0 ;
*(float*)(PTR_PLAYER+ OFS_Y) =0 ;
*(float*)ADR_NOBOUNDS1 = 0;
*(float*)ADR_NOBOUNDS2 = 0;
*(float*)ADR_NOBOUNDS3 = 0;
*(int*)(PTR_PLAYER + OFS_NFD) = -99999999;
CPlayer* pPlayerA = p_Player->pGlobal[i];    
pPlayerA->PosX=0;
pPlayerA->PosY=0;
pPlayerA->PosZ=0;
}
}

if( NoRecoil )
{
if(PTR_PLAYER != 0)
{
*(float*)(PTR_PLAYER + OFS_NORECOIL1) = 0;
*(float*)(PTR_PLAYER + OFS_NORECOIL2) = 0;
*(float*)(PTR_PLAYER + OFS_NORECOIL3) = 0;
}
}

if( NoSpread )
{
*(float*)(PTR_PLAYER+OFS_NOSPREAD) = 1;
}
else
{
*(float*)(PTR_PLAYER+OFS_NOSPREAD) = 0;
}

if ( NoReload )
{
if ( *(INT*)(PTR_PLAYER+OFS_WEAPONSTATE) == *(INT*)(ADR_WEAPONSTATERELOAD) )
{
*(FLOAT*)(PTR_PLAYER+OFS_NORELOAD) = 1.0F;
}
}

if ( NoDelay )
{
if(GetAsyncKeyState(VK_LBUTTON))
{
*(DWORD*)(PTR_PLAYER+OFS_NODELAY) = -1;
}
}

if ( Deadspinner )
{
*(float*)(MEM_DEADSPINNER) = 400.0f;
}
else
{
*(float*)(MEM_DEADSPINNER) = 2.0e-2;
}

if ( QuickLadderUp )
{
*(double*)(ADR_LADDERQUICKLY) = 300;
}
else
{
*(double*)(ADR_LADDERQUICKLY) = 40;
}

if( NFD )
{
*(int*)(PTR_PLAYER + OFS_NFD) = -99999999;
}

if ( SuperJump )
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
if(PTR_PLAYER != 0)
{
*(float*)(PTR_PLAYER+OFS_Z) +=175; 
}
}
}

if( NoBounds )
{
*(float*)ADR_NOBOUNDS1 = 0;
*(float*)ADR_NOBOUNDS2 = 0;
*(float*)ADR_NOBOUNDS3 = 0;
}

if( NoSpawnWait )
{
*(float*)ADR_NOSPAWNWAIT1 = 0;
*(float*)ADR_NOSPAWNWAIT2 = 0;
}

if( Stamina )
{
*(float*)ADR_STAMINA1=1000;
*(float*)ADR_STAMINA2=0;
*(float*)ADR_STAMINA3=0;
*(float*)ADR_STAMINA4=0;
*(float*)ADR_STAMINA5=1000;
}

if( WTW )
{
*(float*)(MEM_WTW) = -999;
}
else
{
*(float*)(MEM_WTW) = 6;
}

if( GlassWalls )
{
*(int*)ADR_GLASSWALLS = 4;
}
else
{
*(int*)ADR_GLASSWALLS = 0;
}

if( BoneShot )
{
if(IsShooting())
{
*(double*)(MEM_BONESHOT) = 1235;
}
else
{
*(double*)(MEM_BONESHOT) = 1.237e3;
}
}

if( STW )
{
if(IsShooting())
{
*(float*)(MEM_STW) = 999;
}
else
{
*(float*)(MEM_STW) = 6;
}
}

if( WTH )
{
if(IsShooting())
{
*(float*)(ADR_WTH) = 10;
}
else
{
*(float*)(ADR_WTH) = 0.1;
}
}

if( AntiAFK )
{
*(float*)(ADR_ANTIAFK)=1;
}

bool bChangedValue = true;
int  oldValue;

if( CQCProne )
{
int *pProne = (int *)ADR_CQCPRONE;
if( GetAsyncKeyState('C')&1 )
{
if( bChangedValue )
{
oldValue = *pProne;
bChangedValue = false;
}
*pProne = 3;
}
else{if( !bChangedValue )
{
*pProne = oldValue;
bChangedValue = true;
}
}
}

if( UnlAmmo )
{
if(IsShooting())
{
UnlAmmoP.Patch();
}
else
{
UnlAmmoP.Restore();
}
}

if( FastLockOn )
{
*(int*) ADR_FASTLOCKON = 1;
}

if( LowGravity )
{
if(PTR_PLAYER != 0)
{
*(float*)(PTR_PLAYER+OFS_LOWGRAVITY) = 100.0f;
}
}

if( Dig )
{
if (GetAsyncKeyState(VK_MENU))
{
*(float*)(PTR_PLAYER+OFS_Z) = -2000;
}
}

if( Selfkill )
{
*(int*)(PTR_PLAYER+OFS_NFD) +=999999;
}

switch( Speed )
{
case 0:*(double*)ADR_SPEED = 97;break;
case 1:*(double*)ADR_SPEED = 145.0f;break;
case 2:*(double*)ADR_SPEED = 350.0f;break;
case 3:*(double*)ADR_SPEED..