Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > Direct3D

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Direct3D
hacking programming reversing
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

help desihacker paste stuff together (do it for him cause he can't)
Old 06-21-2010, 01:46 AM   #1
n00bie

desihacker's Avatar

Join Date: Jun 2010
Posts: 12
Reputation: 10
Rep Power: 21
desihacker has made posts that are generally average in quality
help desihacker paste stuff together (do it for him cause he can't)

Code:
        if(Menu.mOpt[22].nopt == 2.00f)
        {
             if (m_Stride == 44 || m_Stride == 36 || m_Stride == 32)
                     {
                        if(Menu.mOpt[23].nopt == 1.00f)
                            {
                                pDevice->SetRenderState(D3DRS_LIGHTING, false);
                                pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
                             }
                            pDevice->SetRenderState(D3DRS_ZENABLE,false);
                            if (Menu.mOpt[23].nopt == 0.00f){pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);}
                            if (Menu.mOpt[23].nopt == 1.00f){pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);}
                            pDevice->SetTexture( 0, ChamsFront);
                            pDrawIndexedPrimitive( pDevice, pType, nBaseIndex, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
                            pDevice->SetRenderState(D3DRS_ZENABLE, true);
                            if (Menu.mOpt[23].nopt == 0.00f){pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);}
                            if (Menu.mOpt[23].nopt == 1.00f){pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);}
                            pDevice->SetTexture( 0, ChamsBack);
                        }
            }
using modified by me gellins base

Errors
Code:
1>Compiling...
1>Base.cpp
1>.\Base.cpp(246) : error C2065: 'm_Stride' : undeclared identifier
1>.\Base.cpp(246) : error C2065: 'm_Stride' : undeclared identifier
1>.\Base.cpp(246) : error C2065: 'm_Stride' : undeclared identifier
1>.\Base.cpp(256) : error C2065: 'ChamsFront' : undeclared identifier
1>.\Base.cpp(257) : error C2065: 'pType' : undeclared identifier
1>.\Base.cpp(257) : error C2065: 'nBaseIndex' : undeclared identifier
1>.\Base.cpp(257) : error C2065: 'nMinIndex' : undeclared identifier
1>.\Base.cpp(257) : error C2065: 'nNumVertices' : undeclared identifier
1>.\Base.cpp(257) : error C2065: 'nStartIndex' : undeclared identifier
1>.\Base.cpp(257) : error C2065: 'nPrimitiveCount' : undeclared identifier
1>.\Base.cpp(257) : error C3861: 'pDrawIndexedPrimitive': identifier not found
1>.\Base.cpp(261) : error C2065: 'ChamsBack' : undeclared identifier
1>Build log was saved at "file://c:\Users\-$ingh\Documents\My Received Files\TDBPub\Release\BuildLog.htm"
1>TDBPub - 12 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I need to know how to Identify them correctly
I did kinda copy paste
desihacker is offline

Reply With Quote


Old 06-21-2010, 01:48 AM   #2
*_*

HOOAH07's Avatar

Join Date: Apr 2008
Location: H.M.P
Posts: 5,440
Reputation: 92853
Rep Power: 1083
HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 68,727, Level: 38
Points: 68,727, Level: 38 Points: 68,727, Level: 38 Points: 68,727, Level: 38
Activity: 65.9%
Activity: 65.9% Activity: 65.9% Activity: 65.9%
Last Achievements
Award-Showcase
obviously what your trying to do isnt copy/pasteable you need to either change names to match his or if he dont use them in base(i never checked) declare them
__________________
┐(_)

°º¤ø„¸¨°º¤ø„¸¸„ø¤º°¨¸„ø¤º°¨

¨°º¤ø„¸ MONKEY „ø¤º°¨

„ø¤º°¨ FOREVER `°º¤ø...
xTc charging me up like a battery, Like 1000 volts rushing through my body
HOOAH07 is online now

Reply With Quote

Old 06-21-2010, 01:50 AM   #3
n00bie

desihacker's Avatar

Threadstarter
Join Date: Jun 2010
Posts: 12
Reputation: 10
Rep Power: 21
desihacker has made posts that are generally average in quality
" I need to know how to declare them correctly with my base"

[Auto Merged - 0:57:39 UTC]

Cmon Mods Stop playing with the thread
desihacker is offline

Reply With Quote

Old 06-21-2010, 02:13 AM   #4
*_*

HOOAH07's Avatar

Join Date: Apr 2008
Location: H.M.P
Posts: 5,440
Reputation: 92853
Rep Power: 1083
HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 68,727, Level: 38
Points: 68,727, Level: 38 Points: 68,727, Level: 38 Points: 68,727, Level: 38
Activity: 65.9%
Activity: 65.9% Activity: 65.9% Activity: 65.9%
Last Achievements
Award-Showcase
dont double post please
__________________
┐(_)

°º¤ø„¸¨°º¤ø„¸¸„ø¤º°¨¸„ø¤º°¨

¨°º¤ø„¸ MONKEY „ø¤º°¨

„ø¤º°¨ FOREVER `°º¤ø...
xTc charging me up like a battery, Like 1000 volts rushing through my body
HOOAH07 is online now

Reply With Quote

Old 06-21-2010, 02:20 AM   #5
A God

rev0lt's Avatar

Join Date: Nov 2009
Location: Box.
Posts: 190
Reputation: 1978
Rep Power: 49
rev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating community
Points: 2,044, Level: 3
Points: 2,044, Level: 3 Points: 2,044, Level: 3 Points: 2,044, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Quote:
m_Stride = UNIT

All the nBlah stuff is within your DIP hook (maybe you have the wrong ones)

ChamsBack = texture that you need to generate
Uhm.. basically you're a total idiot in C++, probably challenged in RL aswell, considering you're actually attempting this.

I will not give you code, but I'll help out a little bit. If you're just wanting people to do the coding for you, then you've come to the wrong place buddy...
__________________

rev0lt is offline

Reply With Quote

Old 06-21-2010, 02:57 AM   #6
Follow me children

Jesus.'s Avatar

Join Date: Aug 2003
Posts: 3,255
Reputation: 42353
Rep Power: 592
Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!Jesus. has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
Points: 35,603, Level: 28
Points: 35,603, Level: 28 Points: 35,603, Level: 28 Points: 35,603, Level: 28
Activity: 3.3%
Activity: 3.3% Activity: 3.3% Activity: 3.3%
Last Achievements
Quote:
Originally Posted by desihacker View Post
" I need to know how to declare them correctly with my base"

[Auto Merged - 0:57:39 UTC]

Cmon Mods Stop playing with the thread
Dude this is the second post like this. Have you even bother searching what a damn undeclared identifier is?

wow third link on google.. http://www.daniweb.com/forums/post28...tml#post281782
__________________
Nigga who is UH.
IPancakes.

Last edited by Jesus.; 06-21-2010 at 03:00 AM.
Jesus. is offline

Reply With Quote

Old 06-21-2010, 03:39 AM   #7
A God

rev0lt's Avatar

Join Date: Nov 2009
Location: Box.
Posts: 190
Reputation: 1978
Rep Power: 49
rev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating communityrev0lt is an oracle in the cheating community
Points: 2,044, Level: 3
Points: 2,044, Level: 3 Points: 2,044, Level: 3 Points: 2,044, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Quote:
Originally Posted by Unknownhacker View Post
Dude this is the second post like this. Have you even bother searching what a damn undeclared identifier is?

wow third link on google.. what is undeclared identifier - C++
Spank spank spank!! *You dirty little noob*

Kk so, We don't allow yo' kin, 'bout time you hightail it outa here...
__________________

rev0lt is offline

Reply With Quote

Old 06-21-2010, 12:39 PM   #8
Retired Admin

learn_more's Avatar

Join Date: Sep 2006
Posts: 5,249
Reputation: 93628
Rep Power: 1106
learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
sieg heil Nazi
Points: 70,490, Level: 39
Points: 70,490, Level: 39 Points: 70,490, Level: 39 Points: 70,490, Level: 39
Activity: 24.7%
Activity: 24.7% Activity: 24.7% Activity: 24.7%
Last Achievements
Award-Showcase
Quote:
Originally Posted by desihacker View Post
" I need to know how to declare them correctly with my base"

[Auto Merged - 0:57:39 UTC]

Cmon Mods Stop playing with the thread
that was me changing the thread title,
the second you start choosing decent thread names, i won't edit em anymore.
but if you make a title like 'help', 'help me' or something like that i'll edit it.
__________________
learn_more is offline

Reply With Quote

Old 06-21-2010, 01:35 PM   #9
UnKnoWnCheaTeR

disavow's Avatar

Join Date: Jul 2009
Posts: 1,069
Reputation: 49961
Rep Power: 552
disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
Points: 31,281, Level: 26
Points: 31,281, Level: 26 Points: 31,281, Level: 26 Points: 31,281, Level: 26
Activity: 14.9%
Activity: 14.9% Activity: 14.9% Activity: 14.9%
Last Achievements
To help you paste stuff, as learn_more put it :P

m_Stride should be declared as DWORD (or similar type).
It should then be filled with the current stride being drawn.
ChamsFront should be a declared texture.
Make sure the prefixes on the device functions 'n' 'p' are matching there declarations, or are even declared at all.

Read the following:
* How to make a basic wallhack : Wallhack effect (No depth)
* How to change object Textures : Changing object textures

Should also know C++, that however should be obvious to you.
I would suggest you don't use this base, the way it calls the CVar's (list of on/off variables) in a structure is too hard for you.
Go back to basic's as suggested and you may start to understand a bit more and don't modify working bases at your level...

Quote:
Originally Posted by rev0lt
probably challenged in RL aswell
Bit harsh to be honest.
__________________

Shad0w_'s Alter Ego

Last edited by disavow; 06-21-2010 at 01:40 PM.
disavow is online now

Reply With Quote

Old 06-22-2010, 07:14 AM   #10
n00bie

desihacker's Avatar

Threadstarter
Join Date: Jun 2010
Posts: 12
Reputation: 10
Rep Power: 21
desihacker has made posts that are generally average in quality
Ok thanks to everyone for bitchy and kind comments.
Im gonna go back to basics and keep updating this base.
Until i get success.
//Request Close\\
desihacker is offline

Reply With Quote

Old 06-22-2010, 01:40 PM   #11
UnKnoWnCheaTeR

disavow's Avatar

Join Date: Jul 2009
Posts: 1,069
Reputation: 49961
Rep Power: 552
disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!disavow has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
Points: 31,281, Level: 26
Points: 31,281, Level: 26 Points: 31,281, Level: 26 Points: 31,281, Level: 26
Activity: 14.9%
Activity: 14.9% Activity: 14.9% Activity: 14.9%
Last Achievements
Quote:
Originally Posted by desihacker View Post
Ok thanks to everyone for bitchy and kind comments.
Im gonna go back to basics and keep updating this base.
Until i get success.
//Request Close\\
Hope you are not regarding my thread, since I took a moment to help you.
Don't keep updating this base, you're not going to learn anything from that.
Going back to basic's means getting the basic knowladge on the subject you're covering and then learning to understand the code you're using.
Follow the links I posted, should help somewhat, but don't expect everyone to be loving and kind unless to make the effort
__________________

Shad0w_'s Alter Ego
disavow is online now

Reply With Quote

Old 07-02-2010, 06:25 AM   #12
Hacker Supreme

chuculun's Avatar

Join Date: Feb 2010
Posts: 240
Reputation: 6024
Rep Power: 89
chuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATSchuculun DEFINES UNKNOWNCHEATS
Points: 5,097, Level: 7
Points: 5,097, Level: 7 Points: 5,097, Level: 7 Points: 5,097, Level: 7
Activity: 14.9%
Activity: 14.9% Activity: 14.9% Activity: 14.9%
Last Achievements
primary i see u error start in DiP direxindiceprimitive..
second check your stride and how is it named.... for example u got..
int m_stride==40

here u go u have to have the same function named in DiP

secontly
Depend in the hook u using either its taking more bytes than those u have ...
Example....


pDrawIndexedPrimitive( pDevice, pType, nBaseIndex, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);

have to have the same name you see in declaration when u coding for wallhack
such as;

HRESULT APIENTRY hkIDirect3DDevice9:rawIndexedPrimitive(D3DPRIMITIVETYPE pDevice, pType, nBaseIndex, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);


if(wireframe){
& m_stride == 30
DWORD dwOldZEnable = D3DZB_TRUE;
m_pD3Ddev->SetTexture(0, texRed);
m_pD3Ddev->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
m_pD3Ddev->DrawIndexedPrimitive(pDevice, pType, nBaseIndex, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
m_pD3Ddev->SetTexture(0, texRed);

}


there u go i have exactly same names called
m_pD3Ddev->DrawIndexedPrimitive(pDevice, pType, nBaseIndex, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
chuculun is online now

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
desihacker, noob, paste, stuff
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 09:43 PM.