v1.12.1 EnumerateVisibleObjects Throws Exception menu

User Tag List

Results 1 to 4 of 4
  1. #1
    krycess's Avatar Active Member

    Reputation
    28
    Join Date
    Jul 2009
    Posts
    36
    Thanks G/R
    6/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    v1.12.1 EnumerateVisibleObjects Throws Exception

    Enumerate Visible Objects Throws Exception . Issue #1 . confessore/KrycessBot . GitHub

    I'm trying to learn about the object manager.

    Here is a link to the delegate function that I have created for the EnumVisibleObjects function. it is completely hooked up with the callback and filter and whatnot in the next class, MemoryService.
    KrycessBot/Functions.cs at master . confessore/KrycessBot . GitHub

    The function is called on line 124.
    KrycessBot/MemoryService.cs at master . confessore/KrycessBot . GitHub

    I have also tried to import this function as a C++ dll and it does not crash but it still does nothing.

    The offset is correct.
    KrycessBot/Offsets.cs at master . confessore/KrycessBot . GitHub

    I was trying to stay away from hooking the main thread since I am under the impression that I can read or write from any thread.

    Can someone please help me learn how to do this?

    v1.12.1 EnumerateVisibleObjects Throws Exception
  2. #2
    _chase's Avatar Established Member
    Reputation
    95
    Join Date
    Dec 2019
    Posts
    57
    Thanks G/R
    16/49
    Trade Feedback
    0 (0%)
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    EnumerateVisibleObjects uses fastcall calling convention which isn't supported by C#

    Refer to https://drewkestell.us/Article/6/Chapter/7 for an extended explanation and solution

  3. #3
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

  4. Thanks krycess (1 members gave Thanks to namreeb for this useful post)
  5. #4
    krycess's Avatar Active Member

    Reputation
    28
    Join Date
    Jul 2009
    Posts
    36
    Thanks G/R
    6/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just read the comment for the annotation and it reads "This calling convention is not supported."
    so yeah, there's that.

    on to bigger fish to fry.

    when I make the call using fastcall in a c++ library, the execution stops at Function.EnumerateVisibleObjects.

    now the function gives rise to stack overflow exception after enumerating (iterating???) 99 times

    woof

    GitHub - confessore/EluneBot: a work-in-progress rewrite of ZzukBot: a full featured robot that plays World of Warcraft v1.12.1
    Last edited by krycess; 12-30-2019 at 11:15 AM.

Similar Threads

  1. Joana's horde leveling guide v1.12
    By Preachtru in forum World of Warcraft Guides
    Replies: 181
    Last Post: 08-31-2020, 02:09 AM
  2. Updated eplite v1.12 MH
    By reloadit in forum Diablo 2
    Replies: 12
    Last Post: 11-01-2010, 09:03 PM
  3. Line of sight issue with Mangos for v1.12.1
    By Rhetoric in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 06-04-2009, 11:33 PM
  4. World of Warcraft v1.12.1 Full Game
    By Illlidan in forum World of Warcraft General
    Replies: 1
    Last Post: 12-01-2007, 04:13 PM
  5. [RELEASE] V1.12.1 Trainer 1.1 BETA Features
    By TehAvatar in forum World of Warcraft Bots and Programs
    Replies: 24
    Last Post: 03-18-2007, 01:48 PM
All times are GMT -5. The time now is 07:36 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