#tfl@irc.freenode.net logs for 1 Mar 2009 (GMT)

Archive Today Yesterday Tomorrow
tfl homepage

[02:40:56] --> wizardrydragon has joined #tfl
[02:40:56] --- ChanServ gives voice to wizardrydragon
[02:41:44] <wizardrydragon> Greets
[03:01:13] --- Marzo_away is now known as Marzo
[03:01:19] <Marzo> Hi there
[03:02:04] <Marzo> The new site is up
[03:02:18] <wizardrydragon> Neat
[03:02:20] <wizardrydragon> Ill check it out
[03:02:21] <Marzo> I couldn't find out how to edit the link on the TFL site, though
[03:02:31] <wizardrydragon> In the admin panel
[03:02:33] <wizardrydragon> go Links
[03:02:33] <Marzo> (it is basically the same, but with new things)
[03:02:41] <wizardrydragon> then just find yours
[03:02:45] <wizardrydragon> and change it to the new link
[03:02:55] <wizardrydragon> though you'll notice I use a wrapper for external links
[03:03:11] <Marzo> I have uploaded the new intrinsics.uc to CVS; but I haven't gotten around to installing NaturalDocs, though
[03:03:17] <Marzo> So it is not compiled
[03:04:08] <wizardrydragon> Alright I will make a new compile now and see how it looks
[03:04:12] <Marzo> I can't find anything about links in the admin panel
[03:05:16] <wizardrydragon> Oh, I may need to add that to the permissions
[03:05:46] <Marzo> Is it neccessary to install Gears for it?
[03:05:53] <Marzo> Or is that optional?
[03:06:23] <wizardrydragon> I dont know or have what you're talking about
[03:06:28] <wizardrydragon> If that answers anything :-)
[03:06:57] <Marzo> The 'tools' option in the admin panel
[03:07:09] <Marzo> (I *did* poke around, you see :-p)
[03:07:37] <wizardrydragon> Nah I probably just need to fiddle with usergroup permissions
[03:07:45] <wizardrydragon> Let me set the CVS updating and Ill take a look :-)
[03:08:21] <Marzo> There are other updates as well, mainly for compatibility with the unswapped intrinsics
[03:08:34] <Marzo> But mostly, this was a documentation update
[03:09:04] <wizardrydragon> :-)
[03:09:16] <wizardrydragon> I noticed looking at the text version that you really quite expanded things
[03:09:27] <Marzo> Indeed
[03:09:39] <Marzo> It is a lot less terse, in my opinion
[03:09:47] <Marzo> (and a lot more likely to be helpful)
[03:10:00] <wizardrydragon> :-)
[03:10:19] <Marzo> My top priority was trying to explain the intrinsic first, talk about parameters and return values after
[03:11:27] <wizardrydragon> Taking a minute to compile the docs with all the changes
[03:11:29] <wizardrydragon> hehe
[03:11:47] <Marzo> lets see how bad it looks :)
[03:12:26] <wizardrydragon> Uh not bad but I notice something
[03:13:06] <wizardrydragon> The parser takes a blank, uncommented line as the end of the documentation for that function
[03:13:08] <wizardrydragon> so
[03:13:26] <wizardrydragon> // Function: UI_update_last_created
[03:13:28] <wizardrydragon> // Pops the last object pushed in the 'last created' stack and places it in
[03:13:29] <wizardrydragon> // the game map at the supplied position.
[03:13:31] <wizardrydragon> //
[03:13:32] <wizardrydragon> // Parameters:
[03:13:34] <wizardrydragon> // pos - The location where the new object is to be placed.
[03:13:36] <wizardrydragon> because of the blank space
[03:13:40] <wizardrydragon> between the function
[03:13:41] <wizardrydragon> and the params
[03:13:48] <wizardrydragon> it cuts off the params
[03:13:53] <Marzo> Hrm. Will look into it
[03:14:04] <wizardrydragon> Basically
[03:14:09] <wizardrydragon> It will process lines
[03:14:17] <wizardrydragon> untll it comes to an uncommented line
[03:14:24] <wizardrydragon> then it assumes that function is done
[03:16:54] <wizardrydragon> What I'll do
[03:17:00] <wizardrydragon> Is I'll snarf all those blank lines
[03:17:02] <wizardrydragon> compile
[03:17:03] <wizardrydragon> and commit
[03:17:22] <wizardrydragon> so you can see what itll look like
[03:18:57] <Marzo> That would help
[03:20:13] <Marzo> There, I fixed it
[03:20:38] <Marzo> (hold; will commit the fix to CVS in a sec)
[03:21:32] <wizardrydragon> Okay
[03:22:03] <wizardrydragon> Looking at the file, the only parsing "grammar" error is the whitespace as I mentioned
[03:22:24] <Marzo> One of my custom functions was adding too many newlines, which is what caused the problem
[03:22:37] <Marzo> The new file is in CVS
[03:22:40] <wizardrydragon> :)
[03:22:42] <wizardrydragon> O
[03:22:44] <wizardrydragon> *Ok
[03:23:49] <Marzo> (and since I didn't know that those blank lines would cause any problems...)
[03:25:49] <wizardrydragon> Running
[03:28:19] <wizardrydragon> One thing I notice :-0
[03:28:21] <wizardrydragon> This file is a modified form of the Exult Intrinsic Reference, available at http://lfs.lfhost.com/seventowers/downloads.php?section=1&page=2.
[03:28:40] <Marzo> I thought I fixed that
[03:29:23] <Marzo> Ah. I did; locally.
[03:29:59] <Marzo> Since I generated that file from the server (better word wrapping, for some reason), that is the root of the problem
[03:31:59] <Marzo> Just replace "lfs.lfhost.com/seventowers" with "www.seventowers.org"; I have sent the new version to CVS too
[03:33:09] <wizardrydragon> Yay for Sourceforge activity percentile I suppose
[03:33:17] <Marzo> :-)
[03:36:15] <wizardrydragon> One final note:
[03:36:20] <wizardrydragon> // Function: Random Number Intrinsics
[03:36:30] <wizardrydragon> You probably want "Group: Random Number Intrinsics"
[03:36:35] <wizardrydragon> (Or "Title")
[03:36:44] <Marzo> Indeed
[03:40:17] <Marzo> Fixed, committed
[03:40:32] <Marzo> (it was a single number, which should have been 2 instead of 1)
[03:42:00] <wizardrydragon> Hehe
[03:42:12] <Marzo> Autogeneration is fun :-)
[03:55:59] <wizardrydragon> Snicker
[03:56:03] <wizardrydragon> Im having fun with Python
[03:56:05] <wizardrydragon> There is no stat called '<built-in method capitalize of str object at 0xb7cec300>'. Please refer to STATS for valid stats.
[03:56:12] <wizardrydragon> Oops :P
[04:10:40] <wizardrydragon> You should be able to do just about anything on the TFL site now, with certain restrictions, but much more than you could previously :P
[04:10:50] <wizardrydragon> You probably wont ever need to touch half of it
[04:12:28] * Marzo basks in his new-found powers
[04:12:48] <wizardrydragon> You should see the links thing now, if you dont let me know
[04:13:03] <Marzo> I am seeing it, yes
[04:13:09] <wizardrydragon> you should also have a gallery option near the bottom you can use to post screenshots if you ever feel so inclined
[04:13:11] <Marzo> (updating it now, actually)
[04:13:27] <wizardrydragon> :)
[04:14:53] <wizardrydragon> By the way:
[04:14:56] <wizardrydragon> Parse error: syntax error, unexpected ',' in /home/marzo/public_html/content/news.dat on line 16
[04:16:41] <Marzo> Try it now
[04:18:58] <wizardrydragon> There we go :-)
[04:22:16] <wizardrydragon> With the domain and CPanel you should be able to abuse AWStats again to get some interesting stats on the site :-)
[04:23:29] <Marzo> I have been meaning to ask: how often are those stats updated?
[04:23:53] <wizardrydragon> They're more or less live, minus some replication lag from Cpanel processing
[04:24:32] <Marzo> So, did you finish compiling the docs?
[04:25:03] <wizardrydragon> Though the server does put some restrictions on the processor time that awstats takes, and so if it takes too much processor time it may default to an older copy
[04:25:49] <wizardrydragon> I could probably tweak or remove that if you wanted completely live stats, but I didn't see a need when I set it up
[04:26:06] <Marzo> Nah, I was just curious
[04:27:16] <wizardrydragon> The replag shouldn't push much past a few minutes in the worst cases
[04:30:25] <wizardrydragon> Rebuilding the docs now
[04:32:50] <wizardrydragon> The actual compilation doesn't take long, but I always have to tweak things a little
[04:32:57] <wizardrydragon> Eventually I'll make it so the batch does that for me
[04:32:59] <wizardrydragon> :P
[04:35:18] <wizardrydragon> And commite
[04:35:20] <wizardrydragon> +d
[04:35:26] <wizardrydragon> I will update the site momentarialy
[04:35:29] <Marzo> Already seeing it
[04:35:31] <Marzo> :-p
[04:36:16] <wizardrydragon> And post that they got updated and yay Marzo rewrote the intrinsics docs and theyre a part of it and so on
[04:36:22] <wizardrydragon> :)
[04:40:21] <Marzo> The only thing I didn't like is that the section headers are mixed in with the intrinsics in the summary
[04:40:35] <Marzo> (with nothing at al to set them appart, I mean)
[04:40:47] <wizardrydragon> If you use title
[04:40:50] <wizardrydragon> they won't be
[04:41:17] <Marzo> I *am* using title
[04:41:32] <wizardrydragon> Ahhh I see what you mean
[04:41:45] <wizardrydragon> I think
[04:41:52] <wizardrydragon> "functions" right?
[04:42:02] <Marzo> "Random Number Intrinsics"
[04:42:33] <Marzo> But yes, functions too
[04:42:40] <wizardrydragon> There's a way to make them expand and then collapsed by default
[04:43:12] <wizardrydragon> but that's a little too fiddly for me
[04:43:18] <wizardrydragon> on the document source size
[04:43:24] <wizardrydragon> s/size/side
[04:43:42] <Marzo> Well, I supose so
[04:43:49] <Marzo> s/supose/suppose
[04:44:09] <wizardrydragon> We're both doing pretty bad :-)
[04:47:05] <Marzo> Hm. Sure it takes a lot of effort, but: try changing "Title: Random Number Intrinsics" to "Section: Random Number Intrinsics" and recompile
[04:48:03] <Marzo> (meanwhile, I guess I will grab naturaldocs and set it up)
[04:52:28] <wizardrydragon> Done and done:
[04:52:31] <wizardrydragon> http://www.thefeudallands.ca/?p=143
[04:52:41] <wizardrydragon> And I can certainly play with it
[04:52:54] <wizardrydragon> Let me take a washroom break first, though :P
[04:53:09] <wizardrydragon> (For the record, I believe Title and Section are handled identically in ND, though)
[04:53:22] <Marzo> Ah, bummer
[04:57:32] <Marzo> Hm. Looking through compile_srcdocs.bat: is there any reason why you are using full paths for the TFL code? Does naturaldocs require it?
[04:59:06] <wizardrydragon> It depends on your filesystem, but it was just the easiest way to do it
[05:00:34] <wizardrydragon> Well, much more accurately
[05:00:43] <wizardrydragon> It depends on how PERL is set up on your system
[05:03:19] <Marzo> Just to be sure: that bat file is at C:\ultima\u7\mods\tfl\patch in your system, right?
[05:04:15] <wizardrydragon> Correct
[05:05:56] <Marzo> It is just that I made a small improvement to it, and wanted to make sure it would work
[05:06:03] <wizardrydragon> :-)
[05:09:19] <Marzo> Re: naturaldocs: ITS ALIVE!!!
[05:09:21] <Marzo> :-p
[05:09:31] <wizardrydragon> Yay!
[05:10:05] <Marzo> Hm
[05:12:38] <Marzo> The version I compiled looks different than the version you compiled
[05:13:30] <Marzo> (wait; confirming this)
[05:15:43] <wizardrydragon> Check the TFL site
[05:15:46] <Marzo> No, I just had a wrong version
[05:16:05] <Marzo> The TFL site seems to not have been updated
[05:17:19] <wizardrydragon> I'm most definetely looking at an updated version - try clearing your cache
[05:17:35] <Marzo> I did a full refresh (ctrl+f5) to no avail
[05:18:15] <wizardrydragon> Odd
[05:18:25] <wizardrydragon> It has the new instrinsics thingy then or?
[05:18:29] <Marzo> Well, the full refresh didn't work but clearing the cache did
[05:18:56] <wizardrydragon> When in doubt
[05:19:02] <wizardrydragon> Click on the frame
[05:19:04] <wizardrydragon> Go
[05:19:07] <wizardrydragon> View this frame only
[05:19:12] <wizardrydragon> and then do a full refresh
[05:19:23] <wizardrydragon> I find that often, Firefox will clear just the frameset page
[05:19:29] <wizardrydragon> which is entirely unhelpful in most cases
[05:19:38] <Marzo> Well, this version definitelly looks better than what I was looking at
[05:20:39] <Marzo> It definitely looks good now
[05:21:24] <wizardrydragon> :)
[05:21:39] <wizardrydragon> It made a lot of difference when you fixed that newline issue, I found
[05:22:46] <Marzo> The only thing I didn't like in NaturalDocs was that there was no way to specify italics
[05:23:17] <Marzo> So, when autogenerating the naturaldocs source, I made it generate bold
[05:23:44] <wizardrydragon> There is
[05:24:06] <wizardrydragon> In an ... ass-backwards sort of way
[05:24:43] <Marzo> Embedding HTML tags in the source?
[05:25:49] <wizardrydragon> I was actually thinking abusing the jdocs support
[05:25:53] <wizardrydragon> But that also works :-)
[05:25:55] <Marzo> Oh
[05:26:04] <Marzo> Well, I am going to bed now
[05:26:09] <Marzo> So good night
[05:26:13] <wizardrydragon> (And since we're never actually looking at intrinsics.uc ... )
[05:26:19] <wizardrydragon> "Rest well, Avatar"
[05:26:24] <-- Marzo has left IRC ("Marzo vanishes suddenly.")
[09:04:26] <-- wizardrydragon has left IRC ("ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]")