Skip to content

Commit 0c7a9ca

Browse files
committed
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 1cd71be commit 0c7a9ca

2 files changed

Lines changed: 13 additions & 17 deletions

File tree

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: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6530,20 +6530,6 @@ Sub Connect()
65306530

65316531
AddChat g_Color.InformationText, "Connecting your bot..."
65326532

6533-
If BotVars.BNLS Then
6534-
If Len(BotVars.BNLSServer) = 0 Then
6535-
If BotVars.UseAltBnls Then
6536-
Call FindBNLSServer
6537-
6538-
Exit Sub
6539-
End If
6540-
End If
6541-
6542-
Call ConnectBNLS
6543-
Else
6544-
Call Event_BNetConnecting
6545-
End If
6546-
65476533
With sckBNet
65486534
If .State <> sckClosed Then
65496535
AddChat g_Color.ErrorMessageText, "Already connected."
@@ -6557,8 +6543,18 @@ Sub Connect()
65576543
.RemoteHost = Config.Server
65586544
.RemotePort = 6112
65596545
End If
6560-
6561-
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
65626558

65636559
End With
65646560

0 commit comments

Comments
 (0)