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

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

Posted: December 2nd, 2004, 12:27 am
 
tault_nuad
tault_nuad's Reps:
User avatar
Universal Crafting Script

To check Mouse Coordinates and Colours use my Check.au3 here.
Script is written for AutoIt.

I don't offer any Support at all!

Update 22.12.04:
- Event Triggering included
- Mana Check included
- Multiple Recipe Crafting included
- Quitting EQ2 when Job is done included
- Shutting down the Computer when Job is done included

Update 07.12.04:
- Minor Bugs corrected

Update 05.12.04:
- For 'stop earlier' you now only need to set one variable
- Stop Earlier Function now makes sure you don't accidentially produce a worthless (Shaped) Item.
- Colors now can be set in the Header.
- a lot of other Tweaks

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
#comments-start

Event trigger Crafting Script by Nuad, Version Date: 22.12.04

This Version includes Event Triggering, Buffs no longer will spammed, they will only be pressed when
a negative Event occurs.

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.
Also now working with multiple recipes.

I don't give any Support at all!

#comments-end

; User needs to update these values accordingly
;
$eq = "EverQuest II"
$mX = 1020 ; Mouse X coordinate for the Begin/Repeat button
$mY = 801 ; Mouse Y coordinate for the Begin/Repeat button
$mA = 1008 ; Mouse X for Stop Earlier Check Part 1
$mB = 589 ; Mouse Y for Stop Earlier Check Part 1
$mC = 1180 ; Mouse X for Stop Button
$mD = 805 ; Mouse Y for Stop Button
$mE = 119 ; Mouse X for Mana full
$mF = 55 ; Mouse Y for Mana full
$mG = 69 ; Mouse X for Mana 50%
$mH = 55 ; Mouse Y for Mana 50%
$mI = 950 ; Mouse X for Eventcheck
$mJ = 760 ; Mouse Y for Eventcheck
$mK = 1006 ; Mouse X for Stop Earlier Check Part 2
$mL = 650 ; Mouse Y for Stop Earlier Check Part 2
$mBegin = 7687442 ; Begin Button Color
$mEarlier = 4869013 ; Stop earlier Color Part 1
$mEarly = 5781504 ; Stop earlier Color Part 2
$mFM = 6182614 ; Full Mana Color
$mOOM = 6182614 ; 50% Mana Color
$mEvent = 2302496 ; Event Check Color


$mOOMA = 6182614 ; Farbe für Mana 10%
$mEvent = 2302496 ; Event Check Color
$mAlarm = 7668992
$mT = 225
$mU = 170
$mV = 127
$mW = 934
$mTriggered = 0

$StopEarlier = 0 ; Set to 1 if you wan't to let the prodiction stop earlier.
$QuitSession = 0 ; Set to 1 if you wan't to quit EQ2 when the Job is done.
$ShutDown = 0 ; Set to 1 if you wan't to shut down your computer after quitting EQ2.

$stacks = 0
$rezepte = 1 ; Number of Recipes (1-6 )
$prod1 = 0 ; Amount to produce with Recipe 1
$prod2 = 0 ; Amount to produce with Recipe 2 ... and so on
$prod3 = 0
$prod4 = 0
$prod5 = 0
$prod6 = 0

; Make EQ2 Window Active
 
WinActivate($eq)

For $Count1 = 1 to $rezepte
   If ($Count1 = 1) Then
      Send("6")
      $stacks = $prod1
   EndIf
   If ($Count1 = 2) Then
      Send("7")
      $stacks = $prod2
   EndIf
   If ($Count1 = 3) Then
      Send("8")
      $stacks = $prod3
   EndIf
   If ($Count1 = 4) Then
      Send("9")
      $stacks = $prod4
   EndIf
   If ($Count1 = 5) Then
      Send("0")
      $stacks = $prod5
   EndIf
   If ($Count1 = 6) Then
      Send("-")
      $stacks = $prod6
   EndIf
   Sleep(3000 + Random(500))
   If ($Stacks > 0) Then Call("Craft")
   $Stacks = 0
Next

If ($QuitSession = 1) Then Call("Quit")

MsgBox(0, "Fertig!", "Alle Arbeiten wurden erledigt!")

Func Craft()
   For $count = 1 to $stacks
      MouseClick("left", $mX, $mY)
      Sleep(750 + Random(25))
      MouseClick("left", $mX, $mY)
      Sleep(750 + Random(500))
      While (Call("crafted") = 0)
         $mTriggered = 0
         If (Call("Event") = 1) Then Call("Trigger")
;      Call("Alarm")
         If ($mTriggered = 0) Then Call("Spam")
         Sleep(3000 + Random(500))
      WEnd
      If ($Count < $stacks) Then MouseClick("left", $mX, $mY)
      Sleep(750 + Random(25))
      If ($Count < $stacks) Then MouseClick("left", $mX, $mY)
      Sleep(750 + Random(25))
  Next
EndFunc

Func crafted()
   $done = 0
   $donea = 0
   $color = PixelGetColor($mX, $mY)
   If ($color = $mBegin) Then $done = 1
   If ($StopEarlier = 1) Then Call("Earlier")
   If ($donea = 1) Then $done = 1
   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

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
      MouseMove($mX, $mY, 5)
   EndIf
   Return $donea
EndFunc

Func Event()
   $event = 0
   $color = PixelGetColor($mI, $mJ)
   If ($color <> $mEvent) Then $event = 1
   Return $event
EndFunc

Func Trigger()
   If ($StopEarlier = 1) Then Call("Earlier")
   Send("1") ; Ability 1
   Sleep(250 + Random(25))
   If ($StopEarlier = 1) Then Call("Earlier")
   Send("2") ; Ability 2
   Sleep(250 + Random(25))
   If ($StopEarlier = 1) Then Call("Earlier")
   Send("3") ; Ability 3
   Sleep(250 + Random(25))
   $mTriggered = 1
EndFunc

Func Alarm()
   $color = PixelGetColor($mT, $mU)
   If ($color = $mAlarm) Then
      MouseClick("left", $mV, $mW)
      MsgBox(0, "Alarm Exit!", "Server probably down!")
   EndIf
EndFunc

Func Spam()
   If ($StopEarlier = 1) Then Call("Earlier")
   Send("1") ; Ability 1
   Sleep(250 + Random(25))
   If ($StopEarlier = 1) Then Call("Earlier")
   Send("2") ; Ability 2
   Sleep(250 + Random(25))
EndFunc

Func Quit()
   MouseClick("left", 550, 970)
   Sleep(30000)
   If ($ShutDown = 1) Then
      MouseClick("left", 30, 1006)
      Sleep(5000)
      MouseClick("left", 43, 982)
      Sleep(10000)
      Send("{ENTER}")
   EndIf
EndFunc


Last edited by Guest on March 29th, 2005, 10:54 pm, edited 7 times in total.

Reply with quote
Posted: December 2nd, 2004, 12:05 pm
 
tault_punahou

Total Posts: 27
Joined: August 21st, 2004, 4:40 pm
tault_punahou's Reps: 0
User avatar
can u post one for killing mobs? thanks


Reply with quote
Posted: December 2nd, 2004, 4:39 pm
 
tault_nuad
tault_nuad's Reps:
User avatar
How about you at least try to write it yourself and post the result so others can then help you finish the script? ;)

I have no need for a hunting bot at the moment so i don't wan't to write one, sorry... maybe someday later. :)


Reply with quote
Posted: December 3rd, 2004, 6:55 am
 
tault_punahou

Total Posts: 27
Joined: August 21st, 2004, 4:40 pm
tault_punahou's Reps: 0
User avatar
if i could write one myslef i would, but i have no clue how to program. That;s why i PAY to come to this site, so people like you who know what they are doing can post your discoveries.


Reply with quote
Posted: December 3rd, 2004, 7:06 am
 
tault_nuad
tault_nuad's Reps:
User avatar
punahou (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
That;s why i PAY to come to this site, so people like you who know what they are doing can post your discoveries.


LOL guess what... i also payed to come to this site... :D


Reply with quote
Posted: December 3rd, 2004, 2:25 pm
 
tault_doggzj
tault_doggzj's Reps:
User avatar
ding ding ding. I payed to join this site, I didn't get here free, so I owe you nothing. Find someone that's here BECAUSE of their skills, and bother them.


Reply with quote
Posted: December 3rd, 2004, 4:12 pm
 
tault_nuad
tault_nuad's Reps:
User avatar
doggzj (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
ding ding ding. I payed to join this site, I didn't get here free, so I owe you nothing. Find someone that's here BECAUSE of their skills, and bother them.


/agree

:lol:


Reply with quote
Posted: December 5th, 2004, 12:24 am
 
tault_doggzj
tault_doggzj's Reps:
User avatar
punahou (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
if i could write one myslef i would, but i have no clue how to program. That;s why i PAY to come to this site, so people like you who know what they are doing can post your discoveries.


The more i read this post, the more upset I get... Do you seriously think we work for this site? Why would we even want to share our stuff with you?

How much of that money did I see? None. None at all. I could care less if you payed 200$ to come to this site.


Reply with quote
Posted: December 5th, 2004, 2:19 am
 
tault_punahou

Total Posts: 27
Joined: August 21st, 2004, 4:40 pm
tault_punahou's Reps: 0
User avatar
doggzj (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
punahou (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
if i could write one myslef i would, but i have no clue how to program. That;s why i PAY to come to this site, so people like you who know what they are doing can post your discoveries.


The more i read this post, the more upset I get... Do you seriously think we work for this site? Why would we even want to share our stuff with you?

How much of that money did I see? None. None at all. I could care less if you payed 200$ to come to this site.


Dunno- people pay to come here to get info on how to make these games easier for themselves. The more I read your post the more I get mad too. If you ever come to Hawaii, look me up- and I guarantee I'll teach you some respect. All I asked for is a a good macro program, and I get attacked for that? That's absurd.

What are we paying for on this site? We are paying for items that let us overcome the barriers that games Devs place on players. I have no clue why you pay to be here if you can hack and program yourself. You should come here as non paying cutomer. period.


Reply with quote
Posted: December 5th, 2004, 5:46 pm
 
tault_nuad
tault_nuad's Reps:
User avatar
Because someone has some basic knowledge doesn't mean that he/she is a hacker and programmer. I for myself payed and got what i was looking for: the right heads up to write my own macros, e.g. i didn't know about AutoIt before. :)

And it's not what you wrote, it's how you wrote it.

(!empty($user->lang['QUOTE'])) ? $user->lang['QUOTE'] : ucwords(strtolower(str_replace('_', ' ', 'QUOTE'))):
That;s why i PAY to come to this site


like you can deserve any hacks and macros only because you payed some Bucks. And...

(!empty($user->lang['QUOTE'])) ? $user->lang['QUOTE'] : ucwords(strtolower(str_replace('_', ' ', 'QUOTE'))):
If you ever come to Hawaii, look me up- and I guarantee I'll teach you some respect.


...oh please. Is that always your answer when someone says something you don't like?


Reply with quote
Posted: December 5th, 2004, 10:34 pm
 
tault_nuad
tault_nuad's Reps:
User avatar
New Version in 1st Message!


Reply with quote
Posted: December 6th, 2004, 12:13 am
 
Tault_admin

Total Posts: 29974
Joined: November 9th, 2002, 9:57 am
Tault_admin's Reps: 1444
User avatar
administrator
Mod in Training
Easy there both of you no need to argue people come here and help eachother with thier posts as well. If there posts are discovered working they get large prizes like this dual weeks current one that will be posted tonight after all potential points are looked into.


Reply with quote
Posted: December 6th, 2004, 9:53 am
 
tault_jgary321
tault_jgary321's Reps:
User avatar
Hey guys, I'm new to the forums. I'm having trouble getting this script working. When I try to activate Script it says "Could not find a variable in
If (Call("crafted") = 1) Then ExitLoop 1 conditional. I've been playing with it for a while and can't quite figure it out. If anyone could help It would be greatly appreciated. I'm trying to make it so the crafting process stops early.


Reply with quote
Posted: December 6th, 2004, 1:57 pm
 
tault_doggzj
tault_doggzj's Reps:
User avatar
Run it with AutoIt v3 Run script program.


Reply with quote
Posted: December 6th, 2004, 8:13 pm
 
tault_surray
tault_surray's Reps:
User avatar
What exactly is "Eventcheck" and where must the "Stop Earlier" coordinates point to?


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 114 guests

cron
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?