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

Error after Building.
Old 08-15-2010, 09:30 PM   #1
n00bie

Healikk's Avatar

Join Date: Aug 2010
Posts: 15
Reputation: 10
Rep Power: 19
Healikk has made posts that are generally average in quality
Error after Building.

Code:
error LNK2005: "long (__stdcall* pSetStreamSource)(struct IDirect3DDevice9 *,unsigned int,struct IDirect3DVertexBuffer9 *,unsigned int)" (?pSetStreamSource@@3P6GJPAUIDirect3DDevice9@@IPAUIDirect3DVertexBuffer9@@I@ZA) ist bereits in Base.obj definiert.
This is my Error, i would be added setStreamSource but it dont work ;x

Base.cpp
At the Top:

Code:
UINT  m_Stride;
Under DIP:
Code:
HRESULT WINAPI mySetStreamSource(LPDIRECT3DDEVICE9 pDevice, UINT nStreamNumber, LPDIRECT3DVERTEXBUFFER9 pStreamData, UINT nStride)
{
    _asm pushad;
    if(nStreamNumber == 0)
    {
        m_Stride = nStride;
    }
    _asm popad;
    return pSetStreamSource(pDevice, nStreamNumber, pStreamData, nStride);

}
And in Thread:
Code:
pSetStreamSource=(oSetStreamSource)DetourCreate999((PBYTE)VTableS[83],(PBYTE)mySetStreamSource,5);
Base.h

Code:
typedef HRESULT ( WINAPI* oSetStreamSource ) ( LPDIRECT3DDEVICE9 pDevice, UINT nStreamNumber, LPDIRECT3DVERTEXBUFFER9 pStreamData, UINT nStride );
oSetStreamSource pSetStreamSource;
Hope you can help me.

Last edited by Healikk; 08-15-2010 at 09:49 PM.
Healikk is offline

Reply With Quote


Old 08-15-2010, 09:32 PM   #2
SEGnosis
Guest

Posts: n/a
Not the same names.

Reply With Quote

Old 08-15-2010, 09:33 PM   #3
UnKnoWnCheaTeR

disavow's Avatar

Join Date: Jul 2009
Posts: 1,069
Reputation: 49844
Rep Power: 551
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
Proper definition is the key to success. ♥
__________________

Shad0w_'s Alter Ego
disavow is online now

Reply With Quote

Old 08-15-2010, 09:49 PM   #4
n00bie

Healikk's Avatar

Threadstarter
Join Date: Aug 2010
Posts: 15
Reputation: 10
Rep Power: 19
Healikk has made posts that are generally average in quality
Quote:
Originally Posted by Shad0w_ View Post
Proper definition is the key to success. ♥
i made it
Healikk is offline

Reply With Quote

Old 08-15-2010, 09:57 PM   #5
SEGnosis
Guest

Posts: n/a
Obv not, read the error properly.

edit: answer given. pp dont need to spam

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
building, error
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:37 AM.