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

Pages: 1 ... 613 614 [615] 616 617 ... 622
9211
New member introductions / Re: new here
« on: June 15, 2008, 09:30:02 PM »
Howdy, demonic wolf, welcome here!

9212
Off Topic / Re: I hate databases! :)
« on: June 15, 2008, 07:12:12 PM »
i'm trying to get my e107 site to use the registered users off my SMF forum and it just won't work..it is so frustrating :)  gah! :)

Lol, I just ended up turning that off.  ;)

9213
New member introductions / Re: kamphines here
« on: June 15, 2008, 01:41:13 PM »
Well, welcome to you!  There's lots of helpful people around, so hopefully we can help you find your "scripting legs".  ;)

TM

9214
General UO Chat / Re: My Spring Cleaning Point results
« on: June 15, 2008, 12:43:19 PM »
I'm looking forward to turning in my ASOSes on Napa.  I think I have like 50-60 there.  Never going to sell them.  Actually, I just started farming those, I'd leave the rest with the ASOS farmer option of the FAF.  I can't imagine how many SOS/Nets I'd have now otherwise.  At least I have room in my tower.  lol

9215
New member introductions / Re: Masscre' in da house
« on: June 15, 2008, 12:13:37 PM »
Hi Masscre.

Yeh, I'll put up a links page for anyone who might want put something up.  I've already had that request from a couple others.  Just PM me your link info and perhaps a link to a banner and I'll add that to a read-only LINKs forum.

Yes, the scripting tool was hush hush for a while.  I didn't want to create any buzz about it because I'm working on it very slowly.  But it's come a long way since November.

But welcome!

TM

9216
General UO Chat / Re: My Spring Cleaning Point results
« on: June 15, 2008, 12:11:36 PM »
Ok, a couple things, nice points, I have about 690k

Next, your snippet, I cannot reply to it. I posted a snippet for both, rather simple, no checks in there for much stuff, but working flawlessly for me, well, not flawlessly, I do have times where 1 or 2 items miss being turned in, but, out of 100 or so, that's not bad. Oh, and I posted mine on WINUO early last week, just wanted to say   :P I was quicker   :P Oh, and Guadah posted his Guadah stylle with menus to switch between.. but that was as a script and not a snippet.

Another thing, you're the freakin man.. I had maybe around 610k and daily I'm getitng more points with your full fisher..



There's one place in the my script section where you can do the feedback thing.  And yes, you were quicker, but I'm not the scripting community slut as I once was.  So you're welcome to be sluttier.  heh.  My days are done there.

Yeh, they give like 250 points for that worthless pre-box loot now.  So that's a good thing.  I had a BUNCH of ASOS and white nets and colored nets.  I wish I had been collecting the nets; I stopped collecting those.  My suggestion there is to drop your fishing by 0.1 to start getting all nets instead of SOSes.  You'll get a truckload of nets then and lots of points @ 500/per.

9217
Script Snippets / TrailMyx's Spring Cleaning Routines
« on: June 15, 2008, 11:43:47 AM »
I quickly whipped up these routines to turnin my crap.  They're fast and reliable with little/no setup.

For Item turning for tickets:
Code: easyuo
  1. finditem IS G_2
  2. if #FINDCNT > 0
  3. {
  4.   for #FINDINDEX 1 #FINDCNT
  5.   {
  6.     event property #FINDID
  7.     if the , #SPC , collector in #PROPERTY && #FINDREP = 7
  8.       goto found_collector
  9.   }
  10. }
  11.  
  12. display ok I cannot locate the collection NPC
  13. stop
  14.  
  15. found_collector:
  16.   set %turnin #FINDID
  17.  
  18. set #LOBJECTID #BACKPACKID
  19. event macro 17 0
  20. wait 20
  21. display ok Target the container of items to turn in
  22. set #TARGCURS 1
  23. repeat
  24. until #TARGCURS = 0
  25. set %container #LTARGETID
  26.  
  27. finditem %container C_ , #BACKPACKID
  28. if #FINDKIND <> -1
  29. {
  30.   set #LOBJECTID #FINDID
  31.   event macro 17 0
  32.   gosub GumpWait container_gump
  33.   wait 20
  34.   set %container #FINDID
  35.   repeat
  36.     finditem * C_ , %container
  37.     if #FINDKIND <> -1
  38.     {
  39.       event property #FINDID
  40.       exevent drag #FINDID 1
  41.       wait 10
  42.       exevent dropc %turnin
  43.       wait 20
  44.       ignoreitem #FINDID
  45.     }
  46.   until #FINDKIND = -1
  47. }
  48.  
  49. stop
  50. ;-------------------------------------------------------------------------------
  51. sub GumpWait
  52.   wait 10
  53.   set %timedelay #SCNT
  54.   loopwait1:
  55.     if #CONTNAME = %1 || #CONTNAME = %2
  56.       return
  57.     if #SCNT > %timedelay + 7
  58.       return
  59.     goto loopwait1
  60. return
  61.  

And for Tickets to Points:

Code: easyuo
  1. finditem IIF G_2
  2. if #FINDCNT > 0
  3. {
  4.   for #FINDINDEX 1 #FINDCNT
  5.   {
  6.     event property #FINDID
  7.     if spring , #SPC , cleaning in #PROPERTY && current , #SPC , points in #PROPERTY && #FINDCOL = 1102
  8.       goto found_box
  9.   }
  10. }
  11.  
  12. display ok I cannot locate the collection box
  13. stop
  14.  
  15. found_box:
  16.   set %box #FINDID
  17.  
  18. set %total 0
  19.  
  20. repeat
  21.         finditem TVH C
  22.         if #FINDKIND <> -1
  23.         {
  24.           if #FINDCOL <> 1164
  25.           {
  26.             ignoreitem #FINDID
  27.             continue
  28.           }
  29.           set %ticket #FINDID
  30.           gosub TicketValue %ticket
  31.           set %total %total + #RESULT
  32.         }
  33.         if #CONTSIZE <> 345_359
  34.         {
  35.                 finditem %box G_2
  36.                 if #FINDKIND <> -1
  37.                 {
  38.                         set #LOBJECTID #FINDID
  39.                         event macro 17 0 ; last object
  40.                         gosub GumpWait generic_gump
  41.     }
  42.   }
  43.   set %clickx #CONTPOSX + 39
  44.   set %clicky #CONTPOSY + 168
  45.         click %clickx %clicky f
  46.         target 5s
  47.         set #LTARGETID %ticket
  48.         set #LTARGETKIND 1
  49.         event macro 22 0
  50.         gosub GumpWait generic_gump
  51. until #FINDKIND = -1
  52. display ok %total
  53. stop
  54.  
  55. sub TicketValue
  56.   namespace push
  57.   namespace local TV
  58.   event property %1
  59.   str pos #PROPERTY $ 2
  60.   str del #PROPERTY 1 #STRRES
  61.   set !tempstr #STRRES
  62.   str pos !tempstr p
  63.   set #STRRES #STRRES - 1
  64.   str left !tempstr #STRRES
  65.   set !tempstr #STRRES
  66.   repeat
  67.     str pos !tempstr ,
  68.     if #STRRES > 0
  69.     {
  70.       str del !tempstr #STRRES 1
  71.       set !tempstr #STRRES
  72.     }
  73.   until #STRRES = 0
  74.   set #RESULT !tempstr
  75.   namespace pop
  76. return #RESULT
  77.  
  78. ;-------------------------------------------------------------------------------
  79. sub GumpWait
  80.   wait 10
  81.   set %timedelay #SCNT
  82.   loopwait1:
  83.     if #CONTNAME = %1 || #CONTNAME = %2
  84.       return
  85.     if #SCNT > %timedelay + 7
  86.       return
  87.     goto loopwait1
  88. return
  89.  

9218
General UO Chat / My Spring Cleaning Point results
« on: June 15, 2008, 11:21:28 AM »
Not too bad for 30 minutes of work cleaning out the junk I had at my place.  I need to go through my other shards I guess.  Honestly, I only thought I had 1/2 this many.  ;)


9219
General Discussion / Re: Post up your code snippets.
« on: June 14, 2008, 11:05:29 PM »
Well as the parser evolves, I'll continuously throw code at it.  It's a bit too much at this point, but then 3 weeks ago, I didn't have much working at all parser-wise.  ;)

9220
Off Topic / Re: Son's first Olympic Scoring TKD Tourny
« on: June 14, 2008, 02:00:27 PM »
Well, congratulations to your son and to you!  I still fear him, though.  ;)

9221
Scripting Chat / My beetle lumberjacker is coming soon.
« on: June 14, 2008, 11:33:12 AM »
I've finally decided to post this.  I've been able to keep my heartwood addiction fully fed with this script.  Generally I can get 12K/hr boards with it in trammel and nearly 20K/hr in fel, so it's uber fast.  It keeps track of the progress of each individual tree it chops, and will tell you when a tree changes its resource kind.  It will also track this change from day to day, so you can watch resource spawns change.  At one time I was experimenting by not chopping the final resource from a tree with the hopes of "promoting" the trees I chopped, but that was just a hollow dream.  This version does that if you want to play with the feature.

But anyhow, I do have to do a bit of clean up of the code, so I'll be posting it soon.

9222
New member introductions / Re: Hell0 all!!!
« on: June 14, 2008, 11:28:03 AM »
Wow im surprised i found this... But im glad TM has made his own page to support a great cimmunty.. Im back on board to help out with testing and have great conversation people i see that are here already.. great familiar faces.

Howdy Knight, I'm glad you found my little place!  I'll be at WinUO.org as well, freddy and I are strategically allied it would seem, so no worries.  I may even post a couple scripts over there like the Heartwood quester 1.xx.  But I'm glad the good people are still around. We're just here because we love the game of UO and the extra "cool feeling" you get from being able to play it while you goto the beach.  ;)

Yes, I kinda needed my own site after all that's gone on.  I'm tired of re-inventing the wheel.  lol.  Plus there's my little extra thing here at ScriptUO that's been taking up most of my spare time.

9223
General Discussion / Post up your code snippets.
« on: June 14, 2008, 11:16:25 AM »
Although I have a bunch of code (lol) I'd like to throw a bunch of different styles at the parser to be sure it's functioning correctly.  So if you have anything that consists of these commands:

break
continue
display (complete)
for
gosub
goto
halt
if (bracketed, no 3rd argument skip yet)
menu (see list below)
pause
repeat
return
set
stop
sub
until
while
namespace (complete)
str (complete)


Attached them to this thread and I can add it to my test suit.  There are still a few parts of the menu that I haven't implemented yet.  The shape drawing parts in particular, but I do have the following implemented:


window size
window title
text
show
set
list create (no add yet)
font bgcolor
font color
font name
font size
font style
edit
delete
combo create (no add yet)
clear
check
button
activate

9224
Bug discussion / Re: Unhandled Exception
« on: June 13, 2008, 12:57:56 PM »
Ok, I fixed this little bug.  It's easy to handle when you are looking for it.  I will probably be posting a revision to his program this weekend sometime. I want to address a couple other crash issues I've found, but I'm thinking it's nearly ready for public consumption.

9225
Off Topic / Re: Dreadful new terrorist tactics....
« on: June 13, 2008, 10:42:25 AM »
Yes, is there ANYTHING they won't stoop to doing?   Next will be a porn magazine, bagz of cheetoz, and a Starbuck's Latte. Same suspiciously unremarkable very large mouse trap, but there's a world of options for us Infidels-on-the-go.

Pages: 1 ... 613 614 [615] 616 617 ... 622