CGWorld_C::Intersect menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Apoc View Post
    I typically use Me.Scale as it gives enough of a 'boost' to the Z axis to give good LoS results. However, Me.Height would probably be more effective (and less buggy at that). You could even just hard-code it to be +1.3-2.0f to the Z and still be pretty much fine.
    No, you couldn't. Not if you need highly-accurate LoS checks (which would be necessary for a PvP bot).

    CGWorld_C::Intersect
  2. #17
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, there is more than just a height and a scale.

    First, there is the bounding box in the model as well as the CreatureModelData.dbc. That DBC file also has a scale field. Another one is in CreatureDisplayInfo.dbc. Both multiplied is the one used for models. The scale can also be overwritten by the server. That one actually modifies the bounding box in CreatureModelData which is stored in CUnit. Best would be just using that box for really good results.

  3. #18
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by schlumpf View Post
    Well, there is more than just a height and a scale.

    First, there is the bounding box in the model as well as the CreatureModelData.dbc. That DBC file also has a scale field. Another one is in CreatureDisplayInfo.dbc. Both multiplied is the one used for models. The scale can also be overwritten by the server. That one actually modifies the bounding box in CreatureModelData which is stored in CUnit. Best would be just using that box for really good results.
    So, in a roundabout way.... Exactly what I suggested. (To use the collision -- aka bounding -- height in the player's struct).

  4. #19
    Fabolous1's Avatar Member
    Reputation
    2
    Join Date
    Nov 2007
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I apologize for the stupid question, but what has to be done to use this,

    do you need to inject a dll, or anything like that or is it possible to do this (or even interact with objects) out of process

  5. #20
    ggg898's Avatar Member
    Reputation
    10
    Join Date
    Jan 2009
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its possible to use (and interact) in or out of process, but life is easier in process.

  6. #21
    Fabolous1's Avatar Member
    Reputation
    2
    Join Date
    Nov 2007
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Where would I look to start either of these methods? Out of process would probably have to be some half-assed way like finding its position on screen using some searching technique and sending a right-click I'm assuming right? Maybe I'm wrong.

    At the moment my program is fully out of process, but now I'm diving into deeper water. Taking advantage of this Intersect function would help a lot, and I need to figure out a way to interact with objects.
    Last edited by Fabolous1; 09-03-2009 at 02:04 AM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [FIXED] CWorld::Intersect / Raycasting in 1.12
    By Valediction in forum WoW Memory Editing
    Replies: 7
    Last Post: 06-29-2017, 09:47 PM
  2. TraceLine/Intersection - Collision detection with height limit
    By Frosttall in forum WoW Memory Editing
    Replies: 3
    Last Post: 05-26-2012, 07:11 AM
  3. [3.3.3.11723] CGWorld_C::Intersect parameters?
    By eLaps in forum WoW Memory Editing
    Replies: 5
    Last Post: 05-13-2010, 09:17 AM
  4. Swamp of Sorrows : Blasted Lands intersection
    By Razmataz in forum World of Warcraft Exploration
    Replies: 12
    Last Post: 06-05-2007, 01:16 PM
All times are GMT -5. The time now is 07:59 PM. 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