[QUESTION] Player x,y coords? menu

User Tag List

Page 4 of 4 FirstFirst 1234
Results 46 to 46 of 46
  1. #46
    ninar1's Avatar Member
    Reputation
    13
    Join Date
    Jul 2009
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the movemnet struct is @ Playerbase+D8

    Code:
    MovementFields struct
    MovUnk1			dword	?	;	00
    MovUnk2			dword	?	;	04
    MovUnk3			dword	?	;	08
    MovUnk4			dword	?	;	0C
    PlayerCoordX		dword 	?	;	10
    PlayerCoordY		dword 	?	;	14
    PlayerCoordZ		dword 	?	;	18
    MovUnk5			dword 	?	;	1C
    PlayerRotation		dword 	?	;	20
    PlayerHorizont		dword	?	;	24
    .....
    MovementFields ends
    So:
    SetPlayerFacingXY [[pBase + 0xD8]+0x20]
    SetPlayerFacingHorizont [[pBase + 0xD8]+0x40]

    How do you guys go about it? Is there a hold key function
    Ripped from old code:

    Code:
    HoldKey proc proc Key:DWORD, mySleepTime:DWORD
    invoke	keybd_event, Key, 0, 0, 0 ; key down
    invoke  WaitForSingleObject, xHandle, mySleepTime ; wait the moment
    invoke	keybd_event, Key, 0, KEYEVENTF_KEYUP, 0 ; key up
    	ret
    HoldKey endp
    
    
    HoldKey proc proc Key:DWORD, mySleepTime:DWORD
    invoke SendMessage,hWndWoW, WM_KEYDOWN,Key,0
    invoke  WaitForSingleObject, xHandle, mySleepTime ; wait the moment
    invoke SendMessage,hWndWoW, WM_KEYUP,Key,0
    	ret
    HoldKey endp
    both should work depense how you gonna use it

    I write my facing and then tap the turn key for 1ms in both directions. I'm sure there's a better way, but this works pretty well. Also.
    i used to stop moving for 10ms,set rotation,waiting 10ms and go on.

    [QUESTION] Player x,y coords?
Page 4 of 4 FirstFirst 1234

Similar Threads

  1. [QUESTION] player.spell(ID).charges = X
    By Kilorar in forum PE Support forum
    Replies: 3
    Last Post: 07-30-2015, 11:53 PM
  2. [Question] Player Offset: PowerType
    By DrakeFish in forum WoW Memory Editing
    Replies: 1
    Last Post: 02-23-2010, 10:15 PM
  3. a question about reading xyz coords
    By mcuncool in forum World of Warcraft General
    Replies: 0
    Last Post: 08-11-2009, 06:28 AM
  4. [QUESTION] Player GUID
    By waymirec in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 01-23-2009, 08:46 PM
  5. [question] Players online 2 realms
    By xaverz in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-01-2008, 11:01 AM
All times are GMT -5. The time now is 04:14 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