Skip to content

Commit 2a475a7

Browse files
Davnitnmbook
authored andcommitted
Fix BNET server host not being set when using BNLS server finder (default)
Merges: Update link to Scroll Wheel Fix to archive.org Because Microsoft hates keeping old documents available.
1 parent 187f22a commit 2a475a7

File tree

2 files changed

+15
-21
lines changed

2 files changed

+15
-21
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ You'll need Microsoft Visual Basic 6.0.
1919

2020
##### Visual Basic 6 Scroll Wheel Fix
2121
The Visual Basic 6 IDE does not have built-in support for scrolling by using the mouse wheel.
22-
To fix this, you need to download and follow instructions from [this KB article](https://support.microsoft.com/en-us/kb/837910).
22+
To fix this, you need to download and follow instructions from [this KB article](https://web.archive.org/web/20150312195640/https://support.microsoft.com/en-us/kb/837910).
2323

2424
If you are on 64-bit Windows, you will need to use the 32-bit version of regsvr32, located in `%systemroot%\SysWoW64\` (see [this KB article](https://support.microsoft.com/en-us/kb/249873)).

trunk/frmChat.frm

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Begin VB.Form frmChat
99
BackColor = &H00000000&
1010
Caption = ":: StealthBot &version :: Disconnected ::"
1111
ClientHeight = 7965
12-
ClientLeft = 225
13-
ClientTop = 855
12+
ClientLeft = 165
13+
ClientTop = 735
1414
ClientWidth = 13080
1515
ForeColor = &H00000000&
1616
Icon = "frmChat.frx":0000
@@ -1121,7 +1121,6 @@ Begin VB.Form frmChat
11211121
_ExtentY = 2990
11221122
_Version = 393217
11231123
BackColor = 0
1124-
Enabled = -1 'True
11251124
ReadOnly = -1 'True
11261125
ScrollBars = 2
11271126
AutoVerbMenu = -1 'True
@@ -1147,7 +1146,6 @@ Begin VB.Form frmChat
11471146
_ExtentY = 11668
11481147
_Version = 393217
11491148
BackColor = 0
1150-
Enabled = -1 'True
11511149
ReadOnly = -1 'True
11521150
ScrollBars = 2
11531151
AutoVerbMenu = -1 'True
@@ -6532,20 +6530,6 @@ Sub Connect()
65326530

65336531
AddChat g_Color.InformationText, "Connecting your bot..."
65346532

6535-
If BotVars.BNLS Then
6536-
If Len(BotVars.BNLSServer) = 0 Then
6537-
If BotVars.UseAltBnls Then
6538-
Call FindBNLSServer
6539-
6540-
Exit Sub
6541-
End If
6542-
End If
6543-
6544-
Call ConnectBNLS
6545-
Else
6546-
Call Event_BNetConnecting
6547-
End If
6548-
65496533
With sckBNet
65506534
If .State <> sckClosed Then
65516535
AddChat g_Color.ErrorMessageText, "Already connected."
@@ -6559,8 +6543,18 @@ Sub Connect()
65596543
.RemoteHost = Config.Server
65606544
.RemotePort = 6112
65616545
End If
6562-
6563-
If Not BotVars.BNLS Then .Connect
6546+
6547+
If BotVars.BNLS Then
6548+
If Len(BotVars.BNLSServer) = 0 And BotVars.UseAltBnls Then
6549+
Call FindBNLSServer
6550+
Else
6551+
Call ConnectBNLS
6552+
End If
6553+
Else
6554+
Call Event_BNetConnecting
6555+
6556+
.Connect
6557+
End If
65646558

65656559
End With
65666560

0 commit comments

Comments
 (0)