Issues with writing 3.3.5a bot menu

Shout-Out

User Tag List

Results 1 to 1 of 1
  1. #1
    abobaFoba's Avatar Member
    Reputation
    2
    Join Date
    Dec 2024
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Issues with writing 3.3.5a bot

    Hello. I am trying to write my own bot for 3.3.5a. In the process, I read threads related to my issues, some of which were resolved, but in the end, I still have some questions.

    How can I find out the total number of objects in the object manager to know exactly how many iterations of the loop to perform? I tried writing in a for loop if(entity == nullptr || entity->next == nullptr) continue;, but it doesn't work, and I crash because I'm accessing an invalid address.

    The second question is about using click to move. It works correctly for attacking, but when I want to loot something, it just opens a window without looting. If I manually right-click on the corpse, autoloot works fine. What could be the problem if I'm passing the same arguments I see in Cheat Engine when looting?
    ctm->guidTarget = ent[ind].object->guid;
    ctm->type = 0x6;
    ctm->coords = ent[ind].object->pos;

    Is there a way to determine if a unit is dead? I do this by checking their health, but I might run into problems later, and I'd like to know if the unit is dead or alive, not just by their health. Also, I would like to know if it makes sense to loot the mob, i.e., whether there is any loot in its corpse or not.

    I want to clarify about the UnitHealth function, which takes an integer argument, and I don't understand what it needs to be passed. I tried passing the unit's GUID and ID, but it crashed as soon as I called the function.

    How do people usually determine whether a unit is a mob or an NPC? I'd like to do this by GUID, but my current method is to get the names of all units and write down the ones I need. Then I check if the unit's name (from GetObjectNameFromGuid) is in my list and decide if I need this unit or not. But this is inconvenient, and I'd like to simplify this process.

    Issues with writing 3.3.5a bot

Similar Threads

  1. [Trinity] 3.3.5a Issue With SmartAi Causing Invisible Mobs After Respawn
    By Teryaki in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 10-30-2019, 01:44 PM
  2. [Question] Issue with Lazy Bot for wow 3.3.5
    By deminho in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 11-10-2016, 02:07 PM
  3. [PQR] Having an issue with the interrupt bot.
    By manw in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 04-02-2013, 04:43 PM
  4. [Lazy Bot] Issues with.. Well, I don't know.
    By xrandomz in forum WoW Bot Maps And Profiles
    Replies: 4
    Last Post: 08-05-2012, 08:52 PM
  5. [Lazy Bot] Issues with.. Well, I don't know.
    By xrandomz in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 08-05-2012, 02:57 AM
All times are GMT -5. The time now is 05:54 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search