User talk:Fritigern
From OpenSimulator
(→About ossl script examples) |
(→Non-LSL scripting pages) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 39: | Line 39: | ||
I rather hope to see original shorter examples, but for now, we should be polite to each creators. Thank you very much. --[[User:Makopoppo|Makopoppo]] 01:40, 31 July 2011 (UTC) | I rather hope to see original shorter examples, but for now, we should be polite to each creators. Thank you very much. --[[User:Makopoppo|Makopoppo]] 01:40, 31 July 2011 (UTC) | ||
+ | <br> | ||
+ | I wrote & re-wrote previous ossl script samples for Aurora-Sim in December & January 2011, which is what you have here. I do not have a problem with you using them, provided the header remains intact. --[[User:WhiteStar|WhiteStar]] 08:16, 31 July 2011 (UTC) | ||
− | I | + | :I did indeed take the scripts from Aurora, and copied them exactly as they appeared in order to preserve proper credit. There is only one script that i slightly changed in order to make it work without deprecated functions, which is [[OsSetSunParam]], which used the deprecated osSunGetParam. |
+ | :BTW, Makopopo, what makes you think i deleted anything? Or would want to? I find that remark quite insulting, because it shows that you don't think very highly of me. | ||
+ | :--[[User:Fritigern|Fritigern]] 21:18, 31 July 2011 (UTC) | ||
− | + | Fritigern, as the author WhiteStar says, you should copy and past INCLUDING headers. For example, current header on this wiki is like that: <source lang="lsl"> | |
− | + | ||
− | + | ||
− | + | ||
− | Fritigern, as the author WhiteStar says, you should copy and past INCLUDING headers. For example, current header on this wiki is like that: | + | |
− | <source lang="lsl"> | + | |
// ---------------------------------------------------------------- | // ---------------------------------------------------------------- | ||
// Example / Sample Script to show function use. | // Example / Sample Script to show function use. | ||
Line 68: | Line 67: | ||
// This function allows subdivision of parcels programmatically. | // This function allows subdivision of parcels programmatically. | ||
// Subdivides( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax | // Subdivides( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax | ||
− | </source> | + | </source> |
− | However, the header in [Aurora-Sim Wiki http://wiki.aurora-sim.org/index.php?title=OsParcelSubdivide] is like that | + | However, the header in [Aurora-Sim Wiki http://wiki.aurora-sim.org/index.php?title=OsParcelSubdivide] is like that <source lang="lsl"> |
− | <source lang="lsl"> | + | |
// ---------------------------------------------------------------- | // ---------------------------------------------------------------- | ||
// Example / Sample Script to show function use. | // Example / Sample Script to show function use. | ||
Line 88: | Line 86: | ||
// This function allows subdivision of parcels programmatically. | // This function allows subdivision of parcels programmatically. | ||
// Subdivides( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax | // Subdivides( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax | ||
− | </source> | + | </source> |
+ | |||
+ | You inserted the line "script source" on this header. Actual script source would be <nowiki>http://wiki.aurora-sim.org/index.php?title=OsParcelSubdivide</nowiki>. | ||
+ | |||
+ | I think considering of editing the sample script, it would be nice to have only a link to Aurora-Sim Wiki instead of copy&paste the sample. We can anytime create our own sample if we have time to do that. As an admin, I have to check and act against copyrights violation, as well as codebase. (It would be answer for your last question) If you take it insult, sorry but I haven't meant to do that. I just wanted to prevent any trouble about OpenSimulator Wiki as an admin. Thank you. -- [[User:Makopoppo|Makopoppo]] 23:14, 31 July 2011 (UTC) | ||
+ | |||
+ | With regards to the header, when these scripts were done & tested, Aurora's wiki did not yet exist and so I naturally referenced them back to OpenSim. Change that as you wish, it's really all quite irrelevant and as for Licence & Copyright, they are fully open source & public on Aurora wiki which I think off hand is under CC 2.5 and additionally posted in the Aurora Git Repo for anyone to use as it's included as part of the docs with the source code. --[[User:WhiteStar|WhiteStar]] 23:51, 31 July 2011 (UTC) | ||
+ | |||
+ | |||
+ | |||
+ | : The scripts were copied EXACTLY from https://github.com/aurora-sim/Aurora-Sim/tree/master/AuroraDocs/OSSLFunctions after Revolution Smythe pointed them out to me in the imprudence chat. I did not add or remove anything, other than the deprecated function which i mentioned earlier. | ||
+ | |||
+ | [00:00:00] - {Day changed to Sat Jul 30 00:00:00 2011} | ||
+ | [00:07:24] -*- Fritigern wipes forehead... "Phew! Got LSL script examples for all letters, | ||
+ | with the exceptions of G, L, P, R and S. | ||
+ | [00:08:57] <Fritigern> And once i am done collecting example scripts for all LSL functions, | ||
+ | i will get to the OSSL functions. | ||
+ | [00:09:26] <Fritigern> And after that: testing them, and fixing where nescessary | ||
+ | [00:09:38] <justincc> that's - a lot of work :) | ||
+ | [00:10:03] <nebadon> getting close here | ||
+ | [00:10:05] <nebadon> git is cloning now | ||
+ | [00:10:06] <RevolutionSmythe> we already did all the OSSL ones | ||
+ | [00:10:09] <Fritigern> It is, but we will all benefit. All i need to do, is figure out how | ||
+ | to get those scripts into the library :-) | ||
+ | [00:10:19] <RevolutionSmythe> so you might look through those... see if they are of any help | ||
+ | [00:11:04] <Fritigern> RevolutionSmythe: ALL of the OSSL functions? Where are they? | ||
+ | [00:11:51] <RevolutionSmythe> yes, all the OSSL functions, | ||
+ | https://github.com/aurora-sim/Aurora-Sim/tree/master/AuroraDocs/OSSLFunctions | ||
+ | [00:12:23] <RevolutionSmythe> minus the OpenSim bot functions, we removed those a long time ago | ||
+ | [00:12:57] <Fritigern> Then someone should add them to the Wiki too.... | ||
+ | [00:13:18] <RevolutionSmythe> i don't know whether they can be used on the OpenSim wiki... i | ||
+ | don't know the license other than for Aurora | ||
+ | [00:13:56] <justincc> I don't see any problem with using them on the opensim wiki | ||
+ | [00:14:01] <justincc> thanks for sharing that, RevolutionSmythe | ||
+ | [00:14:11] <RevolutionSmythe> yw, hope it helps | ||
+ | [00:15:30] <Fritigern> http://opensimulator.org/wiki/Category:OSSL_functions_without_example | ||
+ | [00:20:38] <Fritigern> Updating those entries with the examples will have to wait until later | ||
+ | though. I am very sleepy, and need to pass out | ||
+ | [00:21:10] <justincc> Fritigern: sounds like time to take a rest. Thanks Fritigern | ||
+ | |||
+ | : So, instead of '''ASSUMING''' all kinds of things about me, Makopopo, why not '''ASK''' me questions? | ||
+ | : Oh, and you may need to be reminded that i too am a sysop on this wiki, just like you. And as such, i would like to be treated with a little more respect by you. I am open for discussions, but NOT for accusations. | ||
+ | |||
+ | : @WhiteStar, I'm sorry for not having thanked you, a gross oversight on my part. You must feel like you are caught in the middle of this, and that was obviously nobody's intention. Your work on these scripts is greatly appreciated, some of these functions (like [[osParseJSON]]) were a complete riddle to me, and they do shine some light in the darkness. :-) | ||
+ | |||
+ | ::I was totally ignorant about the discussion in Imprudence chat (I haven't accessed it ever) . Sorry for misassumption. I'll use your advise for the next time. I am open for both discussions AND accusations. Beat me until you are satisfied! *grin* BTW, I'll add the credit of Aurora SIM on the sample later if I have time to do that since they have respected in treating our codebase improvement and inserted our credit on their git log. Happy editing! -- [[User:Makopoppo|Makopoppo]] 13:42, 1 August 2011 (UTC) | ||
+ | |||
+ | ::: As far as i am concerned, this is where the discussion ends. Of any good came of this, ot will be the we just got to know each other better. :-) | ||
+ | ::: --[[User:Fritigern|Fritigern]] 19:20, 1 August 2011 (UTC) | ||
+ | |||
+ | ::::For "knowing each other better", I can't still understand you deleting all the discussion on this topic after it seems to have "ended". It had some valuable evidence to prove the rightness your action or so. Honestly I just felt disappointed, but it is your page. You have the right to delete them all. So it is okay ... Beat me again ... -- [[User:Makopoppo|Makopoppo]] 21:48, 1 August 2011 (UTC) | ||
+ | |||
+ | ::::: Well, that's easily fixed. :-) | ||
+ | ::::: --[[User:Fritigern|Fritigern]] 21:58, 1 August 2011 (UTC) | ||
+ | == Notepad++ == | ||
+ | |||
+ | The topic that never ends... ;) Just a quick update, as I don't know where your hanging new pages etc... but I have updated the Notepad++ userdef for LSL this morning. It contains not only all the most current LSL from LL, all the OSSL and of course Aurora's AA, BOT functions are also in there along with all teh required constants etc. Notepad++ is available from here: [http://notepad-plus-plus.org/ http://notepad-plus-plus.org/] and the userdef is located here: [http://notepad-plus.sourceforge.net/commun/userDefinedLang/NPP_LSL_Language.zip http://notepad-plus.sourceforge.net/commun/userDefinedLang/NPP_LSL_Language.zip] which contains a text file on how to add the def into NPP. --[[User:WhiteStar|WhiteStar]] 18:53, 1 August 2011 (UTC) | ||
+ | |||
+ | : I think the best place for this would be under [[Scripting_Documentation#Additional_Resources_for_Scripting_.28LSL.29|this subsection of the Scripting]] page. No need to create a new page for this. :-) | ||
+ | : P.S. Maybe it would be best not to use the WYSIWYG editor, it tends to not respect wiki formatting, thus damaging the page in the process. This damage can be fixed, but that's not a fun job. | ||
+ | : --[[User:Fritigern|Fritigern]] 19:20, 1 August 2011 (UTC) | ||
+ | |||
+ | == Non-LSL scripting pages == | ||
− | + | Hi Fritigern. I see you removed the non-LSL scripting page and the references with text that the information is elsewhere on the wiki? Could you tell me where this is so I can adjust my references? Thanks -- [[User:Justincc|Justincc]] 10:52, 13 October 2011 (UTC) | |
− | + | :Darn, i know i had found it at the time when i applied the delete template, but now i can't find it anymore. I will revert my deletions until i find it again (if i ever ''will'' find it again), and if i do, i will put up a redirect instead. And i agree that "elsewhere on the wiki" is way too vague. My brain must have had a bad day when i wrote that... | |
+ | :--[[User:Fritigern|Fritigern]] 01:57, 14 October 2011 (UTC) |
Latest revision as of 17:57, 13 October 2011
Contents |
[edit] Talk to the Friti, my dear!
Before leaving me a message: find out a little about how to edit a wiki.
Need to delete a page? NEVER blank the page. Instead, use the {{delete}} template, so that the sysops can completely delete the page if THEY feel it is justified.
When is deletion of a page justified? If a page answers to one or more of the following criteria:
- Typo in page name. Ex. MyPagee, instead of MyPage
- Wrong namespace. Ex John_Doe, instead of User:John_Doe
- Spam. Ex, a page with the name "Eat At Joe's", when the wiki is not food related.
- Vandalism. Ex. Pages created in large quantities, for the purpose of making information on the wiki hard to find.
- Vanity. There's no reason why a user should create a page called "John Doe", when he already has a page at "User:John_Doe".
If the information is out of date, UPDATE the info, do not delete the page, nor have it deleted. People rely on this wiki for help, do not derive them of the information they need by deleting info, no matter how outdated it is.
In fact, some people may even NEED this outdated info! There may still be people out there, running 0.5.x (or older!) as a standalone server for whatever reason there may be (hardware incompatibility, fear of upgrading, whatever).
Therefore, do not remove outdated, or obsolete info, but update it. Or better yet, archive it, and make a new page with a revision number. That way, there will be up-to-date info, and at the same time, older info is preserved for those who need it.
[edit] Quick info for you.
As you like to update things, have a look at this link http://opensimulator.org/viewgit/?a=commit&p=opensim&h=b512ecd1dc538f029e6772f526db78eb6687d938
These are the changes that have come into place as of today.
Have Fun.
[edit] Thanks!
Hey Fritigern, thanks a lot for all the work you've been doing on the wiki. As reward/punishment, you are now a sysop :). You may also want to put your name in the wiki sysop section of Development Team - Justincc 15:25, 4 June 2011 (UTC)
[edit] About ossl script examples
First, thank you for adding contents to wiki. However, I'd like to warn to you about contents copyright.
As far as I saw, almost (all?) of the ossl you have inserted today come from Aurora SIM Wiki. I can't judge if it is ok, but at least, you might want to let reader know it is from Aurora SIM Wiki to respect their works. If it have original copyright descrtion on the header comment, you should't delete it.
I rather hope to see original shorter examples, but for now, we should be polite to each creators. Thank you very much. --Makopoppo 01:40, 31 July 2011 (UTC)
I wrote & re-wrote previous ossl script samples for Aurora-Sim in December & January 2011, which is what you have here. I do not have a problem with you using them, provided the header remains intact. --WhiteStar 08:16, 31 July 2011 (UTC)
- I did indeed take the scripts from Aurora, and copied them exactly as they appeared in order to preserve proper credit. There is only one script that i slightly changed in order to make it work without deprecated functions, which is OsSetSunParam, which used the deprecated osSunGetParam.
- BTW, Makopopo, what makes you think i deleted anything? Or would want to? I find that remark quite insulting, because it shows that you don't think very highly of me.
- --Fritigern 21:18, 31 July 2011 (UTC)
// ---------------------------------------------------------------- // Example / Sample Script to show function use. // // Script Title: osParcelSubdivide.lsl // Script Author: // Threat Level: High // Script Source: SUPPLEMENTAL http://opensimulator.org/wiki/osParcelSubdivide // // Notes: See Script Source reference for more detailed information // This sample is full opensource and available to use as you see fit and desire. // Threat Levels only apply to OSSL & AA Functions // See http://opensimulator.org/wiki/Threat_level // ================================================================ // C# Source Line: public void osParcelSubdivide(LSL_Vector pos1, LSL_Vector pos2) // Inworld Script Line: osParcelSubdivide(vector pos1, vector pos2); // // Example of osParcelSubdivide // This function allows subdivision of parcels programmatically. // Subdivides( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax
// ---------------------------------------------------------------- // Example / Sample Script to show function use. // // Script Title: osParcelSubdivide.lsl // Script Author: // Threat Level: High // // Notes: This sample is full opensource and available to use as you see fit and desire. // Threat Levels only apply to OSSL & AA Functions // ================================================================ // C# Source Line: public void osParcelSubdivide(LSL_Vector pos1, LSL_Vector pos2) // Inworld Script Line: osParcelSubdivide(vector pos1, vector pos2); // // Example of osParcelSubdivide // This function allows subdivision of parcels programmatically. // Subdivides( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax
You inserted the line "script source" on this header. Actual script source would be http://wiki.aurora-sim.org/index.php?title=OsParcelSubdivide.
I think considering of editing the sample script, it would be nice to have only a link to Aurora-Sim Wiki instead of copy&paste the sample. We can anytime create our own sample if we have time to do that. As an admin, I have to check and act against copyrights violation, as well as codebase. (It would be answer for your last question) If you take it insult, sorry but I haven't meant to do that. I just wanted to prevent any trouble about OpenSimulator Wiki as an admin. Thank you. -- Makopoppo 23:14, 31 July 2011 (UTC)
With regards to the header, when these scripts were done & tested, Aurora's wiki did not yet exist and so I naturally referenced them back to OpenSim. Change that as you wish, it's really all quite irrelevant and as for Licence & Copyright, they are fully open source & public on Aurora wiki which I think off hand is under CC 2.5 and additionally posted in the Aurora Git Repo for anyone to use as it's included as part of the docs with the source code. --WhiteStar 23:51, 31 July 2011 (UTC)
- The scripts were copied EXACTLY from https://github.com/aurora-sim/Aurora-Sim/tree/master/AuroraDocs/OSSLFunctions after Revolution Smythe pointed them out to me in the imprudence chat. I did not add or remove anything, other than the deprecated function which i mentioned earlier.
[00:00:00] - {Day changed to Sat Jul 30 00:00:00 2011} [00:07:24] -*- Fritigern wipes forehead... "Phew! Got LSL script examples for all letters, with the exceptions of G, L, P, R and S. [00:08:57] <Fritigern> And once i am done collecting example scripts for all LSL functions, i will get to the OSSL functions. [00:09:26] <Fritigern> And after that: testing them, and fixing where nescessary [00:09:38] <justincc> that's - a lot of work :) [00:10:03] <nebadon> getting close here [00:10:05] <nebadon> git is cloning now [00:10:06] <RevolutionSmythe> we already did all the OSSL ones [00:10:09] <Fritigern> It is, but we will all benefit. All i need to do, is figure out how to get those scripts into the library :-) [00:10:19] <RevolutionSmythe> so you might look through those... see if they are of any help [00:11:04] <Fritigern> RevolutionSmythe: ALL of the OSSL functions? Where are they? [00:11:51] <RevolutionSmythe> yes, all the OSSL functions, https://github.com/aurora-sim/Aurora-Sim/tree/master/AuroraDocs/OSSLFunctions [00:12:23] <RevolutionSmythe> minus the OpenSim bot functions, we removed those a long time ago [00:12:57] <Fritigern> Then someone should add them to the Wiki too.... [00:13:18] <RevolutionSmythe> i don't know whether they can be used on the OpenSim wiki... i don't know the license other than for Aurora [00:13:56] <justincc> I don't see any problem with using them on the opensim wiki [00:14:01] <justincc> thanks for sharing that, RevolutionSmythe [00:14:11] <RevolutionSmythe> yw, hope it helps [00:15:30] <Fritigern> http://opensimulator.org/wiki/Category:OSSL_functions_without_example [00:20:38] <Fritigern> Updating those entries with the examples will have to wait until later though. I am very sleepy, and need to pass out [00:21:10] <justincc> Fritigern: sounds like time to take a rest. Thanks Fritigern
- So, instead of ASSUMING all kinds of things about me, Makopopo, why not ASK me questions?
- Oh, and you may need to be reminded that i too am a sysop on this wiki, just like you. And as such, i would like to be treated with a little more respect by you. I am open for discussions, but NOT for accusations.
- @WhiteStar, I'm sorry for not having thanked you, a gross oversight on my part. You must feel like you are caught in the middle of this, and that was obviously nobody's intention. Your work on these scripts is greatly appreciated, some of these functions (like osParseJSON) were a complete riddle to me, and they do shine some light in the darkness. :-)
- I was totally ignorant about the discussion in Imprudence chat (I haven't accessed it ever) . Sorry for misassumption. I'll use your advise for the next time. I am open for both discussions AND accusations. Beat me until you are satisfied! *grin* BTW, I'll add the credit of Aurora SIM on the sample later if I have time to do that since they have respected in treating our codebase improvement and inserted our credit on their git log. Happy editing! -- Makopoppo 13:42, 1 August 2011 (UTC)
- As far as i am concerned, this is where the discussion ends. Of any good came of this, ot will be the we just got to know each other better. :-)
- --Fritigern 19:20, 1 August 2011 (UTC)
- For "knowing each other better", I can't still understand you deleting all the discussion on this topic after it seems to have "ended". It had some valuable evidence to prove the rightness your action or so. Honestly I just felt disappointed, but it is your page. You have the right to delete them all. So it is okay ... Beat me again ... -- Makopoppo 21:48, 1 August 2011 (UTC)
- Well, that's easily fixed. :-)
- --Fritigern 21:58, 1 August 2011 (UTC)
[edit] Notepad++
The topic that never ends... ;) Just a quick update, as I don't know where your hanging new pages etc... but I have updated the Notepad++ userdef for LSL this morning. It contains not only all the most current LSL from LL, all the OSSL and of course Aurora's AA, BOT functions are also in there along with all teh required constants etc. Notepad++ is available from here: http://notepad-plus-plus.org/ and the userdef is located here: http://notepad-plus.sourceforge.net/commun/userDefinedLang/NPP_LSL_Language.zip which contains a text file on how to add the def into NPP. --WhiteStar 18:53, 1 August 2011 (UTC)
- I think the best place for this would be under this subsection of the Scripting page. No need to create a new page for this. :-)
- P.S. Maybe it would be best not to use the WYSIWYG editor, it tends to not respect wiki formatting, thus damaging the page in the process. This damage can be fixed, but that's not a fun job.
- --Fritigern 19:20, 1 August 2011 (UTC)
[edit] Non-LSL scripting pages
Hi Fritigern. I see you removed the non-LSL scripting page and the references with text that the information is elsewhere on the wiki? Could you tell me where this is so I can adjust my references? Thanks -- Justincc 10:52, 13 October 2011 (UTC)
- Darn, i know i had found it at the time when i applied the delete template, but now i can't find it anymore. I will revert my deletions until i find it again (if i ever will find it again), and if i do, i will put up a redirect instead. And i agree that "elsewhere on the wiki" is way too vague. My brain must have had a bad day when i wrote that...
- --Fritigern 01:57, 14 October 2011 (UTC)