November 18, 2017, 11:04:52 PM

Author Topic: Live chat - Now ready for alpha testing  (Read 550 times)

Offline Naughty Alien

  • Full Member
  • ***
  • Posts: 227
Re: Live chat - Now ready for alpha testing
« Reply #15 on: November 13, 2017, 05:50:21 AM »
..chat should be open in separate window, or integrated to forum so one can chat and browse forum at same time..

Offline Dabz

  • Jr. Member
  • **
  • Posts: 76
Re: Live chat - Now ready for alpha testing
« Reply #16 on: November 13, 2017, 01:52:32 PM »
Yep... That session expire thing is a git... I was just in the middle of a conversion with TomToad conversing on how bone idle we are when off work and poof... I was gone... And so was he! :D

;)

Couple of other things... A bit of conversion history would be nice when you go in, and TT mentioned a mute button for the noise's

Dabz
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit

Offline TomToad

  • Full Member
  • ***
  • Posts: 107
Re: Live chat - Now ready for alpha testing
« Reply #17 on: November 13, 2017, 02:18:48 PM »
Seems chat is knocking me off after 10 minutes whether I am actively typing or not.  Would be nice if instead of a tone, the tab changes color, or flashes when there is a post and you were on another tab.
------------------------------------------------
8 rabbits equals 1 rabbyte.

Offline Qube

  • Administrator
  • Sr. Member
  • *****
  • Posts: 431
Re: Live chat - Now ready for alpha testing
« Reply #18 on: November 13, 2017, 04:21:25 PM »
I'll be adding a login to the chat to control session time-outs. You'll just have to login with your forum details and then all should be OK.

Quote
Couple of other things... A bit of conversion history would be nice when you go in, and TT mentioned a mute button for the noise's
Easy to add in and will do that :)

Quote
Would be nice if instead of a tone, the tab changes color, or flashes when there is a post and you were on another tab.
There is going to be boing boing noises to alert you to new posts ( which you can turn off ). I'll see what can be done in regards to none obtrusive visual alerts.
Until the next time...

Offline Rooster

  • Sr. Member
  • ****
  • Posts: 309
  • I don't know what this does...
Re: Live chat - Now ready for alpha testing
« Reply #19 on: November 13, 2017, 06:14:51 PM »
The chat hasn't been letting me post since around yesterday.
I've been going in to it when the front page says someone is in chat, but in the chat room it's not showing anyone as being in.

I've also noticed that even after I close the chat page tab, the front page will still show me as being in the chat room.
I don't know if I've just gotten unlucky, and have been going in after people left but are still show as being on?

Offline Qube

  • Administrator
  • Sr. Member
  • *****
  • Posts: 431
Re: Live chat - Now ready for alpha testing
« Reply #20 on: November 13, 2017, 07:04:34 PM »
Just tested it and it's still working fine. What browser are you using as I've only tested it in Safari and Chrome.
Until the next time...

Offline Rooster

  • Sr. Member
  • ****
  • Posts: 309
  • I don't know what this does...
Re: Live chat - Now ready for alpha testing
« Reply #21 on: November 13, 2017, 07:40:13 PM »
I'm using Pale Moon.
It was originally based on Firefox, but has since gone it's own way from what I understand.

I'll try it from Firefox, and see if that works.

Offline Rooster

  • Sr. Member
  • ****
  • Posts: 309
  • I don't know what this does...
Re: Live chat - Now ready for alpha testing
« Reply #22 on: November 13, 2017, 07:46:41 PM »
Okay Firefox was working, so it looks like it's my browser. :(
And for the record it was working before.

Offline Qube

  • Administrator
  • Sr. Member
  • *****
  • Posts: 431
Re: Live chat - Now ready for alpha testing
« Reply #23 on: November 13, 2017, 08:00:20 PM »
It might be because I recoded the javascript side to use asynchronous calls to stop the sticky input box.
Until the next time...

Offline Flanker

  • Jr. Member
  • **
  • Posts: 18
    • Youtube channel on Blitzmax programming prototypes
Re: Live chat - Now ready for alpha testing
« Reply #24 on: November 13, 2017, 09:58:26 PM »
Just a little bump to say that the "+" character doesn't work in the chat.
Anyway, good work so far ;)
Everyone knew it was impossible, until someone who didn't know made it.

Offline Qube

  • Administrator
  • Sr. Member
  • *****
  • Posts: 431
Re: Live chat - Now ready for alpha testing
« Reply #25 on: November 14, 2017, 04:53:44 AM »
Quote
Just a little bump to say that the "+" character doesn't work in the chat.
Blimey, I just typed 1 + 2 = 3 and it took out the + sign. How stupid is that :P - There is nothing in the sanitising code to remove a + sign. Yet they still vanish.

Ah well, something to fix today :) - Thanks for pointing that out. Now where's the ban button
Until the next time...

Offline TomToad

  • Full Member
  • ***
  • Posts: 107
Re: Live chat - Now ready for alpha testing
« Reply #26 on: November 14, 2017, 09:22:40 AM »
It might be that + has a special meaning, either in Javascript or in the underlying network code. Possibly escape the + character.

Javascriptish pseudocode
when sent:
var originalstr = inputtext();
var escapedstr = originalstr.replace("+"."^p");
network.send(escapedstr);

when received:
var receivedstr = network.receive();
var outstr = receivedstr.replace("^p","+");
textbox.add(outstr);
------------------------------------------------
8 rabbits equals 1 rabbyte.

Offline Derron

  • Full Member
  • ***
  • Posts: 190
Re: Live chat - Now ready for alpha testing
« Reply #27 on: November 14, 2017, 09:31:06 AM »
Is there a reason for the "^p" rather than using urlencode() and urldecode() which are intended for these things? Maybe your form-encryption is doing some odd stuff?
Why are you requesting a new chat key each second? Isn't that a bit nasty regarding server load/requests-count? These "I am alive and still the same" could be done way less often - and/or before user interaction happens (so check on sending a new line rather than periodically).




bye
Ron

Offline Flanker

  • Jr. Member
  • **
  • Posts: 18
    • Youtube channel on Blitzmax programming prototypes
Re: Live chat - Now ready for alpha testing
« Reply #28 on: November 14, 2017, 02:44:21 PM »
Now where's the ban button

It's not a button, you have to type "+ban Flanker" :P
Everyone knew it was impossible, until someone who didn't know made it.

Offline Qube

  • Administrator
  • Sr. Member
  • *****
  • Posts: 431
Re: Live chat - Now ready for alpha testing
« Reply #29 on: November 14, 2017, 05:20:16 PM »
Quote
It's not a button, you have to type "+ban Flanker" :P
Great idea, I'll add that in so any user in chat can boot you out \o/ ;D
Until the next time...