taultunleashed logoSWG Autoattack Patcher (Single Client) - Updated 3/24 : Star Wars Galaxies Nerfed Info tu winter contest 2012 nintendo wii
newtopic  postreply
 [ 30 posts ]  1, 2  Next
blue large dot

SWG Autoattack Patcher (Single Client) - Updated 3/24 : Star Wars Galaxies Nerfed Info

Posted: March 1st, 2011, 2:32 pm
 
tnok85

Total Posts: 47
Joined: October 3rd, 2008, 3:22 pm
tnok85's Reps: 0
User avatar
premium
EDIT: Updated 3/24 - working on live. If you're just here for the new offset, it's 1C3F094

Changelog: Simplified the UI. Attach/Detach/Quit.

Written in AutoIt using NomadMemory to access/write to addresses.

What does it do:
Enables auto attack - as soon as you target an enemy, you start autofiring.

What it doesn't do:
No multi-client support (yet). If there's enough interest I'll add this (and more) features.

What's it for:
AFK combat grinding, AFK foraging (utilize this to kill the worms/npcs that attack - my 90 Mando Frontman has no problem killing any of them with auto attacks from just a 1326/216 lava cannon)


How to use it:
- Unzip anywhere you like.
- For safety, rename the EXE - I do not believe SOE scans for processes but better safe than sorry.
- Start SWG.
- Start SWGAutoAttack.exe.
- Click "Attach"
- Leave the SWGAutoAttack running, since it's basically locking the address by running a very short loop.
- Now anything hostile that gets targeted, you'll start auto attacking.
- Click "Detach" to disable auto attacking (will take a few seconds)

*TESTED ON WINDOWS 7 X64 - WORKING AS OF 3/24*

NOTE: This is for TaultUnleashed use ONLY. This is NOT TO BE POSTED ANYWHERE ELSE. You are free to modify the source code FOR PERSONAL OR TAULTUNLEASHED USE ONLY.


You do not have the required permissions to view the files attached to this post.


Last edited by tnok85 on March 24th, 2011, 12:34 pm, edited 11 times in total.

Posted: March 1st, 2011, 2:42 pm
 
tnok85

Total Posts: 47
Joined: October 3rd, 2008, 3:22 pm
tnok85's Reps: 0
User avatar
premium
Adding source so you can run it/compile it yourself if you want - understandable if people don't want to run EXE's. Adapted from a tutorial by darkjohn20 over on the Cheat Engine forums.

Updated source 3/24


Requires NomadMemory.au3, found here: http://www.autoitscript.com/forum/index ... h_id=31611


(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
#RequireAdmin
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

Global $hMemory
Global $checker = 0
Global $AutoAttack = Dec("1C3F094")
Global $BaseAddress = _MemoryGetBaseAddress($hMemory, 1)

#Region ### START Koda GUI section ###
$hGUI = GUICreate("tNok85's SWG Autoattack Patcher for TaultUnleashed", 259, 40, 192, 104)
$hAttach = GUICtrlCreateButton("Attach", 8, 8, 75, 25, $WS_GROUP)
$hDetach = GUICtrlCreateButton("Detach", 88, 8, 83, 25, $WS_GROUP)
GUICtrlSetState($hDetach, $GUI_DISABLE)
$hQuit = GUICtrlCreateButton("Quit", 176, 8, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


While 1
   Switch GUIGetMsg()
      Case $hAttach
         $hMemory = _MemoryOpen(ProcessExists("SwgClient_r.exe"))
         GUICtrlSetState($hDetach,$GUI_ENABLE)
         GUICtrlSetState($hAttach,$GUI_DISABLE)
       _Patch()
      Case $hDetach
         _StopLoop()
       _MemoryClose($hMemory)
         GUICtrlSetState($hAttach,$GUI_ENABLE)
         GUICtrlSetState($hDetach,$GUI_DISABLE)       
      Case $hQuit
         Exit
      Case $GUI_EVENT_CLOSE
         Exit
    EndSwitch
   
   If $checker=1 Then
      $Write = _MemoryWrite($AutoAttack, $hMemory, "1")
      Sleep(250)
   EndIf

WEnd

Func _Patch()
   If $BaseAddress = 0 Then
      Select
         Case @error = 1
            MsgBox(0, "Error", "Error getting base address: " & @CRLF & "Invalid handle to open process")
         Case @error = 2
            MsgBox(0, "Error", "Error getting base address: " & @CRLF & "Failed to find correct allocation address")
         Case @error = 3
            MsgBox(0, "Error", "Error getting base address: " & @CRLF & "Failed to read from the specified process")
      EndSelect
   EndIf
   $checker=1
EndFunc

Func _StopLoop()
   $checker=0
   $Write = _MemoryWrite($AutoAttack, $hMemory, "0")
EndFunc


Last edited by tnok85 on March 24th, 2011, 12:32 pm, edited 3 times in total.

Posted: March 1st, 2011, 2:53 pm
 
heration

Total Posts: 21
Joined: August 4th, 2010, 9:12 am
heration's Reps: 2
User avatar
premium
Tried it just now, works perfectly.

/yay

Thanks for it.


Posted: March 1st, 2011, 4:40 pm
 
tnok85

Total Posts: 47
Joined: October 3rd, 2008, 3:22 pm
tnok85's Reps: 0
User avatar
premium
heration (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
Tried it just now, works perfectly.

/yay

Thanks for it.


No problem. Are you on Windows 7 64 as well? It should work fine on 32 bit 7/vista (and XP) but I don't have a 32 bit/XP install on any of my computers so I can't verify.


Posted: March 1st, 2011, 10:25 pm
 
vinnyboy32

Total Posts: 1872
Location: Behind You
Joined: June 3rd, 2006, 8:35 pm
vinnyboy32's Reps: 3
User avatar
Active User > 50 Posts
premium
Need some more feedback from premium members please?

_________________
Your Friendly Neighborhood Moderator!
Read The FAQ - http://www.taultunleashed.com/phpbb2/forum159_FAQ.html


Posted: March 2nd, 2011, 8:06 am
 
heration

Total Posts: 21
Joined: August 4th, 2010, 9:12 am
heration's Reps: 2
User avatar
premium
tnok85 (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
heration (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
Tried it just now, works perfectly.

/yay

Thanks for it.


No problem. Are you on Windows 7 64 as well? It should work fine on 32 bit 7/vista (and XP) but I don't have a 32 bit/XP install on any of my computers so I can't verify.


On windows 7, cant help with the XP or Vista sorry!


Posted: March 3rd, 2011, 2:20 am
 
_obelix_

Total Posts: 122
Location: Germany
Joined: October 3rd, 2007, 5:56 am
_obelix_'s Reps: 2
User avatar
Active User > 50 Posts
premium
I confirm the trainer working on a WinXP Professional.

/yay


Basically this trainer does the same as Cheat Engine when it locks the memory adress. But yes - nice work.

You should at least add a version check, since the offset may change with any SWG-Client update. And writing a value at a wrong offset in memory usually crashes the client. ;)


Posted: March 3rd, 2011, 4:14 am
 
tnok85

Total Posts: 47
Joined: October 3rd, 2008, 3:22 pm
tnok85's Reps: 0
User avatar
premium
_obelix_ (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
I confirm the trainer working on a WinXP Professional.

/yay


Basically this trainer does the same as Cheat Engine when it locks the memory adress. But yes - nice work.

You should at least add a version check, since the offset may change with any SWG-Client update. And writing a value at a wrong offset in memory usually crashes the client. ;)


Yep - this is pretty much what all memory type hacks do, unless you're actually code injecting. Then that's still just something CE can do.

A lot of people don't have Cheat Engine or don't want to use it - there are a number of people here that just want to download something that works without fooling around. That's all this is. :D

And yeah I'll toss a version check in next time I update it. Might add multi-client support.


Posted: March 4th, 2011, 7:26 pm
 
cuervogold

Total Posts: 1088
Location: 127.0.0.1
Joined: September 25th, 2007, 3:39 pm
cuervogold's Reps: 727
User avatar
Active User > 50 Posts
premium
I think as my final release that I'll end up posting a tut on AA offsets, how I find them and the source to my trainer so anyone, someone can keep it updated. I just don't have the time to do it.

I always wanted to write a mem patch tut for autoit, but I just never found the time.

This post is a great first step to others modding the game.

I didn't test so I can't yah or nay.


I tired to post an update on my old stuff but TU was down again.

_________________
Cuervo, the drink.


Posted: March 4th, 2011, 8:11 pm
 
tnok85

Total Posts: 47
Joined: October 3rd, 2008, 3:22 pm
tnok85's Reps: 0
User avatar
premium
cuervogold (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
I think as my final release that I'll end up posting a tut on AA offsets, how I find them and the source to my trainer so anyone, someone can keep it updated. I just don't have the time to do it.

I always wanted to write a mem patch tut for autoit, but I just never found the time.

This post is a great first step to others modding the game.

I didn't test so I can't yah or nay.


I tired to post an update on my old stuff but TU was down again.


Any of your old source code would be the ultimate help for everybody here, including me. :D


Posted: March 13th, 2011, 10:46 am
 
tnok85

Total Posts: 47
Joined: October 3rd, 2008, 3:22 pm
tnok85's Reps: 0
User avatar
premium
This section is really dead... probably won't be updating this, very little interest. Source code is there for anybody interested.


Posted: March 22nd, 2011, 7:51 pm
 
tnok85

Total Posts: 47
Joined: October 3rd, 2008, 3:22 pm
tnok85's Reps: 0
User avatar
premium
Updated... 2 yays... need one more!


Posted: March 22nd, 2011, 7:55 pm
 
vinnyboy32

Total Posts: 1872
Location: Behind You
Joined: June 3rd, 2006, 8:35 pm
vinnyboy32's Reps: 3
User avatar
Active User > 50 Posts
premium
Can we please get some more confirmation on this?

_________________
Your Friendly Neighborhood Moderator!
Read The FAQ - http://www.taultunleashed.com/phpbb2/forum159_FAQ.html


Posted: March 23rd, 2011, 12:22 pm
 
spagetiokillers

Total Posts: 130
Joined: November 27th, 2009, 5:55 pm
spagetiokillers's Reps: 18
User avatar
Active User > 50 Posts
premium
hey tnok how did you use this with the forager, like moving wise/macros? i use the /dance and pet one but i hate having the pet setup and would like to try this one out.


Posted: March 23rd, 2011, 4:41 pm
 
vad0r

Total Posts: 18
Joined: February 5th, 2011, 9:46 pm
vad0r's Reps: 0
User avatar
premium
yay


Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 43 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of Star Wars Galaxies Nerfed Info RSS Feed 
Sitemap of Star Wars Galaxies Nerfed Info Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?