GS-Zone

Autoupdate Inteligente Shedark Ir al Indice

Moderadores: Moderadores de Argentum, Especialistas de Argentum, Especialistas de Programación

5

Nota » 05 Dic 2011 14:50

Tengo problemas con el autoupdate de shedark ,

1: Pongo los links del /verexe.txt , Parche1.zip , y Link y me dice que me baja el parche pero no me lo baja por que no lo encuentro despues :S


Si alguien puede ayudarme , le agradesco

http://imageshack.us/photo/my-images/248/1problema.jpg/
Usuario Registrado
Newbie [1]
Registrado: Diciembre 2011
Mensajes: 3

Nota » 05 Dic 2011 15:26

en el /verexe.txt tenes que poner el numeros de parches osea 1 /2/3 bla bla
y configuraste todo bien el codigo del auto update ??

Imagen
Ninja en progreso
909
Dragon Ancestral [5]
Registrado: Años de membresía
Ubicación: • olivos •
Mensajes: 4086
Aportes: 13

Nota » 05 Dic 2011 16:48

Te muestro el código :

  1. Private Sub Analizar()
  2.     Dim i As Integer, iX As Integer, tX As Integer, DifX As Integer, dNum As String
  3.    
  4.     lEstado.Caption = "Obteniendo datos..."
  5.    
  6.     iX = Inet1.OpenURL("ftp://ftp.blazzerao.nixiweb.com/verexe.txt") 'Host
  7.     tX = LeerInt(App.Path & "\INIT\Update.ini")
  8.     DifX = iX - tX
  9.    
  10.     If Not (DifX = 0) Then
  11.         For i = 1 To DifX
  12.             Inet1.AccessType = icUseDefault
  13.             dNum = i + tX
  14.            
  15.             #If BuscarLinks Then 'Buscamos el link en el host (1)
  16.                 Inet1.URL = Inet1.OpenURL("ftp://ftp.blazzerao.nixiweb.com/Link" & dNum & ".txt") 'Host
  17.             #Else                'Generamos Link por defecto (0)
  18.                 Inet1.URL = "ftp://ftp.blazzerao.nixiweb.com/Parche" & dNum & ".zip" 'Host
  19.             #End If
  20.            
  21.             Directory = App.Path & "\INIT\Parche" & dNum & ".zip"
  22.             bDone = False
  23.             dError = False
  24.            
  25.             lURL.Caption = Inet1.URL
  26.             lName.Caption = "Parche" & dNum & ".zip"
  27.             lDirectorio.Caption = App.Path & "\"
  28.                
  29.             frmMain.Inet1.Execute , "GET"
  30.            
  31.             Do While bDone = False
  32.             DoEvents
  33.             Loop
  34.            
  35.             If dError Then Exit Sub
  36.            
  37.             Unzip Directory, App.Path & "\"
  38.             Kill Directory
  39.         Next i
  40.     End If
  41.      
  42.     Call GuardarInt(App.Path & "\INIT\Update.ini", iX)
  43.    
  44.     Command1.Enabled = True
  45.     lEstado.Caption = "Cliente actualizado correctamente."
  46. End Sub
Usuario Registrado
Newbie [1]
Registrado: Diciembre 2011
Mensajes: 3

Nota » 06 Dic 2011 19:22

pero no va ftp, tiene que ser un http normal

Imagen
Zaphir AO Staff - dylanalan
740
Dragon Ancestral [2]
Registrado: Años de membresíaAños de membresía
Ubicación: Pehuajó
Mensajes: 2765
Aportes: 27

Nota » 07 Dic 2011 16:09

Te recomiendo que uses la pagina ucoz para la cosas de parches y si queres un pagina aparte para todo lo que es publicidad y eso

Imagen
Ninja en progreso
909
Dragon Ancestral [5]
Registrado: Años de membresía
Ubicación: • olivos •
Mensajes: 4086
Aportes: 13


Volver a Otras versiones

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados