• Welcome to Valhalla Legends Archive.
 

Squelch/Unsquelch problem SmallIcons -> Listview

Started by Tass, November 20, 2005, 12:21 PM

Previous topic - Next topic

Tass

For some reason I have a problem when the listview is refreshed when you unsquelch someone, sometimes they still show the icon that they are squelched, why is it doing this? :x

It's not sending some flags for the other people that are logged on his ip so it's not editing there icons? I think..
When I rejoin the channel they do not have the squelched icon

Joe[x86]

See my Channel Class. Asuming your using VB, you should be able to easilly use this. Just pass your flagsupdate event to it, and their icon will be fixed.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Tass

#2
I think the problem is that it's not getting the flag change because it works find any other time
I squelch Victory which he also has Victory[L]
When I unsquelch him I get:
[2:01:40 PM] Victory has been squelched.
[2:01:40 PM] Victory[L] Flags: 48
[2:01:40 PM] Victory Flags: 32
[2:01:47 PM] Victory[L] has been unsquelched.
[2:01:47 PM] Ops Flags: 2
[2:01:47 PM] Ops has aquired ops.
[2:01:47 PM] Legacy Flags: 2
[2:01:47 PM] Legacy has aquired ops.
[2:01:47 PM] RaGe[L] Flags: 0
[2:01:47 PM] Victim Flags: 0
[2:01:47 PM] Victory[L] Flags: 16
[2:01:47 PM] Victory Flags: 0
[2:01:47 PM] Epic Flags: 0
[2:01:47 PM] Narc Flags: 0
[2:01:47 PM] Malcolm[L] Flags: 0
[2:01:47 PM] tassinator Flags: 0
[2:01:47 PM] Doom[L] Flags: 0

It dosen't send new flags for Victory[L] when I unsquelch him, but wheN I leave channel and rejoin he's not squelched

shadypalm88

Quote from: Tass on November 20, 2005, 12:54 PM
It dosen't send new flags for Victory[L] when I unsquelch him, but wheN I leave channel and rejoin he's not squelched
Battle.net does send you the flag update for all users in your channel that are being unsquelched.  If I squelch Victory and unsquelch him both Victory and Victory[L] return to normal.

Tass

#4
Ok, so where can I get some info on the Flags recieved in OnFlags?

I only don't get the change when the user gets the flags of 16 and that's usually when the user is using a ping plug. On sb it says it's UDP Plug [16], so how do I fix this??

shadypalm88


Tass

So do you do the same thing for flags of 0 and flags of 16?

Kp

Quote from: Tass on November 20, 2005, 01:38 PMSo do you do the same thing for flags of 0 and flags of 16?

No, I report a plug if someone has flags of 0x10 and do not report a plug for flags of 0.  You do realize that flags are a bitmask, right?
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Joe[x86]

Use the bitwise AND operator. Asume that flags are stored in m_lFlags.

If (m_lFlags And 32) Then
  'Squelched
Else
  'Not Squelched
End If
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Tass