taultunleashed logoCrafting Macro [Updated: 22.12.04] : EverQuest 2 Premium Discussions - Page 2
newtopic  postreply
 [ 31 posts ]  Previous  1, 2, 3  Next
blue large dot

Crafting Macro [Updated: 22.12.04] : EverQuest 2 Premium Discussions - Page 2

Posted: December 6th, 2004, 10:54 pm
 
tault_nuad
tault_nuad's Reps:
User avatar
Eventcheck is (if you wanna write this part) that your crafting buffs are only triggered when an event is happen and the stop earlier coordinates: 1st one should point to the beginning of the second blue progress line, 2nd one should point to the 3rd blue progress line.


Reply with quote
Posted: December 6th, 2004, 11:09 pm
 
tault_surray
tault_surray's Reps:
User avatar
ahhh makes sense now, thanks a lot.
and great work with that script, thanks for sharing :-)


Reply with quote
Posted: December 7th, 2004, 12:06 am
 
tault_nuad
tault_nuad's Reps:
User avatar
My pleasure. :)


Reply with quote
Posted: December 7th, 2004, 9:17 pm
 
tault_nuad
tault_nuad's Reps:
User avatar
New Version in 1st Message!


Reply with quote
Posted: December 8th, 2004, 3:50 pm
 
tault_doggzj
tault_doggzj's Reps:
User avatar
This is a good refinement of everything we started with. I still use mine, as it fits everything i need, but I recommend using this one to anyone new. Nuad had added some nice features that some classes require and also some extra goodies.

Go crafters ;)


Reply with quote
Posted: December 8th, 2004, 4:56 pm
 
tault_dragonmonk
tault_dragonmonk's Reps:
User avatar
Ok new guy here Played EQ1 for 6 months got 4 lvl 50-60 players. My question is in eq2 i want to really get itno it and i want to macro stuff like this crafting one. I have little skill in programing and want to know do i do this in the window files or is in in the EQ2 macros that i post all this in. any help will be appreciated email me if u want at warriorgod@yahoo.com


Reply with quote
Posted: December 9th, 2004, 8:56 am
 
tault_glenny1

Total Posts: 152
Location: USA
Joined: December 31st, 2003, 12:53 pm
tault_glenny1's Reps: 0
User avatar
Active User > 50 Posts
i tried for about 8 hours to make event checks so i wouldnt die on the forge. I used loadrgb 971,706 to get a pixel color from the picture, but i couldnt figure out how to use those #'s to make it press the 1,2 or 3 key

any chance u could help me out?


Reply with quote
Posted: December 9th, 2004, 4:20 pm
 
tault_nuad
tault_nuad's Reps:
User avatar
The Script is written for the Tool AutoIt.

To set the Coordinates and Colours use my Check.au3 and AutoIt Windows Spy.


Reply with quote
Posted: December 9th, 2004, 6:55 pm
 
tault_glenny1

Total Posts: 152
Location: USA
Joined: December 31st, 2003, 12:53 pm
tault_glenny1's Reps: 0
User avatar
Active User > 50 Posts
heh another 4 hours wasted for me, im such a noob. It just sits there when the negative effects come up and then just takes damage for em =(


Reply with quote
Posted: March 25th, 2005, 9:08 pm
 
tault_qetesh
tault_qetesh's Reps:
User avatar
The problem I have with this script is that it is choosing one placement for the the begin and start buttons, while the buttons change color. If the script had a different option to add both the color of the start button and the color of the repeat button, it would work for me flawlessly.

Anyone have suggestions on how to add or correct this? I have been unsuccessful in my attempts.


Reply with quote
Posted: March 26th, 2005, 12:06 am
 
tault_loraik
tault_loraik's Reps:
User avatar
The location for the Begin and Start button is going to vary for each system. The $xBegin, $yBegin values can be setup for one location and easy hit both buttons as the window changes. Mine is setup that way. Use Au3_Spy to determine the location. You don't even have to have it set to default, it just makes it easier to setup later should you make changes in your UI.

Loraik


Reply with quote
Posted: March 26th, 2005, 1:06 am
 
tault_qetesh
tault_qetesh's Reps:
User avatar
The problem isnt finding the location of a pixel for both start and begin buttons, the problem is that the color of the pixel changes from one button to the other.

I added a variable for the begin button and the repeat button in this script, and added a mouse click command directly after the check. It works pretty well, but I am not sure if this configuration of commands is skipping one of the event checks.


#comments-start

Crafting Script by Nuad, Version Date: 07.12.04

This Script includes a Mana Check (pause begins when mana is below 50% and ends when char is

FM again)
which makes it possible to let the script run unattended.
If you wan't to stop the crafting process earlier set $StopEarlier to 1.

This is an ongoing work. To-do List:
- Script reacting on evens
- walking, buying, selling

Please feel free to rewrite/improve this script.

#comments-end

; User needs to update these values accordingly
;
$eq = "EverQuest II (Dec 3 2004 14:00:34) USER OPTIMIZED: SOEBuild=1554T"
$mX = 1651 ; Mouse X coordinate for the Begin/Repeat button
$mY = 1043 ; Mouse Y coordinate for the Begin/Repeat button
$mA = 1659 ; Mouse X for Stop Earlier Check Part 1
$mB = 792 ; Mouse Y for Stop Earlier Check Part 1
$mC = 1818 ; Mouse X for Stop Button
$mD = 1041 ; Mouse Y for Stop Button
$mE = 86 ; Mouse X for Mana full
$mF = 59 ; Mouse Y for Mana full
$mG = 72 ; Mouse X for Mana 50%
$mH = 57 ; Mouse Y for Mana 50%
$mI = 1226 ; Mouse X for Eventcheck
$mJ = 799 ; Mouse Y for Eventcheck
$mK = 1805 ; Mouse X for Stop Earlier Check Part 2
$mL = 792 ; Mouse Y for Stop Earlier Check Part 2
$mBegin = 7621905 ; Begin Button Color
$mEarlier = 4803219 ; Stop earlier Color Part 1
$mEarly = 4737424 ; Stop earlier Color Part 2
$mFM = 7103478 ; Full Mana Color
$mOOM = 54 ; 50% Mana Color
$mEvent = 2302496 ; Event Check Color
$mm = 7621136 ; repeat button color

$StopEarlier = 0 ; Set Variable to 1 if you wish to stop when 'bland' is produced, else to

0.

$stacks = 200 ; Number of complete products you have the ingredients for

; Make EQ2 Window Active

WinActivate($eq)


; Loop x times based on number of ingredients

MouseClick("left", $mX, $mY) ; Click begin
Sleep(1500 + Random(100))
Send("1") ; Ability 1
Sleep(550 + Random(25))
Send("2") ; Ability 2
Sleep(550 + Random(25))
Send("3") ; Ability 3
Sleep(550 + Random(25))
Sleep(2000 + Random(100))
For $count = 1 to $stacks
MouseClick("left", $mX, $mY) ; Click begin
For $count2 = 1 to 15
If (Call("crafted") = 1) Then ExitLoop 1

; Call Earler Check 1/2
If ($StopEarlier = 1) And (Call("Earlier") = 1) Then ExitLoop 1

Send("1") ; Ability 1
Sleep(550 + Random(25))
Send("2") ; Ability 2
Sleep(550 + Random(25))
Send("3") ; Ability 3
Sleep(550 + Random(25))
If (Call("crafted") = 1) Then ExitLoop 1
Sleep(2000 + Random(100))
Next
MouseClick("left", $mX, $mY) ; Click repeat
Sleep(500 + Random(25))
Next
Send("{ENTER}")
Send("/afk")
Send("{ENTER}")
MsgBox(0, "Done!", "Char is now AFK...",1)

; check if done and if mana is still above 50%
Func crafted()
$done = 0
$color = PixelGetColor($mX, $mY)
If ($color = $mBegin) Then MouseClick("left", $mX, $mY)
If ($color = $mm) Then MouseClick("left", $mX, $mY)
If ($StopEarlier = 1) Then Call("Earlier")
If ($done = 1) and (Call("Mana") = 0) Then Call("Medden")
Return $done
EndFunc

; Meditate
Func Medden()
$MedCallzwo = 0
While (Call("ManaZwo") = 0)
$MedCallzwo = 1
Sleep(2000)
WEnd
EndFunc

; Manacheck
Func Mana()
$FM = 0
$color = PixelGetColor($mG, $mH)
If ($color = $mOOM) Then $FM = 1
Return $FM
EndFunc

Func ManaZwo()
$FMa = 0
$color = PixelGetColor($mE, $mF)
If ($color = $mFM) Then $FMa = 1
Return $FMa
EndFunc

; Stop Earlier check
Func Earlier()
$donea = 0
$color = PixelGetColor($mA, $mB)
$colorb = PixelGetColor($mK, $mL)
If ($color = $mEarlier) And ($colorb = $mEarly) Then
$donea = 1
MouseClick("left", $mC, $mD) ; Klick Stop
EndIf
Return $donea
EndFunc


Reply with quote
Posted: March 26th, 2005, 1:59 am
 
tault_loraik
tault_loraik's Reps:
User avatar
Ahh ok your using an older script... Tell you guys what, let me see if I can raise Pickled and get him to either repost the scripts with a disclaimer saying he is no longer offering support or if he is cool with me posting the scripts of his up here with a "use at your own risk" type disclaimer.

I don't mind helping where I can but I am not a coder and I still have alot to learn so I might not be correct in my thinking 100% of the time.

Loraik


Reply with quote
Posted: March 28th, 2005, 10:59 pm
 
tault_qetesh
tault_qetesh's Reps:
User avatar
That would be awsome if you could. The script I have above that I modified is just a raw button press script. It doesnt check for mana and it bypasses the stop early routines. I guess I could put a little more time into it and figure out where to place my new commands for the start and repeat buttons, but if youre going to post a better script, i will hold off.


Reply with quote
Posted: March 29th, 2005, 12:35 am
 
tault_loraik
tault_loraik's Reps:
User avatar
Well I was asked not to post them so I am sorry but I will respect the request of the author. See this thread for more details:

http://www.tault.com/phpBB2/viewtopic.php?t=6685

I can however offer you up this. In the following link the crafting macro does work however some of the nice options that Pickled isn't there but if your looking for a solid crafter it will do the job. It is the beginning stages of Pickled's ending script.

http://www.tault.com/phpBB2/viewtopic.php?t=5866

I haven't looked but I would assume the camp add-on would work on it and I know my Pause add-on will work on it.

Loraik


Reply with quote
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 17 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 EverQuest 2 Premium Discussions RSS Feed 
Sitemap of EverQuest 2 Premium Discussions 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?