taultunleashed logo[BOT] Jedi, afk farming : Star Wars Galaxies Nerfed Info tu winter contest 2012 nintendo wii
newtopic  postreply
 [ 9 posts ] 
blue large dot

[BOT] Jedi, afk farming : Star Wars Galaxies Nerfed Info

Posted: January 9th, 2008, 8:50 am
 
thecure

Total Posts: 11
Joined: October 23rd, 2005, 2:58 am
thecure's Reps: 0
User avatar
1. Introduction

A while ago now I've returned to SWG for a few months to see what changed with the new combat update. Having made my initial character around 4 and a half years ago now I thought it'd be neat to get my cash reserves up again as I had literally not a single credit left. I also work during the day so time & patience for grinding is short. The result became this bot.

It is made for the Jedi class. If you are savvy with AutoIt I think you'll find it fairly easy to replace the skills in the code with your own, but otherwise I'd leave it at what it is. My spec was something like this.

I have since July quit the game again, but decided now to get this thing public as my premium expired and thought I'd have a go trying to get it back.



2. What is it?

A small bot designed with AutoIt with the intention to grind on fast-spawning mobs in a neverending loop. Initially I had planned to use the press-alt-sell-junk-items trick along with it but by that time I stopped playing. You'll find some traces left of it in the sourcecode, by all means feel free to make it yourself. :)



3. What can it do?

By running your game in a window, the bot reads the color codes from 1 preset pixel of your enemies' health bars and your own health/action bars.

- You set your game on auto-attack nearby mobs, and to follow them when you aggroed. By checking if the pixel set on the target's health bar is red, the bot knows there are enemies about and will commence aggro.
- If the pixel on your health bar is no longer red, it'll heal you.
- If your heal is on cooldown it will use saber block
- If the pixel on your action bar is no longer green, it'll use forsake fear.
- If FF is on cooldown it will wait a bit longer after you exit combat to regen some action points.
- Attack cycle is standard saber throw->lightning->strike->sweep->shockwave
- Buffs Favor of the Elders and your chosen stance
- Loots



4. How do I do it?

Tricky bit for me as it's been since july since I've logged in, but I'll try and remember the steps and make it as clear as possible:

1. First off, download & install AutoIt (you'll need it for Window Info)
2. Boot up the game, login & switch to windowed mode. Put your skills in your action bar like below. This is a crucial step!

(!empty($user->lang['IMAGE'])) ? $user->lang['IMAGE'] : ucwords(strtolower(str_replace('_', ' ', 'IMAGE')))

3. In the AutoIt package there is a small program called AutoIt Window Info, start that and arrange your windows so that you can see the window info thing ànd the game window next to eachother.
4. Find a spot with fast spawning mobs. Low levels work extremely well, like the ragtags west and north of Coronet. I mainly used the ones north.
5. Open settings.ini and minimize it to the taskbar. Do the following:

(!empty($user->lang['IMAGE'])) ? $user->lang['IMAGE'] : ucwords(strtolower(str_replace('_', ' ', 'IMAGE')))

The pixel shown on the screenshot indicates the lowest you want your health to get before you heal. Seeing as how pixels have an X (horizontal) and an Y (vertical) value you need to know these for your own game window.
6. So go to your galaxies screen, hover your mouse over your healthbar like in the shown screenshot. Now look at AutoIt Window Info, and look for this:

(!empty($user->lang['IMAGE'])) ? $user->lang['IMAGE'] : ucwords(strtolower(str_replace('_', ' ', 'IMAGE')))

7. Hover the red bar until the 'Dec' value is 16711680. Remember the 'Screen X' and 'Screen Y' values.
8. In settings.ini you fill in HealthBarX with the Screen X value, HealthBarY with the Screen Y value.
9. Repeat steps 6->8, but for your action bar and the enemy's health bar. You can ignore SellJunkX and SellJunkY. Save settings.ini and close it.
10. Go to the game window and into game settings. I think it was in 'Video' that you could set your viewing distance, set it to maximum. Exit settings.
11. Now make it so you see your character exactly from above, facing the ground. Only thing I can compare it with is GTA1-2 perspective.
12. Put yourself on auto-attack aggoed mobs (think you could do it by pressing 'Y').
13. Make a keybinding for the 'Follow' action to the HOME key.
14. Make a keybinding for the 'Select new target' action to the END key.
15. Turn on auto-looting of corpses. Make a macro called 'looter' and put in something like
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
/loot all;
/pause 1;
/macro looter


or whatever works these days, and run it.
16. Run acm.exe, you now have 5 seconds to return to your game window. Give it a minute, it should give you your initial buffs and start fighting. :)


First night it ran it was going for 10 hours straight and I've made around 900k credits. Not a mindblowing amount but since you could sleep or go to work in the meanwhile it was well worth the effort.



5. Possible troubleshooting

It worked very well for me, but I doubt it's bugfree. I have included the sourcefile in the .rar so you could alter or update it further if you wish to do so. Just remember to compile after saving.

- The button macros in autoit are set to a european azerty keyboard. The attack cycle might screw up with other formats. To fix this you can look for the Attack() function in the source and adjust the Send() lines to match the hotkeys you use for each skill.
- I never got round to fine-tuning the timers for re-buffing. Check the Rebuff() function if it appears to be faulty.
- Occasionally you'll miss looting a corpse cause you're too far away, it happens. You'll loot around 90% of the corpses all the time.


I'll edit my post here if there are any questions. Enjoy!


Reply to seniorfrito:

The following of NPCs did exist in the past for macros, at the very least around June 07 and before that. If I had the means to check right now if anything changed I would've done so, but alas.

Also forgot to add the auto-loot was bound to a macro loop, done that now. Maybe someone can salvage something from this still. :?



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


Last edited by thecure on January 9th, 2008, 6:56 pm, edited 3 times in total.

Reply with quote
Posted: January 9th, 2008, 9:51 am
 
seniorfrito

Total Posts: 221
Joined: September 14th, 2005, 4:40 pm
seniorfrito's Reps: 0
User avatar
Active User > 50 Posts
I'll give this a try. Never was very savvy with AutoIt. Well unless it was AFK craft. But every other game I've attempted to use it on has flopped. Just messes up and ends up wasting my time. Seems pretty straight forward.


Reply with quote
Posted: January 9th, 2008, 2:58 pm
 
seniorfrito

Total Posts: 221
Joined: September 14th, 2005, 4:40 pm
seniorfrito's Reps: 0
User avatar
Active User > 50 Posts
Doesn't work. /follow hasn't been a command you can use on enemies for a long time. In fact I don't remember it ever working, but it's been a while since the old PreCU days. Anway NAY. You just stand there and I actually tried moving around manually only to find it didn't even attack. Sorry.


Reply with quote
Posted: January 9th, 2008, 6:24 pm
 
Tault_admin

Total Posts: 29974
Joined: November 9th, 2002, 9:57 am
Tault_admin's Reps: 1444
User avatar
administrator
Mod in Training
0 yays 3 more to move to confirmed
1 nays 2 more to lock this topic


Reply with quote
Posted: January 9th, 2008, 6:52 pm
 
morven
morven's Reps:
User avatar
I got the day off tomorrow so I'll look it over.

edit: without a follow set up this might be better converted for a ranged profession or Bm with follow on pet and some AOE to grab agro.


Last edited by Guest on January 11th, 2008, 8:30 am, edited 1 time in total.

Reply with quote
Posted: January 10th, 2008, 7:13 pm
 
Tault_admin

Total Posts: 29974
Joined: November 9th, 2002, 9:57 am
Tault_admin's Reps: 1444
User avatar
administrator
Mod in Training
bump


Reply with quote
Posted: January 13th, 2008, 6:15 am
 
blazeholiday
blazeholiday's Reps:
User avatar
Good bot needs some tweaking for other professions. Ones pererable with good area attacks. the /follow thing is wack.


Reply with quote
Posted: January 13th, 2008, 1:56 pm
 
Tault_admin

Total Posts: 29974
Joined: November 9th, 2002, 9:57 am
Tault_admin's Reps: 1444
User avatar
administrator
Mod in Training
Well after some more yays and nays :)


Reply with quote
Posted: January 19th, 2008, 1:59 am
 
ead6
ead6's Reps:
User avatar
/follow works on all targets that the mouse is hovering over.


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

blue large dot Who is online
Users browsing this forum: Google [Bot] and 89 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?