[C++] My D3 OOP framework menu

User Tag List

Page 3 of 5 FirstFirst 12345 LastLast
Results 31 to 45 of 67
  1. #31
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    OK, I solved it alone

    [C++] My D3 OOP framework
  2. #32
    wybron's Avatar Member CoreCoins Purchaser
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice Work, DarthTon! it's very resourceful! I'll spend time to look into your work!

  3. #33
    BBOYWEI's Avatar Private
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anyone use D3::ACD::SELL function without crash? I use dll injection and offset
    FUNC_SELL_ITEM 0x00A8BF20 (1.0.5)

  4. #34
    DarthTon's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2010
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've updated my SNV repo for latest 1.0.7 patch. Local attachment is still old, because I'm too lazy to update it too

    BBOYWEI
    Can anyone use D3::ACD::SELL function without crash? I use dll injection and offset
    FUNC_SELL_ITEM 0x00A8BF20 (1.0.5)
    I can assume that you have used wrong offset. Try the new one.

  5. #35
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Maybe you want to include this:

    in tObData:
    - offset of skills: 0xB4 (0xAC was in 1.0.6)
    - offset of passives: 0xA08 + 0, 0xA08 + 4, 0xA08 + 8 (3 powerID in a row)
    - offset of character's name: 0x7450

    in tObManStorage:
    - offset of current ticks of the game (60 ticks are 1 second): 0x94
    (cooldowns and other timers are based on this number)
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  6. #36
    melvone's Avatar Member
    Reputation
    1
    Join Date
    Feb 2013
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,

    Nice work dude, any 1.0.7 release ? THX

  7. #37
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    dear Dathton, in case you need this:

    offsets related to tObData (so CObDataContainer + 0x58 + ...)

    public readonly int player_ofs__actor_id = 0x8;
    public readonly int player_ofs__skills = 0xB4;
    public readonly int player_ofs__passives = 0xA08;
    public readonly int player_ofs__seed = 0x7448;
    public readonly int player_ofs__name = 0x7450;
    public readonly int player_ofs__class = 0x78FC;
    public readonly int player_ofs__area = 0x78F8;
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  8. #38
    DarthTon's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2010
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx. I've update my SVN repo with these changes.
    BTW you cant make some useful commits to the repo by yourself if you want. It's open even for anonymous commits.

  9. #39
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarthTon View Post
    Thx. I've update my SVN repo with these changes.
    BTW you cant make some useful commits to the repo by yourself if you want. It's open even for anonymous commits.
    Well, I don't like editing other's code, but I post here if I find something useful.
    You can look into this if you want: http://www.ownedcore.com/forums/diab...formation.html (Player information)
    We (well, mostly enigma32) found a new structure and a static path for it.
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  10. #40
    Basic32992's Avatar Private
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    I got this error when trying to debug.

    [C++] My D3 OOP framework-error-jpg

    Could you please suggest how to resolve this problem?

    Thanks in advance

  11. #41
    DarthTon's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2010
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Remove or fix the post-build event in DarkD3Detour project. If you choose to remove it, make sure you have correct path to dll in function CMemDll::Inject(). Because now it simply loads dll from working directory.

  12. #42
    Basic32992's Avatar Private
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I will try that. Thank you DarthTon

  13. #43
    eXist73's Avatar Member
    Reputation
    5
    Join Date
    Jun 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarthTon View Post
    To do that you may use function CD3DPresentDetour::GetD3DPresent() in standalone application and get function offset relatively to d3d9.dll
    I've attempted to call this function from a stand alone application, but with no luck. Here is my code:
    Code:
    #include "DarkD3/DarkD3Detour/Handler.h"
    #include <iostream>
    #include <Windows.h>
    
    using namespace std;
    
    #define D3D_DEBUG_INFO
    
    #pragma comment(lib, "d3d9.lib")
    #pragma comment(lib, "DarkD3Lib.lib")
    
    int main(void)
    {
    	CD3DPresentDetour test;
    	DWORD num = test.GetD3DPresent();
    
    	wcout << "D3 Address: " << (DWORD)num;
    
    	return 0;
    }
    I'm getting this link error when I try to build it:
    Code:
    1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall CD3DPresentDetour::~CD3DPresentDetour(void)" (??1CD3DPresentDetour@@QAE@XZ) referenced in function _main
    1>main.obj : error LNK2019: unresolved external symbol "public: unsigned long __thiscall CD3DPresentDetour::GetD3DPresent(void)" (?GetD3DPresent@CD3DPresentDetour@@QAEKXZ) referenced in function _main
    1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall CD3DPresentDetour::CD3DPresentDetour(void)" (??0CD3DPresentDetour@@QAE@XZ) referenced in function _main
    I believe I've included the correct libraries but I'm stumped. Any help would be greatly appriciated.

  14. #44
    DarthTon's Avatar Contributor
    Reputation
    171
    Join Date
    Apr 2010
    Posts
    108
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1) CD3DPresentDetour is a singleton. So either call CD3DPresentDetour::Instance().GetD3DPresent() or convert it to a normal class.
    2) I suppose you forgot to add a corresponding .cpp file to your project (Handler.cpp) that contains function definitions.

  15. #45
    eXist73's Avatar Member
    Reputation
    5
    Join Date
    Jun 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarthTon View Post
    1) CD3DPresentDetour is a singleton. So either call CD3DPresentDetour::Instance().GetD3DPresent() or convert it to a normal class.
    2) I suppose you forgot to add a corresponding .cpp file to your project (Handler.cpp) that contains function definitions.
    Thank you.

    I was not including Handler.cpp.

    I will continue to study your code in hopes of learning more.

Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Microsoft .Net Framework Help ???????????
    By Devilsadvocate in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 09-01-2008, 03:19 AM
  2. Net Framework 3.5- setup error.
    By **Sweeny** in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 06-21-2008, 04:53 PM
  3. WoW Framework
    By kynox in forum World of Warcraft Bots and Programs
    Replies: 21
    Last Post: 12-14-2007, 08:25 AM
  4. oops :S
    By ashley in forum World of Warcraft General
    Replies: 3
    Last Post: 12-14-2006, 05:55 PM
All times are GMT -5. The time now is 11:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search