Issues with Menu!

Posts 113 of 13 · Page 1 of 1
Issues with Menu!
Hey guys,
im Starting with making Hacks for Combat Arms Europe...
I tested my Menu but Ingame it´s "cutted" ...
Im using Gellins + Hans base combinied with new Detours
now tell me why not will fully displayed ?

Lol sry for my Englisch actually my Brain is -> Fucked();



now i found right forum!! ;D
Its not your menu.. its the game. you need to make the menu show on top of the black part!!
which black part??????
edit: on respawn i can see menu -_- also in lobby
Add this just above your hack list in Base.cpp

Code:
NOI=0;
Then add this to Menu.h

Code:
extern int    NOI;
then add this to where you drawbox for your menu

Code:
            DrawBox(menux - 3, menuy - 0,165, /* Number of items */ (NOI*14)+16, D3DCOLOR_ARGB(170,0,0,0) ,White,pDevice);
then tell me if it fixed it.. cause thats what fixed mine

if not then i will give you another code!!
Quote Originally Posted by iShockYouuu View Post
Add this just above your hack list in Base.cpp

Code:
NOI=0;
Then add this to Menu.h

Code:
extern int    NOI;
then add this to where you drawbox for your menu

Code:
            DrawBox(menux - 3, menuy - 0,165, /* Number of items */ (NOI*14)+16, D3DCOLOR_ARGB(170,0,0,0) ,White,pDevice);
then tell me if it fixed it.. cause thats what fixed mine

if not then i will give you another code!!
What the heck is "NOI" for? O.O

You also set it to 1, then never change it.

1 * 14 = 14.

Leave it as 14 (hardcoded). It'll also save you some CPU grunt.
1) You have PM^^
2) I didnt add boarder/box yet
3) not fixed
the NOI is what fixed the Menu half off half on for me.. and it wasnt hidden under the black screen on CA
mine is hidden unter a unvisible box
Quote Originally Posted by yazzn` View Post
mine is hidden unter a unvisible box
yeaa i have the same problem but i know how to solve it... It is half hidden because it stays above the kills box(there where the kills are shown)... If you want to simply solving the problem jsut move your box to anotehr location... But the better way is to check with the IsGameReadyForHook function that we are ingame and when its true just recreate the font and if it dissaperas again then recreate the font every 2 or 1 second...
Quote Originally Posted by iShockYouuu View Post
Add this just above your hack list in Base.cpp

Code:
NOI=0;
Then add this to Menu.h

Code:
extern int    NOI;
then add this to where you drawbox for your menu

Code:
            DrawBox(menux - 3, menuy - 0,165, /* Number of items */ (NOI*14)+16, D3DCOLOR_ARGB(170,0,0,0) ,White,pDevice);
then tell me if it fixed it.. cause thats what fixed mine

if not then i will give you another code!!
The dumb one

Quote Originally Posted by freedompeace View Post
What the heck is "NOI" for? O.O

You also set it to 1, then never change it.

1 * 14 = 14.

Leave it as 14 (hardcoded). It'll also save you some CPU grunt.
The smart one.

Quote Originally Posted by AnoNimTeck View Post
yeaa i have the same problem but i know how to solve it... It is half hidden because it stays above the kills box(there where the kills are shown)... If you want to simply solving the problem jsut move your box to anotehr location... But the better way is to check with the IsGameReadyForHook function that we are ingame and when its true just recreate the font and if it dissaperas again then recreate the font every 2 or 1 second...
The dumber one. Recreate your font every second and see what happens

SIMPILIST SOLUTION: Draw the menu lower or on the other side. Fucking common sence here,
Quote Originally Posted by ac1d_buRn View Post


The dumb one



The smart one.



The dumber one. Recreate your font every second and see what happens

SIMPILIST SOLUTION: Draw the menu lower or on the other side. Fucking common sence here,
Your the even dumber one. for even posting.
Actually, that's how to fix:
Quote Originally Posted by ac1d_buRn View Post

Draw the menu lower or on the other side.
No it doesnt kill the box on the top left corner where you see the kills thats where the black part is so you need to move your menu somewhere where it can show.
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?