D3D Virtual Jump - Help please

Posts 1–15 of 27 · Page 1 of 2
D3D Virtual Jump - Help please
this is in my base.cpp
Code:
if( Menu.mOpt[12].nopt > 0  )//vjump
			this->PushToConsole( "DuckDownCamOffset 800" );
		else
			this->PushToConsole( "DuckDownCamOffset 0");
this code doesn't seem to be working

this is in my menu.cpp

Code:
this->AddItemToMenu("V Jump up"       ,1,0); // this is the Menu.mOpt[12]
Virtual jump doesn't seem to be working for me .. am i doing anything wrong?
Thanks in advance,

Deathhaunts
I think your code is ok in that way you posted it =).

But i don't know how you base is coded so maybe if it proofs your menu setting twice a sec. or so you have to add a var which says that it is already enabled otherwise you would push it twice a sec what is def. not neccessary.
something like
Code:
bool vjump=false;
your code code code...

if( Menu.mOpt[12].nopt > 0 )
{
                       if(vjump==true){ptc(vjumpcommand); vjump=!vjump;}
}
If you don't want to press CTRL everytime you enabled/disabled the vjump then you have to simulate a keypress on your duck key (standard is LCTRL) google a bit for keybd_event or input a key. I think you should find a solution. =)
Quote Originally Posted by doofbla View Post
I think your code is ok in that way you posted it =).

If you don't want to press CTRL everytime you enabled/disabled the vjump then you have to simulate a keypress on your duck key (standard is LCTRL) google a bit for keybd_event or input a key. I think you should find a solution. =)
i thought i had been stupid, but it still isn't working for me, my current code at the top

^
|
|
Do you have a working VJump in your hotkey hacks?

If yes you should compare your PTC commands if they're right then its another issue in your code...

I don't know your base so i just can tell you what i think how it should look in NORMAL WORDS

Code:
Get Menu hack Status
          Proof if menu hack status is the same as your variable 
          (e.g. menu: nxchams=1  your var: nxchams=0 then you have to change your hack)
          change your variable status
Or you can do it in this way:
Code:
Proof if you Menu settings get changed since the last proof
           if it does change your hack status
           and change your variable status
Try to get it working with others like nxchams where you can see if it works.
If you got it working it shuld be easy to get this working too
Quote Originally Posted by vingadormaster View Post
[php] if(GetAsyncKeyState(VK_UP)<0){ // VJump
PushToConsole("CamMaxPosYOffset 200.000000");
PushToConsole("DuckDownCamOffSet 1000.000000");
}
if(GetAsyncKeyState(VK_DOWN)<0){ // Vdown
PushToConsole("CamMaxPosYOffset -1000.000000");
PushToConsole("DuckDownCamOffSet -13.000000");
}[/php]
Yes thats hot keys, but then how would i put that into my menu base.cpp?

Quote Originally Posted by doofbla View Post
Try to get it working with others like nxchams where you can see if it works.
If you got it working it shuld be easy to get this working too
lol my d3d menu has many features, including nx chams, they ALL work perfect except from the virtual jump

Doofbla whats is your msn:
my msn is : smsniper2009@hotmail.com
[php] if(GetAsyncKeyState(VK_UP)<0){ // VJump
PushToConsole("CamMaxPosYOffset 200.000000");
PushToConsole("DuckDownCamOffSet 1000.000000");
}
if(GetAsyncKeyState(VK_DOWN)<0){ // Vdown
PushToConsole("CamMaxPosYOffset -1000.000000");
PushToConsole("DuckDownCamOffSet -13.000000");
}[/php]
Could you post a working menu opt from nxchams or smth. like this? then we could see what your doing wrong you also can pm me if you don't want to make it public

PS:
I don't have msn sorry(I'll make me an acc in the next days) but i have ICQ if you wanna have my id its

243530535
you can do the vjump shit with ptc or with an addie! to get the addie follow pspiso's (kuro tenshi or whatever ) tutorial!
Quote Originally Posted by Solify View Post
you can do the vjump shit with ptc or with an addie! to get the addie follow pspiso's (kuro tenshi or whatever ) tutorial!
can you show me the code for base.cpp to use the ptc command please?

thanks in advance,
Deathhaunts
if you dont know how to add vjump to your hack, why do you make menu? o.O
Quote Originally Posted by Solify View Post
if you dont know how to add vjump to your hack, why do you make menu? o.O
I just don't know the code, could you please tell me it? I made it for my hot key, just for menu it confuses me .. please?

Thanks in advance, Deathhaunts

Ps: Because i have many other features on my menu, and this will be a bonus ..

thanks
Lawl u need 2 give me credits for the base!
Quote Originally Posted by 117185 View Post
Lawl u need 2 give me credits for the base!
1) its not your base
2) i will give credits if i ever release, this isn't a release, im trying to get help to fix the virtual jump
3) you only fixed some errors, then i had to fix everything else
4) you gave it to me with errors :P
5) this isn't even important ( until i release ) which i wont ..

Back on topic please guys
Posts 1–15 of 27 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us