Total players online: 6



Take the Tour | Site Map

It is currently Tue Jan 23, 2018 5:41 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: IDOC Finding/Tracking.
PostPosted: Wed Jan 10, 2018 3:12 am 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/10/2004 17:11
Posts: 2148

So, I'm writing an idoc searching script, the one on here is nice, but I feel it's a bit outdated, and people get confused on it's use. And my object here is to stifle the market on idocs that a few people hold over UO. And make it easy for most people to find idocs. And we'll flood idocs with noobs wanting loot. ;) Here's what I need. I have the basic system down and a working script is already available. But I'm looking for serious feature requests. Throw out whatever you think it should have, and we'll discuss it. It's going to use MARKED runes and either type of rune book I think. Old type, and/or Runic Atlas books. I'm considering adding features that allow the script to create map files that mark idocs on UOAutoMap and UOCartographer map files. It's easy, just not sure it NEEDS that functionality. I'm also considering, and this is a huge maybe, rail file support. A thing I call "stitching." Where you can select a rail to attach to any rune and book. So you could potentially go to an area, mark a rune, walk a rail until it's done, then just go to another housing spot and do the same. But either would be ok. So you could mark random homes in the woods with no rails and it would just recall to each in turn, then do rails for certain books/runes also. We'll see. So let me know your feature requests and I'll consider them.

_________________
Image


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Sat Jan 13, 2018 5:34 pm 
Offline
Novice Scripter
Novice Scripter

Joined: 07/20/2010 13:08
Posts: 45
very good idea. so the old one a lot of people use seems like it takes forever to redo a rail if for some reason it gets messed up. maybe we can add something in there to make it easier to repair a rail if you go that route. if not maybe just a bigger pathfind to get around new houses. the marking it on uo automap or cart is pretty handy just incase you arent around and for some reason it does miss the mark of the rune or dropping in the book. i have heard there is one out there that can pretty much do idocs on any server with the same books is this a possibility or 2 far stretched. just a couple of ideas. ill check back soon if more pop in my head


Top
  Profile 
PostPosted: Thu Jan 18, 2018 3:01 am 
Offline
Apprentice Scripter
Apprentice Scripter

Joined: 07/07/2004 23:13
Posts: 33
Location: Couch!

Groups:
Add them to AUtoMap sounds pretty good :)
For the future it could be good to check not only for house signs. Check good not locked down items ;)
I have change the old script to report the damage waypoint it helps a lot to repair route and many more to fix


few examples:


Code:
  1.  
  2.  
  3. sub markhouse
  4. ..
  5. ..
  6. ..
  7. remarkme: ; new
  8. if #findkind = -1 3 ; new
  9.    display ok You are out of runes.  Pausing
  10.    pause
  11.    goto remarkme ; new
  12. markcastloop:
  13. ..
  14. ..
  15. for %i %jstart %jend
  16.     {
  17.      scanjournal %i
  18.      if spell_fizzles IN #journal || more_reagents IN || not_yet_recovered in #journal
  19.         {
  20.          wait 3s
  21.          goto markcastloop
  22.         }
  23.      if cannot_cast_that_spell_in_this_form in #journal ; new
  24.        goto starttomark ; new
  25.     }
  26. ..
  27. ..
  28. ..
  29.  
  30. ;-----------------------------
  31. this script helps to repair the route can be done better but works ;)
  32.  
  33. set #lpc 400
  34. set %myxny 1
  35. nextnum:
  36. set %myx1 wiz_idoc_shard1_b1r1x . %myxny
  37. set %myy1 wiz_idoc_shard1_b1r1y . %myxny
  38. set %myx * . %myx1
  39. set %myy * . %myy1
  40. move %myx %myy 0 60
  41. display yesno %myxny Ok? %myx1 %myy1 $ X: . %myx Y: . %myy
  42. ;display %myx1 %myy1 $ X: . %myx Y: . %myy
  43. if #dispRes = yes 2
  44.    set %myxny %myxny + 1
  45.    goto nextnum
  46. gosub readx %myx1
  47. gosub ready %myy1
  48. set %changex wiz , _ , idoc , _ , shard . %myshardnumbx  , _ , b , %b , r , %r , x , %x
  49. set %changey wiz , _ , idoc , _ , shard . %myshardnumby , _ , b , %b , r , %r , y , %y
  50. set * . %changex #charposx
  51. set * . %changey #charposy
  52. display * . %changex * . %changey
  53. set %myxny %myxny + 1
  54. goto nextnum
  55.  
  56. sub readx
  57. str len %1
  58. str pos %1 shard
  59. set %myshardstart #strres
  60. str mid %1 %myshardstart %len
  61. set %shard1 #strres
  62. str pos %shard1 _
  63. set %shardend #strres - 6
  64. str mid %shard1 6 %shardend
  65. set %myshardnumbx #strres
  66. str pos %1 b
  67. set %mystart #strres
  68. str mid %1 %mystart %len
  69. set %readthis #strres
  70. str pos %readthis b
  71. set %bstart #strres + 1
  72. str pos %readthis r
  73. set %bend #strres - 1
  74. set %bend2 #strres
  75. set %blen %bend2 - %bstart
  76. str mid %readthis %bstart %blen
  77. str pos %readthis r
  78. set %rstart #strres + 1
  79. str pos %readthis x
  80. set %rend #strres - 1
  81. set %rend2 #strres
  82. set %rlen %rend2 - %rstart
  83. str mid %readthis %rstart %rlen
  84. str pos %readthis x
  85. set %xstart #strres + 1
  86. str len %readthis
  87. set %readthislen #strres + 1
  88. str pos %readthis x
  89. set %xend #strres - 1
  90. set %xlen %readthislen - %xstart
  91. str mid %readthis %xstart %xlen
  92. ;display %b %r %x %myshardnumbx
  93.  
  94.  
  95. sub ready
  96. str len %1
  97. str pos %1 shard
  98. set %myshardstart #strres
  99. str mid %1 %myshardstart %len
  100. set %shard1 #strres
  101. str pos %shard1 _
  102. set %shardend #strres - 6
  103. str mid %shard1 6 %shardend
  104. set %myshardnumby #strres
  105. str pos %1 b
  106. set %mystart #strres
  107. str mid %1 %mystart %len
  108. set %readthis #strres
  109. str pos %readthis b
  110. set %bstart #strres + 1
  111. str pos %readthis r
  112. set %bend #strres - 1
  113. set %bend2 #strres
  114. set %blen %bend2 - %bstart
  115. str mid %readthis %bstart %blen
  116. str pos %readthis r
  117. set %rstart #strres + 1
  118. str pos %readthis y
  119. set %rend #strres - 1
  120. set %rend2 #strres
  121. set %rlen %rend2 - %rstart
  122. str mid %readthis %rstart %rlen
  123. str pos %readthis y
  124. set %ystart #strres + 1
  125. str len %readthis
  126. set %readthislen #strres + 1
  127. str pos %readthis y
  128. set %yend #strres - 1
  129. set %ylen %readthislen - %ystart
  130. str mid %readthis %ystart %ylen
  131. ;display %b %r %y %myshardnumby


Last edited by Onkelatze on Thu Jan 18, 2018 8:48 am, edited 4 times in total.

Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Thu Jan 18, 2018 4:53 am 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/10/2004 17:11
Posts: 2148

I don't want or need code examples. Please only post feature requests. Also, if you're going to post any code, use code tags. So our eyes don't bleed. ;) Thanks. Also, this will refill on runes, and should/might be able to recall back to the beginning rune, and remember the rail spot and run back to it to resume. We'll see. Just depends on how I finish writing things up.

_________________
Image


Top
  ProfileShow poster's scripts in the public script library 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Google [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Hosted by CalWeb Internet Services, Inc.