|
You last visited: Today at 09:12
Advertisement
[Guide] Relieving the crafting pain
Discussion on [Guide] Relieving the crafting pain within the Cabal Guides & Templates forum part of the Cabal Online category.
11/03/2012, 15:42
|
#1
|
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
|
[Guide] Relieving the crafting pain
Crafting is ok. As long as you craft a few items. But what if you would craft 100x of the same item? Is it still OK?
In this tutorial, I will share you the script I am using when crafting items.
You need to understand AutoIt tho. This is quickly written so please improve the script to suit your needs. (This is for quick crafting only. If you are crafting items that would take long to process, then this is not the script for you).
This is useful for those who are starting to craft and want to pump their amity points.
First there are 3 points you need to work with. As in the following figure. SO PLEASE PLEASE MODIFY THE COORDINATES THAT MATCHES YOUR CLIENT.
Use Winfo that comes with AutoIt.
What the code does is Loop on the following commands (after pressing Pause)
0. Check if Cabal is active. If not active, it will not perform the work.
1. If active, check the border of the second box. If the check is successful this means that there is nothing being crafted.
2. Call RequestCraft (lol but request craft simply presses the Request button)
3. Next a call on IsCrafting is made.
- what IsCrafting does is check if Complete button is available (by checking its color). It returns true if the button is not yet available or false if it is.
4. Retrieve the craft if IsCrafting is false (the function just clicks the complete button)
Note: It does not stop until you press Pause. I just make sure I have enough materials to work with before running it.
Code:
Global $Toggle
Global $hwnd
Global $CraftCount
HotKeySet("{PAUSE}", "Craft")
HotKeySet("{ESC}", "Terminate")
AutoItSetOption("SendKeyDownDelay", 10)
AutoItSetOption("PixelCoordMode",0)
AutoItSetOption("MouseCoordMode",0)
While 1
Sleep(100)
WEnd
Func Terminate()
Exit 0
EndFunc ;==>Terminate
Func Craft()
$Toggle = Not $Toggle
$hwnd = WinGetHandle("CABAL","")
while $Toggle
ToolTip("Crafting...",0,0)
if WinActive("CABAL", "") then
sleep(1000)
ToolTip("Requesting Craft",0,0)
;check second slot if crafting
$coord = PixelSearch(434, 227, 434, 227, 0X2D3134, 0, 1, $hwnd)
if not @error then
Call("RequestCraft")
EndIf
IF IsCrafting() Then
ToolTip("Still Crafting",0,0)
Else
ToolTip("Retrieving Craft",0,0)
call("RetrieveCraft")
EndIf
; $CraftCount = $CraftCount +1
EndIf
WEnd
EndFunc
Func RequestCraft()
MouseClick("left",347,558)
EndFunc
Func IsCrafting()
$hwnd = WinGetHandle("CABAL","")
$coord = PixelSearch(687, 104, 687, 104, 0X34383B, 0, 1, $hwnd)
if @error then
Return TRUE
Else
Return FALSE
endif
EndFunc
func RetrieveCraft()
MouseClick("left",663,104)
EndFunc
Here is the video showing how it works. Notice that the mouse pointer sometimes moves and sometimes does not.
|
|
|
11/03/2012, 17:15
|
#2
|
elite*gold: 0
Join Date: Oct 2012
Posts: 10
Received Thanks: 1
|
will i work in xp or just win7?
|
|
|
11/03/2012, 17:26
|
#3
|
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
|
Quote:
Originally Posted by Moookie
will i work in xp or just win7?
|
I am using W7 64bit but you could simply test if autoit works by running a sample script while in game.
Code:
WinActivate("CABAL")
Send("{Enter}Hello World{Enter}")
It sends Hello World to the chat window.
If it runs then my script will run on your machine.
|
|
|
11/12/2012, 09:35
|
#4
|
elite*gold: 0
Join Date: May 2012
Posts: 14
Received Thanks: 0
|
WOW man ur d man... already hit thx
|
|
|
11/12/2012, 11:43
|
#5
|
elite*gold: 0
Join Date: Jan 2010
Posts: 263
Received Thanks: 52
|
sir 168atomica ive sent you a mail hope you read it to continue our pm's tnx godbless
|
|
|
11/12/2012, 13:38
|
#6
|
elite*gold: 0
Join Date: Oct 2012
Posts: 271
Received Thanks: 16
|
After putting the code what is next? XD
video tutorial please  (noob here)
|
|
|
11/16/2012, 03:25
|
#7
|
elite*gold: 0
Join Date: Aug 2012
Posts: 20
Received Thanks: 0
|
Quote:
Originally Posted by 168Atomica
Crafting is ok. As long as you craft a few items. But what if you would craft 100x of the same item? Is it still OK?
In this tutorial, I will share you the script I am using when crafting items.
You need to understand AutoIt tho. This is quickly written so please improve the script to suit your needs. (This is for quick crafting only. If you are crafting items that would take long to process, then this is not the script for you).
This is useful for those who are starting to craft and want to pump their amity points.
First there are 3 points you need to work with. As in the following figure. SO PLEASE PLEASE MODIFY THE COORDINATES THAT MATCHES YOUR CLIENT.
Use Winfo that comes with AutoIt.
What the code does is Loop on the following commands (after pressing Pause)
0. Check if Cabal is active. If not active, it will not perform the work.
1. If active, check the border of the second box. If the check is successful this means that there is nothing being crafted.
2. Call RequestCraft (lol but request craft simply presses the Request button)
3. Next a call on IsCrafting is made.
- what IsCrafting does is check if Complete button is available (by checking its color). It returns true if the button is not yet available or false if it is.
4. Retrieve the craft if IsCrafting is false (the function just clicks the complete button)
Note: It does not stop until you press Pause. I just make sure I have enough materials to work with before running it.
Code:
Global $Toggle
Global $hwnd
Global $CraftCount
HotKeySet("{PAUSE}", "Craft")
HotKeySet("{ESC}", "Terminate")
AutoItSetOption("SendKeyDownDelay", 10)
AutoItSetOption("PixelCoordMode",0)
AutoItSetOption("MouseCoordMode",0)
While 1
Sleep(100)
WEnd
Func Terminate()
Exit 0
EndFunc ;==>Terminate
Func Craft()
$Toggle = Not $Toggle
$hwnd = WinGetHandle("CABAL","")
while $Toggle
ToolTip("Crafting...",0,0)
if WinActive("CABAL", "") then
sleep(1000)
ToolTip("Requesting Craft",0,0)
;check second slot if crafting
$coord = PixelSearch(434, 227, 434, 227, 0X2D3134, 0, 1, $hwnd)
if not @error then
Call("RequestCraft")
EndIf
IF IsCrafting() Then
ToolTip("Still Crafting",0,0)
Else
ToolTip("Retrieving Craft",0,0)
call("RetrieveCraft")
EndIf
; $CraftCount = $CraftCount +1
EndIf
WEnd
EndFunc
Func RequestCraft()
MouseClick("left",347,558)
EndFunc
Func IsCrafting()
$hwnd = WinGetHandle("CABAL","")
$coord = PixelSearch(687, 104, 687, 104, 0X34383B, 0, 1, $hwnd)
if @error then
Return TRUE
Else
Return FALSE
endif
EndFunc
func RetrieveCraft()
MouseClick("left",663,104)
EndFunc
|
is this working on official servers? does it work with GG aswell??
not working...
keyboard and mouse actions are blocked by gameguard...
|
|
|
11/16/2012, 07:05
|
#8
|
elite*gold: 0
Join Date: Jan 2009
Posts: 31
Received Thanks: 1
|
working but you need to modify values to work with you
|
|
|
11/16/2012, 21:42
|
#9
|
elite*gold: 0
Join Date: Aug 2012
Posts: 20
Received Thanks: 0
|
Quote:
Originally Posted by WenYen
working but you need to modify values to work with you
|
I guess it will work if u use a dll call...
|
|
|
11/17/2012, 09:40
|
#10
|
elite*gold: 0
Join Date: Jul 2009
Posts: 37
Received Thanks: 1
|
Quote:
Originally Posted by 168Atomica
I am using W7 64bit but you could simply test if autoit works by running a sample script while in game.
Code:
WinActivate("CABAL")
Send("{Enter}Hello World{Enter}")
It sends Hello World to the chat window.
If it runs then my script will run on your machine. 
|
why this code is not working on my cabal? does it need bypass to run the autoit??
os win7 64bit
cabalph here
|
|
|
11/17/2012, 11:06
|
#11
|
elite*gold: 0
Join Date: Jan 2010
Posts: 263
Received Thanks: 52
|
thats working in ph im from ph to you dont need a bypass for it as long as youre w7 64 bit
|
|
|
11/17/2012, 20:13
|
#12
|
elite*gold: 0
Join Date: Jul 2009
Posts: 37
Received Thanks: 1
|
Quote:
Originally Posted by geosnuk
thats working in ph im from ph to you dont need a bypass for it as long as youre w7 64 bit
|
can you tell me how you manage to work in your pc...
i try this simple code and its not working... can you tell me what is the problem
WinActivate("CABAL")
Send("{Enter}Hello World{Enter}")
thanks...
|
|
|
11/18/2012, 02:19
|
#13
|
elite*gold: 0
Join Date: Jan 2010
Posts: 263
Received Thanks: 52
|
press F5 Y_Y
|
|
|
11/18/2012, 07:00
|
#14
|
elite*gold: 0
Join Date: Jul 2009
Posts: 37
Received Thanks: 1
|
Quote:
Originally Posted by geosnuk
press F5 Y_Y
|
i tried it already... i compile it... and used right click to run... but it opens another application... it means it cannot find my cabal.. thanks for the reply...
|
|
|
11/23/2012, 10:12
|
#15
|
elite*gold: 0
Join Date: Aug 2012
Posts: 20
Received Thanks: 0
|
Quote:
Originally Posted by WenYen
working but you need to modify values to work with you
|
oh yeah i forgot about the values... are you playing on official server???
EDIT:
this code is block by gameguard...
Code:
WinActivate("CABAL")
Send("{Enter}Hello World{Enter}")
|
|
|
 |
|
Similar Threads
|
[Guide] Crafting type C/D armor guide
07/26/2013 - RFO Hacks, Bots, Cheats, Exploits & Guides - 10 Replies
Crafting Type C/D Armors
Credits to Vyrien i just copy paste it here for debriefing
When all warriors have reached their peak, the slightest difference could be the cause of victory or defeat.
The three races have not only allowed the use of previously forbidden weapons, from relics to nuclear missiles, but have also discovered new ways to protect themselves. No longer content with simply crafting masterwork, “Intense” armor and upgrading them with talics refined from halostone ore, they...
|
[Guide] Brand - How to be a pain
04/18/2011 - League of Legends Guides & Strategies - 0 Replies
Hi all,
I played Brand since the first minutes after he was released last week. I put some hours into this guide. I would be glad if you would comment and vote it.
Thanks and happy fragging!
Brand Build Guide :: League of Legends Strategy Builds
|
[GUIDE] Item Filter Guide | Cabal Crafting & Dungeon Guide by Dewa Gempak.
06/15/2008 - Cabal Guides & Templates - 5 Replies
Since its his work, just SHARING it here, i just gonna link his URL from his work. because i dont like copy and pasting other ppl's guides:
http://119.110.98.150:90/ipb/index.php?showtopic= 1145
Q#1: Does it work with CabalRider (PH)?
A#1: Yes, it works, i tried it personally myself.
Q#2: I'm too dumb to understand it, how to make it work.
A#2: Try reading it again and again, if u still don't know how, don't use it then sleep.gif
|
another crafting guide [ENG]
01/03/2007 - General Gaming Discussion - 3 Replies
Hello fellow crafters, I have gone around the net, gathered as much information as possible for people of the same kindred spirit. Below is the gathered information of many different people and I owe it to them for helping me to my Guide. So please read, enjoy and I hope it helps you all with the crafting experience.
As you start out in EQ2, anyone of any class can be a successful crafter, regardless of race or stats or starting city. However, many ask, "What's the best crafter class?"...
|
All times are GMT +1. The time now is 09:12.
|
|