Author Topic: EasyUO Documentation Updates  (Read 274 times)

0 Members and 1 Guest are viewing this topic.

Offline GaderianTopic starter

  • Jr. Member
  • **
  • Posts: 68
  • Activity:
    1.2%
  • Reputation Power: 4
  • Gaderian has no influence.
  • Respect: +12
  • Referrals: 0
    • View Profile
EasyUO Documentation Updates
« on: January 22, 2020, 09:41:55 PM »
+1
Here are changes to Easyuo that are not readily documented as of Easyuo 1.6.334 January 23, 2020.
Obsolete Commands
 event sleep
 menu image pixline - was rarely used, but can be accomplished with a subroutine
 menu hideeuo

Modified Commands
 event macro

Category/Skill]Parm1Parm2Parm3CastNotes/Power Words
Masteries
Provocation15701InspireUus_Por
15702InvigorateAn_Zu
Peacemaking15703ResilienceKal_Mani_Tym
15704PerseveranceUus_Jux_Sanct
Discordance15705TribulationIn_Jux_Hur_Rel
15706Despair Kal_Des_Mani_Tym
Magery15707Death RayIn_Grav_Corp
15708Ethereal BurstUus_Ort_Grav
Mysticism15709Nether BlastIn_Vas_Xen_Por
15710Mystic WeaponVas_Ylem_Wis
Necromancy15711Command UndeadIn_Corp_Xen_Por
15712ConduitUus_Corp_Grav
Spellweaving15713Mana ShieldFaerkulggen
15714Summon ReaperLartarisstree
Passive:Magery, Mysticism, Necromancy, Spellweaving15715Enchanted Summoning- passive
Bushido15716Anticipate Hit- passive
15717Warcry
Passive:Bushido, Chivalry, Ninjitsu15718Intuition- passive
Chivalry15719Rejuvenate
15720Holy Fist
Ninjitsu15721Shadow
15722White Tiger Form
Archery15723Flaming Shot
15724Playing the Odds
Fencing15725Thrust
15726Pierce
Mace Fighting15727Stagger
15728Toughness
Swordsmanship15729Onslaught
15730Focused Eye
Throwing15731Elemental Fury
15732Called Shot
Passive:Archery, Fencing, Mace Fighting, Swordsmanship, Throwing15733Warrior's Gifts- passive
Parrying15734Shield Bash
15735Bodyguard
15736Heighten Senses
Poisoning15737Tolerance
15738Injected Strike
15739Potency- passive
Wrestling15740Rampage
15741Fists of Fury
15742Knockout- passive
Animal Taming15743Whispering
15744Combat Training
15745Boarding- passive
Virtues
495Honesty(not activated this way)      npc merchant discount (return lost items/lost+found boxes  banks/forensic:2x@town,4x@npc, more in fel)
496Humility
498Spirituality
exevent popup [id] {x offset} {y offset} - X and Y pixel offset must be used - can't use an ordinal offset
 menu delete [element unique name]
      All elements below the chosen element are deleted as well.
      All elements on a form are deleted when the form is deleted.
      All elements with a panel as it's parent are deleted.
 menu Shape {name} {left} {top} {width} {height} {shapetype} {linetype} {linewidth} {linecolor} {filltype} {fillcolor}
      No more rounded corners or line effects. See the post about updating menu code for more information.

These menu commands only form0 (form name for classic menu window):
 menu clear
       [all child forms are deleted and #menubutton uninitialized (used to be initialized to N/A]
 menu font align { left|center|right }
 menu font bgcolor [color-descriptor]
 menu font color [color-descriptor]
 menu font name  [font-name]
 menu font size  {point-size}
 menu font style {b|i|u|s}
 menu font transparent [ #true|#false ]
 menu show
 menu window color  {color-descriptor}
 menu window transparent [ opacity percentile ]
 menu Window Size {width} {height}


New Commands
 exevent equip id id id ... ; instant dress
    This is a very fast way to equip items. It will replace items in that slot. It works with gargoyle items (exevent droppd doesn't work with gargoyle items)

 event statbar #charid
    Brings up the health bar for the character, npc, follower or monster. A maximimum of 9 status bars can be active at any one time.

 menu getdef [option name: will be returned in #menures]
 menu form [form unique name] left top width height [text]
    Note:
    • menu setprop [form unique name] visible #true is required to make it viewable.
    • Values are not inherited from the default, so menu setprop [form unique name] color $BBGGRR is needed to set the form color.

     
menu panel [panel unique name] left top height width
 menu popdef
 menu pushdef
 menu radio [radio_unique_name] left top width height [checked: #true/#false] [labeled text...]
 menu setdef [alignment|color|fontcolor|fontname|fontsize|fontstyle|parent] [value]

    setdef and getdef are used for the DEFAULT options that may be inherited by subsequent menu commands
 menu setprop [element's unique name] [option #spc value pair]
Parameters for GETDEF, SETDEF (the 7 listed below applying to "DEFAULT") and SETPROP (all listed options)
      OptionValuesThese can be applied to the following menu elements
      alignment [left|center|right]TEXTRADIOCHECKDEFAULT
      color     [hexadecimal $BBGGRR blue, green, red (Pascal format)] *See notes for menu form above.FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTDEFAULT
      checked   [#true|#false]RADIOCHECK
      enabled   [#true|#false]FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGE
      fontcolor [hexadecimal $BBGGRR blue, green, red (Pascal format)]TEXTBUTTONEDITRADIOCHECKCOMBOLISTDEFAULT
      fontname  [name of font]TEXTBUTTONEDITRADIOCHECKCOMBOLISTDEFAULT
      fontsize  [font size number]TEXTBUTTONEDITRADIOCHECKCOMBOLISTDEFAULT
      fontstyle {sum of style attributes} ; 1=bold, 2=italic, 4=underline, 8=strikeoutTEXTBUTTONEDITRADIOCHECKCOMBOLISTDEFAULT
      height    [# of pixels]FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGE
      left      [# of pixels]FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGE
      parent    [form or panel name where the element resides]PANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGEDEFAULT
      text      [text]FORMTEXTBUTTONEDITRADIOCHECK
      tooltip   [text description used as tool tip when mouse hovers over element]FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGE
      top       [# of pixels]FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGE
      visible   [#true|#false]FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGE
      width     [# of pixels]FORMPANELTEXTBUTTONEDITRADIOCHECKCOMBOLISTIMAGE


 ignorecont [#contid|#contype|#contname|reset]
    Ignorecont is used to ignore gumps. It is restricted to a single definition at a time, so each definition will have its own ignorecont statement.
    It can ignore by #contid or #conttype or #contname.
    Issuing "ignorecont reset" will remove all ignored gumps. The example routine "resetgumps" will restore the default ignored gumps at EUO startup.
[/list]
Code: easyuo
  1. sub resetgumps
  2.  ignorecont reset
  3.  ignorecont BARK_GUMP
  4.  ignorecont DAMAGENUMBERS_GUMP
  5.  ignorecont DUMB_GUMP
  6.  ignorecont GAMEAREAEDGEGUMP
  7.  ignorecont MAP_GUMP
  8.  ignorecont MENUBAR
  9.  ignorecont MISSILE_GUMP
  10.  ignorecont NEW_ITEM_PROP_GUMP
  11.  ignorecont RETICLE_GUMP
  12.  ignorecont TARGET_GUMP
  13.  ignorecont UNICODE_BARK_GUMP
  14. return

 event conttop [number]
    Event conttop will cycle through gumps. The number is simply an index for the command it has nothing to do with a number tied to any particular gump.
    When the command is issued, the gump will become the most recent gump in the access order. Running the same routine will reverse the order of gumps.
Code: easyuo
  1. for %i 1 100
  2.  {
  3.  event conttop %i
  4.  if #contname <> %lcontname || #conttype <> %lconttype || #contid <> %lcontid || #contsize <> %lcontsize || #contposx <> %lcontposx || #contposy <> %lcontposy
  5.   {
  6.   set %lcontname #contname
  7.   set %lconttype #conttype
  8.   set %lcontid #contid
  9.   set %lcontsize #contsize
  10.   set %lcontposx #contposx
  11.   set %lcontposy #contposy
  12.   }
  13.  else
  14.   break
  15.  }
  16. set %i %i - 1
  17. display ok How many gumps found: %i
« Last Edit: January 28, 2020, 04:01:06 AM by Tidus »

Offline GaderianTopic starter

  • Jr. Member
  • **
  • Posts: 68
  • Activity:
    1.2%
  • Reputation Power: 4
  • Gaderian has no influence.
  • Respect: +12
  • Referrals: 0
    • View Profile
Re: EasyUO Documentation Updates
« Reply #1 on: January 22, 2020, 09:42:25 PM »
0
Reserved for more examples.

Offline manwinc

  • Elite
  • *
  • *
  • Posts: 2540
  • Activity:
    0%
  • Reputation Power: 32
  • manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!manwinc is a rising star!
  • Gender: Male
  • "The Devs Hard at Work"
  • Respect: +123
  • Referrals: 1
    • View Profile
Re: EasyUO Documentation Updates
« Reply #2 on: January 24, 2020, 03:36:30 PM »
0
event conttop [number]

Oh baby,
Monkeys and Typewriters!

" Oh I know, We'll make a Boss Encounter that requires 3 keys per player to enter, Then we'll make it not a closed instance so you never know if you are going to pop into a fresh room or a boss that has 1% Health left with 20 dudes smashing its face in, wasting your time and effort"

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5417
  • Activity:
    5.6%
  • Reputation Power: 61
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +391
  • Referrals: 1
    • View Profile
Re: EasyUO Documentation Updates
« Reply #3 on: January 27, 2020, 06:41:03 AM »
0
event conttop [number]

Oh baby,

See my gump subs for some examples of usage:  http://www.scriptuo.com/index.php?topic=15545.0     
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: