ScriptUO

Official ScriptUO EasyUO Scripts => Submit your Script => Topic started by: Hitechs on March 05, 2017, 10:20:53 PM

Title: Hitech's Master Control
Post by: Hitechs on March 05, 2017, 10:20:53 PM
removed
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 03:51:04 PM
was thinking i could do any of the menu button clicks with 1 sub , instead of 100 if's
will have to look at how to pass the button location inside the window to the sub, depending on what button clicked

Title: Re: Hitech's Master Control
Post by: TrailMyx on March 06, 2017, 04:03:55 PM
So what you want is for one sub to change the button state for all your buttons with the addition of input arguments?
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:04:57 PM
ya , sure would make script smaller and adding new buttons easy
Title: Re: Hitech's Master Control
Post by: valen2.0 on March 06, 2017, 04:06:59 PM
Hmm has this been tested for OSI?
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:07:27 PM
I have all the locations loaded at start to build the menu,
granted a few buttons will need specail treatment, but that should be ok

Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:08:32 PM
its just a menu, you can test it without client open
Title: Re: Hitech's Master Control
Post by: The Ghost on March 06, 2017, 04:09:14 PM
two line of code to use any button in your script, can't be more simpler.
Code: easyuo
  1. if #menubutton <> n/a
  2.   gosub #menubutton
  3.  
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:10:11 PM
@ ghost .... seems pointless
 
that seems pointless

100 if statements  or 100 gosubs ... i see no gain
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:13:44 PM
this would do all my buttons with 2 subs


Code: [Select]
sub buttonlocation
blah blah
blah blah

gosub menuButtonClicked x y w h
return


Code: [Select]
sub menuButtonClicked
;----------- menu Button {name} {x} {y} {width} {height} {text}

if #menubutton = #false
          return
menu delete button #menubutton

        if ! . #menubutton = #false
           {
            set ! . #menubutton #true
            menu font BGcolor red
            menu font color white
           menu Button #menubutton 120 105 30 23 #menubutton ;----- hmm location of each button ???
           ;--menu Button #menubutton %1 %2 %3 %4 #menubutton ;--- maybe pass the location with gosub
             }
        else
            {
            set ! . #menubutton #false
            menu font BGcolor blue
            menu font color white
            menu Button #menubutton 120 105 30 23 #menubutton
            ;--menu Button #menubutton %1 %2 %3 %4 #menubutton ;--- maybe pass the location with gosub
             }
       set #menubutton #false
        }
       
return
Title: Re: Hitech's Master Control
Post by: TrailMyx on March 06, 2017, 04:14:50 PM
Then I think what you are talking about would work great. 

Another thing you can try when you actually call function for your subs, you can also name your subroutine the button name, so instead of having to parse lots of "IF" statements, you can just see that #MENUBUTTON has changed and then "gosub #MENUBUTTON".  There's lots of little sneaky ways to make EUO work for you.  I personally DON'T do that because the code isn't as clear, but that's me.

Code: easyuo
  1. gosub showEUOMenu1
  2.  
  3. repeat
  4.   if #MENUBUTTON <> N/A
  5.     gosub sub_ , #MENUBUTTON
  6. until #FALSE
  7.  
  8. sub sub_test1
  9.   display ok test1 pressed
  10.   set #MENUBUTTON N/A
  11. return
  12.  
  13. sub sub_test2
  14.   display ok test2 pressed
  15.   set #MENUBUTTON N/A
  16. return
  17.  
  18.  
  19.  
  20. ;--------- EasyUO Menu Designer Code Begin ---------
  21. sub showEUOMenu1
  22.         menu Clear
  23.         menu Window Title Test Window
  24.         menu Window Color BtnFace
  25.         menu Window Size 467 523
  26.         menu Font Transparent #true
  27.         menu Font Align Right
  28.   menu Button test1 120 105 75 23 testbutton1
  29.   menu Button test2 120 135 75 23 testbutton2
  30.         menu Show 421 270
  31. return
  32. ;--------- EasyUO Menu Designer Code End ---------
  33.  
Title: Re: Hitech's Master Control
Post by: The Ghost on March 06, 2017, 04:15:23 PM
you don't scan for any if statement. 
 the button is your action,  the sub and button have the same name.   
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:19:07 PM
im still not following, let me recap

currently

Code: [Select]
if #menubutton = thing
{
do stuff
}
else
{
do other stuff
}

100 times

the gosub way

Code: [Select]
if #menubutton <> #false
       gosub #menubutton

sub thing
return

sub thing2
return

100 times

or do u mean something else?
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:22:20 PM
I dont feel i need a gosub for every button.....

no matter what button i click the code does the same thing, except each button has a diffrent location so 1 sub should be fine
Title: Re: Hitech's Master Control
Post by: The Ghost on March 06, 2017, 04:29:59 PM
until a button is push it will loop until those two line of code.  when u push button it will just to the sub and perform the subroutine.    The way you do it Htiech is fine, it just required more line.  This cut down the IF statement.   

I started last years to use this method instead of your. 



This was my first attempt of making a G-Bot.   it was simple. 
Code: [Select]
loop:
if #menubutton <> #false
       gosub #menubutton
togo loop:




sub heal
 enter your action
return

sub cure
 enter your action
return

Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:31:53 PM
nice work ghost ty for help
Title: Re: Hitech's Master Control
Post by: The Ghost on March 06, 2017, 04:36:20 PM
you make the menu and inside your  action sub, you can change the colour of the button if you want too.

You need as many sub as you have button.  This way your main loop  is smaller.   

Hitech  forget to ask,   what your LPC for your slave.    I have try a few number for 50, 100, 150, 200 and 250.  Im at 200 now and still not sure is the best speed.
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 04:56:25 PM
ty TrailMyx,

its longer then i want but its shorter then i had.

im thinking maybe something like s7's craft file for my button locations, but i forgot what that looks like so i need to study more

Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 05:30:58 PM
@ ghost my lpc is at 25 on slave script, but its built for that speed with castin, scan journals and targeting ect..

if i changed it i would have to change alot of other things
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 05:58:47 PM
im not geting the #results back from the sub, could someone take a look?

(script in first post works and is the result im looking for without all the if's)

something dumb im over looking, im sure

script runs and you can f7 through it {its just a menu, no client needed)

Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 06:24:31 PM
i guess im just returning 1 var from a sub?

to use this setup ... i would need to put all numbers together and parse them apart?
Title: Re: Hitech's Master Control
Post by: The Ghost on March 06, 2017, 06:25:56 PM
you have this in your main loop, so it go the that sub,

  if #MENUBUTTON <> #false 
        gosub menuButtonAction

it should be this
if #MENUBUTTON <> #false
  gosub #menubutton


This is how I would use it. 
Code: easyuo
  1.  
  2. gosub ControlMenu
  3.  
  4.  ;----------------------------------------------
  5. ;------------ Control Panel -------------------
  6.  
  7. repeat
  8.  
  9. if #MENUBUTTON <> #false
  10.   gosub #menubutton
  11.  
  12. until #FALSE
  13.  
  14.  
  15.  
  16. sub ev
  17.  
  18. Event sysmessage  Ev Sub
  19. ev1:
  20. onhotkey %evkey %2ndkey
  21.          goto ev1
  22. if !ev = n
  23.    {
  24.    set !naturefury n
  25.    set !ev y
  26.    }
  27. else
  28.     set !ev n
  29. set #menubutton N/A
  30. return
  31.  
  32. sub wither
  33. Event sysmessage  Wither Sub
  34. wither1:
  35. onhotkey %witherkey %2ndkey
  36.          goto wither1
  37. if !wither = n
  38.    set !wither y
  39. else
  40.     set !wither n
  41. set #menubutton N/A
  42. return
  43.  
  44. sub fury
  45. Event sysmessage  Fury Sub
  46. naturesfury1:
  47. onhotkey %naturefurykey %2ndkey
  48.          goto naturesfury1
  49. if !naturefury = n
  50. {
  51.    set !naturefury y
  52.    set !ev n
  53. }
  54. else
  55.     set !naturefury n
  56. set #menubutton N/A
  57. return
  58. ;-------------------------------------------------------------
  59. ;sub ContolMenu
  60. ;-------------------------------------------------------------
  61. sub ControlMenu
  62. set #lpc 500
  63.         menu Clear
  64.         menu Window title Hitech's Master Control
  65.         menu Window Color Black
  66.         menu Window Size 175 360   ;--175 360 ;360 360
  67.         menu Font Transparent #true
  68.         menu Font Align Right
  69.         menu Font Name MS Sans Serif
  70.         menu Font Size 9
  71.         menu Font Style
  72.         menu Font Color White
  73.         Menu font BGColor Blue
  74.  
  75.   menu Button Expand 120 10 50 23 Expand
  76.   menu Button reset 15 10 50 23 Reset
  77.   menu Button pause 25 310 50 23 Pause
  78.   menu Button stop 95 310 50 23 Stop
  79.         ;------------------------------------------
  80.   menu Button ev 15 45 40 23 EV
  81.   menu Button fury 60 45 50 23 FURY
  82.   menu Button wither 15 80 50 23 WITHER
  83.   menu Button wildfire 65 80 50 23 WILDFIRE
  84.   menu Button fireball 15 110 50 23 FIREBALL
  85.   menu Button lightning 65 110 50 23 LIGHTNING
  86.   menu Button wordofdeath 15 140 100 23 WORD OF DEATH
  87.   menu Button corpseskin 10 210 100 23 CORPSE SKIN
  88.   menu Button wisp 120 210 50 23 WISP
  89.   menu Button followmain 10 240 85 23 FOLLOW MAIN
  90.    menu Button loot 110 240 50 23 loot
  91.    menu Button flamestrike 15 170 85 23 FLAMESTRIKE
  92.  menu Button lichform 180 10 55 23 lichform
  93.  menu Button wraithform 240 10 55 23 wraithform
  94.  menu Button humanform 240 40 55 23 humanform
  95.  menu Button recallluna 180 40 55 23 recallluna
  96.  menu Button mount 180 70 55 23 mount
  97.  menu Button Voyage 180 100 55 23 Voyage
  98.  menu Button invis 180 130 55 23 invis
  99.  menu Button heal 240 70 55 23 heal
  100.  menu Button healpet 10 270 70 23 heal Pet
  101.  menu Button crossHeal 90 270 70 23 crossHeal
  102.   menu Button boss 120 170 30 23 boss
  103.     menu Button rez 120 80 30 23 rez
  104.     menu Button panic 120 40 30 23 panic
  105.      menu Button belfry 120 105 30 23 belfry
  106.      menu Button renew 120 130 30 23 renew
  107.  if !heal = y
  108.     {
  109.     menu delete heal
  110.     menu font BGcolor red
  111.     menu font color white
  112.     menu Button heal 240 70 55 23 heal
  113.     }
  114. if !followmain = y
  115.     {
  116.     menu delete followmain
  117.     menu font BGcolor red
  118.     menu font color white
  119.     menu Button followmain 10 240 85 23 FOLLOW MAIN
  120.     }
  121. if !crossHeal = y
  122.     {
  123.     menu delete crossHeal
  124.     menu font BGcolor red
  125.     menu font color white
  126.     menu Button crossHeal 90 270 70 23 crossHeal
  127.     }
  128.         Menu font BGColor 6113163
  129.         menu Font Color 74112139
  130.         menu Shape Shape1 287 5 1 270 3 7 1 82139139 7 82139139
  131.         menu Shape Shape2 174 5 114 1 3 7 1 82139139 7 82139139
  132.         menu Shape Shape3 174 33 114 1 3 7 1 82139139 7 82139139
  133.         menu Shape Shape4 174 147 114 1 3 7 1 82139139 7 82139139
  134.         menu Shape Shape5 174 274 114 1 3 7 1 82139139 7 82139139
  135.   menu Shape Shape6 174 5 1 350 3 7 1 82139139 7 82139139
  136.   menu Shape Shape7 5 40 164 3 3 7 1 Black 7 White
  137.   menu Shape Shape8 179 312 176 3 3 7 1 Black 7 White
  138.         menu Shape Shape9 20 63 93 1 3 7 1 white 7 White
  139.   menu Shape Shape10 20 63 1 50 3 7 1 white 7 white
  140.   menu Shape Shape11 112 63 1 50 3 7 1 white 7 white
  141.   menu Shape Shape12 20 112 93 1 3 7 1 white 7 white
  142.  ;menu Shape Shape13 174 5 3 322 3 7 1 Black 7 82139139
  143.  ;menu Shape Shape14 179 200 67 3 3 7 1 Black 7 White
  144.  ;menu Shape Shape15 179 300 67 3 3 7 1 Black 7 White
  145.   menu Font Size 10
  146.         menu Font Color 6113163
  147.         menu Text Hitech 132 340 Script by Hitech
  148.   menu Font Size 9
  149.         menu Font Color red
  150.         menu Text var1 100 15 #SCNT ;--- time since reset
  151.         for %m 0 13
  152.   {
  153.   set %x 115 + ( %m * 2 )
  154.   set %y 45 + ( %m * 6 )
  155.   set %length 54 - ( %m * 4 )
  156.         menu Shape EUOShape2 %x %y %length 3 3 7 1 Black 7 82139139
  157.         }
  158.         for %m 0 14
  159.   {
  160.   set %x 141 - ( %m * 2 )
  161.   set %y 110 + ( %m * 6 )
  162.   set %length 2 + ( %m * 4 )
  163.         menu Shape EUOShape3 %x %y %length 3 3 7 1 Black 7 82139139
  164.         }
  165.         menu Shape EUOShape4 10 47 3 151 3 7 1 Black 7 82139139
  166.         menu Shape EUOShape5 5 200 164 3 3 7 1 Black 7 White
  167.         menu Shape EUOShape6 5 295 164 3 3 7 1 Black 7 White
  168. for %m 0 4
  169.   {
  170.   set %1 200 + ( %m * 5 )
  171.   set %2 40 - ( %m * 10 )
  172.  menu shape Design 303 %1 40 %2 5 7 2 82139139 7 1
  173.  }
  174.   for %m 0 3
  175.   {
  176.   set %1 12 + ( %m * 5 )
  177.   set %2 40 - ( %m * 10 )
  178.  menu shape Design 297 %1 40 %2 1 7 2 82139139 7 1
  179.   }
  180.    for %m 0 2
  181.   {
  182.   set %1 40 + ( %m * 5 )
  183.   set %2 20 - ( %m * 10 )
  184.  menu shape Design 310 %1 40 %2 1 7 2 82139139 7 1
  185.   }
  186.      for %m 0 3
  187.   {
  188.   set %1 5 + ( %m * 5 )
  189.   set %2 30 - ( %m * 10 )
  190.  menu shape Design 320 %1 40 %2 1 7 2 82139139 7 1
  191.   }
  192.      for %m 0 3
  193.   {
  194.   set %1 225 + ( %m * 5 )
  195.   set %2 40 - ( %m * 10 )
  196.  menu shape Design 317 %1 40 %2 1 7 2 82139139 7 1
  197.   }
  198.      for %m 0 2
  199.   {
  200.   set %1 255 + ( %m * 5 )
  201.   set %2 20 - ( %m * 10 )
  202.  menu shape Design 294 %1 40 %2 1 7 2 82139139 7 1
  203.   }
  204.   set #lpc %lpc
  205.   if %menushow1 = #true
  206.       return
  207.   menu window transparent 0
  208.   menu show
  209.   for %i 1 65
  210.   {
  211.     menu window transparent %i
  212.   }
  213. set %menushow1 #true
  214. return
  215.  
  216. ;------------------------------------
  217.  
  218.  
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 06:26:54 PM
ty ... how many vars can i return from a sub?
Title: Re: Hitech's Master Control
Post by: The Ghost on March 06, 2017, 06:30:35 PM
for each button I have a sub,  to heal my pet I have a button call Heal pet  and this is calling your healing sub.   

I never try to set VAR inside a sub.  U can control a combo box if that count for a variable.
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 06:32:21 PM
i understand your way, im trying to learn a diffrent way,

this fixes my issue,
but i will have to add the var to each sub, and its a sub i dont even want lol

Code: [Select]
;----------------------------------------

sub menuButtonAction
;--- menu Button {name} {x} {y} {width} {height} {text}
gosub sub_ , #menubutton
;display %1 %2 %3 %4 %5
menu delete button #menubutton
     if ! . #menubutton = #false
           {
            set ! . #menubutton #true
            menu font BGcolor red
            menu font color white
            ;menu Button #menubutton 120 105 30 23 #menubutton ;----- hmm location of each button ???
            menu Button #menubutton %x %y %w %h #menubutton ;--- maybe pass the location with gosub
             }
        else
            {
            set ! . #menubutton #false
            menu font BGcolor blue
            menu font color white
            ;menu Button #menubutton 120 105 30 23 #menubutton
            menu Button #menubutton %x %y %w %h #menubutton ;--- maybe pass the location with gosub
             }
       set #menubutton #false
        }

return

;---------------------------
;--- menu Button {name} {x} {y} {width} {height} {text}

;------------------------------------------
sub sub_EV
set %x 15
set %y 45
set %w 40
set %h 23
set %t ev
  return 15 45 40 23 EV
Title: Re: Hitech's Master Control
Post by: TrailMyx on March 06, 2017, 09:37:44 PM
yeh, unfortunately you can only return one item at a time in the #result variable.  You can separate items with delimeters, but then you'll have to parse them, and you don't want to parse in EUO since it's so slow.
Title: Re: Hitech's Master Control
Post by: Hitechs on March 06, 2017, 10:45:55 PM
Ic... I did get a parser working
Was good training

Nice to make progress
Title: Re: Hitech's Master Control
Post by: TrailMyx on March 07, 2017, 08:24:50 AM
I personally don't mind parsing at all, especially if it cleans up the code a bunch.
Title: Re: Hitech's Master Control
Post by: Hitechs on March 11, 2017, 03:26:31 PM
updated to 2.0 (just a script rewrite)

No new features or menu designs

new script added to first post

stuff to work on/add in the future:
- investage other / cleaner ways to control button actions
- follow master chr into dungeons, caves, ant holes and gates
- new button layout / menu design
- shadowguard rooms / roof stuff
- uoxl
- more things that might be useful

buttons to look into adding to the menu:
- tamers only - all kill , target boss
- accept party
- pick up gold from ground
- bag of send gold when over weight
- drop powerscrolls on ground
- other tamer, mage , weaver or necro spells that will help
- skill masterys
- heal like a mofo (or ur going to die)
- run away
- more stuff i will think of later
Title: Re: Hitech's Master Control
Post by: The Ghost on March 11, 2017, 04:24:27 PM
nice work code look slick,  I'm a newbie with  parsing , so  I have no idea how to use those.  It one think in EUO that I can't get my mind to understand.

I will need to follow where you going with those parsing. you pick my curiosity.
Quote
- follow master chr into dungeons, caves, ant holes and gates
I have the same issue. 
-  I  try  a menu with arrow to make them walk in the direction I wanted.  It did give me a few headache in fel. 
- I try to hard coded the location I that I often go to and have to move on his own. Not stable enough.   



This is the menu Version 5. 

To give you an idea of what I run,   Each Bot have his own action button.  Mage 1 is usually my tamer/disco and mage 2 is me necro mage.  in the expand section it turn on the All mage option.   
Title: Re: Hitech's Master Control
Post by: Hitechs on March 11, 2017, 05:02:06 PM
I like how you can control each chr independently with the menu,
all my slaves run the same slave script, and i dont like the idea of hardcoded ID's

my slave script has hard coded stuff to stop certain chrs from certain button actions

i have a button that says boss that only works for master
it pulls up a target curser and sets the ID of what i click to !badguy
so all the other chrs have the target to cast on

my tamer has no eval, so i dont want him casting damage spells:
in slave before i cast some spells i had to add something like,
chooseskill eval
if #skill < 30
     return or break

I been having to change to tamer client and all kill on the boss by hand

so thinking to add tamer kill button, when pressed:

chooseskill tame
if #skill > 100
   {
     set #ltargetid !badguy
     set #ltargetkind
     msg all kill $
     target 3s
     event macro
    }

should work, and keep mages from all killing for no reason, and keep me from having to change clients.

not sure what to do with the follow into cave
maybe add a entering cave button,
press it in front of cave that way slaves know ..
 " hey guys dont run off all crazy like, follow me into this cave."

but not sure how to code the direction they will walk into the cave,
maybe have a search for the blackness of the cave, and have them all walk that way a few steps, but thats not going to work on all entrances and exits

gates are easy .. its just a finditem .. and a menu click
holes might not be too bad ...



Title: Re: Hitech's Master Control
Post by: The Ghost on March 11, 2017, 05:25:48 PM
Each slave have his own setup  and pass the info need when I run it.  I first build it to heal me and disco boss.  I was tired of swapping client.  Lot of trial and error when to this menu. 

All the slave can cast on the same target,  just use the same ID for your tamer.
Title: Re: Hitech's Master Control
Post by: Hitechs on March 11, 2017, 06:18:49 PM
ur menu is nice,

i not thought about my menu layout at all,
just threw the buttons in there and went to kill stuff.

Should be easier to add and move buttons with the new 2.0 version
and the code being cut by more then half.

After i add code for a few more buttons, i will come up with a leet layout

Title: Re: Hitech's Master Control
Post by: NObama on March 12, 2017, 01:07:33 PM
Wow, Ghost...that makes me want to fire up all three accounts again and try your GBOT 5.0...
Title: Re: Hitech's Master Control
Post by: The Ghost on March 12, 2017, 05:08:49 PM
This is me talking.   I like both Check box for the daily task and control one Char.  To cut down on space I choice the combo box for spell and follower,   this one one line can have multiple spell hidden under one box.    Now to control all the mage. I have button because it change colour  like you so I see have on and off.    I use the check box because in the first 3 version, the button wasn't working properly.  it only in Version 4 that I figure how to use it :)    so Now I use the check box to turn on and off part of the build, this way I can skip 20 lines of code when need.

As you  hunt with the menu, you will know what you need and where to put them.   I use excel to drag my menu and see how it will look. 
Title: Re: Hitech's Master Control
Post by: Hitechs on March 12, 2017, 05:25:48 PM
thank you for reply

i guess i could use combo box for familiar because you only get one, and save space
(no need to have buttons for each i think)

but if i check a different one and i already have one, im going to have to dismiss first one
so still take a bit of code in the slave script

Title: Re: Hitech's Master Control
Post by: tandj99 on March 12, 2017, 05:44:31 PM
And where is this so called G-Bot 5.0 located??  :D
Title: Re: Hitech's Master Control
Post by: The Ghost on March 12, 2017, 06:53:55 PM
I wonder the same.   Try D:\Users\User\Documents\UO file\Script\G-BOT    :)
Title: Re: Hitech's Master Control
Post by: Hitechs on March 12, 2017, 07:48:10 PM
well im not a fan of check box, so removed ....
combo box seems nice, for things.

designing menus is not very interesting to me,
but i should have enough options to control army now.

might move a few more buttons to the expanded menu size,
to get some out of view but its a start.
maybe if i change it 5 more times it will be leet  :)
Title: Re: Hitech's Master Control
Post by: The Ghost on March 13, 2017, 01:41:03 PM
A good night sleep and look what you made.    looking nice.   

I have a question aside.  I have my wildfire set up like this   set  %spellTimerWF #scnt + 8.   Should it be smaller so I don't run out of cover.   I'm testing the delay now
Title: Re: Hitech's Master Control
Post by: Hitechs on March 13, 2017, 02:09:05 PM
Most of my timers are done per cycles of script, ( how many times it runs down my vars checking if it should cast other spells)so my timers are wack .. So im not much help with ur build, my build is really way diffrent then urs ... I depend on all 5 chrs ..

My slave script is older then my menu ... It started as a single chr champ script. But i will be redoong it after i get the new menu set
Title: Re: Hitech's Master Control
Post by: valen2.0 on March 13, 2017, 02:14:45 PM
It looks extremely nice! I may have to give this a whirl. Has it been tested with OSI?
Title: Re: Hitech's Master Control
Post by: Hitechs on March 13, 2017, 02:17:42 PM
its just a menu ... you dont even need client open to run it ... so ya it works no matter where you play.
Title: Re: Hitech's Master Control
Post by: The Ghost on March 13, 2017, 02:26:39 PM
This is what I like about EUO, their is no wrong way are getting stuff done.  Just the help that might not be available . :)     I figure that Lvl 5  the fire stay 12 sec, so after 8 I sec I will cast another,   The timer is depend if you are performing other action.  Will need to test this.   Not like I will run out of monster . 

Funny that your build started like mine.  two guy build and now it 5 toons.     Lucky that the CPU can handle 5 accounts.

 
Title: Re: Hitech's Master Control
Post by: Hitechs on March 13, 2017, 02:27:15 PM
just fyi,

   I run 5 Mage, Necro Weavers with 0 resist skill.
I soulstone eval and med from 1 chr and add tamin & lore sometimes depending on what im hunting.

pc:

i just run a wimp x99 chipset mobo with 4 x 2gig ram sticks and a geforce gtx 970 video card
Title: Re: Hitech's Master Control
Post by: gruntman on March 13, 2017, 04:29:01 PM
just fyi,

   I run 5 Mage, Necro Weavers with 0 resist skill.
I soulstone eval and med from 1 chr and add tamin & lore sometimes depending on what im hunting.

pc:

i just run a wimp x99 chipset mobo with 4 x 2gig ram sticks and a geforce gtx 970 video card

nice I thought you had a super pc based on our previous chats :(
Title: Re: Hitech's Master Control
Post by: Hitechs on March 13, 2017, 08:41:34 PM
updated script in first post :

Version 3.0

built to control characters with skills like - " mage/tamer - necro - weavers "
think im done designing menus for awhile, i will just have to work with what i got  :-X
Title: Re: Hitech's Master Control
Post by: Hitechs on March 14, 2017, 02:59:14 PM

@Ghost .... how you X heal your slaves?


Code: [Select]
rebirthCrossHeal:
for %i 1 5 ;-- check life of 5 chrs
      {
      if #charid = !Rslave_ . %i
          {
           if #hits < !healHP
                set !Rheal_ . %i #true
           else
                set !Rheal_ . %i #false
          }
      }
for %i 1 5   ;-- heal each chr if need be
      {
       if #CharGhost = YES
           return
       if !Rheal_ . %i = #true && #CHARID <> !Rslave_ . %i
          {
           set #ltargetid !Rslave_ . %i
           set #ltargetkind 1
           for %h 1 2 ;-- heal 2 times
                {
                 event macro 15 3  ; small heal
                 target 2s
                 event macro 22
                }
           }
      }
return
Title: Re: Hitech's Master Control
Post by: The Ghost on March 14, 2017, 05:01:31 PM
This is how Is heal and monitor all my guy.

Code: [Select]
call ScanBuffBar
        if _Poison_ in %BuffBarIconNames  ;  C in #CHARSTATUS
              gosub TM_NewCastSpell 24 SELF -1 20 20 ;  cast A cure until successful
     if #HITS < ( #MAXHITS - 8 ) && #charGhost = NO && #mana > 20
         gosub TM_NewCastSpell 3 self 1 10 10 ;  Heal support Charactere
     if #HITS < ( #MAXHITS - 18 ) && #charGhost = NO
         set !healmage_2ID  #true

I use TM caster because it have a save fail for cure and it fast.   

To cast summon I use your sub.  I haven't find anything easy and simple to use
Title: Re: Hitech's Master Control
Post by: valen2.0 on April 18, 2017, 01:00:48 PM
@hitec I am currently unable to get that heal sub to function. It doens't seem to recognize the master chars id or it doesn't seem to assign any value to %i so it never reaches !RSlave_1. Any input?
Title: Re: Hitech's Master Control
Post by: declo on July 31, 2017, 12:23:29 PM
What happened to the script?
Title: Re: Hitech's Master Control
Post by: The Ghost on July 31, 2017, 06:04:53 PM
Sometime, the author have a chance of heart and remove their build.  To be honest I'm not sure why Hitechs pull his out.  It was good for the time it lasted here
Title: Re: Hitech's Master Control
Post by: Crisis on July 31, 2017, 06:57:23 PM
Wish I would have been playing when it was here, sounds like I could use it.