ScriptUO

Official ScriptUO EasyUO Scripts => Submit your Script => Topic started by: Crisis on July 20, 2017, 05:29:56 PM

Title: Crisis Legendary Scribe
Post by: Crisis on July 20, 2017, 05:29:56 PM
Code: [Select]
;===================================================================
; Script Name: Crisis Legendary Scribe
; Author: Crisis
; Version: 1.0
; Client Tested with: 7.0.58.12
; EUO version tested with: 1.5 (version 321)
; Shard OSI / FS: OSI
; Release Date: 07/20/2017
; Initial Writing Date: 11/27/2015
; Testing & Reworking Date: 7/6/2017
; Revision Date: N/A
; Purpose:
;     .Multi-Purpose Inscription Script to make and fill spellbooks, make individual or bulk spell scrolls, make inscription related items, fill spellbooks from secures, and train inscription.
;     .This will work for Magery, Necromancy, and Mysticism
;
; Revisions:
;     . None yet
;
; Requirements:
;     . You need to have a secure with regs, iron ingots, and blank scrolls inside it and within reach
;     . You need to have at least one tinker tool and one scribe pen in your backpack
;     . You will need a minimum cooking skill of 60 and need to be near a water trough, oven, and have an endless decanter for making wood pulp!
;
; Future Updates:
;     . None Yet
;
; Special Thanks:
;     . Manwinc for use of his crafting subs
;     . TrailMyx for use of his Meditate sub and all of his help!
;
; Copyright: 2017 Crisis
;===================================================================

(http://thedemigod.com/pics/legscribe.png)

What does this script do?

I am looking for testers! This was made for official servers but I will try and modify it for free servers once in the near future. Ideas and suggestions are welcome!
Title: Re: Crisis Legendary Scribe
Post by: Oracle on July 20, 2017, 05:49:15 PM
Crisis,

I will be more than happy to test it for you.  I was using your original Craft and Fill Spellbook Filler and your Quick and Painless Spellbook Filler.  Is this going to replace both of those Scripts?  Also, what we really need is a Super Slayer Spellbook Maker like JAF's (which no longer works reliably, it keeps crashing).  I made over 100 of each of the Magery Scrolls and will test it to fill 6-10 spellbooks and then will make 100 more of each of the Magery Scrolls...then move to Mysticism and then Necro...

Title: Re: Crisis Legendary Scribe
Post by: Crisis on July 20, 2017, 05:54:05 PM
Yes it can do both of those in this version. My intention is for it to be an all in one inscription script. Once this is further along I can look into that but no promises.  ;D
Title: Re: Crisis Legendary Scribe
Post by: jlirsh on July 21, 2017, 10:54:27 AM
Yes I've been dying for a scrapper script. stupid 100 blank scrolls every book means you can make like 3-4 at a time without restocking. nonsenseee. LOL would love to test that if you ever put that function in :)
Title: Re: Crisis Legendary Scribe
Post by: Crisis on July 22, 2017, 06:21:19 AM
find this towards the end of the script
Code: [Select]
if #menures = 3
  {
   set %insc_item Magrery_Spellbook

then find this line
Code: [Select]
gosub MWResource %Resource_Secure %Blank_Scroll N/A 10 100 you should find it twice there and change the 100 to the desired amount but make sure not to get too close to max weight.

for example
Code: [Select]
gosub MWResource %Resource_Secure %Blank_Scroll N/A 10 300
Title: Re: Crisis Legendary Scribe
Post by: Biza on July 31, 2017, 07:07:08 PM
Well some one is a busy body, making me feel bad about all my neglected half finished projects in my euo folder. Maybe I will give em some love..... AFTER I try this  :angel:
Title: Re: Crisis Legendary Scribe
Post by: Biza on July 31, 2017, 08:13:01 PM
Tested! Been waiting for something like this for a long time, thank you crisis.

I found a few thingys. Running out of any resource gives you the resource type then says !Col.

Out of ENK !Col

Please place 50 ENK N/A in your backpack and then press play.

Also if you manually enter the container types at the top of the script it will not open the containers after running the script, you have to manually open them. Because there is no way for the script to check if the container is open, closing any of the containers while the script is running breaks the script as soon as you need to pull more resources.

If you could get around to adding a check for inscription tools in the resource container before trying to use tinkering that would be nice. Having to manually load them is kinda a pain. I do not have tinkering on my mage :(

Update: I did it for you

Code: [Select]
sub CheckScribe
  ; keep two in pack in case current one gets worn out
  finditem %Scribe_Tool C_ , #backpackid
  if #findcnt < 2
  {
    gosub Pullscribe
  }
return
;===================================================================
sub Pullscribe

  finditem %scribe_Tool C_ , %Resource_Secure
  if #findcnt > 2
  {
    exevent drag #findid #findstack
    wait 10
    Exevent Dropc #backpackid
    wait 10
   Return
  }
  Gosub Craftscribe
  Return
;===================================================================

I added that because I am very lazy. for those of you that are lazy like me, pretty sure that is everyone here though because we are using euo. Anywho. I need sleep and crisis needs to make me 126k blank scrolls.
Title: Re: Crisis Legendary Scribe
Post by: The Ghost on August 01, 2017, 05:12:47 AM
Quote
I found a few thingys. Running out of any resource gives you the resource type then says !Col.

Out of ENK !Col

Bizza,   This is how  MWinc design his all in one craft sub few years ago.      it use the last info of resourse you pull out , that why.
Title: Re: Crisis Legendary Scribe
Post by: Biza on August 01, 2017, 11:21:06 AM
Kinda new to globals but isn't !col a variable?

edit: Looks like its for colored resources, like blue ingots ect. seems to be a typo thats why its displaying !col there needs to be a space between !col$ like this !col $
Title: Re: Crisis Legendary Scribe
Post by: Biza on August 03, 2017, 11:27:35 AM
Tried to make wood pulp with this today, it goes over weight and cant pull any more bark fragment into your player pack. Need to add a check or even just a dump wood pulp line before it tries to get more bark fragment. Stuck in a loop of attempting to drag a stack of bark fragment into your pack while you can not hold any more weight. It also seems very slow compared to mine.