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

Pages: 1 2 3 [4] 5 6 ... 36
46
Scripting Chat / Re: what script would you like to see?
« on: July 08, 2011, 03:57:02 PM »
I guess this would be how I'd write one if I wanted something in a hurry...
I'm not sure if the % . #charid . _timeout is formated correctly, I always mess that up and would have to be able to play the script to see, but stupid easyuo is down as we all know!
%BANDAGEDELAY could be a preset number or set in the bandage sub based off the users dex  (this uses #SCNT2 so 10 = 1s)
BANDAGE would need the bandage item type obviously

I'm not sure this would work, just a rough idea how I would start

Code: [Select]
loop:
   uoxl SWAP
   if % . #CHARID . _timeout > #SCNT2 && % . #CHARID . _timeout > #SCNT2 <> N/A
      goto loop  ;if the timeout has not been met,  goto loop and check next client
                 ;otherwise the timer is active (a bandage is being applied)
   if #HITS <> #MAXHITS
      {
      gosub BANDAGESUB  ;would find bandages, apply them, and execute next line...
      set % . #CHARID . _timeout #SCNT2 + %BANDAGEDELAY  ;sets/resets when the bandage should be done
      }
goto loop

sub BANDAGESUB
   finditem BANDAGE C_ , #backpackid
   if #findkind = -1
      return ;there's no bandages...  this returns nothing and the timer still gets reset
             ;even though you did nothing.  you can return a result and do another check
             ;before setting the timer variable. maybe execute a sound to alert the user that
             ;somethings wrong without interupting the script or other clients from healing
   set #LOBJECTID #FINDID
   while #TARGCURS <> 1
      event macro 17  ;keep using #lobjectid until bandage cursor is up
   while #TARGCURS = 1
      event macro 23  ;keep targeting self until target cursor is gone
   ;bandage has been applied..  return, set timer and goto next client asap!
return

47
Scripting Chat / Re: what script would you like to see?
« on: July 08, 2011, 03:44:03 PM »
What kinda of ingo you need on multi clienting?  I don't think there's too much to it.  I use the Swap commands to swap between clients.  You can see the amount of clients available in #CLICNT, and there's another variable that shows which one is active I believe but don't know it off the top of my head.

I started to write a bunch of junk but it was a mess!  I'll whip something simple up for how I'd structure the multi client bandage healing w/o jindex scanning.

48
Scripting Chat / Re: what script would you like to see?
« on: July 08, 2011, 12:14:36 PM »
But that's just too simple of a script.  I was looking for a project to work on.

If you're looking for a larger project, here are 3 of them that i have in the works, all in the beginning stages, but with at least some code and other research done for each:

1) A BOD sorter, currently only for smith bods (tailor bods would be worth adding later, but getting it working for smith is much more desirable).  I have it set to find backpacks, bags, and pouches around my character, with one type of container full of unsorted bod books, one container type to hold the books of sorted bods (ValoriteHammer, VeriteHammer, etc, although I also plan to allow it to be expanded so that instead of all VeriteHammer BODs being in one book, all the 20ex ver plate bods are in one, all the 10 ex val plate bods are in one, and all the 15 ex val plate bods are in one, although this would lead to a LOT of storage books in the end, but a lot easier to find what is needed as well).  The third container type had one container full of empty bod books (if more aren't needed - undetermined if 2 containers full are needed), and at least 4 empty containers, to hold the bods removed from the book (up to 125 are added to each container).  It then sorts all the bods, either putting the iron smalls that give crap rewards back into their original books to be filled for recycling, or if desired, stored in books by rewards as well.

2) A new BOD Filler.  I have used snicker 7's BOD filler extensively, and there seems to be a number of places that it goes into a continuous loop, etiher discovered by myself or others.  Rather than trying to fix his code (which I haven't been able to do, although I have added checks into my multi-book bod filler script to overcome some of the issues), I felt a new script was needed, and while I would much rather have tried writing it in oEUO, I just haven't grasped enough of it yet (or much of it, even). 

3) A fishing quester.  In order to try getting fishing powerscrolls and possible the other new loot being added, as well as use up my stockpile of fish, I have started work on a fishing quester, to automatically get and fill fishing quests from the fishmongers.  I have a small area for sailing that allows me to get to any area I need, except papua, without having to sail to each destination, and by placing a second boat near the sea market, that can also be reached and have quests completed.  While still a lot of work left to complete this one as well, i would basically recall to all the fishmongers on it's subserver to get quests from them.  Then it would fill the quests, and if one of the destinations was already on the same subserver, complete the quest and get a new one from the monger who originally gave it.  Once all quests are filled and not on the same subserver you are already on, it will sail to the next subserver and continue, and then continuously do this until it runs out of fish.  The first outline calls for cancelling any quest to papua, due to the time needed to actually sail there (although i am going to test a couple more things with it), but otherwise, it can do all of the other fishmonger locations.  It would put all the loot it receiving into a container at the house with all the fish, including combining baits, and could be pretty lucrative.

As I said, I already have all 3 of these in the works, although I don't know how public they should become due to being a little too powerful (although if it was better, I would be more than happy to lead on making any or all of them a special project, especially if it would get a few other scripters out there to be able to help with some code and allow these things to really see some life - and i am sure I would learn so much more than I already know, which might even be more valuable than the finished script could ever be...I am also willing to help anyone who wishes to tackle these, especially if it was to be attempted in oEUO, as I would love to learn some more of the language, even after writing a small gift gathering script that I don't know if I fully comprehend!)...

I'd probably get too bored with the bod sorter one.  I've written an auto smith bod filler, that would fill/turnin/drop-off rinse/repeat but I stopped working on it when my keep was full of POF's & bronze hammers.  Occasionally after 8 hours of it running I'd come home to it messed up, so it's got some issues. I'm down to about 50 or so bottles left, so I thought about working on it again, or rewriting from scratch.  I can say it is a LOT faster than the s7 one though!  I'm not sure if I'd write support for tailoring bods, as I would have no desire to do them, and the rewards are inferior/useless now imo.  I also don't have high seas, so can't do that one at all.

I'll think about the smith bod one, but it wouldn't be endless cycling full automatic, just fill an entire book. 

49
Scripting Chat / Re: what script would you like to see?
« on: July 07, 2011, 02:35:22 PM »
If you really looking for something to do.

I would realy love to see a simple cross healing script that dosen't use the journal for checking when to heal

1 script checking 2 clients and applying aids when needed, might be a better way to explain it.

peace


For reliability I would really use journal scanning.  A simple debuff can throw off a script that don't know exactly when the bandage is done, because its going off a fixed wait, and cause it to apply the next bandage before the current one is finished because your dex lowered.  Of course you could get fancy & adjust the wait based on the characters dex too  (I usually do that for a SCNT2 timeout incase something went terribly wrong!), but I'm sure it could still get messed up from being clumsy/cursed mid bandage. 

Best way to do it would be journal scanning and logging the last #jindex in a variable that starts with #charid, so swapping in no way messes up the script.

But that's just too simple of a script.  I was looking for a project to work on.

50
Scripting Chat / Re: what script would you like to see?
« on: July 06, 2011, 05:07:14 PM »
Simple script.

2 Lightning strikes
1 Armor ignore

That's it. Make it non-pixel :)

I think I have a pixel one! haha.  I'll see when I can do it.  I picked back up on my pvm script, and I'm working on making it so you can customize rules based on what you're fightning...  (Ex:  Feint every 5s, AI @ max mana, etc.)



Uploaded with ImageShack.us

Pretty old screenshot though.  I added in curse weapon, a minature health bar, primary/secondary special spamming, potions (refresh, str/dex only atm), and rearranged the menu so you can hide/show all my debug crap.

51
Scripting Chat / Re: what script would you like to see?
« on: July 06, 2011, 04:58:53 PM »
I've got a semi hard one for ya that i can't figure out  :'( I've tried using subs in a recall lj script but i just can't get it.

1 targets/attack horses (horse pen beside skara stables) Lizardmen in Despise
2 option* to pathfind to corpse (if using throwing)
3 cuts with butchers war cleaver in pack
4 option* to loot meat
5 option* to loot gold from lizardmen
6 weightcheck and option* to either recall/sacred journey dump in secure in bank
7 option* to use multiple runes in a runebook to increase leather production between respawns
8 Leather counter/time elapsed counter

*Options would be decided in a start up menu by user.

You could also customize it and add in a g-heal/close wound option. You could even add in other monster Ids like WWs, Drakes.

I think it would be a great script, if i had the knowledge to put my thoughts into code i'd have it.


Here's one that does similar:

http://www.scriptuo.com/index.php?topic=280.0

Maybe looking at that can give you some insight, or you can alter it to fit your personal use.


52
Scripting Chat / Re: Pinky farming
« on: July 04, 2011, 06:59:19 AM »
Work all t2a spawns to lvl 3 and let them revert.  Also Tera keep!  That'll make the shard happy!

I used to love working kera keep up, and getting people to come fight my sampire in despise.  Embrace your honor and drop in through terra and kill them, loot em, and get out before it wears off.

53
Scripting Chat / Re: Favorite Scripts???
« on: July 03, 2011, 08:04:48 AM »
Are you actually using that?  I thought Twinkle McNugget and 12X were the only ones...

Yes.  tm_ngfs3 is what I'm using.  I've got it in quite a few of my newer scripts that i've wrote.

54
Scripting Chat / Re: Favorite Scripts???
« on: July 02, 2011, 07:24:27 PM »
TMs ngfs

55
Scripting Chat / Re: Updating a Menu
« on: July 01, 2011, 05:07:28 PM »
for a label all you would do is:

menu set MENUITEMNAME NEWDISPLAYTEXT/VARIABLE

56
Scripting Chat / Re: what script would you like to see?
« on: June 30, 2011, 02:16:20 PM »
a bottle making script from sand that runs really fast (marborow man has an old one but its really slow)

one that mines the sand and makes them as it goes?  or one that just uses a steady supply of preexisting sand and just makes a ton over and over?

57
Scripting Chat / what script would you like to see?
« on: June 30, 2011, 12:52:12 PM »
I'm bored.  Looking for something to do!  If anyone has a request for something they would like to see let me know.  As long as it's nothing too complicated!  I'm all out of ideas really.

58
General UO Chat / Re: Just funny picture of 3 Dead Crew being stupid
« on: June 20, 2011, 01:11:08 PM »
IS THAT I AM STRONG WEED?  What a noob. :)

I saw the corpse of "I am S" and thought his name was I Am Stupid.

59
Scripting Chat / Re: Crafting Script
« on: May 08, 2011, 07:09:12 PM »
yes/no.

i use it for the basic tink/carp/smith/tailor/fletch but its not really that great.  i started re writing it recently but im taking a break from uo again.  if anyone wants where i left off, they're more than welcome to it just lmk. 

60
Scripting Chat / Re: Serpent Eggs.. Snake holes..
« on: April 14, 2011, 06:48:05 PM »
you need to actually click the x/y location.

Pages: 1 2 3 [4] 5 6 ... 36