• Welcome to Valhalla Legends Archive.
 

refreashing channel user list (non blns/binary)

Started by Tontow, June 30, 2005, 05:54 PM

Previous topic - Next topic

Tontow

My channel user list isn't perfict and bnetdocs is down so I cant look it up >:( .

How do you retreave or refreash a channel user list when useing CHAT? (protocol byte Chr(3))

Networks

#1
Quote from: Tontow on June 30, 2005, 05:54 PM
My channel user list isn't perfict and bnetdocs is down so I cant look it up >:( .

How do you retreave or refreash a channel user list when useing CHAT? (protocol byte Chr(3))

I don't even think bnetdocs even has anything information on CHAT. It's freaking plain-text god damn. (I think)

NicoQwertyu

When you join a new channel (1007), you clear the list.  When you recieve 1001 USER you add a user to the list.  When someone joins (1002) you add them to the list.  When someone leaves (1003) you remove them from the list. It's simple.  It has nothing to do with "refreashing" the list.

Tontow

Quote from: NicoQwertyu on June 30, 2005, 06:12 PM
When you join a new channel (1007), you clear the list.  When you recieve 1001 USER you add a user to the list.  When someone joins (1002) you add them to the list.  When someone leaves (1003) you remove them from the list. It's simple. 

Yes and no, When you first connect, sometimes you receve 1001 USER befor receveing 1007,
and
I have all "/commands" routed through my antiflood so if someone joins the channel befor the command is sent to bnet I'll end up with an extra user in the list.  So, it isn't quite that simple.

Also, I want to be able to refreash the list without leaveing the channel. - You could join another random and empty channel, then join the channel that you where just in, but you would lose ops (if you had ops in the first place). Or, for some reason, the list could possabley not be displaying everyone correctly.

Kp

Your ops argument is erroneous, since any channel in which you could have operator status is inaccessible to chat clients.  If users are appearing before you enter the channel, that's a server bug.  If it's happening on battle.net, too bad.  Nobody uses chat protocol for anything serious anymore.  If it's happening on TestBNCS, report it as a bug.  If it's happening on any other third-party server, complain at the operator to run TestBNCS instead.

Also, what's blns?
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Tontow

Quote from: Kp on June 30, 2005, 07:02 PM
Your ops argument is erroneous, since any channel in which you could have operator status is inaccessible to chat clients. 
......
Also, what's blns?

  Happens on battlenet, but I figur it could also happen on a private server where chat channels could be accessable.  Eather way (bnet or private server) a minor server bug like that isn't going to be fixed, so I have to do something to deal with the server's bug....

and blns is used in the process of binary logons if you dont want to hash and do other stuff locally. (to log on as a game client)

Also, we could spend years fighting about this OR we could come up with an anwser.........

Tontow

opps typo.  ::)

Quotesometimes you receve 1001 USER befor receveing 1007,

Thus, I decided to clear the channel list when someone types /j /join and hits send.

Kp

Quote from: Tontow on June 30, 2005, 07:21 PMHappens on battlenet, but I figur it could also happen on a private server where chat channels could be accessable.  Eather way (bnet or private server) a minor server bug like that isn't going to be fixed, so I have to do something to deal with the server's bug....

I think it's quite likely that it will be fixed on a private server.  TestBNCS is the only serious private server which isn't open source (afaik - if Arta's released it, I missed the notice!).  Arta seems to be quite active in addressing defects in TestBNCS, and you could fix any server for which the source was available.  As for its occurence on battle.net: while certainly possible in theory, I doubt such bugs until I've seen definitive proof that it isn't a client-side bug.  Hint: present a packet dump. :)

Quote from: Tontow on June 30, 2005, 07:21 PMand blns is used in the process of binary logons if you dont want to hash and do other stuff locally. (to log on as a game client)

So you're telling me there's yet another BNLS clone?  We already have JBLS and iago's Java remote computation server (which is essentially BNLS without support for the operations which require "secret" data, like password/cdkey).  I think we finally lost the silly BNLS-proxy service somebody was running to steal account info, though.

Quote from: Tontow on June 30, 2005, 07:21 PMAlso, we could spend years fighting about this OR we could come up with an anwser.........

Or I could come up with an answer and continue to respond to what was written, not what was meant.  You've been around long enough that you ought to know by now that: 1) I don't make such silly sounding posts without good reason and 2) poor spelling tends to bring trouble upon you.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Tontow

QuoteSo you're telling me there's yet another BNLS clone?  We already have JBLS and iago's Java remote computation server (which is essentially BNLS without support for the operations which require "secret" data, like password/cdkey).  I think we finally lost the silly BNLS-proxy service somebody was running to steal account info, though.

QuoteOr I could come up with an answer and continue to respond to what was written, not what was meant.  You've been around long enough that you ought to know by now that: 1) I don't make such silly sounding posts without good reason and 2) poor spelling tends to bring trouble upon you.

There was another post above my last one that pointed out my typo (l and n got switched in BNLS)



QuoteOr I could come up with an answer

(Sarcasm)Oh what a wonderful and brilliant idea; do you think you could actually do just that?(/Sarcasm)


QuoteI think it's quite likely that it will be fixed on a private server.

But its not a certainty that it will be fixed.

Joe[x86]

Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.