1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pen of Wisdom 2013-12-25

Copies runebooks to include the marked runes inside.

  1. Ravenwolfe
    Offline

    Moderator ServUO Developer

    Joined:
    Sep 7, 2013
    Messages:
    1,146
    Likes Received:
    123
    • Two Thumbs Up Two Thumbs Up x 3
  2. Hank
    Offline

    Hank Active Member

    Joined:
    Nov 14, 2013
    Messages:
    972
    Likes Received:
    152
    Thanks for sharing! I'm going to add a inscription requirement to it for my shard. This was also on my to do list. :)
     
  3. Ravenwolfe
    Offline

    Moderator ServUO Developer

    Joined:
    Sep 7, 2013
    Messages:
    1,146
    Likes Received:
    123
    Yeah, I did the same thing, but I wanted the released version to be EA accurate. Glad I saved you some time!
     
  4. Erevan
    Offline

    Erevan New Member

    Joined:
    Mar 13, 2013
    Messages:
    15
    Likes Received:
    0
    Just wanted to offer some tips/suggested changes to the file to support accuracy:
    • You'll need to add checks for the required items (empty runebook, recall runes, and mark scrolls).
    • You'll likely want to verify the number of entries in the targeted runebook and then check the mobile's pack for the items required (i.e. if the targeted runebook has 3 entries, they'll need 3 mark scrolls and 3 recall runes).
    • You'll also need to make sure it deletes the appropriate number of mark scrolls and recall runes, as well as the empty runebook.
    • ... and lastly, you'll need to add a check for whether or not the targeted runebook even has any entries (copying blank runebooks and wasting charges isn't a good thing).
    Otherwise, it's a good script.
     
    • Meh Meh x 1
  5. Ravenwolfe
    Offline

    Moderator ServUO Developer

    Joined:
    Sep 7, 2013
    Messages:
    1,146
    Likes Received:
    123
    I created it to not consume resources as it was a special reward on my shard. But your more than welcome to change it, re-release it or anything else you desire.

    When I get some time, I will re-release with resources being consumed and the block for empty runebooks (didn't think of that one!).
     
    #5 Ravenwolfe, Dec 31, 2013
    Last edited: Dec 31, 2013
    • Agree Agree x 1
  6. xG00BERx
    Offline

    xG00BERx Active Member

    Joined:
    Jan 6, 2014
    Messages:
    301
    Likes Received:
    35
    I love this idea! Great donation item!!! :)
     
  7. James
    Offline

    James Member

    Joined:
    Sep 22, 2013
    Messages:
    83
    Likes Received:
    6
    Has anyone updated this anywhere to use resources and do checks as it should?
    If not how would one go about simply making it a limited use item?
     
  8. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    885
    Likes Received:
    136
    Here ya go. Test this and let me know how it goes.

    This one should verify there are entries in the source runebook. It will also make you target a destination empty runebook, then it will try to consume exactly the right number of recall runes and mark scrolls, plus delete the empty runebook.

    ** FILE DELETED ** See below.
     
    #8 Lokai, Feb 23, 2015
    Last edited: Feb 23, 2015
    • Two Thumbs Up Two Thumbs Up x 2
  9. James
    Offline

    James Member

    Joined:
    Sep 22, 2013
    Messages:
    83
    Likes Received:
    6
    Thank you Lokai, And I misquoted the other script in the original post it does not consume resources but it does indeed have limited use to it (10 uses)
    So it still ends up being a good reward item. Wanted to mention that beings I had mislead people to think it did not have that feature. and I changed the hue on my to 1162 blaze color it looks much better.
     
  10. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    885
    Likes Received:
    136
    Yeah, I saw that. I changed it to 100, per the description in the link.
     
  11. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    885
    Likes Received:
    136
    OK, hold off on this one. I messed up the ConsumeTotal part. Give me a minute to correct.
     
    • Like Like x 1
  12. James
    Offline

    James Member

    Joined:
    Sep 22, 2013
    Messages:
    83
    Likes Received:
    6
    Glad your doing this I played with this on ABCUO and liked it even dontated for it cause I had a need to copy a crap load of runebooks lol
     
  13. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    885
    Likes Received:
    136
    OK. This one is tested and works great.
     

    Attached Files:

    • Like Like x 1
    • Two Thumbs Up Two Thumbs Up x 1
    • Winner Winner x 1
  14. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    885
    Likes Received:
    136
    The tricky part about this one was having it only consume Unmarked recall runes found in your pack. I had to create a new ConsumeTotal method inside the Pen script to get that working the way I wanted it.
     
    • Like Like x 2
  15. Ravenwolfe
    Offline

    Moderator ServUO Developer

    Joined:
    Sep 7, 2013
    Messages:
    1,146
    Likes Received:
    123
    Excellent update Lokai, thanks! I had forgotten all about this, lol.
     
  16. James
    Offline

    James Member

    Joined:
    Sep 22, 2013
    Messages:
    83
    Likes Received:
    6
    Thanks for taking the time on this
     
Similar Threads: Pen Wisdom
Forum Title Date
Archived Bug Reports Pen of Wisdom - Multiple bugs Jul 8, 2017
Archived Bug Reports Im unsure whats happening Oct 3, 2017
Archived Bug Reports Carpenter's recipe "ornate elven chest (east)" is not available. Sep 24, 2017
Think Tank Carpentry and Fletchery wood skill requirement Aug 22, 2017
Windows Support Weird things happening on world Jul 28, 2017
Support VitaNexCore - Voting error (happened out of the blue) Jul 11, 2017
Archived Bug Reports Carpentry - wrong success chances Jul 3, 2017