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 - dreamzcaster

Pages: [1]
1
Submit your Script / Ridgeback Tamer with Auto Search ver 1.0
« on: July 24, 2010, 07:40:28 AM »
Here is my final script for Ridgeback taming and auto searching in the Ridgeback Pen in Ilsh.  It has been a while and I think I forgot to post it back when it was made so here it is. Be sure to follow all of the directions as outlined at the top of the script.  It generally works very well I have found and rarely fails or gets hung up.  Enjoy.

Code: [Select]
http://uploading.com/files/9694151c/Ridgeback%2BTamer%2Bwith%2BAuto%2BSearch%2Bver%2B1.0.txt/
Code: [Select]
;Ridgeback Tamer for Savage Camp Training Pen w Search
;Author Dreamzcaster (I borrowed a lot of it, so I dunno if I am considered the author)
;Release v 1.0
;*********************************************************************************************************************
;*****   **READ THIS BEFORE PROCEEDING.  FAILURE TO DO SO MAY RESULT IN DISASTEROUS EFFECTS********
;********                             WHAT YOU NEED                      **************************
;********1. An LRC SUIT - You can use regs but it does not count them so don't blame me ***********
;********2. Enough Magery to cast Ebolt and Explosion                    **************************
;********3. Enough EVAL to do some damage                                **************************
;********4. Cast Protection on yourself so you won't fizzle when hit     **************************
;********5. Cast Reactive armor on yourself to get as much Physical Resist as Possible ************
;********6. Enoungh Taming and Lore to be successful at taming ridgebacks (I think it is 83.1)*****
;********7. You must be at the Ridgeback Pen in the Savage Camp in Ilsh  **************************
;********8. Wear Savage Skin Paint                                         **************************
;**********************************************************************************************************************
;Variables
set %tametype wj_ ; to Tame Ridgebacks and Savage Ridgebacks
set %spot1x 1276
set %spot1y 774
set %spot2x 1263
set %spot2y 774
set %spot3x 1254
set %spot3y 774
set %spot4x 1244
set %spot4y 767
set %spot5x 1244
set %spot5y 755
set %spot6x 1255
set %spot6y 744
set %spot7x 1272
set %spot7y 744
set %spot8x 1287
set %spot8y 744
set %spot9x 1300
set %spot9y 744
set %spot10x 1300
set %spot10y 764
set %spot11x 1281
set %spot11y 764
set %spot 1
set #lpc 100
initevents
top:
; find ridgebacks
finditem %tametype G_15
if #findkind = -1 2
 {
 gosub NextSpot
}
set %taming #findid
gosub taming #findid
event property #findid
if paragon in #property
{
  gosub paragon
}
if #result = fail 2
  ignoreitem #findid
goto top
if #result = sucess
  gosub kill #findid
goto top
;paragon kill
sub paragon
  set #ltargetid %1
  ;msg all kill $  ; pet kill
  repeat
  event macro 15 42
  target 6s
  event macro 22 0
  wait 2s
  event macro 15 41
  target 6s
  event macro 22 0
  wait 2s
  if #hits < #maxhits - 10
{
gosub healPara
}
  finditem %1 G
until #FINDCNT = 0
 return
;kill for regular ridgebacks
sub kill
  msg all follow me $ ; allows for savages not to destroy your savage paint
  msg all follow me $
  wait 5
  set #ltargetid %1
  ;msg all kill $  ; pet kill
  event macro 15 42
  target 6s
  event macro 22 0
  wait 2s
  event macro 15 41
  target 6s
  event macro 22 0
  wait 2s ; 2s magery, 8s pet kill
  ;msg all follow me $ ; pet kill
   if #hits < #maxhits - 10
{
gosub healReg
}
  finditem %1 G
until #FINDCNT = 0
 goto top
return

;auto healing paragon
sub healPara
wait 1s
event Macro 15 28
wait 4s
event Macro 23 0
gosub paragon

;auto heal regular
sub healReg
wait 1s
event Macro 15 28
wait 4s
event Macro 23 0
goto top

;taming
sub taming
  deletejournal 1
w:
  finditem %1
  if #finddist > 3 3
    event pathfind #findx #findy #findz
  wait 10
  goto w
  set #ltargetid %1
  event macro 13 35
  target 6s
  event macro 22 0
  set %timer #scnt + 20
s:
  for %i 1 5
  {




;journal scans
    scanjournal %i
    if master in #journal 2
      deletejournal
    return Sucess
    if cannot_be_tamed in #journal 2
      deletejournal
    return Sucess
    if without_a_master in #journal 2
      deletejournal
    return Sucess
    if fail in #journal 2
      deletejournal
    goto w
    if looks_tame in #journal 2
      deletejournal
    return fail
    if far_away in #journal 2
      deletejournal
    goto w
    if to_many_owners in #journal 2
      deletejournal
    return Sucess
    if Can't_get_there in #journal 2
      deletejournal
    return fail
    if has_been_distracted in #journal 2
      deletejournal
    goto top
    if see_that in #journal 2
      deletejournal
    goto w
    if no_chance in #journal 2
      deletejournal
  return Sucess
}
if %timer < #scnt
  goto top
finditem %1
if #finddist > 3 2
  event pathfind #findx #findy #findz
wait 10
goto s
;search
sub search
findItem %tamingtypes G_15
;If not found, move to next spot
if #findCnt < 1
{
  gosub NextSpot
return
;next spot
sub NextSpot
  if %spot = 1
  {
    move %spot2x %spot2y 3 10s
    set %spot 2
    goto top
  }
  if %spot = 2
  {
    move %spot3x %spot3y 3 10s
    set %spot 3
    goto top
  }
  if %spot = 3
  {
    move %spot4x %spot4y 3 10s
    set %spot 4
    goto top
  }
  if %spot = 4
  {
    move %spot5x %spot5y 3 10s
    set %spot 5
    goto top
  }
  if %spot = 5
  {
    move %spot6x %spot6y 3 10s
    set %spot 6
    goto top
  }
  if %spot = 6
  {
    move %spot7x %spot7y 3 10s
    set %spot 7
    goto top
  }
  if %spot = 7
  {
    move %spot8x %spot8y 3 10s
    set %spot 8
    goto top
  }
  if %spot = 8
  {
    move %spot9x %spot9y 3 10s
    set %spot 9
    goto top
  }
  if %spot = 9
  {
    move %spot10x %spot10y 3 10s
    set %spot 10
  goto top
  }
  if %spot = 10
  {
    move %spot11x %spot11y 3 10s
    set %spot 11
    goto top
  }
  if %spot = 11
  {
    move %spot1x %spot1y 3 10s
    set %spot 1
    goto top

2
Scripting Chat / How to get a monster's id?
« on: August 23, 2009, 06:10:54 PM »
I have been looking around but I don't see how to get a monster's id can anyone help me out?

3
Beer / Weihenstephaner Weissbier
« on: August 21, 2009, 05:38:56 AM »
Omg this is my favourite wheat beer I have ever tasted.  I had to get out of my condo cause I was selling it and potential buyers were taking a look.  While my wife was out shopping or something I went down to the nearby watering hole.  They boast over 100 beers on tap so I started off with a Hoegaarden.  Whilst drinking my pint (which I was really enjoying), the bartender asked me if I liked other types of wheat beer as well.  I said sure I would be willing to give others a try.  So he asked me what kinds I would like.  Of course, course I know a little about beer but not a total ton and they had far to many to choose from.  Luckily they have this little sampler deal where you get little glasses and can sample six beers.  So I went for it.  Now the other beers were nice but the Weihenstephaner Weissbier was like a goddamn beer creamsicle it was so smooth and delicious.  When I finished my sampler you bet I ordered a pint of that.  Now all other beers don't seem to compare to Weihenstephaner Weissbier anymore.  I found it at my local liquor store and it is a bit pricey but I don't mind the price that much (cause it is well worth the price) as I usually treat myself to it once and a while.

4
Ok here is my idea.  I have most of the script done (ie auto-taming and mage killing and paragon killing) now I want to fix some problems that i have when the ridgebacks walk away.  For those who are unsure of what I am talking about refer to the pict below which shows where the script takes place.  It is the savage camp in ilsh. 

Often the ridgeback run away and as such my guy follow tames them.  Well occasionally they wander off or occasionally he can not find them because he has been following one too far away and then he just stands there looking stupid.  I wanted to have him return to the start if after 15 or 20 seconds he did not find any ridgebacks to tame.  Then have him walk around either one of the two paths in the second picture looking for a ridgeback at which point he would tame kill and then return to the start.  While path 2 in yellow seems more likely to find stray ridgebacks I find that path 1 in red seems to work fairly well at picking them up.

My questions are: 1. How the heck do I get him to do that?
                         2. Which one of the paths would be the easiest to script for?
                         



Here are the path ideas I was thinking of which do you think would be easier?



Any help would be greatly appreciated.

5
General UO Chat / Question regarding Necro spells
« on: August 18, 2009, 04:29:09 AM »
I want to figure out at what point I will not fail to wither on a necro mage.  I found a calculator for magery that tells me that at 106 skill I will not fail to do level seven spells but I can not find a complementary one for necromancy.  The reason I ask this is I have a template that is going to be really tight and I need to squeeze whatever I can out of it to make it work.

This is the magery one at stratics but I see no necro one

Code: [Select]
http://uo.stratics.com/content/skills/magery.php

6
Script Debug / Killing Paragon Ridgebacks and taming
« on: August 18, 2009, 04:10:50 AM »
I am using the following sub for killing ridgebacks after I tame them but am having a little problem.  I can get it to attack the paragons after it realizes it can't tame it but I want for it to check if it is dead or to repeat the kill if not dead but am unsure how to do that.  Can anyone help?

Code: [Select]
sub kill
msg all follow me $ ; pet kill
msg all follow me $ ; pet kill
wait 5
set #ltargetid %1
;msg all kill $  ; pet kill
event macro 15 42
target 6s
event macro 22 0
wait 2s
event macro 15 41
target 6s
event macro 22 0
wait 2s ; 2s magery, 8s pet kill
;msg all follow me $ ; pet kill
return

7
Player Templates / Necro/Mage/Tamer
« on: August 15, 2009, 11:58:35 AM »
Ok so with the gear I have here is the template

Animal Taming 110
Animal Lore 110
Necro 100
Spirit Speak 100
Magery 106 (I will explain this later)
Eval 100
Vet 80
Med 79

I know this adds up to to many points and on the account that I have it only goes up to 710 so here is how this is going to work.

real skills are:

Animal Taming 110 (110)
Animal Lore 110 (110)
Necro 69 (+20 midnight bracers) +11 ring (100)
Spirit Speak 100 (100)
Magery 77 (+15 ring +14 on bracelet) (106)
Eval 100 (100)
Vet 65 (+15 on bracelet)  (80)
Med 79 (79)

I think the numbers are right but for some reason my old calculations I had 79 med.  Not sure about that but I am in a bit of a hurry so I guess this is close enough)  EDIT: ACTUALLY it is 79 I forgot to take the 15 out of vet that is on the Bracelet and put it into Med.

Basically the idea is for doing champs where I can wither away the spawn and then put my put my pet on the boss at the end with some help from greater heals I should be able to keep my pet up from a distance (i.e I don't hunt alone so others might be able to help with the med problem.

Massive regen gear and lrc with resists and I am flying.  Totem of the Void and for the most part I will have an extra 10 eval (when doing baracoon) since my repond slaying book has this on it as well.

The 106 magery is so I won't fizzle flamestrikes on the boss but again I will probably be using fireballs to do it so I might take the 6 points and put it back in med I am going to test this out first to see though.  I am going to see how this works and as my account ages I will also be able to add those other 10 points in over time.




8
New member introductions / Hello From Dreamzcaster
« on: December 24, 2008, 07:35:45 AM »
Hey all I am new here but hope to contribute what I can with my dangerously useless scripting skills.

Pages: [1]