[Guide-kind of] How I handle objects. menu

User Tag List

Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 80
  1. #46
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or google flight controls: pitch, yaw, roll.

    WoW implements pitch (upwards/downwards factin) and yaw (which is just heading). Roll would be... interesting.
    Don't believe everything you think.

    [Guide-kind of] How I handle objects.
  2. #47
    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)
    You can actually get a roll-like effect with editing bone flags. (It actually some weird billboarding then. Pretty funny. Just edit the root bone and try a bit. Got pretty nice results.)

    Of course that's not real roll.

  3. #48
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is one of those posts I can read over and over again and I still find new things in it and all those smalle details I have been missing before.

    Anyways this post has been really helpful and I want to learn from it. So far I am trying to make this work but once again I am facing my own stupidty.

    I included Shynd's BM and replaced some of those Wowreader commands so it would fit BM.

    What I dont get is what does WowReader.SetProcess("Wow", "read") do ? I mean okay I am pretty sure that it tells the class which process to open and so on but I am just not completely sure how to handle this ? does this set debug priveleges as well ?

    I know this might be stupid and I am sorry if it is but thats just me

    -Azzie

  4. #49
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Azzie2k8 View Post

    What I dont get is what does WowReader.SetProcess("Wow", "read") do ? I mean okay I am pretty sure that it tells the class which process to open and so on but I am just not completely sure how to handle this ? does this set debug priveleges as well ?

    I know this might be stupid and I am sorry if it is but thats just me

    -Azzie

    This calls the underlying Win32 OpenProcess so that things like ReadProcessMemory and WriteProcessMemory can be called and most probably creates debug privileges as well.

    (of course, i don't have the code; this is all assumed.)

  5. #50
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am facing some new problems and I have no idea why they are caused.

    It seems that whenever I call this
    Code:
    objectManagerBase = WowReader.ReadUInt((WowReader.ReadUInt(staticClientConnection) + objectManagerOffset));
    I get this exception

    ************** Exception Text **************
    System.Exception: ReadUInt failed.
    at Magic.SMemory.ReadUInt(IntPtr hProcess, UInt32 dwAddress, Boolean bReverse)
    at Magic.BlackMagic.ReadUInt(UInt32 dwAddress, Boolean bReverse)
    at Magic.BlackMagic.ReadUInt(UInt32 dwAddress)
    at FishBot.ObjectManager.LoadAddresses() in E:\Fishbot\FishBot\ObjectManager.cs:line 33
    at FishBot.Form1.Attach_Click(Object sender, EventArgs e) in E:\Fishbot\FishBot\Form1.cs:line 23
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The adresses I use are still the same as in the guide

    Code:
            private static uint staticClientConnection = 0x011CB310; // client connection, same address every boot
            private const uint objectManagerOffset = 0x28A4;
    I havent looked up the new ones since it really won't matter if I don't get this ObjectManager working first.

    ReadUInt works if I am only reading a normal static adress but as soon as I use the above code everything crashes.
    I dunno what might be causing this because even if the adress and offset would be wrong it woul just read some jibberish, right ?

    -Azrael

  6. #51
    Quarters's Avatar Member
    Reputation
    16
    Join Date
    May 2009
    Posts
    38
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure why it's not working however your addresses and offsets are out of date I think and you need them to be up to date for it to work I would have thought... I'd check over the sticky in the memory editing section for the newest ones. I think its called "3.1.3 info dump" or something similar.

    Quarters.

  7. #52
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Quarters View Post
    Not sure why it's not working however your addresses and offsets are out of date I think and you need them to be up to date for it to work I would have thought... I'd check over the sticky in the memory editing section for the newest ones. I think its called "3.1.3 info dump" or something similar.

    Quarters.
    well I will just throw ida pro on and go and search for it. people arent updating static for clientconnect ( at least I havent found any) since they have those cool searchpatterns

  8. #53
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Azzie2k8 View Post
    well I will just throw ida pro on and go and search for it. people arent updating static for clientconnect ( at least I havent found any) since they have those cool searchpatterns
    http://www.mmowned.com/forums/wow-me...-patterns.html

    Though it deals with patterns, I suggest reading it. It contains 3.1.3's statics too, anyway.

  9. #54
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by vulcanaoc View Post
    http://www.mmowned.com/forums/wow-me...-patterns.html

    Though it deals with patterns, I suggest reading it. It contains 3.1.3's statics too, anyway.
    I just tried it with the updated addresses and yep they were causing the issue.

    Thanks for the guide I will implement those patterns soon so this wont happen again.

    -Azrael
    Last edited by Azzie2k8; 07-16-2009 at 01:05 PM.

  10. #55
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like you made ObjectManager static. Check for the 'static' keyword in the class definition and, really, in any method it contains.

  11. #56
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by vulcanaoc View Post
    Sounds like you made ObjectManager static. Check for the 'static' keyword in the class definition and, really, in any method it contains.
    damn it...you read my post before I edited it...yes it is static and it is supposed to be static. I will just acces it directly

  12. #57
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So everything with this worked fine so far. There is only one thing that bothers me atm.

    LocalPlayer is always null.

    I can find the local Player in the list but it does not safe the LocalPlayer at populating the list.

    Code:
                    if (CurrentObject.Type == 4)
                    { // a player
                        PlayerObjectList.Add(CurrentObject.Guid, new PlayerObject(CurrentObject.BaseAddress));
                        if (CurrentObject.Guid == localGuid) // it is the local player
                        {
                            LocalPlayer = PlayerObjectList[localGuid];
                        }
                    }
    As Local Guid Offset I am using 0xC0 which I have looked up at several places and seems to be up to date.

    Code:
                localGuid = WowReader.ReadUInt(objectManagerBase + localGuidOffset);
    The ObjectManager works fine beside that so I am getting ObjectManagerBase and so on.

    If anyone could enlighten me ?

    -Azrael

  13. #58
    SKU's Avatar Contributor
    Reputation
    306
    Join Date
    May 2007
    Posts
    565
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you may want to read the GUID as an UInt64.

  14. #59
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SKU View Post
    you may want to read the GUID as an UInt64.
    Oh no...now I have to punish myself for being stupid...

    thanks alot +Rep

  15. #60
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Edit: nvm, already found my answer.
    Any hints where I could start reversing to find position-offsets myself?
    Last edited by flo8464; 07-17-2009 at 10:02 AM.

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Guide] How I handle log files!
    By Viano in forum Programming
    Replies: 0
    Last Post: 01-09-2010, 03:36 PM
  2. [Guide]How to build Objects in your server [EASY FAST STEPS]
    By matafakas in forum WoW EMU Guides & Tutorials
    Replies: 26
    Last Post: 03-07-2009, 01:48 PM
  3. [Guide] How to handle beggers
    By manowarlock in forum World of Warcraft Guides
    Replies: 23
    Last Post: 11-08-2008, 09:55 PM
All times are GMT -5. The time now is 12:36 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