Author Topic: [Freeshard] Doom Artisan  (Read 25092 times)

0 Members and 1 Guest are viewing this topic.

Offline kevin9527

  • Newbie
  • *
  • Posts: 6
  • Activity:
    0%
  • Reputation Power: 1
  • kevin9527 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #30 on: June 15, 2017, 06:04:45 PM »
0
I need this :D

Offline muddman

  • Restricted
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • muddman has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #31 on: May 22, 2018, 01:10:33 PM »
0
how ya dl this?


Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 2703
  • Activity:
    0.2%
  • Reputation Power: 38
  • Crisis has a powerful will.Crisis has a powerful will.Crisis has a powerful will.Crisis has a powerful will.Crisis has a powerful will.Crisis has a powerful will.Crisis has a powerful will.
  • Gender: Male
  • Scripting well enough to break things!
  • Respect: +194
  • Referrals: 2
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #32 on: May 22, 2018, 06:49:39 PM »
0
By making a good introduction. Make sure to read the stickies!!

Offline Kraker01

  • Newbie
  • *
  • Posts: 4
  • Activity:
    0%
  • Reputation Power: 1
  • Kraker01 has no influence.
  • Respect: 0
  • Referrals: 1
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #33 on: September 05, 2018, 05:47:56 AM »
0
I'd like to try this script but my tamer has Chivalry instead of Magery as requested by the script.

Is it possibile to modify the requests?

Offline Trigs

  • Jr. Member
  • **
  • Posts: 22
  • Activity:
    0%
  • Reputation Power: 1
  • Trigs has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #34 on: September 05, 2018, 06:16:58 AM »
0
I'd like to try this script but my tamer has Chivalry instead of Magery as requested by the script.

Is it possibile to modify the requests?

At a quick look through the code, it looks like it's using:

Arch Cure
Greater Heal
Reveal
Invisibility

I'm not sure how crucial all of those are but it seems like it would be pretty simple to replace the heal/cure with Chiv stuff.

Offline Scorpio

  • Jr. Member
  • **
  • Posts: 39
  • Activity:
    0%
  • Reputation Power: 1
  • Scorpio has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #35 on: October 30, 2018, 03:41:24 PM »
0
back during rebirthUO we had a friend fix this script and add chiv capabilities, but ive lost contact with him and lost the script

Offline scartatai

  • Newbie
  • *
  • Posts: 5
  • Activity:
    0%
  • Reputation Power: 1
  • scartatai has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #36 on: February 23, 2020, 10:13:10 PM »
0
İ need it :)

Offline brage99

  • Restricted
  • *
  • Posts: 1
  • Activity:
    0%
  • Reputation Power: 1
  • brage99 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #37 on: March 07, 2020, 11:15:18 AM »
0
I need this  :D :D :D  plz

Offline Sairiin

  • Newbie
  • *
  • Posts: 4
  • Activity:
    0%
  • Reputation Power: 1
  • Sairiin has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #38 on: October 28, 2020, 03:38:35 AM »
0
Goodmorning everyone,
I enjoyed updating this script these days and as soon as I'm sure it works correctly I will publish it. while I test various things I proceeded to make one for the TANK and it works very well for the moment but I have a problem with the "Revealing the Dark Knight", the magician or tamer can easily find it and cast the Reveal on him, I have problems with the tank that I would like instead of casting the Holy Light remotely to approach and then cast it, can you help me, the part of the script that does this is the following:

Reveal :  Event Macro 15 47
Cast Spell [C] Holy Light : Event Macro 15 207

the main problem is that the wizard casts Reveal from a distance on the mob, while the tank casts Holy but on the spot and does not reveal it, I need to bring him closer and then cast Holy.


Quote
;===========================================================
;@Purpose : Revealing the Dark Knight
;===========================================================
Sub RevealKnight
  If #FindCnt = 0
  {
    FindItem XC G_25
    Wait 10
    If #FindCnt = 0
    {
      Return
    }
  }
  Set %Teleports #FindCnt
  Set %SKX1 #FindX
  Set %SKY1 #FindY
  If %Teleports = 2
  {
    Set #FindIndex 2
    Set %SKX2 #FindX
    Set %SKY2 #FindY
  }
  Set %RevealTimer #SCnt
  For %Reveal 1 %Teleports
  {
    Move %SKX . %Reveal %SKY . %Reveal 5
    Event Macro 15 207
    Target 3s
    Wait 1s
    Set #LTargetX %SKX . %Reveal
    Set #LTargetY %SKY . %Reveal
    Set #LTargetZ -1
    Set #LTargetKind 2
    Event Macro 22
  }
Return

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 420
  • Activity:
    0.8%
  • Reputation Power: 9
  • Gaderian has no influence.
  • Respect: +47
  • Referrals: 2
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #39 on: October 29, 2020, 12:45:54 AM »
0
First of all with this script, it references a variable %BossIDID which is never set. That means that much of it's attack code is against an enemy N/A. It exists in the original and in the ReBirthUO version. I have not tried running this script myself, just read the code. I am guessing that lots of logic in the script just gets run idle because of that typo. If it works otherwise, then it is because it falls through.

I notice that is does a finditem on %Spawn, but never bothers to attack any of it. What happens with the auxiliary spawn once the boss is dead? Do these just disappear? It looks like the script runs off to the next section to fight there. Someone who has actually spent time hunting in the Gauntlet would have to answer that one. I haven't been there in 7+ years - so I just can't remember.

Anyway, on to your questions...

Reveal has a target that needs to be executed.
Holy Light does not.

Holy light has a range of 3-4 tiles around you. This code was only getting within 5 tiles at best of your enemy.

Move returns and you keep your script going while you walk - I believe, so you need a way to wait till you are close enough before casting Holy Light. That is what the repeat/until block does. It may need a timeout to escape if something goes wrong (like you can't actually get to that spot).

I got rid of some code that really isn't needed or referenced elsewhere in the original posting and RebirthUO versions of the script (%RevealTimer, %SKX1, %SKY1, %SKX2 & %SKY2).
Code: easyuo
  1. ;===========================================================
  2. ;@Purpose : Revealing the Dark Knight
  3. ;===========================================================
  4. Sub RevealKnight
  5.  If #FindCnt = 0
  6.   FindItem XC G_18 ; I thought 18 was the limit on a reliable finditem range
  7.  
  8.  If #FindCnt > 0
  9.  {
  10.  for #Findindex 1 #findcnt
  11.  {
  12.   Move #findx #findy 2 ; Change to get within 2 tiles of enemy
  13.   set %MoveTimeout #scnt + 5 ; allowing 5 secs before giving up on the waits
  14.   repeat
  15.    wait 1
  16.   until abs ( #charposx - #findx ) <= 3 && abs ( #charposy - #findy ) <= 3 && %MoveTimeout >= #scnt
  17.   event macro 15 207
  18.   }
  19.  }
  20. Return

Similar code would be used to replace the "Reveal" version, just keeping the target code after the "event macro 15 47" in the original sub.

That "repeat ... until" has an exit condition timer in case you can't get to the desired location. I think if you have exceeded that timer, you should pass on casting Holy Light and let it cast on the next pass - so you save the mana. I did not code it that way, but maybe you will cast Holy Light on other stuff near to you.  ;)

Quote
the main problem is that the wizard casts Reveal from a distance on the mob, while the tank casts Holy but on the spot and does not reveal it, I need to bring him closer and then cast Holy.

I think the above should come closer in line with getting the tank to get close enough when casting Holy Light once at 2 tiles away.

Would that work for your situation?

Gaderian

« Last Edit: October 29, 2020, 02:07:12 AM by Gaderian »
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Offline Scorpio

  • Jr. Member
  • **
  • Posts: 39
  • Activity:
    0%
  • Reputation Power: 1
  • Scorpio has no influence.
  • Gender: Male
  • Respect: +9
  • Referrals: 1
    • View Profile
Re: [Freeshard] Doom Artisan
« Reply #40 on: December 30, 2020, 08:45:19 PM »
0
Couldn't you just have it detect hidden like dexxers do manually in Doom? Thats what my friend did when he added chiv to it.

Tags: