View Full Version : Help: How to make model recognizion.
Madc0d3r
21st July 2003, 16:05
The quiz is how to i know when the model is drawn.
BiGmAc
21st July 2003, 17:53
well a basic clue would be looking at a xqz wallhack
if(count ...)
that enough for u?
Madc0d3r
21st July 2003, 18:18
nop tryed that need somth new
anarchist
21st July 2003, 19:23
mad there is a bit of code on the first page of this thread. Check it out it may be of some help.
http://web1.server126.notraffic.de/forum/showthread.php?s=&threadid=19145&perpage=20&pagenumber=2
BiGmAc
21st July 2003, 21:07
Originally posted by Madc0d3r
nop tryed that need somth new
well he told u the link but what i ment was
if(count == num)
gllPrint("count = num");
im pretty sure a "madcoder" like u would figure out a better way of doing it that this ;)
bigj
21st July 2003, 22:19
i cant figure out how to pass count into glPrint because it only takes an array characters. ive never converted a float to an array of characters. anyone know?
PAS3I2
21st July 2003, 23:48
look at www.game-deception.com in the tut forums for flamegod's tut on displaying variables
BiGmAc
22nd July 2003, 00:50
hey apoc this is if u got count thing working
can u do say
if getasyckeystate(vk_f12)
then (ur GLshort) += 0.5 ? because i find that it scrolls through the counts too fast and id rather ask before binding a load of keys to += 0.5
ps if u dont get me im talking about GLshort adding a number to a count so eg current count == 1 += 0.5 = count == 1.5 too slow down the scrolling through counts
PAS3I2
22nd July 2003, 01:51
I just did it by adding one, the speed is controlled by how fast you can push the button and really isnt too fast for me when i hold it down.
But something i have just done is instead of
if(count=mycount) return;
i did: if(count=mycount)
{
glColorPointer( 4,GL_UNSIGNED_BYTE,0, &colorR );
glDisable(GL_TEXTURE_2D);
}
to make it much easier to see :)
bigj
22nd July 2003, 02:39
^sweet, so now who can someone answer my noob question on how to convert the float to an array of characters so i can display them on the screen. glPrint wont take the float :(
PAS3I2
22nd July 2003, 02:48
.
Originally posted by ~!]Ap0calyp$e[!~
look at www.game-deception.com in the tut forums for flamegod's tut on displaying variables
^^ I already told you.....
bigj
22nd July 2003, 04:15
i figured it out without it i just did the following:
char *strl;
sprintf(strl, "%f", countvar);
glPrint(201.0f,213.0f, strl,1.0f,1.0f,1.0f);
i have a sneaking suspicion i know how maroone made his aimbot and i am working on testing it right now. he told me previously that he didnt do it like this but we will see.
FlameGod
22nd July 2003, 08:26
Yeah, model rec is easy, I explained it before on some other thread, using a float or int and increasing it by 1 while watching the people in the selection. Apparently nobody had thought of that before me lol. Anyways, use the tut on game-deception if you need to display vars or strings, that's why I made it. And counts are whole numbers only, no need for +0.5, +1 is much better.
anarchist
23rd July 2003, 10:35
bigj where did you put that line of code? ive been working on this thing for about 4 hours straight now , and its starting to annoy me. Fill me in bro lol.
bigj
23rd July 2003, 15:32
anarchist just put it in the if statement where you have yourvar=yourvar+1...
Madc0d3r
23rd July 2003, 16:16
maybe u post the code here it not that long.Or u can pm me.Dont have time to play with that.
BiGmAc
23rd July 2003, 17:52
Originally posted by bigj
i figured it out without it i just did the following:
char *strl;
sprintf(strl, "%f", countvar);
glPrint(201.0f,213.0f, strl,1.0f,1.0f,1.0f);
i have a sneaking suspicion i know how maroone made his aimbot and i am working on testing it right now. he told me previously that he didnt do it like this but we will see.
yo dude maroone isnt the only guy on earth with a opengl aimbot for sof2, i bet at least 10 people on this forum have a bot exactly like his or better
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.