Skip to content

Instantly share code, notes, and snippets.

@Davnit
Created March 22, 2016 18:57
Show Gist options
  • Save Davnit/3dd70588f0448586ae1e to your computer and use it in GitHub Desktop.
Save Davnit/3dd70588f0448586ae1e to your computer and use it in GitHub Desktop.
StealthBot Dead Code
StealthBot
Class Modules
clsBotVars.cls
clsBotVars
m_bUseGameConventions
[Dead Code Review] The field 'm_bUseGameConventions' is not used
m_bUseD2GameConventions
[Dead Code Review] The field 'm_bUseD2GameConventions' is not used
m_bUseW3GameConventions
[Dead Code Review] The field 'm_bUseW3GameConventions' is not used
clsChannelObj.cls
clsChannelObj
m_num_joins
[Dead Code Review] The field 'm_num_joins' is not used
m_num_kicks
[Dead Code Review] The field 'm_num_kicks' is not used
Public Property Let JoinCount(ByVal lng As Long)
lng
[Dead Code Review] The parameter 'lng' is not used
Public Property Let KickCount(ByVal lng As Long)
lng
[Dead Code Review] The parameter 'lng' is not used
Public Function CheckUser(Username As String, Optional ByRef CurrentUser As clsUserObj = Nothing) As Integer
i
[Dead Code Review] The variable 'i' is not used
j
[Dead Code Review] The variable 'j' is not used
Public Function CheckUsers() As Integer
Message
[Dead Code Review] The variable 'Message' is not used
clsCommandDocObj.cls
clsCommandDocObj
Public Function OpenCommand(ByVal strCommand As String, Optional ByVal strScriptOwner As String = vbNullString) As Boolean
command_access_node
[Dead Code Review] The variable 'command_access_node' is not used
command_documentation
[Dead Code Review] The variable 'command_documentation' is not used
command_Parameters
[Dead Code Review] The variable 'command_Parameters' is not used
command_aliases
[Dead Code Review] The variable 'command_aliases' is not used
Alias
[Dead Code Review] The variable 'Alias' is not used
attrs
[Dead Code Review] The variable 'attrs' is not used
Public Function CreateCommand(ByVal strCommand As String, Optional ByVal strScriptOwner As String = vbNullString, Optional bAutoSave As Boolean = True) As Boolean
bAutoSave
[Dead Code Review] The parameter 'bAutoSave' is not used
Private Function setParameters(ByRef AnyNode As IXMLDOMNode, ByRef ParameterCol As Collection) As Collection
argumentsOptionalNode
[Dead Code Review] The variable 'argumentsOptionalNode' is not used
argumentsOptionalStringNode
[Dead Code Review] The variable 'argumentsOptionalStringNode' is not used
argumentsOptionalNumberNode
[Dead Code Review] The variable 'argumentsOptionalNumberNode' is not used
RestrictionNode
[Dead Code Review] The variable 'RestrictionNode' is not used
Restriction
[Dead Code Review] The variable 'Restriction' is not used
Private Function setRestrictions(ByRef AnyNode As IXMLDOMNode, ByRef RestrictionCol As Collection) As Collection
node
[Dead Code Review] The variable 'node' is not used
Private Function setEnabled(ByRef AnyNode As IXMLDOMNode, ByVal Enabled As Boolean)
attr
[Dead Code Review] The variable 'attr' is not used
clsCommandObj.cls
clsCommandObj
Private Sub SplitArguments()
i
[Dead Code Review] The variable 'i' is not used
clsCommandObjStatic.cls
clsCommandObjStatic
Public Function IsCommand(ByVal strText As String, ByVal strUsername As String, ByVal IsLocal As Boolean, ByVal WasWhispered As Boolean, Optional ByVal strScriptOwner As String = vbNullString) As Collection
CMD_DELIMITER
[Dead Code Review] The constant 'CMD_DELIMITER' is not used
Private Function SplitCompleteCommandString(ByVal completeCommandString As String) As Collection
commandString
[Dead Code Review] The variable 'commandString' is not used
clsCommandParamsObj.cls
clsCommandParamsObj
m_required_rank
[Dead Code Review] The field 'm_required_rank' is not used
m_required_flags
[Dead Code Review] The field 'm_required_flags' is not used
clsCToolTip.cls
clsCTooltip
Public Function Create(ByVal ParentHwnd As Long, x As Long, y As Long) As Boolean
x
[Dead Code Review] The parameter 'x' is not used
y
[Dead Code Review] The parameter 'y' is not used
clsDataBuffer.cls
clsDataBuffer
Public Function GetString(Optional ByVal Encoding As STRINGENCODING = STRINGENCODING.ANSI, Optional Peek As Boolean = False) As String
Encoding
[Dead Code Review] The parameter 'Encoding' is not used
Public Function SendPacketMCP(Optional PacketID As Byte)
veto
[Dead Code Review] The variable 'veto' is not used
Public Function SendPacket(Optional PacketID As Byte)
L
[Dead Code Review] The variable 'L' is not used
i
[Dead Code Review] The variable 'i' is not used
veto
[Dead Code Review] The variable 'veto' is not used
Public Function vLSendPacket(Optional PacketID As Byte)
veto
[Dead Code Review] The variable 'veto' is not used
clsDataStorage.cls
clsDataStorage
m_lNLSHandle
[Dead Code Review] The field 'm_lNLSHandle' is not used
clsLogger.cls
clsLogger
Private Sub Class_Teriminate()
[Dead Code Review] The method 'Class_Teriminate' is not used
clsMCPHandler.cls
clsMCPHandler
Public Sub RequestCharacterList(Optional ByVal NumCharacters = 8)
8
[Dead Code Review] The parameter '8' is not used
Public Sub ParseMCPPacket(ByVal Data As String)
veto
[Dead Code Review] The variable 'veto' is not used
clsMenuObj.cls
clsMenuObj
m_help_id
[Dead Code Review] The field 'm_help_id' is not used
m_window_list
[Dead Code Review] The field 'm_window_list' is not used
m_subs
[Dead Code Review] The field 'm_subs' is not used
Public Property Let HelpContextID(ByVal bln As Long)
bln
[Dead Code Review] The parameter 'bln' is not used
clsNLS.cls
clsNLS
Public Function VerifyServerSignature(ByVal IPAddress As String, ByVal Signature As String) As Boolean
lngAddr
[Dead Code Review] The variable 'lngAddr' is not used
clsOSVersion.cls
clsOSVersion
VER_NT_DOMAIN_CONTROLLER
[Dead Code Review] The constant 'VER_NT_DOMAIN_CONTROLLER' is not used
VER_NT_SERVER
[Dead Code Review] The constant 'VER_NT_SERVER' is not used
Private Sub GetVersion()
bln
[Dead Code Review] The variable 'bln' is not used
clsQueue.cls
clsQueue
MAX_PRIORITY_LEVEL
[Dead Code Review] The constant 'MAX_PRIORITY_LEVEL' is not used
m_lastUser
[Dead Code Review] The field 'm_lastUser' is not used
clsQuotesObj.cls
clsQuotesObj
Private Sub AppendQuote(ByVal QuoteStr As String)
i
[Dead Code Review] The variable 'i' is not used
clsScriptSupportClass.cls
clsScriptSupportClass
Public Sub SetBotProfile(ByVal sNewSex As String, ByVal sNewLocation As String, ByVal sNewDescription As String)
sNewSex
[Dead Code Review] The parameter 'sNewSex' is not used
clsUserObj.cls
clsUserObj
USER_SPEAKER
[Dead Code Review] The constant 'USER_SPEAKER' is not used
USER_NOUDP
[Dead Code Review] The constant 'USER_NOUDP' is not used
USER_BEEPENABLED
[Dead Code Review] The constant 'USER_BEEPENABLED' is not used
USER_KBKOFFICIAL
[Dead Code Review] The constant 'USER_KBKOFFICIAL' is not used
USER_JAILED
[Dead Code Review] The constant 'USER_JAILED' is not used
USER_PGLPLAYER
[Dead Code Review] The constant 'USER_PGLPLAYER' is not used
USER_GFPLAYER
[Dead Code Review] The constant 'USER_GFPLAYER' is not used
USER_GUEST
[Dead Code Review] The constant 'USER_GUEST' is not used
USER_PGLOFFICIAL
[Dead Code Review] The constant 'USER_PGLOFFICIAL' is not used
USER_KBKPLAYER
[Dead Code Review] The constant 'USER_KBKPLAYER' is not used
m_clan_rank
[Dead Code Review] The field 'm_clan_rank' is not used
m_total_bans
[Dead Code Review] The field 'm_total_bans' is not used
m_total_kicks
[Dead Code Review] The field 'm_total_kicks' is not used
m_operator_date
[Dead Code Review] The field 'm_operator_date' is not used
clsUserStats.cls
clsUserStats
ICGAVEL
[Dead Code Review] The constant 'ICGAVEL' is not used
ICBLIZZ
[Dead Code Review] The constant 'ICBLIZZ' is not used
ICSYSOP
[Dead Code Review] The constant 'ICSYSOP' is not used
ICSQUELCH
[Dead Code Review] The constant 'ICSQUELCH' is not used
LAG_PLUG
[Dead Code Review] The constant 'LAG_PLUG' is not used
LAG_1
[Dead Code Review] The constant 'LAG_1' is not used
LAG_2
[Dead Code Review] The constant 'LAG_2' is not used
LAG_3
[Dead Code Review] The constant 'LAG_3' is not used
LAG_4
[Dead Code Review] The constant 'LAG_4' is not used
LAG_5
[Dead Code Review] The constant 'LAG_5' is not used
LAG_6
[Dead Code Review] The constant 'LAG_6' is not used
MONITOR_ONLINE
[Dead Code Review] The constant 'MONITOR_ONLINE' is not used
MONITOR_OFFLINE
[Dead Code Review] The constant 'MONITOR_OFFLINE' is not used
IC_WCG_PLAYER
[Dead Code Review] The constant 'IC_WCG_PLAYER' is not used
IC_WCG_REF
[Dead Code Review] The constant 'IC_WCG_REF' is not used
IC_PGT_A
[Dead Code Review] The constant 'IC_PGT_A' is not used
IC_PGT_B
[Dead Code Review] The constant 'IC_PGT_B' is not used
IC_PGT_C
[Dead Code Review] The constant 'IC_PGT_C' is not used
IC_PGT_D
[Dead Code Review] The constant 'IC_PGT_D' is not used
m_expansion
[Dead Code Review] The field 'm_expansion' is not used
m_hardcore
[Dead Code Review] The field 'm_hardcore' is not used
Private Function MakeRomanNum(ByVal Num As Integer) As String
[Dead Code Review] The method 'MakeRomanNum' is not used
clsWinamp.cls
clsWinamp
Private Declare Function IsWindow Lib "user32" (ByVal hWnd As Long) As Long
[Dead Code Review] The method 'IsWindow' is not used
Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hWnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
[Dead Code Review] The method 'GetWindowText' is not used
Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hWnd As Long) As Long
[Dead Code Review] The method 'GetWindowTextLength' is not used
WM_COPYDATA
[Dead Code Review] The constant 'WM_COPYDATA' is not used
WA_GETVERSION
[Dead Code Review] The constant 'WA_GETVERSION' is not used
WA_CLEARPLAYLIST
[Dead Code Review] The constant 'WA_CLEARPLAYLIST' is not used
WA_SEEKTOPOSITION
[Dead Code Review] The constant 'WA_SEEKTOPOSITION' is not used
WA_SETBALANCE
[Dead Code Review] The constant 'WA_SETBALANCE' is not used
WA_GETEQDATA
[Dead Code Review] The constant 'WA_GETEQDATA' is not used
WA_SETEQDATA
[Dead Code Review] The constant 'WA_SETEQDATA' is not used
IPC_SETVOLUME
[Dead Code Review] The constant 'IPC_SETVOLUME' is not used
IPC_GET_EXTENDED_FILE_INFO
[Dead Code Review] The constant 'IPC_GET_EXTENDED_FILE_INFO' is not used
WA_STOPAFTERTRACK
[Dead Code Review] The constant 'WA_STOPAFTERTRACK' is not used
WA_FASTFORWARD
[Dead Code Review] The constant 'WA_FASTFORWARD' is not used
WA_FASTREWIND
[Dead Code Review] The constant 'WA_FASTREWIND' is not used
WA_PLAYLISTHOME
[Dead Code Review] The constant 'WA_PLAYLISTHOME' is not used
WA_PLAYLISTEND
[Dead Code Review] The constant 'WA_PLAYLISTEND' is not used
WA_DIALOGOPENFILE
[Dead Code Review] The constant 'WA_DIALOGOPENFILE' is not used
WA_DIALOGOPENURL
[Dead Code Review] The constant 'WA_DIALOGOPENURL' is not used
WA_DIALOGFILEINFO
[Dead Code Review] The constant 'WA_DIALOGFILEINFO' is not used
WA_TIMEDISPLAYELAPSED
[Dead Code Review] The constant 'WA_TIMEDISPLAYELAPSED' is not used
WA_TIMEDISPLAYREMAINING
[Dead Code Review] The constant 'WA_TIMEDISPLAYREMAINING' is not used
WA_TOGGLEPREFERENCES
[Dead Code Review] The constant 'WA_TOGGLEPREFERENCES' is not used
WA_DIALOGVISUALOPTIONS
[Dead Code Review] The constant 'WA_DIALOGVISUALOPTIONS' is not used
WA_DIALOGVISUALPLUGINOPTIONS
[Dead Code Review] The constant 'WA_DIALOGVISUALPLUGINOPTIONS' is not used
WA_STARTVISUALPLUGIN
[Dead Code Review] The constant 'WA_STARTVISUALPLUGIN' is not used
WA_TOGGLEABOUT
[Dead Code Review] The constant 'WA_TOGGLEABOUT' is not used
WA_TOGGLEAUTOSCROLL
[Dead Code Review] The constant 'WA_TOGGLEAUTOSCROLL' is not used
WA_TOGGLEALWAYSONTOP
[Dead Code Review] The constant 'WA_TOGGLEALWAYSONTOP' is not used
WA_TOGGLEWINDOWSHADE
[Dead Code Review] The constant 'WA_TOGGLEWINDOWSHADE' is not used
WA_TOGGLEPLAYLISTWINDOWSHADE
[Dead Code Review] The constant 'WA_TOGGLEPLAYLISTWINDOWSHADE' is not used
WA_TOGGLEDOUBLESIZE
[Dead Code Review] The constant 'WA_TOGGLEDOUBLESIZE' is not used
WA_TOGGLEEQ
[Dead Code Review] The constant 'WA_TOGGLEEQ' is not used
WA_TOGGLEPLAYLIST
[Dead Code Review] The constant 'WA_TOGGLEPLAYLIST' is not used
WA_TOGGLEMAINWINDOW
[Dead Code Review] The constant 'WA_TOGGLEMAINWINDOW' is not used
WA_TOGGLEMINIBROWSER
[Dead Code Review] The constant 'WA_TOGGLEMINIBROWSER' is not used
WA_TOGGLEEASYMOVE
[Dead Code Review] The constant 'WA_TOGGLEEASYMOVE' is not used
WA_VOLUMEUP
[Dead Code Review] The constant 'WA_VOLUMEUP' is not used
WA_VOLUMEDOWN
[Dead Code Review] The constant 'WA_VOLUMEDOWN' is not used
WA_TOGGLEREPEAT
[Dead Code Review] The constant 'WA_TOGGLEREPEAT' is not used
WA_TOGGLESHUFFLE
[Dead Code Review] The constant 'WA_TOGGLESHUFFLE' is not used
WA_DIALOGJUMPTOTIME
[Dead Code Review] The constant 'WA_DIALOGJUMPTOTIME' is not used
WA_DIALOGSKINSELECTOR
[Dead Code Review] The constant 'WA_DIALOGSKINSELECTOR' is not used
WA_DIALOGCONFIGUREVISUALPLUGIN
[Dead Code Review] The constant 'WA_DIALOGCONFIGUREVISUALPLUGIN' is not used
WA_RELOADSKIN
[Dead Code Review] The constant 'WA_RELOADSKIN' is not used
WA_CLOSE
[Dead Code Review] The constant 'WA_CLOSE' is not used
WA_PREVTRACK
[Dead Code Review] The constant 'WA_PREVTRACK' is not used
WA_NEXTTRACK
[Dead Code Review] The constant 'WA_NEXTTRACK' is not used
Forms
frmChat.frm
frmChat
Private Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As Long
[Dead Code Review] The method 'RegQueryValueEx' is not used
Private Declare Function bind Lib "ws2_32.dll" (ByVal s As Long, ByRef Name As sockaddr_in, ByVal NameLen As Long) As Long
[Dead Code Review] The method 'bind' is not used
Private Declare Function inet_addr Lib "wsock32.dll" (ByVal cp As String) As Long
[Dead Code Review] The method 'inet_addr' is not used
Private Declare Function htons Lib "wsock32.dll" (ByVal hostshort As Long) As Integer
[Dead Code Review] The method 'htons' is not used
Private Declare Function WSAGetLastError Lib "wsock32.dll" () As Integer
[Dead Code Review] The method 'WSAGetLastError' is not used
AF_INET
[Dead Code Review] The constant 'AF_INET' is not used
doAuth
[Dead Code Review] The field 'doAuth' is not used
REG_SZ
[Dead Code Review] The constant 'REG_SZ' is not used
WM_USER
[Dead Code Review] The constant 'WM_USER' is not used
Private Sub Form_Load()
strBeta
[Dead Code Review] The variable 'strBeta' is not used
Public Sub cacheTimer_Timer()
n
[Dead Code Review] The variable 'n' is not used
Sub AddChat(ParamArray saElements() As Variant)
i
[Dead Code Review] The variable 'i' is not used
Sub Form_Resize()
lblHeight
[Dead Code Review] The variable 'lblHeight' is not used
Sub Form_Unload(Cancel As Integer)
L
[Dead Code Review] The variable 'L' is not used
Key
[Dead Code Review] The variable 'Key' is not used
Private Sub lvChannel_dblClick()
T
[Dead Code Review] The variable 'T' is not used
Private Sub lvChannel_KeyUp(KeyCode As Integer, Shift As Integer)
sStart
[Dead Code Review] The variable 'sStart' is not used
Private Sub lvFriendList_KeyUp(KeyCode As Integer, Shift As Integer)
sStart
[Dead Code Review] The variable 'sStart' is not used
Private Sub lvClanList_KeyUp(KeyCode As Integer, Shift As Integer)
sStart
[Dead Code Review] The variable 'sStart' is not used
Private Sub lvChannel_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
sOutBuf
[Dead Code Review] The variable 'sOutBuf' is not used
UserAccess
[Dead Code Review] The variable 'UserAccess' is not used
Clan
[Dead Code Review] The variable 'Clan' is not used
Private Sub mnuDisconnect2_Click()
L
[Dead Code Review] The variable 'L' is not used
Private Sub MoveFriend(startPos As Integer, endPos As Integer)
[Dead Code Review] The method 'MoveFriend' is not used
Private Sub mnuPacketLog_Click()
f
[Dead Code Review] The variable 'f' is not used
Private Sub mnuScripts_Click()
[Dead Code Review] The method 'mnuScripts_Click' is not used
Private Sub mnuEditUsers_Click()
[Dead Code Review] The method 'mnuEditUsers_Click' is not used
Sub mnuDisconnect_Click()
L
[Dead Code Review] The variable 'L' is not used
Private Sub mnuScript_Click(Index As Integer)
[Dead Code Review] The method 'mnuScript_Click' is not used
Private Sub cboSend_KeyDown(KeyCode As Integer, Shift As Integer)
Vetoed
[Dead Code Review] The variable 'Vetoed' is not used
S_SHIFT
[Dead Code Review] The constant 'S_SHIFT' is not used
S_CTRLALT
[Dead Code Review] The constant 'S_CTRLALT' is not used
S_CTRLSHIFTALT
[Dead Code Review] The constant 'S_CTRLSHIFTALT' is not used
L_ARROW
[Dead Code Review] The constant 'L_ARROW' is not used
R_ARROW
[Dead Code Review] The constant 'R_ARROW' is not used
K_END
[Dead Code Review] The constant 'K_END' is not used
prevStart
[Dead Code Review] The variable 'prevStart' is not used
tmpStr
[Dead Code Review] The variable 'tmpStr' is not used
Private Sub cboSend_KeyPress(KeyAscii As Integer)
oldSelStart
[Dead Code Review] The variable 'oldSelStart' is not used
sClosest
[Dead Code Review] The variable 'sClosest' is not used
Private Sub Timer_Timer()
UDP
[Dead Code Review] The variable 'UDP' is not used
Private Sub tmrSilentChannel_Timer(Index As Integer)
User
[Dead Code Review] The variable 'User' is not used
Item
[Dead Code Review] The variable 'Item' is not used
i
[Dead Code Review] The variable 'i' is not used
j
[Dead Code Review] The variable 'j' is not used
found
[Dead Code Review] The variable 'found' is not used
WasZero
[Dead Code Review] The variable 'WasZero' is not used
Sub Connect()
f
[Dead Code Review] The constant 'f' is not used
Function AddQ(ByVal Message As String, Optional msg_priority As Integer = -1, Optional ByVal User As String = vbNullString, Optional ByVal Tag As String = vbNullString, Optional OversizeDelimiter As String = " ") As Integer
User
[Dead Code Review] The parameter 'User' is not used
Sub ReloadConfig(Optional Mode As Byte = 0)
f
[Dead Code Review] The variable 'f' is not used
Index
[Dead Code Review] The variable 'Index' is not used
bln
[Dead Code Review] The variable 'bln' is not used
doConvert
[Dead Code Review] The variable 'doConvert' is not used
command_output
[Dead Code Review] The variable 'command_output' is not used
found
[Dead Code Review] The variable 'found' is not used
outbuf
[Dead Code Review] The variable 'outbuf' is not used
Private Sub sckBNet_DataArrival(ByVal bytesTotal As Long)
fTemp
[Dead Code Review] The variable 'fTemp' is not used
interations
[Dead Code Review] The variable 'interations' is not used
Function MatchClosest(ByVal toMatch As String, Optional startIndex As Long = 1) As String
j
[Dead Code Review] The variable 'j' is not used
frmCommands.frm
frmCommands
Private Sub Form_Load()
colErrorList
[Dead Code Review] The variable 'colErrorList' is not used
Private Sub PopulateTreeView(Optional strScriptOwner As String = vbNullString, Optional intScriptIndex As Integer = -1)
totalCommands
[Dead Code Review] The variable 'totalCommands' is not used
Private Sub trvCommands_SelectedNodeChanged()
xpath
[Dead Code Review] The variable 'xpath' is not used
Private Sub PrepareForm(nt As NodeType)
requirements
[Dead Code Review] The variable 'requirements' is not used
sItem
[Dead Code Review] The variable 'sItem' is not used
frmCustomInputBox.frm
frmCustomInputBox
Private Sub ShowCurrentPos(Optional ByVal GoingBackwards As Boolean = False)
s
[Dead Code Review] The variable 's' is not used
frmDBManager.frm
frmDBManager
m_modified
[Dead Code Review] The field 'm_modified' is not used
m_DBDate
[Dead Code Review] The field 'm_DBDate' is not used
Public Sub ImportDatabase(strPath As String, dbType As Integer)
n
[Dead Code Review] The variable 'n' is not used
Private Sub btnCreateUser_Click()
gAcc
[Dead Code Review] The variable 'gAcc' is not used
Private Sub mnuOpenDatabase_Click()
[Dead Code Review] The method 'mnuOpenDatabase_Click' is not used
Private Sub tbsTabs_Click()
K
[Dead Code Review] The variable 'K' is not used
Private Sub LockGUI()
i
[Dead Code Review] The variable 'i' is not used
Private Sub UnlockGUI()
i
[Dead Code Review] The variable 'i' is not used
Private Sub trvUsers_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
gAcc
[Dead Code Review] The variable 'gAcc' is not used
Private Sub trvUsers_OLEDragDrop(Data As MSComctlLib.DataObject, Effect As Long, Button As Integer, Shift As Integer, x As Single, y As Single)
strKey
[Dead Code Review] The variable 'strKey' is not used
res
[Dead Code Review] The variable 'res' is not used
found
[Dead Code Review] The variable 'found' is not used
frmRealm.frm
frmRealm
Private Sub tmrLoginTimeout_Timer()
j
[Dead Code Review] The variable 'j' is not used
frmSplash.frm
frmSplash
Private Sub Image_click()
[Dead Code Review] The method 'Image_click' is not used
Modules
modBNCS.bas
modBNCS
Public Sub SEND_SID_LOCALEINFO()
lRet
[Dead Code Review] The variable 'lRet' is not used
Private Sub RECV_SID_AUTH_ACCOUNTLOGON(pBuff As clsDataBuffer)
s
[Dead Code Review] The variable 's' is not used
B
[Dead Code Review] The variable 'B' is not used
Private Sub RECV_SID_SETEMAIL(pBuff As clsDataBuffer)
pBuff
[Dead Code Review] The parameter 'pBuff' is not used
Private Function CompileCheckrevision() As Boolean
sFile
[Dead Code Review] The variable 'sFile' is not used
Private Function GetHashFiles() As String()
[Dead Code Review] The method 'GetHashFiles' is not used
modBNLS.bas
modBNLS
BNLS_CHOOSENLSREVISION
[Dead Code Review] The constant 'BNLS_CHOOSENLSREVISION' is not used
Private Sub RECV_BNLS_AUTHORIZEPROOF(pBuff As clsDataBuffer)
pBuff
[Dead Code Review] The parameter 'pBuff' is not used
modChatQueue.bas
modChatQueue
Public Function ChatQueueTimerProc()
j
[Dead Code Review] The variable 'j' is not used
lastTimer
[Dead Code Review] The variable 'lastTimer' is not used
modCommands.bas
modCommandCode
Public Function RemoveItem(ByVal rItem As String, File As String, Optional ByVal dbType As String = vbNullString) As String
dbType
[Dead Code Review] The parameter 'dbType' is not used
Private Function CheckUser(ByVal User As String, Optional ByVal allow_illegal As Boolean = False) As Boolean
[Dead Code Review] The method 'CheckUser' is not used
modCommandsAdmin.bas
modCommandsAdmin
Public Sub OnClear(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
Public Sub OnDump(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
Public Sub OnLockText(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
Public Sub OnQuit(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
modCommandsChat.bas
modCommandsChat
Public Sub OnConnect(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
Public Sub OnDisconnect(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
Public Sub OnQuickRejoin(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
Public Sub OnReconnect(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
Public Sub OnSCQ(Command As clsCommandObj)
Command
[Dead Code Review] The parameter 'Command' is not used
modCommandsInfo.bas
modCommandsInfo
Public Sub OnFind(Command As clsCommandObj)
dbAccess
[Dead Code Review] The variable 'dbAccess' is not used
Public Sub OnInitPerf(Command As clsCommandObj)
ModName
[Dead Code Review] The variable 'ModName' is not used
Name
[Dead Code Review] The variable 'Name' is not used
modCommandsMisc.bas
modCommandsMisc
Public Sub OnBMail(Command As clsCommandObj)
strArray
[Dead Code Review] The variable 'strArray' is not used
Public Sub OnInbox(Command As clsCommandObj)
mcount
[Dead Code Review] The variable 'mcount' is not used
Index
[Dead Code Review] The variable 'Index' is not used
modCommandsMP3.bas
modCommandsMP3
Public Sub OnMP3(Command As clsCommandObj)
tmpbuf
[Dead Code Review] The variable 'tmpbuf' is not used
TrackName
[Dead Code Review] The variable 'TrackName' is not used
ListPosition
[Dead Code Review] The variable 'ListPosition' is not used
ListCount
[Dead Code Review] The variable 'ListCount' is not used
TrackTime
[Dead Code Review] The variable 'TrackTime' is not used
TrackLength
[Dead Code Review] The variable 'TrackLength' is not used
modDateTime.bas
modDateTime
TIME_ZONE_ID_UNKNOWN
[Dead Code Review] The constant 'TIME_ZONE_ID_UNKNOWN' is not used
modEvents.bas
modEvents
MSG_FILTER_MAX_EVENTS
[Dead Code Review] The constant 'MSG_FILTER_MAX_EVENTS' is not used
MSG_FILTER_DELAY_INT
[Dead Code Review] The constant 'MSG_FILTER_DELAY_INT' is not used
MSG_FILTER_MSG_COUNT
[Dead Code Review] The constant 'MSG_FILTER_MSG_COUNT' is not used
m_arrMsgEvents
[Dead Code Review] The field 'm_arrMsgEvents' is not used
m_eventCount
[Dead Code Review] The field 'm_eventCount' is not used
Public Sub Event_FlagsUpdate(ByVal Username As String, ByVal Message As String, ByVal Flags As Long, ByVal Ping As Long, ByVal Product As String, Optional QueuedEventID As Integer = 0)
PreviousUserObj
[Dead Code Review] The variable 'PreviousUserObj' is not used
i
[Dead Code Review] The variable 'i' is not used
parsed
[Dead Code Review] The variable 'parsed' is not used
doUpdate
[Dead Code Review] The variable 'doUpdate' is not used
Public Sub Event_LoggedOnAs(Username As String, Statstring As String, AccountName As String)
AccountName
[Dead Code Review] The parameter 'AccountName' is not used
Public Sub Event_ServerInfo(ByVal Username As String, ByVal Message As String)
MSG_SQUELCHED
[Dead Code Review] The constant 'MSG_SQUELCHED' is not used
MSG_UNSQUELCHED
[Dead Code Review] The constant 'MSG_UNSQUELCHED' is not used
MSG_KICKEDOUT
[Dead Code Review] The constant 'MSG_KICKEDOUT' is not used
MSG_FRIENDS
[Dead Code Review] The constant 'MSG_FRIENDS' is not used
Banning
[Dead Code Review] The variable 'Banning' is not used
Unbanning
[Dead Code Review] The variable 'Unbanning' is not used
cOperator
[Dead Code Review] The variable 'cOperator' is not used
msgPos
[Dead Code Review] The variable 'msgPos' is not used
tmp
[Dead Code Review] The variable 'tmp' is not used
j
[Dead Code Review] The variable 'j' is not used
Public Sub Event_UserEmote(ByVal Username As String, ByVal Flags As Long, ByVal Message As String, Optional QueuedEventID As Integer = 0)
i
[Dead Code Review] The variable 'i' is not used
PassedQueue
[Dead Code Review] The variable 'PassedQueue' is not used
Public Sub Event_UserInChannel(ByVal Username As String, ByVal Flags As Long, ByVal Message As String, ByVal Ping As Long, ByVal Product As String, ByVal sClan As String, ByVal originalstatstring As String, Optional ByVal w3icon As String, Optional QueuedEventID As Integer = 0)
Message
[Dead Code Review] The parameter 'Message' is not used
w3icon
[Dead Code Review] The parameter 'w3icon' is not used
i
[Dead Code Review] The variable 'i' is not used
strCompare
[Dead Code Review] The variable 'strCompare' is not used
Level
[Dead Code Review] The variable 'Level' is not used
Index
[Dead Code Review] The variable 'Index' is not used
Stats
[Dead Code Review] The variable 'Stats' is not used
Clan
[Dead Code Review] The variable 'Clan' is not used
Public Sub Event_UserJoins(ByVal Username As String, ByVal Flags As Long, ByVal Message As String, ByVal Ping As Long, ByVal Product As String, ByVal sClan As String, ByVal originalstatstring As String, ByVal w3icon As String, Optional QueuedEventID As Integer = 0)
Message
[Dead Code Review] The parameter 'Message' is not used
toCheck
[Dead Code Review] The variable 'toCheck' is not used
strCompare
[Dead Code Review] The variable 'strCompare' is not used
temp
[Dead Code Review] The variable 'temp' is not used
Level
[Dead Code Review] The variable 'Level' is not used
Banned
[Dead Code Review] The variable 'Banned' is not used
f
[Dead Code Review] The variable 'f' is not used
BanningUser
[Dead Code Review] The variable 'BanningUser' is not used
pStats
[Dead Code Review] The variable 'pStats' is not used
Public Sub Event_UserLeaves(ByVal Username As String, ByVal Flags As Long)
UserObj
[Dead Code Review] The variable 'UserObj' is not used
i
[Dead Code Review] The variable 'i' is not used
ii
[Dead Code Review] The variable 'ii' is not used
Holder
[Dead Code Review] The variable 'Holder' is not used
bln
[Dead Code Review] The variable 'bln' is not used
Public Sub Event_UserTalk(ByVal Username As String, ByVal Flags As Long, ByVal Message As String, ByVal Ping As Long, Optional QueuedEventID As Integer = 0)
strSend
[Dead Code Review] The variable 'strSend' is not used
s
[Dead Code Review] The variable 's' is not used
U
[Dead Code Review] The variable 'U' is not used
strCompare
[Dead Code Review] The variable 'strCompare' is not used
i
[Dead Code Review] The variable 'i' is not used
ColIndex
[Dead Code Review] The variable 'ColIndex' is not used
B
[Dead Code Review] The variable 'B' is not used
BanningUser
[Dead Code Review] The variable 'BanningUser' is not used
blnCheck
[Dead Code Review] The variable 'blnCheck' is not used
Public Sub Event_WhisperToUser(ByVal Username As String, ByVal Flags As Long, ByVal Message As String, ByVal Ping As Long)
Flags
[Dead Code Review] The parameter 'Flags' is not used
Ping
[Dead Code Review] The parameter 'Ping' is not used
modOtherCode.bas
modOtherCode
Public Function Ban(ByVal Inpt As String, SpeakerAccess As Integer, Optional Kick As Integer) As String
i
[Dead Code Review] The variable 'i' is not used
Public Function GetCumulativeAccess(ByVal Username As String, Optional dbType As String = vbNullString) As udtGetAccessResponse
f
[Dead Code Review] The variable 'f' is not used
found
[Dead Code Review] The variable 'found' is not used
modified
[Dead Code Review] The variable 'modified' is not used
creation
[Dead Code Review] The variable 'creation' is not used
Access
[Dead Code Review] The variable 'Access' is not used
Public Function CheckGroup(ByVal Group As String, ByVal Check As String) As Boolean
j
[Dead Code Review] The variable 'j' is not used
Public Function GetSmallIcon(ByVal sProduct As String, ByVal Flags As Long, IconCode As Integer) As Long
sProduct
[Dead Code Review] The parameter 'sProduct' is not used
Public Function GetProfilePath(Optional ByVal ProfileIndex As Integer) As String
ProfileIndex
[Dead Code Review] The parameter 'ProfileIndex' is not used
s
[Dead Code Review] The variable 's' is not used
Public Function AllowedToTalk(ByVal sUser As String, ByVal Msg As String) As Boolean
i
[Dead Code Review] The variable 'i' is not used
Public Sub UpdateSafelistedStatus(ByVal sUser As String, ByVal bStatus As Boolean)
sUser
[Dead Code Review] The parameter 'sUser' is not used
bStatus
[Dead Code Review] The parameter 'bStatus' is not used
Public Sub UnbanBanlistUser(ByVal sUser As String, ByVal cOperator As String)
cOperator
[Dead Code Review] The parameter 'cOperator' is not used
Public Sub LogCommand(ByVal Caller As String, ByVal CString As String)
sPath
[Dead Code Review] The variable 'sPath' is not used
Action
[Dead Code Review] The variable 'Action' is not used
f
[Dead Code Review] The variable 'f' is not used
Public Function SplitByLen(ByVal StringSplit As String, ByVal SplitLength As Long, ByRef StringRet() As String, Optional ByVal LinePrefix As String = vbNullString, Optional ByVal LinePostfix As String, Optional ByVal OversizeDelimiter As String = " ") As Long
bln
[Dead Code Review] The variable 'bln' is not used
Public Sub DisplayRichText(ByRef rtb As RichTextBox, ByRef saElements() As Variant)
Diff
[Dead Code Review] The variable 'Diff' is not used
intRange
[Dead Code Review] The variable 'intRange' is not used
arrCount
[Dead Code Review] The variable 'arrCount' is not used
modParsing.bas
modParsing
Public Sub BNCSParsePacket(ByVal PacketData As String)
s
[Dead Code Review] The variable 's' is not used
L
[Dead Code Review] The variable 'L' is not used
s2
[Dead Code Review] The variable 's2' is not used
s3
[Dead Code Review] The variable 's3' is not used
ClanTag
[Dead Code Review] The variable 'ClanTag' is not used
Product
[Dead Code Review] The variable 'Product' is not used
w3icon
[Dead Code Review] The variable 'w3icon' is not used
B
[Dead Code Review] The variable 'B' is not used
sArr
[Dead Code Review] The variable 'sArr' is not used
veto
[Dead Code Review] The variable 'veto' is not used
Public Sub SetProfileEx(ByVal Location As String, ByVal description As String)
MAX_SEX
[Dead Code Review] The constant 'MAX_SEX' is not used
Public Sub ProfileParse(Data As String)
x
[Dead Code Review] The variable 'x' is not used
modProxySupport.bas
modProxySupport
Public Sub LogonToProxy(ByRef ds As Winsock, ByVal sServerIP As String, ByVal lPort As Long, ByVal Socks5 As Boolean)
HostInfo
[Dead Code Review] The variable 'HostInfo' is not used
ptrIP
[Dead Code Review] The variable 'ptrIP' is not used
modScripting.bas
modScripting
m_srootmenu
[Dead Code Review] The field 'm_srootmenu' is not used
VetoNextPacket
[Dead Code Review] The field 'VetoNextPacket' is not used
Public Sub LoadScripts()
fileExt
[Dead Code Review] The variable 'fileExt' is not used
j
[Dead Code Review] The variable 'j' is not used
tmp
[Dead Code Review] The variable 'tmp' is not used
Private Function FileToModule(ByRef ScriptModule As Module, ByVal filePath As String, Optional ByVal defaults As Boolean = True) As Boolean
blnScriptData
[Dead Code Review] The variable 'blnScriptData' is not used
strInclude
[Dead Code Review] The variable 'strInclude' is not used
Public Sub InitScript(ByVal SCModule As Module)
i
[Dead Code Review] The variable 'i' is not used
Public Function RunInAll(ParamArray Parameters() As Variant) As Boolean
Proc
[Dead Code Review] The variable 'Proc' is not used
Public Function RunInSingle(ByRef obj As Module, ParamArray Parameters() As Variant) As Boolean
Proc
[Dead Code Review] The variable 'Proc' is not used
Public Function GetScriptObjByMenuID(ByVal MenuID As Long) As scObj
j
[Dead Code Review] The variable 'j' is not used
Public Function Scripts() As Object
SCModule
[Dead Code Review] The variable 'SCModule' is not used
modSHA1.bas
modSHA1
Private Function U32ShiftRight29(ByVal a As Long) As Long
[Dead Code Review] The method 'U32ShiftRight29' is not used
modTimerProcs.bas
modTimerProcs
Public Sub Reconnect_TimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTimer As Long)
hWnd
[Dead Code Review] The parameter 'hWnd' is not used
uMsg
[Dead Code Review] The parameter 'uMsg' is not used
idEvent
[Dead Code Review] The parameter 'idEvent' is not used
dwTimer
[Dead Code Review] The parameter 'dwTimer' is not used
Public Sub ExtendedReconnect_TimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTimer As Long)
hWnd
[Dead Code Review] The parameter 'hWnd' is not used
uMsg
[Dead Code Review] The parameter 'uMsg' is not used
idEvent
[Dead Code Review] The parameter 'idEvent' is not used
dwTimer
[Dead Code Review] The parameter 'dwTimer' is not used
Public Sub ScriptReload_TimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTimer As Long)
uMsg
[Dead Code Review] The parameter 'uMsg' is not used
dwTimer
[Dead Code Review] The parameter 'dwTimer' is not used
Public Function ClanInviteTimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTimer As Long)
uMsg
[Dead Code Review] The parameter 'uMsg' is not used
idEvent
[Dead Code Review] The parameter 'idEvent' is not used
dwTimer
[Dead Code Review] The parameter 'dwTimer' is not used
Public Function ClanInviteTimerProc2(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTimer As Long)
uMsg
[Dead Code Review] The parameter 'uMsg' is not used
idEvent
[Dead Code Review] The parameter 'idEvent' is not used
dwTimer
[Dead Code Review] The parameter 'dwTimer' is not used
Public Sub QueueTimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTimer As Long)
hWnd
[Dead Code Review] The parameter 'hWnd' is not used
uMsg
[Dead Code Review] The parameter 'uMsg' is not used
idEvent
[Dead Code Review] The parameter 'idEvent' is not used
dwTimer
[Dead Code Review] The parameter 'dwTimer' is not used
modUnsignedConversions.bas
modUnsignedConversions
OFFSET_2
[Dead Code Review] The constant 'OFFSET_2' is not used
MAXINT_2
[Dead Code Review] The constant 'MAXINT_2' is not used
modUTF8.bas
modUTF8
Private Declare Function GetLastError Lib "Kernel32.dll" () As Long
[Dead Code Review] The method 'GetLastError' is not used
CP_ACP
[Dead Code Review] The constant 'CP_ACP' is not used
Public Function UTF8Decode(ByRef str As String, Optional LocaleID As Long = 1252) As String
LocaleID
[Dead Code Review] The parameter 'LocaleID' is not used
modWarden.bas
SHA1Versions
Sha1
[Dead Code Review] The enum item 'Sha1' is not used
BrokenSHA1
[Dead Code Review] The enum item 'BrokenSHA1' is not used
LockdownSHA1
[Dead Code Review] The enum item 'LockdownSHA1' is not used
WardenSHA1
[Dead Code Review] The enum item 'WardenSHA1' is not used
Max
[Dead Code Review] The enum item 'Max' is not used
modWarden
Private Declare Sub rc4_init Lib "Warden.dll" (ByVal Key As String, ByVal Base As String, ByVal length As Long)
[Dead Code Review] The method 'rc4_init' is not used
Private Declare Sub rc4_crypt Lib "Warden.dll" (ByVal Key As String, ByVal Data As String, ByVal length As Long)
[Dead Code Review] The method 'rc4_crypt' is not used
Private Declare Sub rc4_crypt_data Lib "Warden.dll" (ByVal Data As String, ByVal DataLength As Long, ByVal Base As String, ByVal BaseLength As Long)
[Dead Code Review] The method 'rc4_crypt_data' is not used
Private Declare Function sha1_reset Lib "Warden.dll" (ByRef Context As SHA1Context) As Long
[Dead Code Review] The method 'sha1_reset' is not used
Private Declare Function sha1_input Lib "Warden.dll" (ByRef Context As SHA1Context, ByVal Data As String, ByVal length As Long) As Long
[Dead Code Review] The method 'sha1_input' is not used
Private Declare Function sha1_digest Lib "Warden.dll" (ByRef Context As SHA1Context, ByVal digest As String) As Long
[Dead Code Review] The method 'sha1_digest' is not used
Private Declare Function sha1_checksum Lib "Warden.dll" (ByVal Data As String, ByVal length As Long, ByVal Version As Long) As Long
[Dead Code Review] The method 'sha1_checksum' is not used
Private Declare Function md5_reset Lib "Warden.dll" (ByRef Context As MD5Context) As Long
[Dead Code Review] The method 'md5_reset' is not used
Private Declare Function md5_input Lib "Warden.dll" (ByRef Context As MD5Context, ByVal Data As String, ByVal length As Long) As Long
[Dead Code Review] The method 'md5_input' is not used
Private Declare Function md5_digest Lib "Warden.dll" (ByRef Context As MD5Context, ByVal digest As String) As Long
[Dead Code Review] The method 'md5_digest' is not used
Private Declare Function md5_verify_data Lib "Warden.dll" (ByVal Data As String, ByVal length As Long, ByVal CorrectMD5 As String) As Boolean
[Dead Code Review] The method 'md5_verify_data' is not used
Private Declare Sub mediv_random_init Lib "Warden.dll" (ByRef Context As MedivRandomContext, ByVal Seed As String, ByVal length As Long)
[Dead Code Review] The method 'mediv_random_init' is not used
Private Declare Sub mediv_random_get_bytes Lib "Warden.dll" (ByRef Context As MedivRandomContext, ByVal Buffer As String, ByVal length As Long)
[Dead Code Review] The method 'mediv_random_get_bytes' is not used
WARDEN_UNKNOWN_PROTOCOL
[Dead Code Review] The constant 'WARDEN_UNKNOWN_PROTOCOL' is not used
WARDEN_LOAD_FILE_FAILURE
[Dead Code Review] The constant 'WARDEN_LOAD_FILE_FAILURE' is not used
CREV_TOFEW_RVAS
[Dead Code Review] The constant 'CREV_TOFEW_RVAS' is not used
CREV_UNKNOWN_RELOC_TYPE
[Dead Code Review] The constant 'CREV_UNKNOWN_RELOC_TYPE' is not used
CREV_OUT_OF_MEMORY
[Dead Code Review] The constant 'CREV_OUT_OF_MEMORY' is not used
CREV_CORRUPT_IMPORT_DATA
[Dead Code Review] The constant 'CREV_CORRUPT_IMPORT_DATA' is not used
Public Function Warden_CheckRevision(sArchiveName As String, sArchiveFileTime As String, sSeed As String, sHeader As String, ByRef lVersion As Long, ByRef lChecksum As Long, ByRef sResult As String) As Boolean
sError
[Dead Code Review] The variable 'sError' is not used
modWindow.bas
modWindow
CFE_LINK
[Dead Code Review] The constant 'CFE_LINK' is not used
SW_SHOW
[Dead Code Review] The constant 'SW_SHOW' is not used
WM_NCDESTROY
[Dead Code Review] The constant 'WM_NCDESTROY' is not used
hWndRTB
[Dead Code Review] The field 'hWndRTB' is not used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment