usepower wrapper menu

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 35
  1. #16
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One of the params is the levelarea id dunno if ure confusing it with the worldId

    usepower wrapper
  2. #17
    ChrisSch's Avatar Sergeant
    Reputation
    6
    Join Date
    Apr 2012
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    with acdguid do you mean the "second" guid thats inside an actor?
    In actor: "normal guid" at 0x0, then "second guid / acdguid" at 0x4, and then the modelname starting at 0x8 ?

    that does the same, maybe I still ahve the wrong world Id, how do you know in which worldid you are?

    nesox, are scene and levelarea two different words for the same thing??

  3. #18
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisSch View Post
    with acdguid do you mean the "second" guid thats inside an actor?
    In actor: "normal guid" at 0x0, then "second guid / acdguid" at 0x4, and then the modelname starting at 0x8 ?

    that does the same, maybe I still ahve the wrong world Id, how do you know in which worldid you are?

    nesox, is scene and levelarea the same?
    It's not the same, levelareas contains definitions on monster spawns IIRC.

    Scenes contains data like navigable areas, navcells/gridsquares etc.

    You are talking about a RActor btw.
    struct RActor
    {
    int RActorGuid;
    int ACDGuid;
    BYTE Name[128];
    ...
    };

    You can you use the ACDGuid to lookup it's corresponding ACD object if it's an ACD based RActor.
    If it's -1 it's not.
    Last edited by Nesox; 05-17-2012 at 10:09 AM.

  4. #19
    ChrisSch's Avatar Sergeant
    Reputation
    6
    Join Date
    Apr 2012
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm ok, then I'm already using the right target Id. But the hero is still holding position.
    What about the levelarea then? Is it contained inside the RActor?

  5. #20
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisSch View Post
    Hmm ok, then I'm already using the right target Id. But the hero is still holding position.
    What about the levelarea then? Is it contained inside the RActor?
    Hm yes i think so, you could also check the current scene there's à reference to it there.
    If you check usages on "DefLevelArea" the ptr that is passed as this for GetSNORecord when
    getting à LevelArea record to figure out what offset it has.
    IIRC it's in the ACD struct right after Name.

  6. #21
    ChrisSch's Avatar Sergeant
    Reputation
    6
    Join Date
    Apr 2012
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now I'm using the value in ACD right after the name. It seems to be the correct one.
    The only thing that changed is that he's now:
    a) attacking when the target is out of range
    and b) holding position and doing nothing if he's in range

    something is seriously wrong, but i'm sure im using the right values...
    any idea
    it worked so good before in the beta, and now in retail its not working at all.

    strange thing is, that walking/moving works perfectly, just when using attacks he doesn't move.

    thank you so much for your help nesox
    Last edited by ChrisSch; 05-17-2012 at 11:00 AM.

  7. #22
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisSch View Post
    Now I'm using the value in ACD right after the name. It seems to be the correct one.
    The only thing that changed is that he's now:
    a) attacking when the target is out of range
    and b) holding position and doing nothing if he's in range

    something is seriously wrong, but i'm sure im using the right values...
    any idea
    it worked so good before in the beta, and now in retail its not working at all.

    strange thing is, that walking/moving works perfectly, just when using attacks he doesn't move.

    thank you very much for your help nesox
    Its pretty individual depending on what power you are using.
    Best way to figure it out would be to put à breakpoint right after esi is assigned then check that register what value it's holding.
    Ie. Not all spells requires you to pass 2 as the second arg, also if you specify the ACDGuid you shouldn't specify any position.
    You really have to check what args is passed depending on what spell is being cast, stuff like AXE_Operate_Gizmo/Unit is using different args IIRC well, not the same as spells atleast.
    Good luck
    Last edited by Nesox; 05-17-2012 at 11:06 AM.

  8. #23
    ChrisSch's Avatar Sergeant
    Reputation
    6
    Join Date
    Apr 2012
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am only using cleave and jump attack from the barbarian.

    After double-checking everything I've got casting to a position to work. (Like barbarian jump-attack)
    But cleave still doesn't work, he's just standing there and does nothing when the mob is too close. And when its to far away he only attacks into the direction where the mob is standing, but he doesn't walk to it to get in range.

    Am I really the only one with this problem after the patch?

  9. #24
    boredevil's Avatar Active Member Authenticator enabled
    Reputation
    46
    Join Date
    Feb 2008
    Posts
    166
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the "wholdid" i referred to was at (beta. didn´t update yet) world + 0x08, scene + 0x08, ractor + 0xD8.

  10. #25
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisSch View Post
    I am only using cleave and jump attack from the barbarian.

    After double-checking everything I've got casting to a position to work. (Like barbarian jump-attack)
    But cleave still doesn't work, he's just standing there and does nothing when the mob is too close. And when its to far away he only attacks into the direction where the mob is standing, but he doesn't walk to it to get in range.

    Am I really the only one with this problem after the patch?
    That's weird UsePower didn't change since the beta afaik.

    If your args is right there should be no problem.

    Try copying all args it's using when you cast cleave, put a bp in UsePower etc. then just copy them and try to call it with those args, if that doesn't work there's nothing wrong with your args but something else, dunno what else to tell you

  11. #26
    st0724's Avatar Member
    Reputation
    2
    Join Date
    Feb 2007
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a thought, set up breakpoints and test the function normally and with the shift key held in-game. Ofc, shift key holds ur character inplace.

  12. #27
    ChrisSch's Avatar Sergeant
    Reputation
    6
    Join Date
    Apr 2012
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't matter if I hold shift or not, the command structure and function parameters are the same.
    Both times the function is called with 1,1,PointerToHero and EAX = AddressOfHeroRActor, ESI = the usepower structure

    The structure looks like this (with and without shift)
    spell id,
    spell id,
    1,
    TargetACDId,
    0.0,
    0.0,
    0.0,
    0
    0xffffffff (-1)

    The function I'm using is 0x97A0D0, that should be the right usepower function, or not ?

    disabling my anti-virus fixed the error with the hero stopping when mobs are too close.
    but he still doesn't want to walk towards the mobs when fighting...
    walking and operating gizmos works as well as picking up items (he walks to it and picks it up), but when fighting he doesnt move
    Last edited by ChrisSch; 05-18-2012 at 06:17 AM.

  13. #28
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone know what triggers repeated skill use? When holding the button down UsePower only fires once, and the parameters are identical to that of a single cast.

  14. #29
    st0724's Avatar Member
    Reputation
    2
    Join Date
    Feb 2007
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ChrisSh, I was using the same function in beta. I haven't bothered with my bot after retail.. yet (stuck at inferno right now).

    I didn't recognize the hold position problem because I always explicitly walked up to mobs beforehand.

    But I just pulled up OllDbg and did some testing with a barb.

    Let me note some findings.


    1. 0097A310 calls 0097A0D0
    2. The first spell ID is the spell the character is "trying" to cast. The second one is the actual spell ID. For example, if the barb is out of fury, the rend skill will just turn into a normal attack.
    3. the 3rd DWORD in the use-power struct is 2 when your mouse is not hovering over mobs.
    4. The 8th DWORD is the first RActor GUID (i.e. 772E0000)


    I don't have a real solution for the hold position problem. But it's easily circumvented by just checking the distances and walking up to the mobs explicitly. If further probing of the function at 0097A0D0 is futile, you can try 0097A310.

  15. #30
    st0724's Avatar Member
    Reputation
    2
    Join Date
    Feb 2007
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    _Mike, I think you can just spam that function. Have you tried that? Though, I do remember playing with the first 2 args (with 0's and 1's).
    Last edited by st0724; 05-18-2012 at 11:51 PM.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. UsePower wrappers
    By Ascher in forum Diablo 3 Memory Editing
    Replies: 1
    Last Post: 10-20-2012, 06:37 AM
  2. [C#] UsePower wrapper crashes from time to time
    By zys924 in forum Diablo 3 Memory Editing
    Replies: 4
    Last Post: 07-06-2012, 07:57 PM
  3. [MAC][1.0.1 9558] UsePower Wrapper
    By Tanaris4 in forum Diablo 3 Memory Editing
    Replies: 7
    Last Post: 05-23-2012, 01:48 PM
  4. C# Lua Wrapper (No ASM, Requires injected CLR)
    By Apoc in forum WoW Memory Editing
    Replies: 29
    Last Post: 02-04-2011, 02:52 PM
  5. empty wrapper?
    By catakliss in forum WoW EMU Exploits & Bugs
    Replies: 1
    Last Post: 01-18-2008, 07:33 AM
All times are GMT -5. The time now is 10:26 PM. 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