taultunleashed logoCamp Addon (addon for Pickled Recipe Crafter 1.2) : EverQuest 2 Premium Discussions
newtopic  postreply
 [ 6 posts ] 
blue large dot

Camp Addon (addon for Pickled Recipe Crafter 1.2) : EverQuest 2 Premium Discussions

Posted: March 5th, 2005, 11:03 am
 
tault_loraik
tault_loraik's Reps:
User avatar
Here is a addon for Pickled's Recipe Crafter [Version 1.2]. All credit to Pickled for being such a nice guy to write all this cool stuff!

This will camp your toon to the Character Selection Screen after it is "out of resources".


(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
;Add this anywhere at very top of script
Global $retryCount = 0

;Add these anywhere
Func Retry()
   ;Retry 20 Times then Quit
   If($retryCount > 20) Then
      For $i = 1 to 10 Step 1
         ClearTarget()
      Next   
             
      $camp = MsgBox(4, "Logout?", "It appears that you have run out of components for this session"_
      & @CRLF _
      & @CRLF & "Would you like to Camp out now? (60 seconds before auto camp!)", 60)
       
      If($camp == 6) Then
         WinActivate("Everquest II")
         Sleep(500)
         Send("/camp")
         Sleep(50000)
         MsgBox(0, "Completed!", "Crafting session complete - auto camped out.")
         Exit(0)
      Else
         If($camp == 7) Then
         MsgBox(0, "Completed!", "Crafting session complete please reload script again to restart!")
         Exit(0)
        EndIf
       
        WinActivate("Everquest II")
        Sleep(500)
        Send("/camp")
        Send("{enter}")
        Sleep(50000)
        Exit(0)
       EndIf
     EndIf
   If(PixelGetColor($xBegin, $yBegin) == $colorGrayedBegin) Then
      $retryCount = $retryCount + 1
   EndIf
EndFunc

Func ClearTarget()
   Send("{ESC}")
   Sleep(500)
EndFunc

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Find this code in script and add $retryCount = 0 BELOW $done = 1      ;;
;                                                      ;;
;If (($color = $colorBegin) OR ($color = $colorBeginHighlighted)) Then  ;;
;   $done = 1                                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
$retryCount = 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Find this code in script and add Retry() BELOW Sleep(2000 + Random(25));;
;                                                      ;;
;MouseClick("left", $xBegin, $yBegin) ; Click repeat                ;;
;      Sleep(2000 + Random(25))                               ;;
;                                                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Retry()

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Find this code in script and replace:
;;;;;;;;If (NOT $strInput=0) OR ($strInput<4) Then
;
;With:
;;;;;;;;If ($strInput>0) AND ($strInput<6) Then
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



This has been tested and working over 10 trys on my machines.

**NOTE** If you have been making adjustments and have been running in Tweak Mode you have to turn Tweak Mode back OFF before this mod will work.

Loraik


Last edited by Guest on March 7th, 2005, 8:03 pm, edited 1 time in total.

Reply with quote
Posted: March 5th, 2005, 11:38 am
 
tault_o0ofoulo0o
tault_o0ofoulo0o's Reps:
User avatar
This will be very helpful!!!!!

I vote for the +100 contest points and $5 to his account :-D


Reply with quote
Posted: March 6th, 2005, 6:37 am
 
Tault_nazeroth

Total Posts: 1390
Joined: November 17th, 2004, 5:16 pm
Tault_nazeroth's Reps: 1
User avatar
Moderator
premium
Well since its an ADD-ON macro, you can have 50 Points.
Nice job Loraik.

[EDIT] - Hrmm, all of a sudden i have gone from 200,000 points to 0 points. O_o
Looks like you'll have to wait on your reward points.


Reply with quote
Posted: March 7th, 2005, 8:36 pm
 
tault_loraik
tault_loraik's Reps:
User avatar
I think it is important for you to relise that Pickled did the work here, I just helped trouble shoot since he no longer plays. If anyone deserves the points & credit it is Pickled.

Loraik


Reply with quote
Posted: March 21st, 2005, 7:19 pm
 
tault_stigma

Total Posts: 136
Joined: March 5th, 2005, 6:37 pm
tault_stigma's Reps: 0
User avatar
Active User > 50 Posts
Im having some real trouble getting this to work...

What exactly is it supposed to trigger on? Can you give a concrete example of when this script would log you out, so I can try it for myself?


Reply with quote
Posted: March 21st, 2005, 8:44 pm
 
tault_loraik
tault_loraik's Reps:
User avatar
I have been putting off trying to mod it so it camps out when you finish the "exact" amount of items your suposed to make.

The idea here is if you run out of resources before you reach your set amount of items to make it will start a "camp to char. select" sequence.

When you run out of a resource it will try 20 times (by default) to continue crafting after that it will pop up a msg. box letting you know if you don't select a cancel logout option (button on msg box) then in 60 sec. it will camp out to your char. select screen.

Now when I am just leveling not making the finished items I normally set the amount of items to make to 900 (well over the resources I have) which was the entire purpose for me adding this addon.

You can change the number of times to try to craft by changing this line in the code:

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
If($retryCount > 20) Then


Change the 20 to 1-19. I use 2 for mine as for whatever reason I don't see any faster responce by using 1.

Again this was meant to campout when you run out of resources but I should have linked it so it camps you out also when you have crafted all your items.

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