Register for your free account! | Forgot your password?

You last visited: Today at 22:59

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

Advertisement



[Release] Interactions 5165

Discussion on [Release] Interactions 5165 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 9
Received Thanks: 3
[Release] Interactions 5165

#Removed
JacobSmith is offline  
Thanks
2 Users
Old 06/11/2010, 00:53   #2
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
If this works, goodjob.
xScott is offline  
Old 06/11/2010, 02:18   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
... you mean to tell me that ppl have been begging for and selling interaction 'packets' for this long and it's just a ******* attack type?...

Wow... just wow...

That's almost as bad as coemu not having fatal strike/counter kill done properly... wtf is with people and not running through test values for diff packets? *** knows i have more than enough logged just from trying to find stuff for fs.
pro4never is offline  
Thanks
4 Users
Old 06/11/2010, 02:47   #4
 
elite*gold: 0
Join Date: Sep 2007
Posts: 188
Received Thanks: 8
i got 7 error Error

The name 'dmg' does not exist in the current context
koko425 is offline  
Old 06/11/2010, 05:18   #5
 
elite*gold: 0
Join Date: May 2009
Posts: 64
Received Thanks: 6
i only get this error dmg dont exist in the actual context
pedro93 is offline  
Old 06/11/2010, 05:21   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by pedro93 View Post
i only get this error dmg dont exist in the actual context
... then define it...

Code:
d.InteractionType = dmg;
that is saying that the interaction type is the same as dmg... so simply set dmg to = w/e interaction you want.

int dmg = 1;//where 1 is whatever interaction number you are using.
pro4never is offline  
Thanks
1 User
Old 06/11/2010, 12:46   #7
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
I got erroar at
Quote:
dmg
how can I fix that ?
Sp!!ke is offline  
Old 06/11/2010, 13:40   #8
 
dodolinobobo's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 162
Received Thanks: 26
I deleted
Code:
d.InteractionType = dmg;
and changed from
Code:
d.MyClient.AddSend(Packets.AttackPacket(GC.MyChar.EntityID, TargetUID, d.Loc.X, d.Loc.Y, dmg, 46));
to
Code:
d.MyClient.AddSend(Packets.AttackPacket(GC.MyChar.EntityID, TargetUID, d.Loc.X, d.Loc.Y, d.InteractionType, 46));
and there are no more error if you edit like me to 46,47 and 48(i think that are the 3 numbers)

but when i tried it in game,the request come...like
Code:
"Name" has invited you to:
but if you accept the interaction does not do anythink
dodolinobobo is offline  
Old 06/11/2010, 14:14   #9
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Because of some stupid people, the interactions got to be released.

I wrote the code, and it's working very well.

If you get errors because some 'dmg' variable doesn't exist, that's because you have to get the damage from the packet sent by client.

uint dmg = BitConverter.ToUInt32(Data, 8);
-impulse- is offline  
Thanks
1 User
Old 06/11/2010, 14:15   #10
 
masternek's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 94
Received Thanks: 29
i got this error :X



Uploaded with

any help pls? sorry for double post
masternek is offline  
Old 06/11/2010, 22:07   #11
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
anyone can help me :> I whana know how I can fixx that error at
Quote:
dmg
Sp!!ke is offline  
Old 06/11/2010, 23:48   #12
 
elite*gold: 0
Join Date: Jun 2010
Posts: 9
Received Thanks: 3
Go to PacketHandler and replace case case 1022 with this:
Code:
case 1022:
                            {
                                uint dmg = BitConverter.ToUInt32(Data, 24);
                                uint AttackType = BitConverter.ToUInt32(Data, 20);
                                switch (AttackType)
                                {
                                    case 8:
                                    case 9: PacketHandling.Marriage.Handle(GC, Data); break;
                                    case 40:
                                        GC.AddSend(Packets.Status(GC.MyChar.EntityID, NewestCOServer.Game.Status.Merchant, 255));
                                        GC.MyChar.Merchant = NewestCOServer.Game.MerchantTypes.Yes;
                                        GC.AddSend(Data);
                                        break;
                                    case 41:
                                        GC.AddSend(Packets.Status(GC.MyChar.EntityID, NewestCOServer.Game.Status.Merchant, 0));
                                        GC.MyChar.Merchant = NewestCOServer.Game.MerchantTypes.Not;
                                        GC.AddSend(Data);
                                        break;
JacobSmith is offline  
Thanks
1 User
Old 06/12/2010, 00:45   #13
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Tweety.4Girls View Post
anyone can help me :> I whana know how I can fixx that error at
The fix for that was posted in the thread already.
Arcо is offline  
Old 06/12/2010, 07:33   #14
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Well, good job JacobSmith ( Paralyzer / ElectricZebra), you are 100% like Decker.
-impulse- is offline  
Thanks
2 Users
Old 06/12/2010, 08:44   #15
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by -impulse- View Post
Well, good job JacobSmith ( Paralyzer / ElectricZebra), you are 100% like Decker.
Actually ElectricZebra was Decker.
MonstersAbroad was Para.
Arcо is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
[Request] Interactions (5165)
04/08/2010 - CO2 Private Server - 31 Replies
So basically, in real conquer online you can hug people, carry people, etc. They're called interactions. Unfortunately, I'm not a hacker and I have no idea how to obtain the packet for it. If anyone can help me, I can start editing this post until we have it working. First we need to start with the case number so it can be directed to the packet. If you're still unclear about what interactions are... here's an example:...



All times are GMT +2. The time now is 22:59.


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.