Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Bug Fix-3.79] Download Maps
#1
Thanks to Genusis for finding this.

If you delete all the maps client side, you would not download the map.

In: HandleCheckForMap
Replace
Code:
If FileExist(MAP_PATH & "map" & X & MAP_EXT, False) Then
         Call LoadMap(X)
    
         ' Check to see if the revisions match
         NeedMap = 1
         If Map.Revision = Y Then
             ' We do so we dont need the map
             'Call SendData(CNeedMap & SEP_CHAR & "n" & END_CHAR)
             NeedMap = 0
         End If
     End If

With
Code:
NeedMap = 1
     If FileExist(MAP_PATH & "map" & X & MAP_EXT, False) Then
         Call LoadMap(X)
    
         ' Check to see if the revisions match
         If Map.Revision = Y Then
             ' We do so we dont need the map
             'Call SendData(CNeedMap & SEP_CHAR & "n" & END_CHAR)
             NeedMap = 0
         End If
     End If

I will update the download shortly.
Reply
#2
Ok thanks..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)