123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|733|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> I demand chat.

Mon, 25 Jun 2007, 07:18
svrman
I'm bored. (Damn you rainy day!)

I want someone(*cough*Jnk*cough*) to setup a chat thingy like we used to have.
Bite the bullet and go with IRC i.e. via blitzed.org, I think Jay started one at one point, I'm saying "keep it alive"!

Imho it was easier to bring up simple programming and general knowledge questions without having to clutter the forum and for new and old ppl to get aquainted.

Oh and to kill time, of course!

I hath spoken, hear me roar! *meeew*

Ps. I was working of a superduck shmup but I don't know how they work the bullet patterns I'm coding it in only bmax code, guidance would be appreciated!

-=-=-
BlitzRSS script back online!
Mon, 25 Jun 2007, 07:37
Jayenkai
Imho it was easier to bring up simple programming and general knowledge questions without having to clutter the forum and for new and old ppl to get aquainted.


You are allowed to fill up the forum with simple programming and general knowledge questions.
If you ask a Q in the chat, the answer disappears, and then in the future someone else will have to ask again..

..

Having said that, I'll get round to fixing the chat once I can figure out a way to do it without having to constantly switch between multiple databases. (Which I'm sure isn't exactly easy on the CPULoad)

In the meantime, feel free to use a Meebo room. : Password : SoCode

BUT... Because it's not tied to the system, people will act like morons, and keep pretending to be other people and shit like that.. So don't blame me if you're offended in there.

-=-=-
''Load, Next List!''
Mon, 25 Jun 2007, 07:56
svrman
Ah yes well, by "easier to bring up" I kinda meant that the question would have probably been too embarassing or rather unnoteworthy to be kept on record but of course, I was not proposing a 24/7 live chat support service but just an additional place to talk about stuff, but at high speeds and without much thought.

The meebo room looks nice though.

-=-=-
BlitzRSS script back online!
Mon, 25 Jun 2007, 10:39
shroom_monk
I started work on my own AJAX chat at shroommonk.monkeychicken.co.uk/chat.php.

It's really full of bugs/security flaws (make sure to read the advice at the top), and someone *ahem*Sol...*ahem* keeps on making multiple 'shroom_monk' accounts and screwing things up.

It sucks, and I plan to make it better, but it's there if you want to try it.

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Mon, 25 Jun 2007, 10:57
Jayenkai
I'll bring back MudChat soon.
Mon, 25 Jun 2007, 18:29
Yayyak
Go IRC!
Tue, 26 Jun 2007, 00:08
shroom_monk
Stealth, this is urgent. Have you registered on ShroomChat? Only someone called stealthspc has, but I'm not sure if it's you...

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Tue, 26 Jun 2007, 13:08
Stealth
Yep, I did register..

I was testing out your site, and it is venerable to JavaScript injection.. For instance, (tested in Firefox) if you get to the chat page (meaning you already logged in), in the url box that says something like:

https://shroommonk.monkeychicken.co.uk//chat.php

Go ahead and replace that with the following (in the url box):

javascript:alert(user_id);

Press enter and you should see your user_id.. Well you can also type this in to the url box:

javascript:var user_id=1;

That will change your user_id number to 1. Then if you go and check your user_id again with this:

javascript:alert(user_id);

You will notice that it is now different. Although I tested it and it seems like you might have something with PHP verifying this because it wouldn't let me post things with the user_id set as 1.

|edit| Fixed the anti javascript thing on SoCoder, it was jumbling up the text. |edit|

-=-=-
Quit posting and try Google.
Wed, 27 Jun 2007, 00:05
shroom_monk
So, it was you. OK, fair enough. I'm already working on something to fix that.

Just to check: you hadn't been on the site before I posted about it here, right?

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Wed, 27 Jun 2007, 14:26
Stealth
I don't think I have.
Thu, 28 Jun 2007, 00:06
shroom_monk
OK then. It's just someone was messing around before, and I wasn't sure if it was you.

Anyway, next security update planned soon. Then I just have to make it work in Firefox, and add a ton more new features...

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Thu, 28 Jun 2007, 17:59
Stealth
If your having issues with Ajax being compatible, this is the code I always use to Ajax stuff. Its based off Jay's Ajax code. I've never really had a problem with this code on IE6, IE7 or Firefox.



You probably know how to use this code but I'm going to explain if for others who might not. To use it, stick that code above in your <head>, then locate this code:


And replace filetoajax.php with the file you want it to ajax (such as file.html, or stuff/myajax.php). The reason there is a ?random="+Math.random(); is to generate a random number at the end to prevent the browser from storing the file in the cache. The next thing you need to do is to find this line:

And change DIV ID to the ID value of the div where you want Ajax to stick the content it loads. For example if this was your div (in the <body> area of your page):

Then your div's ID name would be mydiv. All the content the content Ajax fetches will be inserted in to that div. The last thing is you need to set the interval at which the content will be refreshed, so find this code:

And replace 20000 with the speed you want it to refresh in millisecs (1 second=1000 milliseconds).

And thats it.

-=-=-
Quit posting and try Google.
Fri, 29 Jun 2007, 00:05
shroom_monk
Thanks, Stealth! I knew it wouldn't work as document.write() is an IE thing, but I wasn't entirely sure whether the writing to divs would work. But, it seems it does. Thanks!

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Fri, 29 Jun 2007, 01:31
power mousey
wow Shroomie, stealth is cool. True.

If I knew this stuff like he does, I would help you.
But I don't. You guys know a whole lot more than I do.
I know nothin about nothin of this stuff.

If you ever need ask me something about Python
and/or Pygame...don't hesitate to ask. I will gladly
tell you.

cheers Shroom,
power mousey
Fri, 29 Jun 2007, 01:50
Stealth
Thank you power mousey.
Fri, 29 Jun 2007, 02:01
power mousey

you're welcome.

um to put it mildy...I was a soiled poor
sports of sorts.
Tue, 03 Jul 2007, 05:51
Jayenkai
OK, Done..
Turns out the second database was actually on a completely seperate server! Go figure...
Mudchat's now working, but is in "Test" stages, to ensure it doesn't bugger up the server.

-=-=-
''Load, Next List!''
Sun, 12 Aug 2007, 03:30
ingenium1
Jay... Are you sure it is working? Yesterday Phoenix had his clock "yellow"... so I thought he waas in chat... but I couldnt find him anywhere...


-=-=-
Roger Federer is go(o)d.
But he is not alone.

Just relax... sometimes there's no need to argue.
Sun, 12 Aug 2007, 03:39
Jayenkai
Yes, I'm sure it's working*..


* to within a moderate degree.

-=-=-
''Load, Next List!''
Sun, 12 Aug 2007, 03:47
ingenium1
Shall we try it?
Sun, 12 Aug 2007, 04:16
Jayenkai
No I'm busy making an ASC.II game.
Sun, 12 Aug 2007, 04:25
JL235
I'm often in the MudChat during the day when I'm at my PC. I'll probably be in there today too, as I plan to do some work.