Aller au contenu

Photo

NWN Lexicon


  • Veuillez vous connecter pour répondre
69 réponses à ce sujet

#26
acomputerdood

acomputerdood
  • Members
  • 219 messages

ShaDoOoW wrote...

github uh huh, seems unnecessarily complicated, why just not grant individual peoples ftp access?


i thought github sounded a little complicated, too.  all i think we need is a core group of people responsible for gathering/creating the updates and have access to ftp/scp them to the site.

the drawbacks, of course, are there's less version control.  well, maybe not version control, but at least version history.  and the site owner may or may not want to allow random people to have that level of access to his site.  it might even be an option to have him change the DNS records to point to another server that one of us controls.  that's the impression i got when he suggested moving the entire thing over to github.

but i've not asked him for any specific access to anything.  i wanted an idea of what we as a community wanted to do, and then we'll work something out with him.

Oh one question - are scripters willing to update it to to the community patch 1.70-71? Ive made several changes especially inside AI-related includes and functions and I added few constants too.


i think that community patch notes should either be in clearly marked sections of the normal pages or have a dedicated subsection of the lexicon specifically for it.

i first thought that the original pages should just be annotated with the patch updates so we don't have to remember to update two sets of pages, but if the page completely re-writes certain functions then it could be confusing to have two conflicting explanations on the same page.

another idea would be to have a link from the "standard" page over to the 1.7x page if functionality is re-written.  OR, maybe a checkbox or cookie can be set to take the user to 1.7x specific pages by default if he so chooses.

just throwing ideas out here.  don't know what's best for your system (or if the community itself) agrees that community patch notes should be included in the lexicon.

#27
acomputerdood

acomputerdood
  • Members
  • 219 messages

eeriegeek wrote...

acomputerdood, what format are the source database files in? Knowing that would help determine what the best workflow is.


i don't know.  here's what his email said to me:

Its a old SQL Server/ASP.NET website that dumps into the database and a console program that uses the Windows Help Compiler to create HTML help. 

How important do you think the CHM file is?  If we've outgrown that we can drop that functionality and just let the site evolve as just HTML. 


it sounds as if shadoow and i are leaning towards the latter (just doing html).  the .chm file is the windows help archive that's used offline.  i don't think it's necessary to keep that up to day.  if somebody wants an offline copy, they can wget it like i did or we can package it up for direct downloads.  you can just point your browser to it and navigate just fine.

Modifié par acomputerdood, 22 juillet 2012 - 02:54 .


#28
eeriegeek

eeriegeek
  • Members
  • 47 messages
I think it would be useful to at least see what form the original data is as stored in the SQL database. If the original owner is willing to dump it to a standard text file or SQL statements I'd be glad to take a look at it and we can see if it seems worth preserving in that form.

I use the CHM form locally because it's easy, but I agree we could live without it.

I worry about going to pure HTML for maintenance since it always seems to be too easy to allow non-well formed constructs to creep in. It can also make maintenance of things like headers and indexes painful to maintain if they are not auto-generated. Keeping a more formal data model makes automated processing of the complete lexicon much easier.

I think for patch 1.70 changes, personally, I would like to see the lexicon remain essentially a 1.69 document with added "boxed notes" for changes for 1.70 and future any versions.

I think github is actually a very good idea. It keeps the source in a well known publicly accessable place. It would be a bit of a learning curve, but it solves version merging nicely. It would allow a 1.69 version to go up quickly with edits for known changes. A fork could be made for 1.70 edits, and when they are complete, they could be merged into the baseline. It also has some wiki/bug tracking features so it should make it easy to coordinate updates.

#29
Shadooow

Shadooow
  • Members
  • 4 465 messages

eeriegeek wrote...

I think for patch 1.70 changes, personally, I would like to see the lexicon remain essentially a 1.69 document with added "boxed notes" for changes for 1.70 and future any versions.

Yea, I expressed myself wrong, since the community patch is not official patch and peoples still uses 1.69, there must be basic info about 1.69 behavior. But the "box note" about the "update" from community patch would be cool to have I think.

#30
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
I'm with eeriegeek on this one. The Lexicon is considered as close to "official" cannon as you can get when it comes to scripting. IMO it would be best for the Community to have the CP 1.70 changes entered into a "Community Patch" version of the Lexicon and maintain the original Lexicon as a separate document. Many people don't use the CP 1.70 and having such entries - even boxed - in the Lexicon might cause mass confusion.

#31
AndarianTD

AndarianTD
  • Members
  • 701 messages

Pstemarie wrote...

I'm with eeriegeek on this one. The Lexicon is considered as close to "official" cannon as you can get when it comes to scripting. IMO it would be best for the Community to have the CP 1.70 changes entered into a "Community Patch" version of the Lexicon and maintain the original Lexicon as a separate document. Many people don't use the CP 1.70 and having such entries - even boxed - in the Lexicon might cause mass confusion.


Strongly agreed.

#32
acomputerdood

acomputerdood
  • Members
  • 219 messages

eeriegeek wrote...

I think it would be useful to at least see what form the original data is as stored in the SQL database. If the original owner is willing to dump it to a standard text file or SQL statements I'd be glad to take a look at it and we can see if it seems worth preserving in that form.


well, the content owner said that the SQL database system was in disrepair at the moment and would need some effort to get back online and working correctly.  that's why we decided on going the pure html route.  i could always ask him how difficult it would be to get the db back online to just dump everything out, though.

I use the CHM form locally because it's easy, but I agree we could live without it.


yeah, i know the offline version is handy, but i think we can make it easy for people to download an offline version for offline use.

I worry about going to pure HTML for maintenance since it always seems to be too easy to allow non-well formed constructs to creep in. It can also make maintenance of things like headers and indexes painful to maintain if they are not auto-generated. Keeping a more formal data model makes automated processing of the complete lexicon much easier.


i worried about having some version control with the pure html version, but the site owner is willing to give a few of us scp access to the site to push updates to.  i think it will be ok if we have a core team in charge of reviewing the updates before being uploaded, we'll be ok.  i also don't think there will be a massive number of updates.  i mean, how long is this thread up changes?  and it's been here 2 years?


I think github is actually a very good idea. It keeps the source in a well known publicly accessable place. It would be a bit of a learning curve, but it solves version merging nicely. It would allow a 1.69 version to go up quickly with edits for known changes. A fork could be made for 1.70 edits, and when they are complete, they could be merged into the baseline. It also has some wiki/bug tracking features so it should make it easy to coordinate updates.


as mentioned before, i slightly agree with you about having version control and such.  i've never worked with github (though i guess this is a good excue to learn something new).  i don't want to make the site owner set something like this up to integrate, though.  he's obviously moved on to some degree beyond the lexicon, so i hate asking too many favors of him.

it is, however, something we could set up for ourselves.  as a community we can take advantage of some collaboration system to flesh out the updates before the "lexicon team" uploads the finalized html documents to the official lexicon.

#33
Shadooow

Shadooow
  • Members
  • 4 465 messages

ShaDoOoW wrote...

eeriegeek wrote...

I think for patch 1.70 changes, personally, I would like to see the lexicon remain essentially a 1.69 document with added "boxed notes" for changes for 1.70 and future any versions.

Yea, I expressed myself wrong, since the community patch is not official patch and peoples still uses 1.69, there must be basic info about 1.69 behavior. But the "box note" about the "update" from community patch would be cool to have I think.

On a second thought, there isn't actually much sense of doing that. The knowhow doesn't changes. If there is a bug in function, like in DetermineclassToUse, a lexicon article should inform about it. Stating that CP fixed this bug would be redundant. Especially if this would be under more functions.

On the other hand, I see no reason why would you wouldn't want to include constants I "added" since they work without Patch - the numbers always worked I just found that out and added nwscript constant for them. But thats up to you. Honestly, I dont need lexicon anymore, I just felt that my knowledge could help someone so I wrote it here and I allow these informations to be reused without credits.

#34
acomputerdood

acomputerdood
  • Members
  • 219 messages
i know this was poo poo'd before, but i still think there's merit to having it as a wiki. i've cleaned it up quite a bit and correctly categorized things now.

still TODO:
- i'd like the category tree to remember where you were and stay open when you click around on pages
- there are still some missing and red links i have to chase down - i fixed the ones where it's looking for the wrong files.  there are still red links but they're either images not uploaded or the pages are missing from the lexicon itself.
- i need to figure out how to upload the images - fixed my permissions and uploaded a couple on the main page to test.

but aside from that, i really think this is how we should proceed (assuming the lexicon owner would let us use a wiki on his server):

http://www.dalakora....x.php/Main_Page

Modifié par acomputerdood, 26 juillet 2012 - 11:50 .


#35
acomputerdood

acomputerdood
  • Members
  • 219 messages
so, it's been about a week now and was wondering how everyone else thought we should proceed. i think the 3 most viable options are:

a) keep the lexicon's format the same, and pick a group of people to do pure html updates to it (we need a group of people for this or it's not an option)
B) use some github system (we need somebody to understand this and teach others what to do)
c) proceed with a wiki like i demo'd in my previous post.

well, i guess there's also the option:
d) we do nothing and keep the lexicon in it's current, out of date state.

if i get no feedback (and volunteers), then i'll assume nobody else cares and the choice will become mine. i do hope that there's some community effort here, though.

#36
acomputerdood

acomputerdood
  • Members
  • 219 messages
well, i didn't hear from anybody, so i'm guessing there wasn't much interest in the community to get a team together dedicated to keeping the lexicon up to date. therefore, i had the owner create a wiki for me to populate. now we don't need a team to keep it up to date.

the beta version is located at:
http://beta.nwnlexicon.com/

in about a week, if there are no big problems, i'll ask the site owner to move it from beta to official.

Modifié par acomputerdood, 21 août 2012 - 10:10 .


#37
Squatting Monk

Squatting Monk
  • Members
  • 444 messages
Awesome! I didn't get a chance to speak out, but I think a wiki version is the best way to approach this.

Since the wiki format allows us to make edits and add new pages, it'd be nice to have some updated or expanded tutorials. I had a coupla things I was interested in writing up, but is there anything in particular folks think we need?

#38
KooKoo88

KooKoo88
  • Members
  • 151 messages
It looks good, @acomputerdood. Making it a wiki is an excellent idea and you did good work from what I can see.

I went in and put my current website link on the contributor page.

I couldn't find the current change log with details on what's been added with each update. I may just be clumsy in searching though.

As far as contributing anything further, I haven't worked in NWN in a few years now. It's a major task even updating a page, but I wish you all the luck with your efforts. :)

Kookoo

#39
acomputerdood

acomputerdood
  • Members
  • 219 messages

Squatting Monk wrote...

Since the wiki format allows us to make edits and add new pages, it'd be nice to have some updated or expanded tutorials. I had a coupla things I was interested in writing up, but is there anything in particular folks think we need?


personally, i never really liked the organization of the tutorials.  i (and i'm sure many others) didn't know what the heck "Lyceum" meant, and then i'm not sure what the difference between a basic scripting tutorial, advanced scripting, primers, etc.

but i should be more careful about complaining because i'm certainly not volunteering to fix it!


and back on topic, that's great news SM - i hope many new pages get added to the wiki.

#40
acomputerdood

acomputerdood
  • Members
  • 219 messages
alert readers will notice that the official lexicon has been updated to the 1.69 wiki. enjoy!

Squatting Monk did an excellent job creating some "<nwscript>" tags you can use on the wiki. they're like the "code" blocks, but they do automatic syntax highlighting and link relevant functions and keywords to their appropriate pages.

#41
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
There seems to be some HTML/ CSS formating code bleading through into the wiki/lexicon.

example. 
?: Ternary Conditional

Modifié par Lightfoot8, 13 septembre 2012 - 04:28 .


#42
acomputerdood

acomputerdood
  • Members
  • 219 messages
thanks for the tip! the html2wiki script i found didn't do the best job at converting the old lexicon pages. or maybe it's an artifact from my conversion of the code blocks over to squatting monk's (VERY!) nice <nwscript> formatting tags.

anyway, that page is cleaned up. and just a reminder: anonymous edits are enabled if anyone sees fit to make a quick change. or if you feel it might be controversial or question something, use the page's "talk" page to discuss first.

OR, people can just leave a note here (or a page's talk page) and somebody else will come along and clean it up.

#43
Squatting Monk

Squatting Monk
  • Members
  • 444 messages
I'm going through page-by-page to check for errors and sprinkle a little more wiki magic around. I keep an eye here and on the recent wiki activity, so if you spy any problems you can't fix yourself, I'm happy to do it.

Also, I created some templates that can be dropped into pages or sections in need of expansion or examples. If you see an article that needs more cowbell but you don't know enough to write it yourself, you can use them to others know about the problem.

#44
acomputerdood

acomputerdood
  • Members
  • 219 messages
i don't know if squats is fully aware of the amazing contribution he's making, largely due to the fact that there are 2200+ articles in the lexicon that he's been diligently going through and improving by hand.

#45
Shadooow

Shadooow
  • Members
  • 4 465 messages
I wasnt totally in to the wiki-ize the lexicon, but I must admit that the final result is fine. Just that there would be more peoples contributing there, not just me.

BTW few days back, there started to registering strange accounts - very probably spambots. Something to take care of ASAP before they overcome the math CAPTCHA.

#46
Squatting Monk

Squatting Monk
  • Members
  • 444 messages
I kinda disappeared for a while; life caught up with me. Trying to get back into it. Thanks for contributing, Shadow.

Modifié par Squatting Monk, 25 octobre 2012 - 11:29 .


#47
Gorgon

Gorgon
  • Members
  • 4 messages
I like what the community wants to accomplish with a wiki version of the Lexicon, but I'd suggest everyone uses it as it is intended. The localized 1.69 Lexicon has been a great resource tool, even with it needing major updating all round (most bugs/comments refer to v1.64-7...or older).

Honestly, I haven't even checked for an update to this in something like a year, since I use the 1.69 html when I need to remember something, but here I am checking. I think it is great that you (players who care about proper source material) are trying to provide it, but a wiki is about everyone making sure any changes are correct. Do revert or edit any that you know are wrong, or discuss the crap outta them on talk page for it until everyone is sure. No one is the authority on source material when it comes to a game we all play. They may be an expert, but never be afraid to say they are wrong. We already have a wiki for NWN like that.

And (per the last page of ideas) the Lexicon is useless if it has anything but exactly how the current version of the game works. 1.7...whut? You just lost any sort of support from a decade of persistent worlds when you go that route, or popular download module content. Stick to what the game is. Add any extras/options as separate headers for stuff like that. The home page has a (fairly accurate) definition for the word Lexicon, and if you want to add custom content to it, you should at least categorize it that way.

I'll be helping when I see something to contribute to it, but please maintain a link to the original 1.69 download guide as well (until you can update/find someone to do it too).

Modifié par A1-Gorgon, 15 novembre 2012 - 01:39 .


#48
Shadooow

Shadooow
  • Members
  • 4 465 messages

A1-Gorgon wrote...

And (per the last page of ideas) the Lexicon is useless if it has anything but exactly how the current version of the game works. 1.7...whut? You just lost any sort of support from a decade of persistent worlds when you go that route, or popular download module content. Stick to what the game is. Add any extras/options as separate headers for stuff like that. The home page has a (fairly accurate) definition for the word Lexicon, and if you want to add custom content to it, you should at least categorize it that way.

whut? which support? It's the NWN lexicon who is supporting PWs not backwards.

What I wanted was to add a pages for few functions I created in my pet project and some constants I added, maybe even mention that function X and Y is bugged in this and this case and that there is fixed code in my pet project - or even provide source.

But due to the general aversion around my project I won't do it. I guess I take the advice of all those haters to "make my own lexicon" if anything.:sick:

#49
Squatting Monk

Squatting Monk
  • Members
  • 444 messages

henesua wrote...

Add any extras/options as separate headers for stuff like that. The home page has a (fairly accurate) definition for the word Lexicon, and if you want to add custom content to it, you should at least categorize it that way.

QFT

ShaDoOoW wrote...

What I wanted was to add a pages for few functions I created in my pet project and some constants I added, maybe even mention that function X and Y is bugged in this and this case and that there is fixed code in my pet project - or even provide source.

But due to the general aversion around my project I won't do it. I guess I take the advice of all those haters to "make my own lexicon" if anything.:sick:

A great place to do this would be on your user page. You can put whatever you want there and even create subpages if there's too much info to reasonably keep on one page. IMO, the more information the Wiki has, the better. We just wanna make sure the information is well organized and that folks can clearly tell what is native and what is third party.

Obviously, my opinion is not the only one that matters, but I think the Lexicon should be the one-stop shop for your script documentation needs. As it stands right now, it's great for figuring out how a single function works. But the accumulated wisdom of years of scripting is largely spread out on the forums (and the Social forums search sucks balls) or filed away in the Omnibus. In the Wiki it can be consolidated and cross-referenced.

There's also lots of useful third-party systems (NWNX, anyone?) that have either minimal documentation or house their documentation on private, unmaintained sites. Adding and expanding this stuff on the Lexicon will go a long way toward making sure it's still available and useful for years to come.

But, again, this type of stuff needs to be clearly separated from the standard NWN content. Side projects a la WikiProject would be nifty if there's enough people that want to work on a particular area. In the meantime, information about non-standard NWScript should probably be confined to user pages.

Modifié par Squatting Monk, 24 novembre 2012 - 11:04 .


#50
henesua

henesua
  • Members
  • 3 855 messages
I wanted to add that the Wiki-fied Lexicon is Gold!

thank you, acomputerdood