GS-Zone

Codigo mal colocado Ir al Indice

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

11

Nota » 19 Nov 2011 16:16

Compilo y me señala una linea y me dice que los END SUB, END PROPERTIES Y END FUNCTION solo aparecen despues de un comentario.
Imagen

Uploaded with ImageShack.us

Que tengo que hacer

201.212.4.181:27015


Imagen
dame un kiz ♪♫
669
Oraculo [5]
Registrado: Años de membresía
Ubicación: Rearmando Seventh AO ~
Mensajes: 2279
Aportes: 26
Premios: 2
El más divertido (1) Embajador (1)

Nota » 19 Nov 2011 16:48

Borraste la parte del sub me parece.

Mostra el codigo donde da el error. El sub completo.
Aguante River Plate ! ! !
902
Moderador
Registrado: Años de membresíaAños de membresíaAños de membresía
Ubicación: Villa adelina, Vicente Lopez.
Mensajes: 14427
Aportes: 305
Premios: 10
Señor Moderador (3) Señor Reglamento (1) Aportes (2) Embajador (3) Detector de Bugs (1)

Nota » 19 Nov 2011 16:51

  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2. Public Sub WriteLookProcess(ByVal data As String)
  3.  
  4. '***************************************************
  5. 'Author: Franco Emmanuel Giménez (Franeg95)
  6. 'Last Modification: 18/10/10
  7. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  8. '***************************************************
  9.     With outgoingData
  10.         Call .WriteByte(ClientPacketID.Lookprocess)
  11.         Call .WriteASCIIString(data)
  12.     End With
  13. End Sub


Despues me señala Public Sub WriteCouncilKick(ByVal UserName As String) y me tira Expecten end sub.

Pd: gracias por el cod (?

201.212.4.181:27015


Imagen
dame un kiz ♪♫
669
Oraculo [5]
Registrado: Años de membresía
Ubicación: Rearmando Seventh AO ~
Mensajes: 2279
Aportes: 26
Premios: 2
El más divertido (1) Embajador (1)

Nota » 19 Nov 2011 18:31

Borra esta linea:
  1. Public Sub WriteCouncilKick(ByVal UserName As String)]


Te tiene que quedar asi:
  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2. Public Sub WriteLookProcess(ByVal data As String)
  3.  
  4. '***************************************************
  5. 'Author: Franco Emmanuel Giménez (Franeg95)
  6. 'Last Modification: 18/10/10
  7. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  8. '***************************************************
  9.     With outgoingData
  10.         Call .WriteByte(ClientPacketID.Lookprocess)
  11.         Call .WriteASCIIString(data)
  12.     End With
  13. End Sub

InnovationAO - Director
[ Creando InnovationAO ]
56
Newbie [4]
Registrado: Años de membresíaAños de membresía
Ubicación: En una PC xD
Mensajes: 100
Aportes: 2

Nota » 19 Nov 2011 18:35

Pero si borro esa linea se me van comandos como el /kickconse

201.212.4.181:27015


Imagen
dame un kiz ♪♫
669
Oraculo [5]
Registrado: Años de membresía
Ubicación: Rearmando Seventh AO ~
Mensajes: 2279
Aportes: 26
Premios: 2
El más divertido (1) Embajador (1)

Nota » 04 Dic 2011 17:15

Es que enrealidad o eliminaste la rutina y solo te quedo la declaracion o pegaste algo arriba que lo borro.
Aguante River Plate ! ! !
902
Moderador
Registrado: Años de membresíaAños de membresíaAños de membresía
Ubicación: Villa adelina, Vicente Lopez.
Mensajes: 14427
Aportes: 305
Premios: 10
Señor Moderador (3) Señor Reglamento (1) Aportes (2) Embajador (3) Detector de Bugs (1)

Nota » 04 Dic 2011 17:19

Cambia
  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2. Public Sub WriteLookProcess(ByVal data As String)
  3.  
  4. '***************************************************
  5. 'Author: Franco Emmanuel Giménez (Franeg95)
  6. 'Last Modification: 18/10/10
  7. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  8. '***************************************************
  9.     With outgoingData
  10.         Call .WriteByte(ClientPacketID.Lookprocess)
  11.         Call .WriteASCIIString(data)
  12.     End With
  13. End Sub


Por esto
  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2. End Sub
  3. Public Sub WriteLookProcess(ByVal data As String)
  4.  
  5. '***************************************************
  6. 'Author: Franco Emmanuel Giménez (Franeg95)
  7. 'Last Modification: 18/10/10
  8. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  9. '***************************************************
  10.     With outgoingData
  11.         Call .WriteByte(ClientPacketID.Lookprocess)
  12.         Call .WriteASCIIString(data)
  13.     End With
  14. End Sub

Imagen

Imagen

TE AMO SKYFUN SOS MI FANNNNNNNNNNNNNNNNNNNNN
HAO Staff
409
Dragon Ancestral [2]
Registrado: Años de membresía
Ubicación: Buenos Aires
Mensajes: 2745
Aportes: 28
Premios: 1
Embajador (1)

Nota » 04 Dic 2011 17:21

Franeg95 escribió:Es que enrealidad o eliminaste la rutina y solo te quedo la declaracion o pegaste algo arriba que lo borro.


yo diria que siempre hay que tener un back up de lso codigos por errores de este estilo igual por que tienes esto haci

Public Sub WriteCouncilKick(ByVal UserName As String)
Public Sub WriteLookProcess(ByVal data As String)
hay quedaria un sub sin cerrar va ami parece ya que no entiendo bien el binario ni idea por hay me equiboco


Simp es al pedo el lo que hizo fue remplazar mas de lo que tenia que remplazar si no fijate por que no tiene codeado el Public Sub WriteCouncilKick(ByVal UserName As String)
Última edición por miqueas150 el 04 Dic 2011 17:22, editado 1 vez en total

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

Nota » 05 Dic 2011 11:25

NazduM escribió:
  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2. Public Sub WriteLookProcess(ByVal data As String)
  3.  
  4. '***************************************************
  5. 'Author: Franco Emmanuel Giménez (Franeg95)
  6. 'Last Modification: 18/10/10
  7. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  8. '***************************************************
  9.     With outgoingData
  10.         Call .WriteByte(ClientPacketID.Lookprocess)
  11.         Call .WriteASCIIString(data)
  12.     End With
  13. End Sub


Despues me señala Public Sub WriteCouncilKick(ByVal UserName As String) y me tira Expecten end sub.

Pd: gracias por el cod (?


remplaza eso por esto

  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2.  
  3. with outgoingdata
  4. call .writebyte(clientpacketid.councilkick)
  5. call .writeasciistring(username)
  6. end with
  7.  
  8. end sub
  9.  
  10. Public Sub WriteLookProcess(ByVal data As String)
  11.  
  12. '***************************************************
  13. 'Author: Franco Emmanuel Giménez (Franeg95)
  14. 'Last Modification: 18/10/10
  15. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  16. '***************************************************
  17.     With outgoingData
  18.         Call .WriteByte(ClientPacketID.Lookprocess)
  19.         Call .WriteASCIIString(data)
  20.     End With
  21. End Sub


salu2

LyRan escribió:Buenos Dias amigos y programadores de Gs Zone, Me gustaria pedirle la amabilidad de una ayuda con un cliente editado para mi Ao casero, Osea me explico, yo juego Ao con varios amigos y ellos todos usan cheat y no me gusta eso me gustaria que alguien me ayudara a crear un cliente editado con auto poteo de ambas potas a la ves ya sea que se alla gastado Mana lanzando algun hechis y comienze a potear solo hasta estar completamente el Mana, igual para la salud y poteo rapido para ambos.
mAnco programEr
794
Oraculo [5]
Registrado: Años de membresíaAños de membresía
Ubicación: Bolivia
Mensajes: 2289
Aportes: 109

Nota » 05 Dic 2011 15:25

maTih.- escribió:
NazduM escribió:
  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2. Public Sub WriteLookProcess(ByVal data As String)
  3.  
  4. '***************************************************
  5. 'Author: Franco Emmanuel Giménez (Franeg95)
  6. 'Last Modification: 18/10/10
  7. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  8. '***************************************************
  9.     With outgoingData
  10.         Call .WriteByte(ClientPacketID.Lookprocess)
  11.         Call .WriteASCIIString(data)
  12.     End With
  13. End Sub


Despues me señala Public Sub WriteCouncilKick(ByVal UserName As String) y me tira Expecten end sub.

Pd: gracias por el cod (?


remplaza eso por esto

  1. Public Sub WriteCouncilKick(ByVal UserName As String)
  2.  
  3. with outgoingdata
  4. call .writebyte(clientpacketid.councilkick)
  5. call .writeasciistring(username)
  6. end with
  7.  
  8. end sub
  9.  
  10. Public Sub WriteLookProcess(ByVal data As String)
  11.  
  12. '***************************************************
  13. 'Author: Franco Emmanuel Giménez (Franeg95)
  14. 'Last Modification: 18/10/10
  15. 'Writes the "Lookprocess" message and write the nickname of another user to the outgoing data buffer
  16. '***************************************************
  17.     With outgoingData
  18.         Call .WriteByte(ClientPacketID.Lookprocess)
  19.         Call .WriteASCIIString(data)
  20.     End With
  21. End Sub


salu2


Hasta que alguien le posteo lo que tenia que hacer jaja bien hay mati

off : después te tengo que preguntar algo sobre la 13.0

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

Nota » 05 Dic 2011 15:26

Me parece que así como lo puso maTih.- tendría que funcionar, probalo y avisanos si te andubo.

Slds.

Imagen

Imagen

TE AMO SKYFUN SOS MI FANNNNNNNNNNNNNNNNNNNNN
HAO Staff
409
Dragon Ancestral [2]
Registrado: Años de membresía
Ubicación: Buenos Aires
Mensajes: 2745
Aportes: 28
Premios: 1
Embajador (1)


Volver a AO 0.12.x

¿Quién está conectado?

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