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.


Topics - Fabolous1

Pages: [1]
1
Scripting Chat / Easiest way to implement Anti AFK
« on: February 23, 2020, 10:44:47 AM »
Hey,

I was wondering what the easiest/most efficient way of implement anti-AFK in a script is?

I have some simple scripts that just train parrying on sheep and wanted to make it so it doesn't idle out after agroing them.

Thanks

2
Script Debug / How to check if Protection is already on?
« on: January 26, 2020, 02:17:58 PM »
Hey everybody,

I'm trying to cast Protection if I don't already have the buff. I copied the Protection script from TM's strip miner script and can't seem to get it to work.

Currently I'm doing

Code: [Select]
;==================
sub CastProtection
  event macro 8 2 ; open status
  gosub GumpWait status_gump status_gump
  contpos 0 680
  wait 20
  gosub scanbar
   event sysmessage #result
  if _protection_ notin #result
  {
    event sysMessage casting protection...
    event macro 15 14
    while a in #charstatus
      wait 1
    wait 5

  }
return

sub scanBar
  namespace push
  namespace local scanBar . #charid
  if %whawhawha = #false 2
    namespace clear
  set %whawhawha #true
  set !tempLpc #lpc
  set #lpc 10000
  if %1 <> n/a && %2 <> n/a && %1 > -10000000 && %1 < 49000000000 2
    set !percentOhx %1
  set !percentOhy %2
  else 2
    set !percentOhx n/a
  set !percentOhy n/a
  if !scanOffset = n/a
    gosub setVars %1 %2
  set !buttonX . 1 !blueButtonX . 1 + !blueContPosX . 1
  set !buttonY . 1 !blueButtonY . 1 + !blueContPosY . 1
  if #contname <> buffIcons_Gump || ( #contName = buffIcons_Gump && ( #contposx <> !blueContPosX . 1 || #contposy <> !blueContPosY . 1 ) ) 3
    savepix !buttonX . 1 !buttonY . 1 !savePixelNumber
  if ( #pixcol < !blueButtonPixCol . 1 - !scanOffset || #pixcol > !blueButtonPixcol . 1 + !scanOffset ) && #pixcol < !high
    gosub findBarVars
  set %icons . #charid _
  set !notFound 0
  for !scanIcons 1 !scanBarIconCount
  {
    set !x !scanX + ( ( !scanIcons - 1 ) * 31 )
    savepix !x !scanY !savePixelNumber
    ;event sysmessage #pixcol scan1
    if #pixcol = 0 || #pixcol > 16779215
      break
    if ! . #pixcol <> n/a && ! . #pixcol <> block && ! . #pixcol <> massCurse && ! . #pixcol <> Curse && ! . #pixcol <> Sleep && ! . #pixcol <> Consecrate && ! . #pixcol <> HeatOfBattle && ! . #pixcol <> SplinteringDebuff && ! . #pixcol <> Feeblemind && ! . #pixcol <> Tribulation && ! . #pixcol <> MedusaStone && ! . #pixcol <> FastSkillGain 4
      if _ , ! . #pixcol , _ in %icons . #charid
      continue
    set %icons . #charid %icons . #charid , ! . #pixcol , _
    continue
    gosub S1
    if !notFound >= 2
      break
  }
  set #result %icons . #charid
  set #lpc 10
  namespace pop
return #result

; %1 = Gumpname 1
; %2 = Gumpname 2
; #TRUE gump occured before timeout
sub gumpWait
  namespace push
  namespace local GW
  set !timedelay #SCNT
  while #SCNT <= !timedelay + 2
  {
    if #CONTNAME = %1 || #CONTNAME = %2 2
      namespace pop
    return #TRUE
  }
  namespace pop
return #FALSE

Thanks

3
Script Debug / RunicAtlas Set Name
« on: January 25, 2020, 09:52:42 AM »
Does anybody know of a working sub, or have a sub for setting the name of a Runic Atlas?

Thanks :)

4
New member introductions / What's up fellas
« on: January 29, 2012, 11:30:52 PM »
Whats going on everybody?

I'm a newcomer here at scriptuo.com, and just have recently discovered this site after just starting to get back into UO again! I knew there would be a good scripting/hacking community for the game somewhere, and finally in 2012 I found it hahah. I am a 21 year old college student who likes to play sports, play games and drink. I am major gamer, and have been played pretty much every MMO since 1999. I played EQ1 and WoW primarily though. This site reminds me a lot of the MacroQuest community for EverQuest 1, and hope to become a part of the community here as well. I have written various different Macroes (or scripts) for the MacroQuest scripting bot, as well as written my own WoW Hacks in C#.

In MMO's I'm pretty much an elitist besides in UO where I haven't learned as much about the game as I could. Soon I look forward to PvPing on my Mage Mystic. In WoW I got season 2 gladiator, cleared all PvE content hardmode and got pretty much all best in slot gear on my warlock, but I hate that piece of *bleep* casual trash game.

I enjoy meeting new people so if ya want to know anything else about me don't be afraid to ask.

Other than that I guess I'll cya guys on the boards!

Pages: [1]