Register for your free account! | Forgot your password?

You last visited: Today at 21:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Transformations (5165)

Discussion on Transformations (5165) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 03/05/2010, 06:45   #46
 
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
Question

Quote:
Originally Posted by .Arco View Post

hm... what is that efg?
[GM] is offline  
Old 03/05/2010, 07:07   #47
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Quote:
Originally Posted by [GM] View Post
hm... what is that efg?
Quote:
Originally Posted by .Arco View Post
How did you do that?
lol
-NewDawn- is offline  
Old 03/05/2010, 08:25   #48
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
Please tell us how did you do it? please
salem rey is offline  
Old 03/05/2010, 08:57   #49
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
for it to be seen by other player try this:

1. goto Character.cs and find
Code:
public void AddBuff(Buff B)
2. change the entire method with this one
Code:
                     public void AddBuff(Buff B)
        {
            Buff ExBuff = BuffOf(B.Eff);
            if (ExBuff.Eff == B.Eff)
                Buffs.Remove(ExBuff);

              foreach (Game.Character CC in Game.World.H_Chars.Values)
              {
               if (CC.Loc.Map == MyClient.MyChar.Loc.Map && MyMath.InBox(MyClient.MyChar.Loc.X, MyClient.MyChar.Loc.Y, CC.Loc.X, CC.Loc.Y, 100))
               {
               if (B.Eff == SkillsClass.ExtraEffect.Transform)
               {
                switch (B.Transform)
                {
                    case 2000:
                    case 2001:
                    case 2002:
                    case 2003:
                    case 2010:
                    case 2011:
                    case 2012:
                    case 2013:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2141000000)); /// golem
                        break;
                    case 2005:
                    case 2006:
                    case 2007:
                    case 2008:
                    case 2009:
                    case 2040:
                    case 2041:
                    case 2042:
                    case 2043:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2131000000)); /// water elf
                        break;
                    case 2020:
                    case 2021:
                    case 2022:
                    case 2023:
                    case 2024:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2071000000)); /// divine hare
                        break;
                    case 2030:
                    case 2031:
                    case 2032:
                    case 2033:
                    case 2034:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2171000000)); /// night devil
                        break;
                    default:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
                    break;
                   }
                }
            }

            Buffs.Add(B);
            StatEff.Add(B.StEff);
        }
kamote is offline  
Thanks
2 Users
Old 03/05/2010, 09:04   #50
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Quote:
Originally Posted by kamote View Post
for it to be seen by other player try this code:

Code:
              foreach (Game.Character CC in Game.World.H_Chars.Values)
              {
               if (CC.Loc.Map == MyClient.MyChar.Loc.Map && MyMath.InBox(MyClient.MyChar.Loc.X, MyClient.MyChar.Loc.Y, CC.Loc.X, CC.Loc.Y, 100))
               {
               if (B.Eff == SkillsClass.ExtraEffect.Transform)
               {
                switch (B.Transform)
                {
                    case 2000:
                    case 2001:
                    case 2002:
                    case 2003:
                    case 2010:
                    case 2011:
                    case 2012:
                    case 2013:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2141000000)); /// golem
                        break;
                    case 2005:
                    case 2006:
                    case 2007:
                    case 2008:
                    case 2009:
                    case 2040:
                    case 2041:
                    case 2042:
                    case 2043:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2131000000)); /// water elf
                        break;
                    case 2020:
                    case 2021:
                    case 2022:
                    case 2023:
                    case 2024:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2071000000)); /// divine hare
                        break;
                    case 2030:
                    case 2031:
                    case 2032:
                    case 2033:
                    case 2034:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)2171000000)); /// night devil
                        break;
                    default:
                        CC.MyClient.AddSend(Packets.Status(MyClient.MyChar.EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
                    break;
                   }
                }
            }
=\ Nice try... but it doesn't quite work. If that did work, it would make the character looking at the Nightdevil caster ... a nightdevil. (if that makes sense).
-NewDawn- is offline  
Old 03/05/2010, 09:21   #51
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
Quote:
Originally Posted by -NewDawn- View Post
=\ Nice try... but it doesn't quite work. If that did work, it would make the character looking at the Nightdevil caster ... a nightdevil. (if that makes sense).
the code will only fix the client side problem... not the Mesh of the transformation. If you notice, the code was only an update of the original code of the OP of this thread...
kamote is offline  
Old 03/05/2010, 13:10   #52
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by [GM] View Post
hm... what is that efg?
Epic Fail Guy.
Arcо is offline  
Old 03/05/2010, 16:19   #53
 
elite*gold: 0
Join Date: Aug 2005
Posts: 96
Received Thanks: 25
efg could be = elitepvpers forum groupie
HardNotTo is offline  
Thanks
1 User
Old 03/05/2010, 21:30   #54
 
elite*gold: 0
Join Date: Mar 2010
Posts: 8
Received Thanks: 0
Can someone post the companions, cause it won't work without companions.
Jixe is offline  
Old 03/05/2010, 23:22   #55
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Jixe View Post
Can someone post the companions, cause it won't work without companions.
The companions were posted in another thread decker.
Arcо is offline  
Old 03/09/2010, 03:14   #56
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
@Arco: can you share your transformation code?
kamote is offline  
Old 03/09/2010, 03:45   #57
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by kamote View Post
@Arco: can you share your transformation code?
It was just foreach(Game.Character C in World.H_Chars.Values)
{
C.Myclientblahblahblah
}
Arcо is offline  
Old 03/09/2010, 03:56   #58
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
oh i see... just like mine... thanks anyway..
kamote is offline  
Old 03/11/2010, 04:14   #59
 
ktamer's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 99
Received Thanks: 35
Just wanna' say thx for this Release. As with most releases I'm glad it's never perfect. Direct code makes a leecher demand more. For me this code was a great stress reliever. I don't have as much patience as some for makin' these longer codes. Helps me to focus on the bigger things. Keep up the good work man.
ktamer is offline  
Old 03/31/2010, 02:27   #60
 
elite*gold: 0
Join Date: Mar 2010
Posts: 1
Received Thanks: 0
the same 12 error
in skills.cs the errors are underlined
in the under codes
Quote:
switch (Info.ExtraEff)
{
case ExtraEffect.BlessPray:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Pray;
C.AddBuff(B);
C.Prayer = true;
C.PrayDT = DateTime.Now;
C.GettingLuckyTime = true;
break;
}
case ExtraEffect.UnMount:
{
if (C.Equips.Steed.Plus < User.Equips.Steed.Plus)
{
C.StatEff.Remove(StatusEffectEn.Ride);
}
break;
}
case ExtraEffect.Scapegoat:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Normal;
C.AddBuff(B);
break;
}
case ExtraEffect.NoPots:
{
C.UnableToUseDrugsFor = Info.EffectLasts;
C.UnableToUseDrugs = DateTime.Now;
break;
}
case ExtraEffect.Ride:
{
if (!User.StatEff.Contains(StatusEffectEn.Ride))
User.StatEff.Add(StatusEffectEn.Ride);
else
User.StatEff.Remove(StatusEffectEn.Ride);
User.Vigor = User.MaxVigor;
break;
}
case ExtraEffect.Summon:
{
if (User.MyCompanion != null) User.MyCompanion.Dissappear();
User.MyCompanion = new Game.Companion(User, Info.Damage);
break;
}
case ExtraEffect.RemoveFly:
{
Buff B = C.BuffOf(ExtraEffect.Fly);
if (B.Eff == ExtraEffect.Fly && C.Potency < User.Potency)
C.RemoveBuff(B);
break;
}
case ExtraEffect.Transform:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Transform = Info.Damage;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Normal;
C.AddBuff(B);
break;
}
case ExtraEffect.Fly:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Fly;
C.AddBuff(B);
break;
}
case ExtraEffect.Revive:
{
C.Ghost = false;
C.BlueName = false;
C.CurHP = (ushort)C.MaxHP;
C.Alive = true;
C.StatEff.Clear();
C.PKPoints = C.PKPoints;
C.Body = C.Body;
C.Hair = C.Hair;
C.Equips.Send(C.MyClient, false);
World.Spawn(C, false);
break;
}
case ExtraEffect.FatalStrike:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.FatalStrike;
C.AddBuff(B);

break;
}
case ExtraEffect.ShurikenVortex:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.ShurikenVortex;
[uC.AddBuff(B);[/u]
C.VortexOn = true;
C.LastVortexAttk = DateTime.Now;
break;
}
case ExtraEffect.Stigma:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Stigma;
C.AddBuff(B);

break;
}
case ExtraEffect.MagicShield:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Shield;
C.AddBuff(B);

break;
}
case ExtraEffect.Invisibility:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Invisible;
C.AddBuff(B);

break;
}
case ExtraEffect.Accuracy:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Accuracy;
C.AddBuff(B);

break;
}
case ExtraEffect.Cyclone:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Cyclone;
C.AddBuff(B);

break;
}
case ExtraEffect.Superman:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.SuperMan;


C.AddBuff(B);

break;
silvery~blood is offline  
Reply


Similar Threads Similar Threads
Hi I need 5165 source act like Real Co 5165
09/15/2010 - CO2 Private Server - 4 Replies
I need a A source 5165 that all skills is available specially rb char like nin-nin-nin counterKill and nin-war-nin reflect and more, and also the attack rates should be fair not like +8 set can 1 hit +12 set, and also maybe the client, I need to study to make it in 5200+ source. I love to trade it with my cofarmer account VIP i have use it for 5 days only. PM or contact me in skype :marlyandedsel
5165 GUI.ini
06/30/2010 - CO2 Private Server - 3 Replies
i was just wondering if anyone can decrypt the titles in it. I'm really no good at decryption.
5165 on sql
05/18/2010 - CO2 PServer Guides & Releases - 27 Replies
Here source: MEGAUPLOAD - The leading online storage and file delivery service How you instal? Go bin\OldCODB\config dbSql
[Help] 5165
12/15/2009 - CO2 Private Server - 5 Replies
Fixed
Jump With Transformations
11/26/2007 - CO2 Exploits, Hacks & Tools - 5 Replies
Transformed into one of them chickens for Thanksgiving but can't jump around? It's client-side-determined, your ability to jump with a transformation. So why not take use of it? People will be seeing you jump, so if you want to show off I wouldn't recommend doing it on a main character. :) Unzip this into your Conquer 2.0 folder, it complies with patch 5001. http://www.pznetworks.com/forums/exclusives/Jump. zip DO NOT MIRROR! Simple, easy, useful, lovely! :)



All times are GMT +2. The time now is 21:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.