Official ScriptUO EasyUO Scripts > _C2_ Script Library

C2's BOD Collector Script

(1/46) > >>

_C2_:
I do not support Freeshard directly but have left old versions up for its use- You may post how you tweaked for your own freeshard if you like but i do not play freeshards sorry

;=======================================;
; Script Name: C2
; Author: I-Farm Multi-Shard BOD Collector
; Version: 1.4c  (Version 1.0c has old timer system for free shards)
; Shard OSI/FS: OSI
; Revision Date: 19-May-2008
; Purpose: BOD Farming Smith & Tailor
; Credit: TM journal subs/
; Endless explaining #lshard
;========================================
This script will farm Smith and Tailor bods at the same time or one or the other as you choose at intervals of every hour, two hours or six hours depending on your skill level.


;===============================================================
The script will also allow you to mark collect both smith and tailor even if certain characters in the collection process only have one of the skills. I have the script check your skill level and only collect each bod type if you have the skill to & you have checked the box for that bod type. Why have I done this? To give you more control! I don't want as many Tbods myself so on my main accts I am certainly not going to give my mains tailor skill. Now i can have my mains get a smith bod & the farming acct get both because it won't get stuck trying to collect for a character without skill!

Handles conn loss, shard not being available (retries every 60 seconds to see if it is back), connection loss, and errors on connection pages (takes a short wait and closes error then restarts process)! I wrote the login subs from scratch as they are 100% non OCR dependent and you can pvp while the bod collector client does it's thing underneath. or you can surf the web.
;==========================================
Directions/ Info:
;Script collects bods in luna- i like to be hidden but your call (Location to log at bottom of post in thumbnails)
;script collects every six or 18 hours - your choice
;script allows for you to log up to all seven char. slots
;script allow for CHOICE to decide which slots to log or not
;script allows you to collect both tailor and smith or
;one or the other (choices on menu) (If both checked it will choose due to skill level to get bod)
;script set timer for next collection after the cycle is completed and gives a minute timer and the actual time of next collect.
;will handle extra loose bods in pack while sorting
;YOU MUST name books by bod type! smith or tailor as name... you can name the book smith and tailor if you want them mixed together in one book.The script sorts by a bod type. book named smith- book named tailor
;Use .1 skill of tailor and smith if you want to farm bods
;to fill every hour
;good idea to hide the character in the log in and out spot so peeps don't mess with ya
;==================================
How to set up acct info & shards:

simply fill in the below info and u can add more accts and shards if u wish. I fyour shard has two names connect the two names with an underscore "_". Lake superior would look like this lake_superior. lake_austin or napa_valley etc.


--- Code: ---;-------------Edit Shards Here-----------
;shard name - if 2 names use _ Ex. Lake_Austin
set %S1 atlantic
set %S2 great_lakes
set %S3
set %S4
set %S5
;--------Accts. and Passwords------------
set %A1 winuoftw <----my pretend acct
set %PW1 freebods <------pretend pass
set %A2
set %PW2
set %A3
set %PW3
set %A4
set %PW4
set %A5
set %PW5

--- End code ---
;====================================
Now the final set that gives you the best control over how many accts , slots, shards you collect from is this...


The key is understanding this:
;%1=Char Slot # %2=location %3=acct, %4=pass, %5=shard
everytime you want a new character to login u make this line below that has the above info for that particular collector in it...
gosub login (char slot) (luna) (%acct#) (%pass#) (shard)

examples look like this: remember u already set up the values for %a1, #a2 etc & %pw1, %pw2... & %s1 up top
gosub login 4 luna %A1 %PW1 %S1
-- this gets 4th character from acct #1, password #1, and shard #1

gosub login 2 luna %A2 %PW2 %S2
--this gets the 2nd character from acct #2 with pass #2 on the shard listed up top as %S2.

here is how i would set up characters 1-5 on a trial acct!

--- Code: ---gosub login 1 luna %A1 %PW1 %S1
gosub login 2 luna %A1 %PW1 %S1
gosub login 3 luna %A1 %PW1 %S1
gosub login 4 luna %A1 %PW1 %S1
gosub login 5 luna %A1 %PW1 %S1

--- End code ---
Edit that info here on the script:

--- Code: ---;----------Add gosub login lines below-----------------------
main_bod_loop:
;%1=Char Slot # %2=location %3=acct, %4=pass, %5=shard
;gosub login 1 luna %A1 %PW1 %S1 ;example
;gosub login 2 luna %A1 %PW1 %S1 ;example
;add line
;add line
;add line
;add line
;add line
;add line
;------------End or Shards--------------

--- End code ---
***Luna just needs to be there as a place holder for now. I have that there as a variable if I start to make this script collect at different locations. If I do that, I will want a variable in there to tell the script what strategy to use to collect with. For now, LUNA is the only place as login and outs are fast and efficient.

Kane12:
This script was fairly easy to set up once I figured out to take the ";" out of the sub lines after I added the account, password, and shard information (yea I'm a noob).

I did have one question which I PM'd ya on C2, that I think might help others if they run into the same problem and avoid another question if it was to surface.

I have everything set up and the script logs on and prompts the gump menu to take the said script from both the tailor and smithy but for some reason it hangs up after the menu appears and fails to "click or accept" the bod from the menu and the script then moves on to log out and log onto another character after a bit (60 seconds between tries I believe is the default set up and it tries 2-5 times per bod type - tailor/smithy).

With this 60 second delay, I adjusted the delay down after this problem to 10 seconds to move things along. The script responds the same.

Was wondering if there is anything that can be done to tweak or adjust the script to better recognize the menu gump to take the bod before moving on instead of timing out. This happens about 85% of the time and happens randomly.

I am running windows XP, working with 4 accounts (with 15 or so chars total), and only running on one shard (Pacific). I dont seem to experience very much lag or latency that I can tell when logging in that I initially thought might affect it.

Didnt know if this portion of the script reflected a specific location for the curser to function in (and maybe affect the monitor size) or if there was anything else I can do to tweak things in the script.

Regardless of this delay, I'm very thankful for all your time and commitment to setting this up. I work 60+ hours a week and this gives me a chance to better utilize my accounts to collect bods.

Any input or recommendations would be greatly appreciated.

Thanks

_C2_:
try 1.0c and does it ever get the bod?  if never is the answer then it is a wrong click position.  if sometimes it is a weird timing issue or getting hung up in the journal scan.  but then again it wouldn't move on to loggin out if it was hung in the journal.


just found out that i posted an old version maybe this will be better.  I haven't used this in about a year and pearls use to use it a ton.

Kane12:
Thanks. Tryin this one out also and will provide feedback.

There is a difference between the mouse pointer location between small and large bods.....wondering if that might be causing some confusion.

Will let ya know what this one does.

Thanks and appreciate it

_C2_:
I think you just figured it out.  i have only run this to get .1 skill characters as did my two testers that were running this non stop.  so in testing it always clicked smalls because that is all i could get.... hrm.. now how to fix it?  larges are several different sizes and you cannot to a enter key to accept.  I am open to ideas on this one but pretty sure i just need to find all the gump sizes and just make if x gump click here... etc.


Got it!

Navigation

[0] Message Index

[#] Next page

Go to full version