Stride Logger

Posts 1–14 of 14 · Page 1 of 1
Stride Logger
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]
[Jesuz] Have you looked down the right of the K.O.S hacks section what I see is [Jesuz]
all down the page
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.
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.
And whut can you do with strides/ 0.o
Quote Originally Posted by Noxit View Post
And whut can you do with strides/ 0.o
Helps define player and other things.
Like in a wallhack you need to define the "player" so u need strides to do so, so u log the game strides to find the player's strides.


an i correct? lol its been a while
This is a terrible tool lol.

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++;
		}
SO much better.

Any how, This isn't even your code.. this is on several other websites.. give credits Mr.Leech.
Yes Completley correct. Thanks.
Quote Originally Posted by [Jesuz] View Post
Yes Completley correct. Thanks.
Lol there should be an addielogger for KOS
Quote Originally Posted by [Jesuz] View Post
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]
Sry that i ask... but how can i use?:O you couldn't make a tut or?
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.
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us