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

Pages: [1]
1
Script Debug / Re: lack of skill needed to harvest
« on: August 03, 2017, 06:37:52 PM »
Code: easyuo
  1. set %isElf #false
  2. set %high_only #false
  3.  
  4.  
  5.  
  6. set %DigWait 3s
  7.  
  8.  
  9.  
  10. gosub wield_pickaxe
  11. gosub mountDismount #CHARID
  12. gosub calculate_maxWeight
  13. gosub mine
  14.  
  15. stop
  16.  
  17.  
  18.  
  19. sub wield_pickaxe
  20. finditem QPF C
  21. set %pickaxe #findid
  22. return
  23.  
  24.  
  25.  
  26. sub mine
  27. gosub wield_pickaxe
  28. ignoreitem reset veinIgnored
  29. while #true
  30. {
  31. gosub vein_search %low_only
  32. msg %vein_found
  33. if %vein_id = RGH
  34. {
  35. ignoreitem %vein_id veinIgnored_xgh
  36. continue
  37. }
  38. if %vein_found = 0
  39. {
  40. event PathFind %vein_x %vein_y
  41. for %w 1 15
  42. {
  43. wait 1
  44. set %jstart #jindex + 1
  45. set %jend #jindex
  46. for %j %jstart %jend
  47. {
  48. scanjournal %j
  49. set %cont #false
  50. if Can't_get_there in #journal
  51. {
  52. ignoreitem %vein_id veinIgnored
  53. set %cont #true
  54. goto next_vein
  55. }
  56. }
  57. wait 1s
  58.  
  59.  
  60.  
  61. finditem %vein_id G_2
  62. if #findcnt > 0
  63. break
  64. }
  65. next_vein:
  66. if %cont = #true
  67. continue
  68. }
  69. else
  70. {
  71. wait 1s
  72. break
  73. }
  74. gosub mine_spot
  75. if #weight > %maxWeight - 50
  76. {
  77. break
  78. }
  79. }
  80. }
  81. return
  82.  
  83.  
  84.  
  85. sub mine_spot
  86. gosub wield_pickaxe
  87. sub wield_pickaxe
  88. finditem LSF_FSF C_
  89. set %pickaxe #findID
  90. set #lobjectid %pickaxe
  91. event macro 13 21     ;use hiding !
  92. wait 1                    ;;;;
  93. for %dign 1 5
  94. {
  95. finditem %vein_id G_2
  96. if #findcnt < 1
  97. {
  98. return
  99. }
  100. event macro 17 0
  101. target
  102. set #ltargetid %vein_id
  103. set #ltargetkind 1
  104. event macro 25 0
  105. wait 2
  106. event macro 22 0
  107. wait 2
  108. set %jstart #jindex + 1
  109. set %jend #jindex
  110. for %j %jstart %jend
  111. {
  112. scanjournal %j
  113. if Target_cannot in #journal
  114. {
  115. ignoreitem %vein_id   ;;;;;;;;;
  116. return
  117. }
  118. }
  119. wait %DigWait
  120. }
  121.  
  122. sub vein_search
  123. set %vein_found -1
  124. finditem EUE_OUE_UUE_OUE_RTE_VUE_FUE_MUE_CUE G_12
  125. if #findcnt = 0
  126. {
  127. return
  128. }
  129. for #findindex 1 #findcnt
  130. {
  131. if #findcol = 1153 ;frostwood
  132. {
  133. set %vein_x #findx
  134. set %vein_y #findy
  135. set %vein_id #findid
  136. set %vein_found 0
  137. return
  138. }
  139. }
  140. for #findindex 1 #findcnt
  141. {
  142. if #findcol = 37 ;bloowdwood
  143. {
  144. set %vein_x #findx
  145. set %vein_y #findy
  146. set %vein_id #findid
  147. set %vein_found 0
  148. return
  149. }
  150. }
  151. for #findindex 1 #findcnt
  152. {
  153. if #findcol = 114 ;hearthwood
  154. {
  155. set %vein_x #findx
  156. set %vein_y #findy
  157. set %vein_id #findid
  158. set %vein_found 0
  159. return
  160. }
  161. }
  162. for #findindex 1 #findcnt
  163. {
  164. if #findcol = 1152 ;bamboo
  165. {
  166. set %vein_x #findx
  167. set %vein_y #findy
  168. set %vein_id #findid
  169. set %vein_found 0
  170. return
  171. }
  172. }
  173. for #findindex 1 #findcnt
  174. {
  175. if #findcol = 43 ;ebony
  176. {
  177. set %vein_x #findx
  178. set %vein_y #findy
  179. set %vein_id #findid
  180. set %vein_found 0
  181. return
  182. }
  183. }
  184. for #findindex 1 #findcnt
  185. {
  186. if #findcol = 1271 ;zirconet
  187. {
  188. set %vein_x #findx
  189. set %vein_y #findy
  190. set %vein_id #findid
  191. set %vein_found 0
  192. return
  193. }
  194. }
  195. for #findindex 1 #findcnt
  196. {
  197. if #findcol = 355 ;mahagony
  198. {
  199. set %vein_x #findx
  200. set %vein_y #findy
  201. set %vein_id #findid
  202. set %vein_found 0
  203. return
  204. }
  205. }
  206. for #findindex 1 #findcnt
  207. {
  208. if #findcol = 488 ;oak
  209. {
  210. set %vein_x #findx
  211. set %vein_y #findy
  212. set %vein_id #findid
  213. set %vein_found 0
  214. return
  215. }
  216. }
  217. for #findindex 1 #findcnt
  218. {
  219. if #findcol = 1281 ;yew
  220. {
  221. set %vein_x #findx
  222. set %vein_y #findy
  223. set %vein_id #findid
  224. set %vein_found 0
  225. return
  226. }
  227. }
  228. for #findindex 1 #findcnt
  229. {
  230. if #findcol = 961 ;ash
  231. {
  232. set %vein_x #findx
  233. set %vein_y #findy
  234. set %vein_id #findid
  235. set %vein_found 0
  236. return
  237. }
  238. }
  239. for #findindex 1 #findcnt
  240. {
  241. if #findcol = 1262  ; pine
  242. {
  243. set %vein_x #findx
  244. set %vein_y #findy
  245. set %vein_id #findid
  246. set %vein_found 0
  247. return
  248. }
  249. }
  250. set #findindex 1
  251. if #findcnt > 0
  252. {
  253. set %vein_x #findx
  254. set %vein_y #findy
  255. set %vein_id #findid
  256. set %vein_found 0
  257. return
  258. }
  259. return
  260.  
  261. sub calculate_maxWeight
  262. set %MaxWeight #maxweight
  263. if %isElf = #false
  264. {
  265. set %maxWeight %maxWeight + 60
  266. }
  267. return
  268.  
  269. sub mountDismount
  270. set #LOBJECTID %1
  271. wait 1
  272. event macro 17 0
  273. return
  274.  
Edited by TM: added code tags


Post Merge: August 03, 2017, 06:39:41 PM
with this script its able to mine and lj. just by changing the items, which is why i like it. but as you have read above, it lacks one simple detail that keeps me from being able to lj afk for an extended period

2
Script Debug / Re: lack of skill needed to harvest
« on: August 02, 2017, 09:24:08 PM »
Mondain's Legacy, i tried to break it down by trees, but no luck. and i dont quiet understand the journal method

3
Script Debug / Re: lack of skill needed to harvest
« on: August 02, 2017, 06:03:02 AM »
server i use has customs that require over 100 and so the script just sets there and keeps mining even if it cant pull anything

4
Script Debug / lack of skill needed to harvest
« on: August 02, 2017, 02:53:54 AM »
trying to figure out how to make a script ignore a tree or vein if it lacks the skill to mine or chop. i have very little scripting knowledge. but i am trying.

5
Receipes / hawaiian redneck pulled pork
« on: August 02, 2017, 02:48:59 AM »
4lbs pork tenderloin- pineapple juice-liquid smoke- sea salt- chalula- crushed dried pepper of your choice- soy sauce- Jack Daniels whiskey (or equiv).

crockpot needs to be set on low, fill roughly 1/2 way with pineapple juice, add 2ish cups of soy sauce, 1 spoon of liquid smoke, 1/4-1/2 chalula, dash of sea salt, 2-4 shots of whiskey, and season with pepper to your burn.

slow cook for 12-14 hours pull out and set on plate. take 2 forks, 1 to hold the other to shred the pork. remember to pull with the muscles to allow nice long strands of the meat. once all is shred place back in crock pot to absorb more of the flavor and serve out of it. recommend it to be made into sliders on Hawaiian rolls.

back in my old shop i usually cooked 8 lbs and it was reduced to maybe 1/4 lb of stragglers. ;)

6
New member introductions / Returning player
« on: July 27, 2017, 04:13:40 AM »
its been probably 10 years since i last played UO. well now im back and seems to have changed quite a bit. i see a ton of new content, and well its a nice change. for all those that worked on it, thanks.  ok, so lets get on with the introduction. Im chance, atleast thats what i was going by in the game for quite a few years. Im a bit of a lazy hoarder. i prefer to have my animals do all the killing for me while i reap all the glory afterwards lol. so i dont remember stuff being so expensive on the vendors, and im finding it hard to make my way up the food chain, but it will happen in good time. anyway hope to see yall in game.

Pages: [1]