»Ceiu Posted July 4, 2008 Report Posted July 4, 2008 Ok, out of sheer boredom, I've decided to integrate a little project I wrote like 19 years ago into the forums: CSLP. For those of you not familiar (or simply don't care), here's the rundown:You type [cslp ], copy in some log data (straight from an actual ss log), then type [/cslp ] (except don't include the spaces). The end result will look like this:[chatlog]X This is a specially constructed log for testing CSLP subtypes. Cerium entered arena !@#$%^&*O WORLD!P Cerium> A El Presidente with 1159 energy took 190 from Cerium L3 Bouncing-bulletT Cerium> B Cerium> CE Cerium> D Dioxide with 143 energy took 318 from Cerium L2 Proxbomb Dioxide(200) killed by: Cerium Cerium> EC 1:Cerium> F* MODERATOR WARNING: G -Cerium Cerium left arena[/chatlog] ... I may add more fun stuff to this or like this in the future, depending on how lazy I get and how quickly my access is revoked. Enjoy it as much as you possibly can enjoy colorful text on a forum.
Dav Posted July 4, 2008 Report Posted July 4, 2008 looks great, should make the posting of logs less painful to look at.
Samapico Posted July 4, 2008 Report Posted July 4, 2008 cslp?wouldn't it be easier to use and remember if the tag was [chatlog] or something like this? Looks pretty awesome though
Hakaku Posted July 4, 2008 Report Posted July 4, 2008 Why are names clickable but not? It's frustrating Fancy work though.
»Ceiu Posted July 4, 2008 Author Report Posted July 4, 2008 @sam:Because I didn't think of chatlog at the time, and log seemed like something that may exist already. =P @hakaku:I noticed that too... it's weird. IPB actually converts bbcode and all that jazz before it inserts into the database, then converts back to regular text when you edit it. So by the time I get the actual text, it's completely !@#$%^&*ized and I had to do some magic to make it work right. So I imagine it has something to do with how IPB is trying to convert stuff or something. I don't know. @creemy:That's a good thing. It would make your sig huge.
PoLiX Posted July 4, 2008 Report Posted July 4, 2008 I have an idea of why it does maybe, i'll look through it later tonight. I'd also do [chatlog] or [sslog] for now, incase in IPB 3.0 they use [log] for something. They are adding all sorts of new features/recoding IPB from ground up, so never know what they are gonna do. It's like this latest version of phpbb, ground up, and everything changed.
Aceflyer Posted July 4, 2008 Report Posted July 4, 2008 cslp?wouldn't it be easier to use and remember if the tag was [chatlog] or something like this? Looks pretty awesome though What Samapico said. Awesome work, thanks Cerium!
rootbear75 Posted July 5, 2008 Report Posted July 5, 2008 quick question: i realize all those letters mean different text types, but what exactly does each one stand for? XX? J? i thought maybe TT = Team Text, but then u got EE = Enemy ____
»Ceiu Posted July 5, 2008 Author Report Posted July 5, 2008 There are actually two columns of letters there. The first is the original type straight from the log, the second is how CSLP interpreted it (and generally what key you'd press on the gui to show/hide that type). In most cases when the first column is not whitespace, it will match the second since the {space} identifier is used for basically half the message types. X is the only custom type and is used for adding comments to the log without screwing up the format (as shown above). In this context we could probably just hide those columns and avoid the confusion, but I think it looks weird without it.
rootbear75 Posted July 5, 2008 Report Posted July 5, 2008 There are actually two columns of letters there. The first is the original type straight from the log, the second is how CSLP interpreted it (and generally what key you'd press on the gui to show/hide that type). In most cases when the first column is not whitespace, it will match the second since the {space} identifier is used for basically half the message types. X is the only custom type and is used for adding comments to the log without screwing up the format (as shown above). In this context we could probably just hide those columns and avoid the confusion, but I think it looks weird without it.OH, that makes sense...its just the fact that they are right together didnt allow me to catch that
»Ceiu Posted July 5, 2008 Author Report Posted July 5, 2008 Ok, [sslog] and [chatlog] are both supported as well as [cslp].
Aceflyer Posted July 5, 2008 Report Posted July 5, 2008 Ok, [sslog] and [chatlog] are both supported. Very nice.
rootbear75 Posted July 5, 2008 Report Posted July 5, 2008 (edited) from what i understand, you have to copy it from a log file in order for it to be correctly formatted right? no copying straight from the alt-tab window? Edited July 5, 2008 by rootbear75
»Ceiu Posted July 5, 2008 Author Report Posted July 5, 2008 Correct. I may add the tag detection stuff, but for now it has to be from a log file.
»Ceiu Posted July 19, 2008 Author Report Posted July 19, 2008 So it seems that the style for IPB has the cursor set to "pointer" on all label tags for some silly reason (probably uses those as a wrapper for it's buttons). Since I use label tags in CSLP to mark names and messages, they're also getting the pointer. I'll play with some CSS and see if I can make mine not get the new cursor.
Recommended Posts