Elite PvP BR
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.


 
 
InícioElite PvP BRProcurarÚltimas imagensRegistarEntrar
Curta Nossa Pagina no Facebook.


Siga o Elite PVP BR no Twitter


Faça uma doação e Ajude o Elite PVP BR se Manter
[Release]C#Como Fixar o Chicote Pixel



 

 [Release]C#Como Fixar o Chicote

Ir para baixo 
2 participantes
AutorMensagem
matheus14
VIP
VIP
matheus14


Mensagens : 53
Idade : 27
Data de inscrição : 07/01/2011
Localização : Cubatão

Personagem
Level:
Nome:
Jogo:

[Release]C#Como Fixar o Chicote Empty
MensagemAssunto: [Release]C#Como Fixar o Chicote   [Release]C#Como Fixar o Chicote I_icon_minitimeSeg 21 Nov 2011 - 1:16

<font color="red">FIXANDO O CHICOTE</font></strong></span>
</div>

<strong>1º</strong> <font color="blue">Abra sua source no Visual Studio (somente com ele derá certo)</font>

<strong>2º</strong> <font color="blue">Procure o esse projeto:</font>
<blockquote><div>
<strong><font color="green">
Código:
#region Riding
</font></strong>
</div></blockquote>

<strong>3º</strong> <font color="blue">Substitua - o pelo código abaixo:</font>

<blockquote><div>
<font color="green">
Código:
#region Riding
                                case 7001:
                                    {
                                        if (!attacker.Owner.Equipment.Free(12))
                                        {
                                            SpellUse suse = new SpellUse(true);
                                            suse.Attacker = attacker.UID;
                                            suse.SpellID = spell.ID;
                                            suse.SpellLevel = spell.Level;
                                            suse.X = X;
                                            suse.Y = Y;

                                            if (attacker.ContainsFlag(Update.Flags.Ride))
                                            {
                                               
                                                attacker.RemoveFlag(Update.Flags.Ride);
                                                   
                                            }
                                            else
                                            {
                                                if (attacker.Owner.Map.ID == 1039 && attacker.Owner.Equipment.TryGetItem((byte)12).Plus < 6)
                                                    break;
                                                if (attacker.Stamina >= 100 && (attacker.Owner.QualifierGroup == null || attacker.Owner.QualifierGroup != null && !attacker.Owner.QualifierGroup.Inside))
                                                {
                                                    attacker.AddFlag(Update.Flags.Ride);
                                                    attacker.Stamina -= 100;
                                                    Network.GamePackets.Vigor vigor = new Network.GamePackets.Vigor(true);
                                                    vigor.Amount = attacker.Owner.Vigor;
                                                    vigor.Send(attacker.Owner);
                                                }
                                            }
                                            suse.Targets.Add(attacker.UID, 0);
                                            attacker.Owner.Screen.SendScreen(suse, true);
                                        }
                                        break;
 }
</font>
</div></blockquote>

<strong>4º </strong> <font color="blue">Em seguida procure o seguinte projeto:</font>
<blockquote><div>
<strong><font color="green">
Código:
if (attacker.ContainsFlag(Update.Flags.Ride))
</font></strong>
</div></blockquote>

<strong>5º</strong> <font color="blue">Substitua-o pelo código abaixo:</font>

<blockquote><div>
<font color="green">
Código:
 if (attacker.ContainsFlag(Update.Flags.Ride))
                    {
                       
                           
                        if (attack.AttackType != Attack.Magic)
                            if (!attacker.Owner.Equipment.Free(18))
                            {
                            }
                            else
                                {
                            attacker.RemoveFlag(Update.Flags.Ride);
                                }
                        else
                            if (!attacker.Owner.Equipment.Free(18))
                            {
                            }
                            else
                              {
                            if (!(SpellID == 7003 || SpellID == 7002))
                                attacker.RemoveFlag(Update.Flags.Ride);
                              }
                    }
</font>
</div></blockquote>

<strong>6º</strong> <font color="blue">Em seguida procure o seguinte projeto:</font>

<blockquote><div>
<strong><font color="green">
Código:
#region Stamina
</font></strong>
</div></blockquote>

<strong>7º </strong><font color="blue">Substitua-o pelo código à baixo</font>

<blockquote><div>
<font color="green">
Código:
                  #region Stamina
                        if (Now > this.StaminaStamp.AddMilliseconds(500))
                        {
                            if (Owner.Vigor < Owner.MaxVigor)
                            {
                                Owner.Vigor += (ushort)(3 + (Owner.Entity.Action == Game.Enums.ConquerAction.Sit ? 2 : 0));

                                {
                                    Network.GamePackets.Vigor vigor = new Network.GamePackets.Vigor(true);
                                    vigor.Amount = Owner.Vigor;
                                    vigor.Send(Owner);
                                }
                            }
                            if (!this.ContainsFlag(Network.GamePackets.Update.Flags.Fly))
                            {
                                int limit = 0;
                                if (this.HeavenBlessing > 0)
                                    limit = 50;
                                if (this.Stamina != 100 + limit)
                                {
                                    if (this.Action == Game.Enums.ConquerAction.Sit)
                                    {
                                        if (this.Stamina <= 93 + limit)
                                        {
                                            this.Stamina += 7;
                                        }
                                        else
                                        {
                                            if (this.Stamina != 100 + limit)
                                                this.Stamina = (byte)(100 + limit);
                                        }
                                    }
                                    else
                                    {
                                        if (this.Stamina <= 97 + limit)
                                        {
                                            this.Stamina += 3;
                                        }
                                        else
                                        {
                                            if (this.Stamina != 100 + limit)
                                                this.Stamina = (byte)(100 + limit);
                                        }
                                    }
                                }
                                this.StaminaStamp = Now;
                            }
                        }
                        #endregion
</font>
</div></blockquote>

<strong>8º </strong> <font color="blue">Depois de ter feito isso presione F5 para salvar as alterações</font>
<strong>
Créditos:</strong><font color="blue"> Jeuriz</font>

<font color="red"><strong>Se eu ajudei agradeça nao cai o dedo</font>
Ir para o topo Ir para baixo
God
Conquer Moderador
Conquer Moderador



Mensagens : 287
Idade : 28
Data de inscrição : 03/08/2010

Personagem
Level: 107
Nome: SóPossoDizerqueéNoTigre :D
Jogo: Conquest

[Release]C#Como Fixar o Chicote Empty
MensagemAssunto: Re: [Release]C#Como Fixar o Chicote   [Release]C#Como Fixar o Chicote I_icon_minitimeSeg 21 Nov 2011 - 14:11

Dei thanks porque mereçeu mais ai amigo, não pode esqueçer de postar os créditos em.

Se voce posto eu não vi (:
Ir para o topo Ir para baixo
matheus14
VIP
VIP
matheus14


Mensagens : 53
Idade : 27
Data de inscrição : 07/01/2011
Localização : Cubatão

Personagem
Level:
Nome:
Jogo:

[Release]C#Como Fixar o Chicote Empty
MensagemAssunto: Re: [Release]C#Como Fixar o Chicote   [Release]C#Como Fixar o Chicote I_icon_minitimeSeg 21 Nov 2011 - 17:31

vlw por agradecer tem muita gente q olha baixa e sai
eu postei os creditos)
Ir para o topo Ir para baixo
Conteúdo patrocinado





[Release]C#Como Fixar o Chicote Empty
MensagemAssunto: Re: [Release]C#Como Fixar o Chicote   [Release]C#Como Fixar o Chicote I_icon_minitime

Ir para o topo Ir para baixo
 
[Release]C#Como Fixar o Chicote
Ir para o topo 
Página 1 de 1

Permissões neste sub-fórumNão podes responder a tópicos
 Elite PvP BR :: Conquer / Conquest Online :: Conquer / Conquest C#-
Ir para: