Network: WoW Gold | WoW Accounts | MPS Games | FPSowned
MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides
Homepage »      Register »      Hall of Fame »      Ranks And Awards »      Advertise »      Marketplace »
 
Sign up



Do you like this excellent information? Then Donate HERE to remove ads and support the MMOwned community.


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > World of Warcraft > Bots and Programs > WoW Memory Editing

WoW Memory Editing WoW Memory Editing for learning purposes only.
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

Reply
 
LinkBack Thread Tools
  #46  
Old 06-22-2009
Apoc's Avatar
Apoc is offline.
MMOwned WebDev
Legendary User
  
 
Join Date: Jan 2008
Posts: 1,891
Nominated 5 Times in 1 Post
Reputation: 1029
Points: 21,931, Level: 20
Points: 21,931, Level: 20 Points: 21,931, Level: 20 Points: 21,931, Level: 20
Level up: 71%, 469 Points needed
Level up: 71% Level up: 71% Level up: 71%
Activity: 34.4%
Activity: 34.4% Activity: 34.4% Activity: 34.4%

Quote:
Originally Posted by 0_00_0 View Post
Is it possible to loot or interact with CTM? I've tried but no dice. Has anyone tried it with success?
4 = move

There are other things that can be put in place instead of 4. Try them out.
__________________
[Only registered and activated users can see links. ]
Reply With Quote


Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.

  #47  
Old 06-22-2009
amadmonk's Avatar
amadmonk is offline.
Site Donator
  
 
Join Date: Apr 2008
Posts: 300
Reputation: 62
Points: 861, Level: 1
Points: 861, Level: 1 Points: 861, Level: 1 Points: 861, Level: 1
Level up: 93%, 39 Points needed
Level up: 93% Level up: 93% Level up: 93%
Activity: 3.7%
Activity: 3.7% Activity: 3.7% Activity: 3.7%
Quote:
Originally Posted by Harko View Post
up to this day Blizz followed a strict policy. They only ban people when they exactly know what hack / bot the person used. (execluding gold selling / server side detection)

By Gliders downfall and the rise of many new bots at the same time they have to change the strategy, in a way to more generic methods or they will lose in the long run.

personally I would do:

- implement some stack trace and flag checks
- randomize the packet opcodes with each little patch
- implement some counter for console commands which autoit bots heavily use

but I don't expect them to do it. They will stick to Warden which means that such stuff is safe.
I think that Blizzard has shown a pretty clear pattern of going for the low-hanging fruit OR the most abusive/annoying folks (gold sellers, etc.)

This means that if you don't use a blatantly obvious method of interacting with WoW (or if you have good plausible deniability), and if you're not publicly releasing or selling your code, you're probably safe, for a time.

Note that there are methods that they can block without banning you; for instance, they could implement the CTM flag check mentioned without it being a ban. It would just render all the copypasta CTM useless, without them having to worry about whether some legitimate users were being banned.

Note that there are a lot of suspect technologies that have legitimate uses -- custom HID drivers for unusual hardware, IAT hooking for shim engine stuff, and so on. Heck, you could even argue that virii could patch binaries in a way that would trigger a disconnect (although Blizz shouldn't ban since it shouldn't match any known signatures).

In my evil days, I've thought about creating a virus that just seeks and patches WoW in a way that matches some known signature, thus producing a huge wave of innocent people being banned. The egg on Blizzard's face would be delicious, but it would also cause a lot of grief. So, naah...
__________________
Don't believe everything you think.
Reply With Quote
  #48  
Old 06-22-2009
0_00_0 is offline.
New User
  
 
Join Date: Jun 2007
Posts: 37
Reputation: 1
Points: 798, Level: 1
Points: 798, Level: 1 Points: 798, Level: 1 Points: 798, Level: 1
Level up: 80%, 102 Points needed
Level up: 80% Level up: 80% Level up: 80%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

Quote:
Originally Posted by Apoc View Post
4 = move

There are other things that can be put in place instead of 4. Try them out.
I know I have tried them out. I thought 6 was loot, but my code doesn't work. this method works for moving with go as 4 but I can't get it to loot or interact.

C++ code:
Code:
void LootTarget(HANDLE hProcess, float destX, float destY, float destZ, INT64 GUID){
     int go = 6;
     if(WriteProcessMemory(hProcess, (LPVOID)click_GUID, &GUID, sizeof(GUID), NULL)==0)
                                      std::cout<<"Error setting GUId for click-to-move\n";
     WriteProcessMemory(hProcess, (LPVOID)clickset_X, &destX, sizeof(destX), NULL);
     WriteProcessMemory(hProcess, (LPVOID)clickset_Y, &destY, sizeof(destY), NULL);
     WriteProcessMemory(hProcess, (LPVOID)clickset_Z, &destZ, sizeof(destZ), NULL);
     if(WriteProcessMemory(hProcess, (LPVOID)clickset_Go, &go, sizeof(go), NULL) == 0)
                                     std::cout<<"Error looting target!\n";
}
do I need to pass it more parameters?

Last edited by 0_00_0; 06-22-2009 at 09:25 PM.
Reply With Quote
  #49  
Old 06-23-2009
Oowafas is offline.
Corporal
  
 
Join Date: Jan 2009
Posts: 26
Reputation: 14
Points: 152, Level: 1
Points: 152, Level: 1 Points: 152, Level: 1 Points: 152, Level: 1
Level up: 38%, 248 Points needed
Level up: 38% Level up: 38% Level up: 38%
Activity: 0.8%
Activity: 0.8% Activity: 0.8% Activity: 0.8%

I just use the interact virtual function to loot right now. Works well if you can inject. I'm pretty sure I saw a post with all the movement flags a while ago though, I'll see if I can dig it up.

Also, the XYZ writes are sequential so you could do them all with one call to WriteProcessMemory.

Last edited by Oowafas; 06-23-2009 at 01:05 AM.
Reply With Quote
  #50  
Old 06-23-2009
voron23's Avatar
voron23 is offline.
New User
  
 
Join Date: Mar 2009
Posts: 29
Reputation: 1
So other flags (5,6,7) dont work, or we write GUID to wrong place in memory! I want use inject Interact() (all time from april..), but i can't figure it out in AutoIt!
Reply With Quote
  #51  
Old 06-27-2009
voron23's Avatar
voron23 is offline.
New User
  
 
Join Date: Mar 2009
Posts: 29
Reputation: 1
Code:
_MemoryWrite(0x011180C0, $handle, $targetGUID, 'uint64')
_MemoryWrite(0x011180BC, $handle, "6", 'int')
it loot your target, but only interact, dont really take items from loot window.. what may be wrong?

Last edited by voron23; 06-27-2009 at 07:14 PM.
Reply With Quote
  #52  
Old 06-28-2009
dnl is offline.
New User
  
 
Join Date: Aug 2006
Location: Winland
Posts: 55
Reputation: 4
Points: 715, Level: 1
Points: 715, Level: 1 Points: 715, Level: 1 Points: 715, Level: 1
Level up: 63%, 185 Points needed
Level up: 63% Level up: 63% Level up: 63%
Activity: 0.7%
Activity: 0.7% Activity: 0.7% Activity: 0.7%

Quote:
Originally Posted by voron23 View Post
Code:
_MemoryWrite(0x011180C0, $handle, $targetGUID, 'uint64')
_MemoryWrite(0x011180BC, $handle, "6", 'int')
it loot your target, but only interact, dont really take items from loot window.. what may be wrong?
Enable autoloot?
Reply With Quote
  #53  
Old 06-28-2009
1814 is offline.
Sergeant
  
 
Join Date: Mar 2008
Posts: 66
Reputation: 17
Points: 424, Level: 1
Points: 424, Level: 1 Points: 424, Level: 1 Points: 424, Level: 1
Level up: 5%, 476 Points needed
Level up: 5% Level up: 5% Level up: 5%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Quote:
Originally Posted by dnl View Post
Enable autoloot?
Afaik you cant autoloot with CTM. You need to call Interact.
Reply With Quote
  #54  
Old 06-28-2009
voron23's Avatar
voron23 is offline.
New User
  
 
Join Date: Mar 2009
Posts: 29
Reputation: 1
(F***ing Interact()))))
Method to autoloot with CTM:
Code:
_MemoryWrite(0x011180C0, $handle, $cGUID, 'uint64')
_MemoryWrite(0x011180BC, $handle, "6", 'int')
$lt=1
Do
	$iloot=_MemoryRead(0x011E9ADC, $handle, 'int') ;LootSlot(1) ItemID
		If $iloot>0 Then
		$lootcount+=1
		GUICtrlSetData($LabelKill, $killcount&"/"&$lootcount&"/"&$deadhapens)
		EndIf
	$loottime=TimerDiff($timer)
	If $loottime>4000 And $lt=1 Then
	_MemoryWrite(0x011180C0, $handle, $cGUID, 'uint64')
    _MemoryWrite(0x011180BC, $handle, "6", 'int')
	Sleep(300)
    Key("{DOWN}")
	$lt=0
	EndIf
	Sleep(100)
Until $iloot>0 Or $loottime>7000
Bar(2)
Key(3)
In Bar2,Key3 i put macro to loot items
Code:
/script LootSlot(1)
/script LootSlot(2)
/script LootSlot(3)
/script LootSlot(4)
/script LootSlot(5)
So when ItemID of first lootslot >0 script will take items)

Last edited by voron23; 06-28-2009 at 08:08 AM.
Reply With Quote
  #55  
Old 06-28-2009
voron23's Avatar
voron23 is offline.
New User
  
 
Join Date: Mar 2009
Posts: 29
Reputation: 1
Now after some tests, wow crash about every ~100 Loots()...132 Error.
After this happens(and randomly through the time), looting dont work. If i CTM(hardware event) manualy on random position - it works again)
So my question is..what is the CTM flag u talking about in the thread? maybe it cause 132 error and loot shutdown?
Reply With Quote
  #56  
Old 06-29-2009
vulcanaoc is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 102
Reputation: 22
Points: 626, Level: 1
Points: 626, Level: 1 Points: 626, Level: 1 Points: 626, Level: 1
Level up: 46%, 274 Points needed
Level up: 46% Level up: 46% Level up: 46%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Hey guys, I just got CTM working without having to manually perform a CTM first. It only requires a few more memory writes.

I will post the solution ASAP, but it is late as shit here..
Reply With Quote
  #57  
Old 06-29-2009
ramey is offline.
Knight-Lieutenant
  
 
Join Date: Jan 2008
Posts: 268
Reputation: 17
Points: 1,511, Level: 3
Points: 1,511, Level: 3 Points: 1,511, Level: 3 Points: 1,511, Level: 3
Level up: 16%, 589 Points needed
Level up: 16% Level up: 16% Level up: 16%
Activity: 1.1%
Activity: 1.1% Activity: 1.1% Activity: 1.1%

Quote:
Originally Posted by vulcanaoc View Post
Hey guys, I just got CTM working without having to manually perform a CTM first. It only requires a few more memory writes.

I will post the solution ASAP, but it is late as shit here..
Or people could just do it properly instead of memory writes! :x
Reply With Quote
  #58  
Old 06-29-2009
voron23's Avatar
voron23 is offline.
New User
  
 
Join Date: Mar 2009
Posts: 29
Reputation: 1
Quote:
Originally Posted by vulcanaoc View Post
Hey guys, I just got CTM working without having to manually perform a CTM first. It only requires a few more memory writes.

I will post the solution ASAP, but it is late as shit here..
Will wait ur post ^_^
Quote:
Originally Posted by rameyc View Post
Or people could just do it properly instead of memory writes! :x
Dear rameyc, please tell me how to create mouse background clicker, so i can loot mobs without mem writing
Reply With Quote
  #59  
Old 06-29-2009
Robske's Avatar
Robske is offline.
Contributor
  
 
Join Date: May 2007
Location: Dragon Shores
Posts: 673
Reputation: 167
Points: 3,796, Level: 6
Points: 3,796, Level: 6 Points: 3,796, Level: 6 Points: 3,796, Level: 6
Level up: 22%, 704 Points needed
Level up: 22% Level up: 22% Level up: 22%
Activity: 12.7%
Activity: 12.7% Activity: 12.7% Activity: 12.7%

Quote:
Originally Posted by ramey View Post
Or people could just do it properly instead of memory writes! :x
Whishful thinking
__________________
“Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.”
“If Java had true garbage collection, most programs would delete themselves upon execution.”
Reply With Quote
  #60  
Old 06-29-2009
vulcanaoc is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 102
Reputation: 22
Points: 626, Level: 1
Points: 626, Level: 1 Points: 626, Level: 1 Points: 626, Level: 1
Level up: 46%, 274 Points needed
Level up: 46% Level up: 46% Level up: 46%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Quote:
Originally Posted by ramey View Post
Or people could just do it properly instead of memory writes! :x
Check it out: thread title: [3.1.1] Movement with simple memory writes

"Har Har Har" people can do it properly by calling the actual function. Or they can follow the... following if they don't feel like using code injection:

Required Memlocs:
-------------------------------
All text in quotes is a type of what you all call "patterns". The substring before the first "," is a Regex pattern to match before a number of bytes. The substring after the first "," is a pattern to match after a number of bytes. If there is a second ",", the integer after it represents how many bytes in between the two patterns there are. Otherwise, four bytes are assumed.
I also included the results that these patterns would yield in 3.1.3.
Code:
InterfaceOptionsMouse_Pointer = "75-25-A1,39-50-XX-74" //3.1.3: 0x11D40C0
InterfaceOptionsMouse_ClickToMove_Offset = "75-XX-A1-XX-XX-XX-XX-39-50,74-XX-D9-EE,1" //3.1.3: 0x30
ClickToMoveUnk1 = "D9-5D-XX-57-D9-05,D8-4D-XX-DD-05" //3.1.3: 0x11180A4
ClickToMoveTightness = "75-64-83-F8-04-D9-05,D9-55-XX-75-XX-8B-8E" //3.1.3: 0x11180AC
ClickToMoveX = "8B-06-A3,89-0D-XX-XX-XX-XX-8B-4E" //3.1.3: 0x111812C
ClickToMoveGUID = "8B-06-A3-XX-XX-XX-XX-89-0D,8B-4E-XX-89-0D" //3.1.3: 0x11D3F68
ClickToMoveGoType = "8B-4D-XX-89-0D,E8-XX-XX-XX-XX-8B-13" //3.1.3: 0x11180BC
Required Code: (or similar)
-------------------------------
Code:
public void DoClickToMove(Location location, ClickToMoveType ctmType)
{
//retrieve required memory locations

//required to enable ctm
int ctmOptionAddr = wow.memlocs.GetMemloc("InterfaceOptionsMouse_Pointer");
int ctmOptionOffset = wow.memlocs.GetMemloc("InterfaceOptionsMouse_ClickToMove_Offset");
ctmOptionAddr = wow.memory.ReadInt(ctmOptionAddr) + ctmOptionOffset;

//required to perform ctm
int ctmXAddr = wow.memlocs.GetMemloc("ClickToMoveX");
int ctmTypeAddr = wow.memlocs.GetMemloc("ClickToMoveGoType");
int ctmGUIDAddr = wow.memlocs.GetMemloc("ClickToMoveGUID");
int ctmUnk1Addr = wow.memlocs.GetMemloc("ClickToMoveUnk1");
int ctmTightnessAddr = wow.memlocs.GetMemloc("ClickToMoveTightness");

//write enable ctm
wow.memory.WriteInt(ctmOptionAddr, 1);

//write location info
wow.memory.WriteFloat(ctmXAddr, location.X);
wow.memory.WriteFloat(ctmXAddr + 0x4, location.Y);
wow.memory.WriteFloat(ctmXAddr + 0x8, location.Z);

//write guid info
wow.memory.WriteLong(ctmGUIDAddr, wow.memory.ReadLong(wow.memlocs.GetMemloc("CurrentTargetGUID")));

//write other required info
wow.memory.WriteFloat(ctmUnk1Addr, 14.0f); //this seems to work...
wow.memory.WriteFloat(ctmUnk1Addr + 0x4, 0.25f); // normal scale turn radius
wow.memory.WriteFloat(ctmTightnessAddr, 0.5f); // set to stop if distance from xyz is 0.5 or less

//write ctm "go" type/bit
wow.memory.WriteInt(ctmTypeAddr, (int)ctmType);
}
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -4. The time now is 10:34 PM.




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490