601
OmnomIRC Development / Re: Various bits of OmnomIRC Source Code
« on: May 10, 2011, 02:35:33 pm »
New Spybot45 code posted.

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 601
OmnomIRC Development / Re: Various bits of OmnomIRC Source Code« on: May 10, 2011, 02:35:33 pm »
New Spybot45 code posted.
![]() 602
OmnomIRC Development / Spybot45 Dev Ideas« on: May 10, 2011, 01:44:16 am »
Since I can get external access to the Omni DB, I'ma do something like this for SpyBot45.
Code: (pseudo -almost- PHP code) [Select] message = mysql_fetch_array(sql_query("SELECT MAX(`id_msg`) FROM `omnitempboard_messages`")); I hate SQL sometimes. SMF DB layout even more. What this does is:
That's actually almost all that's required for it, I just need to get it done. That will make it so the site won't slow down really bad when posting if my server is acting up. Right now it's requesting a PHP page off my server every post. 603
OmnomIRC Development / Re: OmnomIRC Dev Ideas« on: May 10, 2011, 01:27:49 am »
fix'd.
Another thing I'd like to add is that this wouldn't replace the logs, those are best logged to a file as they currently are. This would, though, fix the multi-byte char problems for #omnimaga-fr too. It'd also be easy to implement a jsonp feed so Eeems would stop raging. ![]() 604
OmnomIRC Development / OmnomIRC Dev Ideas« on: May 10, 2011, 01:21:41 am »
Posting some thoughts I've been having about updating Omnom to be less resource intensive. Just throwing some of this stuff out there if anyone wants to comment.
Don't refresh every 5 seconds or so, but use long polling loop and just return a result when something is said(Would need some sort of client-side parser, but that could be really easy to do.) Basically, request update.php, update.php waits with server-side sleep()'s. When something is updated, it finishes update.php and returns the event, something like this: eventType:base64(message) Join:base64("Netham45") the client-side parser would then split it based off of the :, and run Join('Netham45') which would update the textbox, which would print something like 'Netham45 has joined.' or something. Here is what I was thinking for those: names,messages,modes,targets would be base64_encode'd line would be the current line, a unique ID for the last line its gotten, for keeping track of where it should check server-side Code: [Select] line:join:name I was also planning on storing however many lines I'm displaying in an array. Code: [Select] Lines = Array(); and to parse, something similar: Code: (parserish thingey javascript-ish code) [Select] etc...Server-side, I plan on having an IRC bot that logs the last 1000 or so lines to a SQL table as they're said. Any more is worthless, half that would still be worthless. ![]() irc_lines = (`line_number`k,ai,`name1`,`name2`,`message`) Code: (pseudo) [Select] curPos = sql_query("SELECT MAX(`line_number') FROM `irc_lines`"); And to get it from the server, something like this:Code: (more pseudo) [Select] getLines() Gimmeh ideas/suggestions. 605
Computer Programming / Re: IRC Score Bot« on: May 09, 2011, 08:50:14 pm »
I voted no for this, seems like it'd just promote spamming and conflict.
606
News / Re: Crabcake Released« on: May 09, 2011, 03:41:54 pm »
Does anyone know the point of the 8kb limit?
608
TI Z80 / Re: Help with Mario game« on: May 09, 2011, 06:01:05 am »
And, making your questions more specific helps us help you quite a bit.
Something like Quote Why does this code only execute 4 times? is a LOT more helpful than PLEASE HELP I ADDED A GOOMBA IT DECREASED SPEED Possibly post a small piece of code and ask for possible optimizations, too? 609
OmnomIRC Development / Re: OmnomIRC Easter Eggs (DO NOT SPAM THE CHAT WITH THEM!)« on: May 08, 2011, 02:23:30 am »610
BatLib / Re: BatLib News« on: May 07, 2011, 06:35:35 am »
I'm honestly surprised to read this. I tend to stay out of a fair bit of the politics, so I didn't know anything was up.
I don't talk much outside of IRC, but based off your conduct there, you were one of the people I held in high regard. Looking at how you're handling this, I have to say that I still hold you in that high regard. Sucks to see you go, but hopefully you'll still come visit. 611
OmnomIRC Development / Re: OmnomIRC Easter Eggs (DO NOT SPAM THE CHAT WITH THEM!)« on: May 07, 2011, 06:12:49 am »
I took 'em out for debugging issues, I was rewriting a chunk of it, and that was throwing errors for some reason.
I'ma make new ones sometime. 612
OmnomIRC Development / Re: OmnomIRC Easter Eggs (DO NOT SPAM THE CHAT WITH THEM!)« on: May 06, 2011, 11:36:11 pm »
Yup.
![]() 613
OmnomIRC Development / Re: Omnom likes me too much; it refuses to search for anyone else« on: May 06, 2011, 11:20:17 pm »
Yea, the stupid bugger doesn't work with any of the CSS right.
614
OmnomIRC Development / Re: OmnomIRC temporarily disabled« on: May 06, 2011, 11:18:31 pm »
ima move iOmnom Mini to my server some tme, but I don't think it is a big issuee right now.
615
OmnomIRC Development / Re: Omnom likes me too much; it refuses to search for anyone else« on: May 06, 2011, 09:20:41 pm »
Fix'd.
|
|