miyagi13 (11-04-2010)
Basically this is a NumVertices, primCount, and Stride Logger. You can use this to log strides in games. Im using it in K.O.S so i posted here so yah. Nothin Special. Thankme PLOX lol
[PHP]//declares
unsigned int m_Stride;
static int stride=0;
int temp = 0;
int temp2 = 0;
int temp3 = 0;
//in DrawIndexedPrimitive
if(NumVertices == temp){
m_pD3Ddev->SetTexture(0,texPink);
return m_pD3Ddev->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
if(primCount == temp3){
m_pD3Ddev->SetTexture(0,texOrange);
return m_pD3Ddev->DrawIndexedPrimitive(Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
//in Present
if(GetAsyncKeyState(VK_ADD))temp++;
if(GetAsyncKeyState(VK_SUBTRACT))temp--;
if(GetAsyncKeyState(VK_NUMPAD9)<0)temp2++;
if(GetAsyncKeyState(VK_NUMPAD6)<0)temp2--;
if(GetAsyncKeyState(VK_NUMPAD8)<0)temp3++;
if(GetAsyncKeyState(VK_NUMPAD5)<0)temp3--;
if(GetAsyncKeyState(VK_MULTIPLY)&1){
add_log("NumVert: %d",temp);
add_log("m_Stride: %d",temp2);
add_log("primCount: %d", temp3);
}
if(GetAsyncKeyState(VK_DIVIDE)&1){
temp=0;
temp2=0;
temp3=0;
}
//in SetRenderState
if (temp2 != 0 && m_Stride == temp2){
m_pD3Ddev->SetTexture(0,texGreen);
}
//in SetStreamSource
if(StreamNumber==0) m_Stride=Stride;
[/PHP]
miyagi13 (11-04-2010)
I think I'm the one that told him about this site :/
I feel so bad about it.
Its nice to see someone TRYING to be helpfull though.
SuperBadassExtraordinaire says (5:53 PM):
babysitting is ghey
Corndog says (5:53 PM):
ur ghey
Baron De Montesquieu..Wtf? [Czar] says (5:53 PM):
you're a breaded hotdog
You never told me about this site... And so what if i post in the threads. As long as im posting on topic and not spamming... No one else was on so it would look like just a line of [Jesuz] on the right...
Im suprised no one used this... Its an extremeley useful tool...
No double posting.
And we didn't need to use it, we have loggers and the logs already.
SuperBadassExtraordinaire says (5:53 PM):
babysitting is ghey
Corndog says (5:53 PM):
ur ghey
Baron De Montesquieu..Wtf? [Czar] says (5:53 PM):
you're a breaded hotdog
And whut can you do with strides/ 0.o
--
This is a terrible tool lol.
SO much better.Code:if(logg){ bool bHave=false; for(int i=0;i<50000;i++){ if(stri[i]==m_Stride && vert[i]==NumVertices && prim[i]==primCount){ bHave=true; break; } } if(!bHave){ stri[curr]=m_Stride; vert[curr]=NumVertices; prim[curr]=primCount; curr++; }
Any how, This isn't even your code.. this is on several other websites.. give credits Mr.Leech.
Yes Completley correct. Thanks.
weber100 (07-20-2011)
Well, what your going to want to do is build into a .dll in C++ and inject into the game you need the strides for. Click insert and scroll through the numbers untill you hit one where all the players change colors. Then use the next one down and scroll through. Once you find the ones with the colors, the number you used is your answer.
here is kos chams
ok guys go here
*********.Org - Make Money Uploading Files! - Public-KOS-Hack.rar
this is how it works
do the s-urvey
download hack
extract hack to desktop
run perx
inject dll into perx
run it ot sting.exe
Cham It Up!!!