Register for your free account! | Forgot your password?

You last visited: Today at 19:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



auto-Crafting

Discussion on auto-Crafting within the General Gaming Discussion forum part of the General Gaming category.

Reply
 
Old   #1
 
Lowfyr's Avatar
 
elite*gold: 235
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,562
Received Thanks: 17,758
Basically I was burnt on the joke of a crafting system.
You'll want to load your quickbar up with items that get progressively harder. This macro will make them until you get so many successes in a row then move on to the next quickbar slot. Starting at 1 going through '10' . It will automatically sell the item that appears in the inventory slot you initialize it with.
Make sure you have the npc you want to sell to before you run the script, the autosell will only work for tailoring, unless you happen to find an npc close enough to a forge or lathe etc.

Code:
Dim $CraftCount, $CraftSlot 
$CurrentCraft = 1 
MsgBox (0, "Mouse position Init 1", "Place cursor over empty item slot to sell from then press spacebar to save that position") 
$LootSlotPosition = MouseGetPos() 
$LSlotColor = PixelGetColor ($LootSlotPosition[0], $LootSlotPosition[1]) 
MsgBox (0, "Mouse Position Init 2", "Move cursor over craft progress window") 
$CWinPos = MouseGetPos() 
$CwinColor = PixelGetColor ($CWinPos[0], $CWinPos[1]) 
Do 
$CraftCount = InputBox ("Run count init", "How many attempts should this do ?", "") 
$QuitAfter = MsgBox (4, "Exit After Run", "Do you want the script to exit DAoC after its done?") 
$foo = 0 
$SCount = 0 
While $foo <= $CraftCount 
  WinActivate ("Dark Age") 
  Send ($CurrentCraft) 
  Sleep (2000) 
  While PixelGetColor ($CWinPos[0], $CWinPos[1]) = $CWinColor 
  Sleep (500) 
  WEnd 
  Sleep (Random(1000,4000)) 
  If PixelGetColor($LootSlotPosition[0], $LootSlotPosition[1]) = $LSlotColor Then 
  $SCount = 0 
   Else 
     WinActivate ("Dark Age") 
    MouseMove ($LootSlotPosition[0], $LootSlotPosition[1], 0) 
    MouseClick ("left") 
  Send ("+S") 
  Sleep (Random(100,2000)) 
  $SCount = $SCount + 1 
  Endif 
;**************************1 
;-The Number in the next line is the succes count 
; it has to reach before crafting the next slot 
  If $Scount > 6 Then 
;*************************** 
    $CurrentCraft = $CurrentCraft + 1 
   If $CurrentCraft > 9 Then 
    Exit 
   EndIf  
  EndIf 
  $foo = $foo + 1 
WEnd 
If $QuitAfter = 6 Then 
  Send ("/q") 
  Sleep (25000) 
  Send ("{ESC}") 
  Sleep (10000) 
  Send ("{ESC}") 
  Exit 
Endif 
$Again = MsgBox (4, "Again?", "Run again with same window positions?") 
Until $Again = 7 
Exit
Lowfyr is offline  
Old 02/18/2005, 07:51   #2
 
elite*gold: LOCKED
Join Date: Feb 2005
Posts: 335
Received Thanks: 37
Sorry für die Frage, aber da shört sich alles toll an, nur was mach ich mit dem Code jetzt, dass ich das nutzen kann?
Sobieski™ is offline  
Old 02/18/2005, 09:50   #3
 
Lowfyr's Avatar
 
elite*gold: 235
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,562
Received Thanks: 17,758
runterladen, code einfügen, starten
Lowfyr is offline  
Old 02/18/2005, 10:10   #4
 
elite*gold: LOCKED
Join Date: Feb 2005
Posts: 335
Received Thanks: 37
Okay danke Dir - werdsch dann gleich mal testen, wennsch vonner Arbeit wieder @ home bin
Sobieski™ is offline  
Reply


Similar Threads Similar Threads
auto crafting
07/08/2010 - Aion - 0 Replies
Hi all, I want to ask , some1 have working auto crafting tools or programme ?
Crafting...
10/26/2009 - Aion - 0 Replies
Has anyone been able to make a crafting macro of some form? im sure it cant be TOO hard but having no programming experience i really dont know lol. if anyone has a macro or bot which does do crafting please let me know. mmoguider apparently had crafting macro in it now, but i dont want to fork out £25 just for that when i already have and am happy with aionsz. plus i couldnt get trial of mmoguider to work on mine lol.
GG Updated... Auto Hp, Auto loot, Auto summon not working anymore
11/29/2007 - Dekaron - 21 Replies
GG Updated again! all of my pinacle are not working...
afk Crafting [ENG]
11/29/2004 - General Gaming Discussion - 0 Replies
;This code needs to be run with the AUTOIT V3 'run script' program ; ; User needs to update these values accordingly ; $eq = "EverQuest II (Nov 22 2004 16:37:19) USER OPTIMIZED: SOEBuild=1526T" $mX = 1038&#59; Mouse X coordinate for the Begin/Repeat button $mY = 626&#59; Mouse Y coordinate for the Begin/Repeat button $stacks = 100&#59; Number of complete products you have the ingredients for



All times are GMT +2. The time now is 19:57.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.