Mining cart house guide

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
User avatar
kentares
Posts: 448

Re: Mining cart house guide

Post#61 » February 15th, 2019, 11:48 pm

Does anyone know where the macros or scripts created in UOS are saved by default?

https://www.uoforum.com/threads/in-which-folder-can-i-find-my-uosteam-macros.106233/

right click on your UOS shortcut and select open file location then open profiles.

e.g. mine is C:\Program Files (x86)\UOS\Profiles

Profiles are stored in .xml's, find your macros between <macros> and </macros>
JDXM, Nov 17, 2018


Right in front of my face. :geek:
Rules . :coffee: Links: . . . . . . . . . . :geek: Forums: . . . . . . . . :lol: . . :D . 1 . 1 :evil:
The Silvertiger likes this.
Top

User avatar
kentares
Posts: 448

Re: Mining cart house guide

Post#62 » February 19th, 2019, 3:18 am

Image
Rules . :coffee: Links: . . . . . . . . . . :geek: Forums: . . . . . . . . :lol: . . :D . 1 . 1 :evil:
The Silvertiger and Bama like this.
Top

User avatar
kentares
Posts: 448

Re: Mining cart house guide

Post#63 » March 15th, 2019, 2:15 am

Image

Code: Select all

menu window size 800 600
menu window transparent 50
menu window color yellow
menu Image Create ULLL%counter 0 0 800 600
menu Image Create URLR%counter 0 0 800 600
menu Image Create ULR%counter 0 0 800 600
menu Image Create LLR%counter 0 0 800 600
menu Image Line ULLL%counter %upper_left_x %upper_left_y %lower_left_x %lower_left_y blue 1 ;Upper Left to Lower Left
menu Image Line URLR%counter %upper_right_x %upper_right_y %lower_right_x %lower_right_y blue 1 ;Upper Right to Lower Right
menu Image Line ULR%counter %upper_left_x %upper_left_y %upper_right_x %upper_right_y blue 1 ;Upper Left to Upper Right
menu Image Line LLR%counter %lower_left_x %lower_left_y %lower_right_x %lower_right_y blue 1 ;Lower Left to Lower Right
menu Image Create A 0 0 800 600
menu Image Line A 446 248 446 248 red 4
menu Image Create B 0 0 800 600
menu Image Line B 360 334 360 334 blue 4
menu Image Create C 0 0 800 600
menu Image Line C 446 248 360 334 green 1
menu Image Create D 0 0 800 600
menu Image Line D 413 297 413 297 black 5

menu Image Create E 0 0 800 600
menu Image Line E 360 248 360 248 red 4

menu Image Create F 0 0 800 600
menu Image Line F 446 334 446 334 blue 4

menu Image Create C 0 0 800 600
menu Image Line C 360 248 446 334 black 1
menu show 12 0

set %gemX 446
set %gemY 248
set %gemZ 12

;gosub Double_Click_Mining_Carts

set %gemX 360
set %gemY 334
set %gemZ 12

;gosub Double_Click_Mining_Carts


Making it a bit more intelligent; using the overlay as a visual reference for me; the visual reference has helped me to figure out the other xy coordinates I need to double click mining cart stacks that are around me in the N E S W positions now.

Nerd.. I know... listening to Carmen about it as I type this. :geek:



kentares
Last edited by kentares on May 5th, 2019, 8:04 pm, edited 1 time in total.
Rules . :coffee: Links: . . . . . . . . . . :geek: Forums: . . . . . . . . :lol: . . :D . 1 . 1 :evil:
Bama likes this.
Top

User avatar
kentares
Posts: 448

Re: Mining cart house guide

Post#64 » March 15th, 2019, 4:45 am

Image

After some tweaking this looks better. Did you know that we are approximately 64 pixels tall? I know right. Anyways to explain this picture the colored dots are where the mouse should start clicking and as it goes through the FOR loop it clicks higher by a factor of 12 pixels. Hrm... I think I may add some graphics showing where the mining carts should be.

Don't really need to; but it confirms my x y coordinates... OOOooo I already have those too.. yes I think I will add some dots where the mouse will actually click.



kentares
Rules . :coffee: Links: . . . . . . . . . . :geek: Forums: . . . . . . . . :lol: . . :D . 1 . 1 :evil:
Bama likes this.
Top

User avatar
kentares
Posts: 448

Re: Mining cart house guide

Post#65 » May 3rd, 2019, 2:07 am

Code: Select all

;=================================================
; Script Name: Placing Goza Mats
; Author: kentares
; Version: 1.031
; Client Tested with: 7.0.63.2
; EUO version tested with: 1.6.0.334
; Shard OSI / FS: Demise
; Revision Date: 05/02/2019
; Public Release:
;=================================================

set %axe #######
set %regbag #######
set %interior_decorator #######

gosub Create_Gozas

sub Create_Gozas
 {
 set %counter 1
 for %goza_number 1 3
  {
  target 10s
  set %goza_mat_. %goza_number #LOBJECTID
  if #CHARDIR = 0 ; Facing North
     {
      set #LTARGETX #CHARPOSX
      set #LTARGETY #CHARPOSY - %counter
     }
  if #CHARDIR = 2 ; Facing East
     {
      set #LTARGETX #CHARPOSX + %counter
      set #LTARGETY #CHARPOSY
     }
  if #CHARDIR = 4 ; Facing South
     {
      set #LTARGETX #CHARPOSX
      set #LTARGETY #CHARPOSY + %counter
     }
  if #CHARDIR = 6 ; Facing West
     {
      set #LTARGETX #CHARPOSX - %counter
      set #LTARGETY #CHARPOSY
     }
  set #LTARGETKIND 3
  target 5s
  event Macro 22
 
  set %counter %counter + 1
  }
 }
return


Auto deploys the goza mats as you double-click the goza mat scroll. :geek:
Rules . :coffee: Links: . . . . . . . . . . :geek: Forums: . . . . . . . . :lol: . . :D . 1 . 1 :evil:
The Silvertiger likes this.
Top

User avatar
kentares
Posts: 448

Re: Mining cart house guide

Post#66 » May 5th, 2019, 6:49 am

Code: Select all

;=================================================
; Script Name: Placing Goza Mats
; Author: kentares
; Version: 1.097
; Client Tested with: 7.0.63.2
; EUO version tested with: 1.6.0.334
; Shard OSI / FS: Demise
; Revision Date: 05/05/2019
; Public Release:
;=================================================

gosub Create_Gozas

sub Create_Gozas
 {
 for %goza_number 1 3
  {
  finditem EWH
  set #LOBJECTID #FINDID
  event Macro 17 ; Use Last Object
  if #CHARDIR = 0 ; Facing North
     {
      set #LTARGETX #CHARPOSX
      set #LTARGETY #CHARPOSY - %goza_number
     }
  if #CHARDIR = 2 ; Facing East
     {
      set #LTARGETX #CHARPOSX + %goza_number
      set #LTARGETY #CHARPOSY
     }
  if #CHARDIR = 4 ; Facing South
     {
      set #LTARGETX #CHARPOSX
      set #LTARGETY #CHARPOSY + %goza_number
     }
  if #CHARDIR = 6 ; Facing West
     {
      set #LTARGETX #CHARPOSX - %goza_number
      set #LTARGETY #CHARPOSY
     }
  set #LTARGETKIND 3
  event Macro 22 ; Use Last Target
  target 5s
  }
  halt
 }
return

Improvements to the code; enables more laziness on the users part.
Rules . :coffee: Links: . . . . . . . . . . :geek: Forums: . . . . . . . . :lol: . . :D . 1 . 1 :evil:

Return to “Cartographer and Scribe”

Who is online

Users browsing this forum: No registered users and 3 guests