ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Kryz on August 09, 2015, 01:32:16 PM

Title: Question over authorship
Post by: Kryz on August 09, 2015, 01:32:16 PM
When making a new script if I used pieces already written from previous scripts what is the proper way of giving credit?

Do I just include it in the header? Document each line that I used? or and I would like to avoid this one ignore it altogether?

Post Merge: August 09, 2015, 02:13:25 PM
I think i'm going to move the subs I modified/used to the bottom of my script and include the header from the scripts they are from as well as include some information about what I changed. If that is ok.
Title: Re: Question over authorship
Post by: TrailMyx on August 09, 2015, 03:19:24 PM
Most people don't mind that you use their subs in their scripts.  There are others that don't mind, but you must leave their subs in tact and in separate files that are called so they can still be version controlled by the original author (EN is a good example of this practice)

So, if the author doesn't prevent you from using their subs, then it's OK to leave a reference/link/thanks to the original work in your header and the subs themselves you can put in your code somewhere in their entirety.  If you have modified them in some way, then it's just good practice to document your changes.

Now if you are modifying an entire script, then in order to post here, you need to get the original authors permission.  If the author has an account here, then they can PM me their consent, otherwise they can PM me at EUO (Miffy).

Hope this all is reasonable enough for ya!  We try hard to protect people's work, but sometimes things slip through the cracks.
Title: Re: Question over authorship
Post by: Kryz on August 09, 2015, 04:36:01 PM
Thanks TM!
Title: Re: Question over authorship
Post by: Cush on August 09, 2015, 04:58:09 PM
I like a really intelligent question followed by an equally intelligent answer!
Title: Re: Question over authorship
Post by: Endless Night on August 10, 2015, 08:43:31 AM
Most people don't mind that you use their subs in their scripts.  There are others that don't mind, but you must leave their subs in tact and in separate files that are called so they can still be version controlled by the original author (EN is a good example of this practice)

Actually for the most part I don't mind what people do with my subs, but i do like getting credit for them :) .... So  if you want to take one or more of  my subs and tinker with it bash it to bits and warp it entirely that is perfectly fine by me.      That said I do prefer to keep my subs in callable files for both My and other peoples ease of use.  I like the ability to update a sub and have the changes affect all my script with no further editing required.    Besides their is just so many of them cutting and pasting is just impractical.

For example I use the same menuing system in all my scripts and I can get full menus, with pause, start, toolbars etc features with a couple lines of code.  Want to add bod-pickup to any script ... thats maybe 3 lines of code.  Want to have 4 stacks of runebooks  each cycling on their own counter .. thats also 4-6lines of code...    But like anyframe work it can be daunting at first... and I dont think anyone but me uses.

So go ahead tear up peices of my libraries if you want to, just dont copy the whole thing but your name on top and say hey look what i created. !!


Thread of ready to use snippets:  http://www.scriptuo.com/index.php?topic=2454.0
Callable subs, tonns for every occasion:  http://www.scriptuo.com/index.php?topic=10609.0
Fast script framework:  http://www.scriptuo.com/index.php?topic=10580.0
Even more: http://www.scriptuo.com/index.php?board=62.0







Title: Re: Question over authorship
Post by: Kryz on August 10, 2015, 09:26:52 AM
Thank you endless I may take you up on that if I find something I find useful.
Title: Re: Question over authorship
Post by: The Ghost on August 10, 2015, 01:35:55 PM

Quote
For example I use the same menuing system in all my scripts and I can get full menus, with pause, start, toolbars etc features with a couple lines of code.  Want to add bod-pickup to any script ... thats maybe 3 lines of code.  Want to have 4 stacks of runebooks  each cycling on their own counter .. thats also 4-6lines of code...    But like anyframe work it can be daunting at first... and I dont think anyone but me uses.

That some I will like to explore,   I just started to use high end menu, just for that purpose, curious how it will work for me.
Title: Re: Question over authorship
Post by: KaliOfLS on August 10, 2015, 07:56:15 PM
I try to write my subs for people to easily copy and paste them.  I tend to write subs that depend on no variables besides the input parameters, use only local namespaces and describe how they are suppose to work in my script.  I do it so I can copy/paste sub routines as I see fit to build scripts.   

I encourage people to take and use them.  I think that in some ways, it helps new people learn good scripting habits and practices. 
Title: Re: Question over authorship
Post by: Kryz on August 11, 2015, 09:02:10 PM
Nice Kali, we may have to get together sometime I also play LS. (If your still there) 8)