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 - Endless Night

Pages: 1 ... 3 4 [5] 6 7 ... 260
61
Endless Nights' Script Library / Re: ENs - "Snippets of Code" - 35+ subs.
« on: February 12, 2020, 08:27:37 AM »
Dont know where you are in the world ...  ??   Maybe this will help.

Example Usage
Code: [Select]
gosub ENs_WhatFacetAmIOn
  display ok #result
gosub ENs_WhatLandMassAmIOn
  display ok #result
gosub ENs_WhereAmI
  display ok #result
halt

Helper Subs
Code: [Select]
sub ENs_WhereAmI
  gosub ENs_WhereIsThis #CURSKIND #CHARPOSX #CHARPOSY
  set #result %EN_Location_Facet , #spc , - , #spc , %EN_Location_LandMass
  set !Blank
  if %EN_Location_Landmass = !Blank
     set #result %EN_Location_Facet
return  #result

sub ENs_WhatFacetAmIOn
  gosub ENs_WhereIsThis
  set #result %EN_Location_Facet
return #result

sub ENs_WhatLandMassAmIOn
  gosub ENs_WhereIsThis
  set #result %EN_Location_LandMass
  set !Blank
  if #result = !Blank
    set #result %EN_Location_Facet
return #result

Main Sub
Code: [Select]
sub ENs_WhereIsThis  ; %1..3  curskind x y
  set !Facet %1
  set !x %2
  set !y %3
  if %0 = 0
    {
    set !Facet #CursKind
    set !x       #CharPosX
    set !y       #CharPosY
    }
  set %EN_Location_Facet
  set %EN_Location_LandMass
  if !Facet = 0
    {
    set %EN_Location_Facet    Felucca
    set %EN_Location_LandMass Britannia
    IF ( #CHARPOSX >= 5120  && #CHARPOSX <= 6143 ) && ( #CHARPOSY >= 2300 && #CHARPOSY <= 4095 )
        set %EN_Location_LandMass  T2A
    }
  if !Facet = 1
    {
    %EN_Location_Facet Trammel
    IF ( #CHARPOSX >= 5120  && #CHARPOSX <= 6143 ) && ( #CHARPOSY >= 2300 && #CHARPOSY <= 4095 )
        set %EN_Location_LandMass T2A
    }
  if !Facet = 2
    set %EN_Location_Facet Ilshenar
  if !Facet = 3
    set %EN_Location_Facet Malas
  if !Facet = 4
    set %EN_Location_Facet Tokuno
  if !Facet = 5
    {
    set %EN_Location_Facet  Ter , #spc , Mur
    IF ( #CHARPOSX >= 85 && #CHARPOSX <= 770 ) && ( #CHARPOSY >= 1348 && #CHARPOSY <= 1979 )
        set %EN_Location_LandMass  Eodon , #Spc , NW
    IF ( #CHARPOSX >= 593 && #CHARPOSX <= 946 ) && ( #CHARPOSY >= 1940 && #CHARPOSY <= 2178 )
        set %EN_Location_LandMass  Eodon , #spc , SE
    }
return

62
Scripting Chat / Re: What Facet am I on ??
« on: February 12, 2020, 07:57:29 AM »
Malas  is 3 ,  tokuno is 4 ....   are the other numbers correct on those lines ?

63
New member introductions / Re: Hello everyone =)
« on: February 11, 2020, 12:49:55 PM »
welcome to scriptuo

64
New member introductions / Re: new user intro
« on: February 11, 2020, 12:49:39 PM »
welcome

65
Scripting Chat / What Facet am I on ??
« on: February 11, 2020, 12:49:11 PM »
Ive forgotten more euo code than i know now.. is their a  way to tell what facet your on ??

Maybe something to do with x,y location

66
VERSION 43

-  Fix for issue with Multi-client usages.  (UOXL SWAP)

NOTE:  you must download and save in same place both  scanbuffbar.txt and scanbuffbar-subs.txt.

This thing works at blistering speeds even in multi-client scenarios,   Just tested it with 3 clients open switching between each client and then reading buffbar.  It read each buffbars at an average speed of 2ms, no matter number of icons on each bar.

67
_C2_ Script Library / Re: C2's Lobster and Crab Farmer
« on: February 11, 2020, 05:16:26 AM »
So my issue currently is I am doing land only 8 traps and all works well until she unloads at house then goes to recall to fishing spot and instead recalls to house...spell fizzles, tries to pathfind.  I have to pause, recall to docks, then press play and works again.  directions say to put house rune in fishing book.  am I labeling the rune incorrectly?

script doesnt read rune names.  You must place run in the correct position in the book as per top of script, Position 6 and 7 defaulty.

68
New member introductions / Re: New user intro
« on: February 09, 2020, 07:59:24 AM »
welcome to uo,  and congrats on your 1 year old.

69
New member introductions / Re: New User Intro
« on: February 04, 2020, 07:18:56 AM »
welcome to scriptuo..... ask away

70
New member introductions / Re: Hail!
« on: February 01, 2020, 08:41:01 AM »
welcome to scriptuo

71
UO Reference Information / Re: Player Types
« on: January 28, 2020, 01:00:48 PM »
There are many many more forms than these...  secrets secrets secrets :) 

But above are the basics.

72
New member introductions / Re: Heya, introducting mysel Here!
« on: January 27, 2020, 06:34:26 PM »
welcome to scriptuo

73
New member introductions / Re: dreamstalkers intro
« on: January 27, 2020, 06:44:44 AM »
welcome welcome welcome... to scriptup

74
New member introductions / Re: New to UOS
« on: January 27, 2020, 06:42:48 AM »
welcome to scriptuo...

75
Scripting Tutorials / Re: EasyUO Documentation Updates
« on: January 27, 2020, 06:41:03 AM »
event conttop [number]

Oh baby,

See my gump subs for some examples of usage:  http://www.scriptuo.com/index.php?topic=15545.0     

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