Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 10-15-2004, 11:30 PM   #1 (permalink)
Clu
 
Join Date: Jul 2004
Location: San Diego
Age: 34
Posts: 46
Send a message via ICQ to Clu Send a message via Yahoo to Clu
Default API docs?

Hello all!

I was curious if anyone has compiled or if the Dev's intend to compile an API document that details the various classes and their methods?

I think the main reason that I loathe scripting anything is due to having to hunt through the various script files to find something that approximates the functionality I'm trying to produce.

I think an API doc would go a long way in helping to lower the learning curve and get shard sysops and scripters coding faster and more efficiently.

Just as a suggestion, if this seems a daunting task, there is an application called Doxygen (www.doxygen.org ) that can make this process a lot less of a hassle.

Anyway, a friendly question and suggestion.

Thanks!
Clu is offline   Reply With Quote
Old 10-15-2004, 11:33 PM   #2 (permalink)
Forum Expert
 
Join Date: Aug 2004
Location: Redmond, WA
Age: 21
Posts: 1,288
Send a message via AIM to Sep102 Send a message via MSN to Sep102
Default

There currently is a document that should be in your root\docs folder called overview.html. It doesn't provide any detail on any classes or methods, but it does list the classes and the prototypes for all of their methods.
Sep102 is offline   Reply With Quote
Old 10-15-2004, 11:53 PM   #3 (permalink)
Clu
 
Join Date: Jul 2004
Location: San Diego
Age: 34
Posts: 46
Send a message via ICQ to Clu Send a message via Yahoo to Clu
Default

Ah, gotcha! I'll take a look-see at that, thanks Sep!

I think a doc with more detail would be a very helpful thing but having had to do it myself, I can respect the initial "Eesh!" that doing it tends to produce.
Clu is offline   Reply With Quote
Old 10-15-2004, 11:56 PM   #4 (permalink)
Clu
 
Join Date: Jul 2004
Location: San Diego
Age: 34
Posts: 46
Send a message via ICQ to Clu Send a message via Yahoo to Clu
Default

Yeah - thats a pretty good document. It looks like it was built with something similar to Doxygen.

Good stuff!
Clu is offline   Reply With Quote
Old 10-15-2004, 11:59 PM   #5 (permalink)
Forum Expert
 
Join Date: Aug 2004
Location: Redmond, WA
Age: 21
Posts: 1,288
Send a message via AIM to Sep102 Send a message via MSN to Sep102
Default

Good, had a feeling that was close to what you were looking for. If you feel that it needs more detail though, feel free to write a tutorial describing the methods on the forum. As long as it's written accurately, I doubt anyone would have any complaints with it, in fact many I bet would be overjoyed.
Sep102 is offline   Reply With Quote
Old 10-16-2004, 12:04 AM   #6 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

I doubt the Devs will provide a more detailed document until RunUO is firmly out of beta. At this point things are still subject to change, and the guys that know the details are all busy.
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline   Reply With Quote
Old 10-16-2004, 12:07 AM   #7 (permalink)
Clu
 
Join Date: Jul 2004
Location: San Diego
Age: 34
Posts: 46
Send a message via ICQ to Clu Send a message via Yahoo to Clu
Default

I can certainly understand that!

I think the docs that Sep pointed me to will do nicely indeed. There are just a few particulars that are causing me to pause a bit but there are lots of examples in the code already with those so it shouldn't take me too long to get up to speed.
Clu is offline   Reply With Quote
Old 10-16-2004, 01:37 AM   #8 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by Sep102
There currently is a document that should be in your root\docs folder called overview.html. It doesn't provide any detail on any classes or methods, but it does list the classes and the prototypes for all of their methods.
Yes it does

What do you call every single public and private method and variable name listed in each class?

I call that detailed
Phantom is offline   Reply With Quote
Old 10-16-2004, 01:39 AM   #9 (permalink)
Forum Expert
 
Join Date: Aug 2004
Location: Redmond, WA
Age: 21
Posts: 1,288
Send a message via AIM to Sep102 Send a message via MSN to Sep102
Default

I call it detailed and you call it detailed, but the second newb on the left who thinks there should be an explanation for InRange in it doesn't
Sep102 is offline   Reply With Quote
Old 10-16-2004, 01:59 AM   #10 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by Sep102
I call it detailed and you call it detailed, but the second newb on the left who thinks there should be an explanation for InRange in it doesn't
True dat

Go see Team America :-)
Phantom is offline   Reply With Quote
Old 10-16-2004, 03:44 AM   #11 (permalink)
Clu
 
Join Date: Jul 2004
Location: San Diego
Age: 34
Posts: 46
Send a message via ICQ to Clu Send a message via Yahoo to Clu
Default

By detailed, maybe details would have been a better descriptor.

The Class lists and method details are a great tool and for the most part thats enough, but there are a few ambiguous methods where to learn what the function does, you'd have to go through the code and interpret.

By in large the naming conventions are pretty straightforward and what functions do is fairly obvious, but its those rare exceptions where you have a really nice function that would do exactly the job you need it to but its named in a way that is not suggestive of its duty...

Anyway, beating a dead horse here. Maybe something to look for future releases but not really a high priority item.
Clu is offline   Reply With Quote
Old 10-16-2004, 03:58 AM   #12 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Of course if people really its needed, they could do it themselfs
Phantom is offline   Reply With Quote
Old 10-17-2004, 04:49 PM   #13 (permalink)
Clu
 
Join Date: Jul 2004
Location: San Diego
Age: 34
Posts: 46
Send a message via ICQ to Clu Send a message via Yahoo to Clu
Default

Having someone outside of the team who wrote the code can produce docs that are inaccurate or leave out particulars that a developer be aware of - particularly in areas where the function of one piece of code has dependancies on another piece that are not readily obvious.
Clu is offline   Reply With Quote
Old 10-17-2004, 04:59 PM   #14 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by Clu
Having someone outside of the team who wrote the code can produce docs that are inaccurate or leave out particulars that a developer be aware of - particularly in areas where the function of one piece of code has dependancies on another piece that are not readily obvious.
Horrible excuse

At least I admit that I am to busy, or I would do it myself.
Phantom is offline   Reply With Quote
Old 10-17-2004, 05:02 PM   #15 (permalink)
Clu
 
Join Date: Jul 2004
Location: San Diego
Age: 34
Posts: 46
Send a message via ICQ to Clu Send a message via Yahoo to Clu
Default

oh-kay..
Clu is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5