|
You last visited: Today at 22:59
Advertisement
[Release] Interactions 5165
Discussion on [Release] Interactions 5165 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
06/11/2010, 00:46
|
#1
|
elite*gold: 0
Join Date: Jun 2010
Posts: 9
Received Thanks: 3
|
[Release] Interactions 5165
#Removed
|
|
|
06/11/2010, 00:53
|
#2
|
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
|
If this works, goodjob.
|
|
|
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.
|
|
|
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
|
|
|
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
|
|
|
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
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.
|
|
|
06/11/2010, 12:46
|
#7
|
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
|
I got erroar at
Quote:
how can I fix that ?
|
|
|
06/11/2010, 13:40
|
#8
|
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
|
|
|
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);
|
|
|
06/11/2010, 14:15
|
#10
|
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
|
|
|
06/11/2010, 22:07
|
#11
|
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:
|
|
|
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;
|
|
|
06/12/2010, 00:45
|
#13
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by Tweety.4Girls
anyone can help me :> I whana know how I can fixx that error at
|
The fix for that was posted in the thread already.
|
|
|
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.
|
|
|
06/12/2010, 08:44
|
#15
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by -impulse-
Well, good job JacobSmith ( Paralyzer / ElectricZebra), you are 100% like Decker.
|
Actually ElectricZebra was Decker.
MonstersAbroad was Para.
|
|
|
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.
|
|