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
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!!
1) You have PM^^
2) I didnt add boarder/box yet
3) not fixed
Originally Posted by iShockYouuu
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.
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
Originally Posted by yazzn`
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...
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.
Originally Posted by iShockYouuu
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
Originally Posted by freedompeace
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.
Originally Posted by AnoNimTeck
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,
Originally Posted by ac1d_buRn
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,