[Help]Simple memorywriting question menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    tymezz's Avatar Member
    Reputation
    9
    Join Date
    Nov 2007
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    So this is my new code, tell me what you think. I went with the Uint64.
    Code:
    UInt64 sx = ObjectManager.Me.Target;
    UInt64 CTM_GUID = 0xB9252C;
    ObjectManager.Memory.WriteInt(CTM_GUID, sx);
    ObjectManager.Memory.WriteInt(CTM_Type, Loot);
    Like I said before, you have to make sure you use the right Write method for the type of data you're dealing with, again, a GUID is NOT a regular integer.. you even defined it as a UInt64. So the next logical step would be to use the correct Write method.

    Without too much spoonfeeding, take a look at the links posted here, and try to understand your code. Like, can you explain why you use UInt64 to hold a GUID? Or why you use UInt64 to hold the address you want to write to?

    [Help]Simple memorywriting question
  2. #17
    Flowerew's Avatar Master Sergeant
    Reputation
    72
    Join Date
    Oct 2009
    Posts
    134
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seriously, this thread is pointless. He doesn't even know what he's doing and above all not why. Learn your ****ing language, and don't come back until you understand it. You don't even seem to have the slightest idea about types, memory or whatsoever. Copypasta is not programming and even though people "try" to help you and already pointed out what's wrong you keep comming back because you don't get it. This no beginners section:
    This section is more advanced than others on MMOwned Read the section specific rules, infractions will be given out if u break them! That is including the expectations! - If you don't meet them then don't post
    Don't post!

  3. #18
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    So I was looking over it again and this is what I got. It works a little.. I think, well not really. It face West Ever Time. Any ideas?

    Code:
    ObjectManager.Memory.WriteUInt64(CTM_GUID, ObjectManager.Me.GUID);
    ObjectManager.Memory.WriteInt(CTM_Type, FaceTarget);

  4. #19
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    It face West Ever Time.
    What do you think you're trying to face?

  5. #20
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I am trying to face an object. When it has targeted an object it still turns to the West.

  6. #21
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man seriously.
    You wrote
    Originally Posted by DarkLinux View Post
    Me.GUID
    Now question: To which object the GUID you write refers to?

    ps: Im still posting by curiosity and for the lulz.

  7. #22
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, it's fairly unimportant what he writes into the GUID of the struct as long as he uses FaceTarget as CTM type.
    However, when I tested to use facing/interacting with global CTM it didn't get it working either.

    Anyway, you will get your lulz :P

  8. #23
    tymezz's Avatar Member
    Reputation
    9
    Join Date
    Nov 2007
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My understanding of writing to the CTM struct is limited to what I've read in Apoc's post "ClickToMove Explained", but assuming the addresses and values he's writing is correct, that should work. Writing the GUID of the actual object is only necessary for interaction, I believe.

    But I've got a good feeling he's not writing the coords as floats or he's just writing incorrect coordinates.

  9. #24
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think he doesn't write position at all.
    I know that for interaction both guid and position have to be given and valid to be working.
    It may be the same for facing, but if he fails at writing the right guid at the write place what about dealing with a position.
    Just changing the player's rotation wouldn't work? ugly but plain and simple, but im too lazy to try it myself

    uh btw still not locked!

  10. #25
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Sorry about that, I leave things out or post the wrong code.
    Code:
    ObjectManager.Memory.WriteUInt64((uint)CTM_GUID, ObjectManager.Me.Target);
    ObjectManager.Memory.WriteInt((uint)CTM_Type, (int)NpcInteract);

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [help] many noob questions
    By pl0x4 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-14-2008, 11:17 PM
  2. Lua script help and general questions from beginner
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-23-2008, 04:38 AM
  3. Need help on this question
    By aznboy in forum World of Warcraft General
    Replies: 4
    Last Post: 02-08-2008, 11:32 AM
  4. [HELP] Char creation question
    By logicd22 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 01-06-2008, 05:06 PM
  5. Help lol ( noob question )
    By Daxo in forum World of Warcraft General
    Replies: 4
    Last Post: 09-23-2007, 12:16 AM
All times are GMT -5. The time now is 10:58 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