|
You last visited: Today at 05:23
Advertisement
Transformations (5165)
Discussion on Transformations (5165) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
02/21/2010, 01:28
|
#1
|
elite*gold: 0
Join Date: Mar 2006
Posts: 61
Received Thanks: 88
|
Transformations (5165)
Hello coders.
Here is a simple source code to get transformation like: DivineHare, NightDevil, Robot, Water Elf.
You can get this transformation but only on your client side 
Open your Characters.cs file and find:
Code:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
Replace this line with my source code:
Code:
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:
MyClient.AddSend(Packets.Status(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:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2131000000)); /// water elf
break;
case 2020:
case 2021:
case 2022:
case 2023:
case 2024:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2071000000)); /// divine hare
break;
case 2030:
case 2031:
case 2032:
case 2033:
case 2034:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2171000000)); /// night devil
break;
default:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
break;
}
If someone can help to make to visible this transformation for all players i will be so happy for help.
|
|
|
02/21/2010, 01:31
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by glover
Hello coders.
Here is a simple source code to get transformation like: DivineHare, NightDevil, Robot, Water Elf.
You can get this transformation but only on your client side 
Open your Characters.cs file and find:
Code:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
Replace this line with my source code:
Code:
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:
MyClient.AddSend(Packets.Status(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:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2131000000)); /// water elf
break;
case 2020:
case 2021:
case 2022:
case 2023:
case 2024:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2071000000)); /// divine hare
break;
case 2030:
case 2031:
case 2032:
case 2033:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2171000000)); /// night devil
break;
default:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
break;
}
If someone can help to make to visible this transformation for all players i will be so happy for help.
|
Shouldn't it be GC.MyChar.Addsend or just GC.Addsend
Try that.
|
|
|
02/21/2010, 01:34
|
#3
|
elite*gold: 0
Join Date: Mar 2006
Posts: 61
Received Thanks: 88
|
Ty Arco i will try check. but how to change it to GC.MyChar.AddSend ?
|
|
|
02/21/2010, 02:02
|
#4
|
elite*gold: 0
Join Date: Jul 2009
Posts: 91
Received Thanks: 28
|
Quote:
Originally Posted by .Arco
Shouldn't it be GC.MyChar.Addsend or just GC.Addsend
Try that.
|
If you do make it GC.MyChar.Addsend, you'll have to define it in character.cs. Both don't work but it's definitely getting closer.
|
|
|
02/21/2010, 02:04
|
#5
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
Howd u get the mesh?
|
|
|
02/21/2010, 02:06
|
#6
|
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
|
So does this code work or not?
|
|
|
02/21/2010, 02:10
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Go to
public void AddBuff(Buff B)
and replace that WHOLE void with this:
Code:
public void AddBuff(Buff B, Main.GameClient GC)
{
Buff ExBuff = BuffOf(B.Eff);
if (ExBuff.Eff == B.Eff)
Buffs.Remove(ExBuff);
if (B.Eff == SkillsClass.ExtraEffect.Transform)
{
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:
GC.AddSend(Packets.Status(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:
GC.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2131000000)); /// water elf
break;
case 2020:
case 2021:
case 2022:
case 2023:
case 2024:
GC.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2071000000)); /// divine hare
break;
case 2030:
case 2031:
case 2032:
case 2033:
GC.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2171000000)); /// night devil
break;
default:
GC.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
break;
}
}
Buffs.Add(B);
StatEff.Add(B.StEff);
}
}
|
|
|
02/21/2010, 02:14
|
#8
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
lvl 4 night devil don't work >.<
|
|
|
02/21/2010, 02:14
|
#9
|
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
|
Then transformation will work?
arco when i use ur code i got 12 errors "No overload for method 'AddBuff'.
|
|
|
02/21/2010, 02:17
|
#10
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by Decker_
Then transformation will work?
arco when i use ur code i got 12 errors "No overload for method 'AddBuff'.
|
No it will not work if your telling me you have errors -.-
|
|
|
02/21/2010, 02:18
|
#11
|
elite*gold: 0
Join Date: Mar 2006
Posts: 61
Received Thanks: 88
|
my transformation work but only on your side client :P
|
|
|
02/21/2010, 02:18
|
#12
|
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
|
Well can you help me fix the errors???
|
|
|
02/21/2010, 02:21
|
#13
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by Decker_
Well can you help me fix the errors???
|
No.
|
|
|
02/21/2010, 02:24
|
#14
|
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
|
GEEZ!!!
Why do you even post codes if you will not help fix them.
Besides that, why even post codes that don't work?
I suggest you go back and fix your code or delete it.
|
|
|
02/21/2010, 02:25
|
#15
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by Decker_
GEEZ!!!
Why do you even post codes if you will not help fix them.
Besides that, why even post codes that don't work?
I suggest you go back and fix your code or delete it.
|
I never said it would work, it was an attempt.
|
|
|
 |
|
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 +1. The time now is 05:23.
|
|