Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Hitechs

Pages: 1 ... 3 4 [5] 6 7 8
61
Submit your Script / Re: Hitech's Master Control
« 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

62
Submit your Script / Re: Hitech's Master Control
« 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.

63
Submit your Script / Re: Hitech's Master Control
« 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

64
General UO Chat / easyuo menu combo boxes
« on: March 12, 2017, 10:15:53 PM »
I just started working with menu combo boxes.

How do you code your menu combo box?

this code looks way too big for my liking.
what ever selected needs to set a var to #true, if none selected needs to set #false
(im watching the var #menures in the easyuo window when i make selections)

any suggestions on how i can make this less lines of code? or code it more leet

here some test code (its just a menu, you dont need client open to test)

Code: [Select]
;--------------------------------------------------------------------
   ;menu Combo ( {"Create"} {name} {x} {y} {width} ) | ( {"Add"} {name} {text} ) | ( {"SELECT"} {name} {index} )
    menu font BGColor black
    menu Font Color red
    menu Window Size 200 200
    menu font color red

   menu combo create familier 5 10 88
   menu combo add familier none
   menu combo add familier wisp
   menu combo add familier minion
   menu combo add familier death adder
   menu combo add familier vamp bat
   menu combo select familier 0
;------------------------------------------------------------------
   menu combo create form 5 50 88
   menu combo add form none
   menu combo add form Lich
   menu combo add form wraith
   menu combo add form human
   menu combo add form voyage
   menu combo add form reaper
   menu combo add form beast
   menu combo select form 0
   menu show
;------------------------------------------------------------

start:

  menu get form
  if #menures > 0
        gosub formComboBox
  menu get familier
  if #menures > 0
        gosub familierComboBox

goto start
;----------------------------------------

sub familierComboBox
if #menures = 1
    {
    menu combo select familier 0
    set !wisp #false
    set !minion #false
    set !deathAdder #false
    set !vampBat #false
    return
    }
if #menures = 2
   {
    set !wisp #true
    return
    }
if #menures = 3
   {
    set !minion #true
    return
    }
if #menures = 4
   {
    set !deathAdder #true
    return
    }
if #menures = 5
   {
    set !vampBar #true
    return
    }
return
;-----------------------------

sub formComboBox
if #menures = 1
    {
    menu combo select form 0
    set !lich #false
    set !wraith #false
    set !human #false
    set !voyage #false
    set !reaper #false
    set !beast #false
    return
    }
if #menures = 2
   {
    set !lich #true
    return
    }
if #menures = 3
   {
    set !wraith #true
    return
    }
if #menures = 4
   {
    set !human #true
    return
    }
if #menures = 5
    set !voyage #true
    return
    }
if #menures = 6
    {
    set !reaper #true
    return
    }
if #menures = 7
    {
    set !beast #true
    return
    }
return


65
Submit your Script / Re: Hitech's Master Control
« 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  :)

66
Submit your Script / Re: Hitech's Master Control
« 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


67
Submit your Script / Re: Hitech's Master Control
« 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


68
Submit your Script / Re: Hitech's Master Control
« 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 ...




69
Submit your Script / Re: Hitech's Master Control
« 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

70
RebirthUO / a mail box!
« on: March 09, 2017, 06:32:01 PM »
Hello, i thought i throw it out there that i have a mail box!
Anyone can put stuff in it. So for all you nice people out there,

feel free to give me stuff, or put a book with your house coords to your mail box in there
and i will give you free stuff :)

my house Coords in luna * x:912 y:502 *


71
Submit your Script / Re: Hitech's Master Control
« on: March 06, 2017, 10:45:55 PM »
Ic... I did get a parser working
Was good training

Nice to make progress

72
Submit your Script / Re: Hitech's Master Control
« 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

73
Submit your Script / Re: Hitech's Master Control
« on: March 06, 2017, 06:26:54 PM »
ty ... how many vars can i return from a sub?

74
Submit your Script / Re: Hitech's Master Control
« 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?

75
Submit your Script / Re: Hitech's Master Control
« 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)


Pages: 1 ... 3 4 [5] 6 7 8