Audioslave

Members
  • Content count

    1,087
  • Joined

  • Last visited

Posts posted by Audioslave


  1. Maturity test for GM applicants 4 da win ^^

     

    You're playing with the wrong guy u know. Take a little vacation, i told u before, u started to piss me off.

    own3d

     

    This kind of posts doesn't help to stop spam and fights.

     

    Vacations for you too, you have 100% warning, you were banned a lot of times and you don't learn.


  2. Legion sever is sux..but haven't delay and this is a very important to time to play

     

     

    i like nemesis but is hard play with 200 ping..is impossible..in war i hit the air all time if the mage aren't casting,impossible to hit a paralise and in the fights get lag dc and sometime die.

     

    in mage get lag dc and die yes or yes in a fight

     

    you say it's hard with 200 ping and it's impossible? Dude, we (every players from Asia) play with an average of 350ping, and above.

    congrat!!!but i am talking about most ppl prefer play legion without delay than nemesis with delay,for me is impossible(insupportable) play with that delay

     

    Sorry but I have to say it: Get used.


  3. Ojo, una estructura es muy distinto de una funci?n.

     

    Las sentencias condicionales (tales como if, else, fo, while, for) van siempre dentro de una funci?n.

     

    Mir? tu codigo y comparalo con el mio.

     

    En el mio yo compile y funciona todo perfecto ya.

     

    #include <iostream>
    
    using namespace std;
    
    class Fecha
    {
    public:
        int iDia, iMes, iAnio;
        Fecha (int iD=0,int iM=0, int iA=0)
        {
            setDia(iD);
            setMes(iM);
            setAnio(iA);
        }
        void setDia(int d){iDia =d;}
        void setMes(int m){iMes =m;}
        void setAnio(int a){iAnio =a;}
                
        int getDia(){return iDia;}
        int getMes(){return iMes;}
        int getAnio(){return iAnio;}
        
        void mostrarFecha();
    };
    
    void Fecha::mostrarFecha()
    {
        cout<<getDia()<<"/"<<getMes()<<"/"<<getAnio()<<endl;
    }
    
    //--------------------CLASE SOCIO-------------------------------------------                      
    class Socio : public Fecha
    {
        string sNombre, sDNI;
        Fecha *fAsociacion;
        int iSocio;
        static int iCantidad;
        
    public:
        Socio(string sNombre, string sDNI, int iSocio) 
        {
            setNombre(sNombre);
            setDNI(sDNI);
            setSocio(iSocio);
        }
        void setNombre(string n){sNombre = n;}
        void setDNI(string dni){sDNI = dni;}
        void setSocio(int s){iSocio = s;}
                              
        string getNombre(){return sNombre;}
        string getDNI(){return sDNI;}
        int getSocio(){return iSocio;}
    
        Socio(string,string,int,int,int);                          
        virtual void mostrar() = 0;
    };
    
    int Socio :: iCantidad = 1000;
    
    Socio :: Socio(string nom,string dni,int da,int md,int ad)
    {
          iSocio = iCantidad;
          iCantidad = iCantidad+2;
          sNombre = nom;
          sDNI = dni;
          fAsociacion = new Fecha(da,md,ad);
    }
    
    void Socio :: mostrar()
    {
         cout << "\nNombre:" << getNombre() << endl;
         cout<<"\nDni:"<<getDNI()<<endl;
         cout<<"\n Nro. de Socio:"<<getSocio()<<endl;
         cout<<"\nfecha de asociacion:";
         fAsociacion->mostrarFecha();
    }
    //------------------------CADETE ----------------------------------------
    class Cadete : public Socio
    {
        int iCuota;
        static int iValor;
        
    public:
        Cadete(string sNombre, string sdni, int da, int md, int ad,int iCuota) : Socio(sNombre,sdni, da,md,ad)
        {
            setCuota(iCuota);
        }
        void setCuota(int c){iCuota = c;}
        int getCuota(){return iCuota;}
        
        void mostrar();
    };
    int Cadete::iValor = 5;
    
    
    
    void Cadete :: mostrar(){
    if(Cadete::getAnio() <= 1999){
    iCuota = iValor-3;
    }
    else{
    iCuota = iValor;
    }
    
         cout<<"----------------SOCIO CADETE-----------------"<<endl;
         Socio :: mostrar();
         cout<<endl<<"\nValor de Cuota: $"<<getCuota();
         };
    //-----------------------ACTIVO------------------------------------------
    class Activo : public Socio {
          int iPago;
          static int iaCuota;
          
          public:
                 Activo(string sNombre, string sdni, int da,int md, int ad, int iPago) : Socio(sNombre,sdni,da,md,ad){
                               setPago(iPago);
                               }
                               void setPago(int p){iPago = p;}
                               int getPago(){return iPago;}
                              
                               void mostrar();
                               };
                              
    int Activo :: iaCuota = 10;                  
                            
    void Activo :: mostrar(){
        if(Activo::getAnio() <= 1999)
                                        {
                                            iPago = iaCuota - 3;
                                        }
                                        else
                                        {
                                            iPago = iaCuota;  
                                        };  
    
         cout<<"----------------SOCIO ACTIVO-----------------"<<endl;
         Socio :: mostrar();
         cout<<endl<<"\nValor de Cuota: $"<<getPago();
    }
    

     

    Fijate que los IF los puse adentro de la funci?n mostrar.


  4. Bueno son varios los errores, vayamos por parte:

     

    En primer lugar: vos ten?s una clase Cadete que hereda de Socio, hasta ah? vamos perfecto.

    Luego vos haces

    if (Cadete.getAnio() => 1999)
    

     

    Ese if tiene 4 errores.

     

    1- Para acceder a una funci?n miembro de una clase no se usa el operador "." sino "::".

    2- getAnio es una funci?n miembro de la clase Fecha. Vos hiciste herencia de Socio, pero Socio NO HEREDA DE FECHA por lo tanto NUNCA vas a poder acceder a esa funci?n al menos que lo hagas heredar.

     

    La clase Socio te quedar?a as?:

     

    class Socio : public Fecha
    

     

    3- Est?s haciendo p?sima la comparaci?n. El operador Mayor o igual es: >= . El operador MENOR O IGUAL es: <=. Lo pusiste al revez vos, entonces el if te quedar?a as?:

     

    if (Cadete::getAnio() >= 1999)
    

     

    4- Qu? hace un if / else FUERA de una funci?n? Esas comprobaci?nes se hacen siempre adentro de una funci?n. Digamos que el if est? en cualquier lado menos donde deber?a estar.

     

    En el pr?ximo if comet?s exactamente el mismo error:

     

    if(Activo.Anio()=<1999)
    

     

    1- En primer lugar el operador era :: como dijimos antes.

    2- Anio no existe, habr?s querido decir: getAnio()

    3- El operador est? mal, igual que el anterior.

    4- El if est? fuera de una funci?n, igual que el anterior.

     

    Un abrazo.


  5. Necesitamos Aresdens!

     

    che man si entramos a jugar nos regalarias algun set 14 o 21 ? caer asi de la nada y estan recontra armados :S

     

    No DamaBlanca, c?mo hacemos para explicarlo? No, no pudimos migrar la base de datos, nuestro trabajo va hasta ah?, si quieren jugar tienen que empezar de cero como la mayoria que son nuevos.

     

    Dejen de romper las pelotas preguntando siempre lo mismo.

     

    Saludos


  6. Thanks guys! I'm glad to be here, i'll do my best job.

     

    I'm not good speaking english but i have always my translator with me :P

     

    I was thinking a nice event to do on arg server but since it's not online anymore i'll do that event here.

     

    I'll make a post soon, so stay in tune guys.


  7. B?sicamente migrar las bases de datos es dolor de huevos porque es una base de datos muy sensible y a la primera que se mezcle un dato del arg con uno del int ya existente se convierte en un caos.

     

    Estamos ideando con calu un sistema para migrar la base de datos, si lo logramos hacer tendr?n noticias.

     

    Por momento, sabido esto, no pregunten ni jodan mas con la transferencia!

     

    Saludos