|
You last visited: Today at 01:37
Advertisement
Question regarding hand & hand2
Discussion on Question regarding hand & hand2 within the CO2 Private Server forum part of the Conquer Online 2 category.
08/20/2013, 16:05
|
#1
|
elite*gold: 0
Join Date: Jan 2010
Posts: 14
Received Thanks: 0
|
Question regarding hand & hand2
[CENTER]Pictures show the problem
|
|
|
08/20/2013, 17:20
|
#2
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
simply add a 2 checks at item usage packet
one at wearing the sync. wep. not to let user wear it unless both hands are free
second at wearing any weapon as second hand while wearing sync. at first hand
or maybe there is already a checks for that, which is using methods that include other weapons but this one, add this weapon range and you are good to go
|
|
|
08/20/2013, 18:47
|
#3
|
elite*gold: 0
Join Date: Jan 2010
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by go for it
simply add a 2 checks at item usage packet
one at wearing the sync. wep. not to let user wear it unless both hands are free
second at wearing any weapon as second hand while wearing sync. at first hand
or maybe there is already a checks for that, which is using methods that include other weapons but this one, add this weapon range and you are good to go
|
How add a 2 checks at item usage packet
|
|
|
08/20/2013, 19:12
|
#4
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
go to the packet handlers, set a break point at the desire packet , trace it and you will understand what you should be doing
|
|
|
08/20/2013, 19:16
|
#5
|
elite*gold: 0
Join Date: Mar 2013
Posts: 118
Received Thanks: 95
|
Quote:
Originally Posted by go for it
and you will understand what you should be doing
|
No he won't. People like this guy really shouldn't be running private servers - they have NO clue what they're doing.
|
|
|
08/20/2013, 19:29
|
#6
|
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
|
You need something like this to fixed it, they equipped your weapon using the quick equipping techniq, so u need a code like this to make sure they wont be able to used that.
Quote:
|
its not complete, but that will help yah, you cant just copy paste it , since you need to make this first .IsKatana
|
Code:
if (client.Equipment.TryGetItem(4) != null && client.Equipment.TryGetItem(4).ID >= 601000 && client.Equipment.TryGetItem(4).ID <= 601439)
{
if (client.Equipment.TryGetItem(5) != null && !Network.PacketHandler.IsKatana(client.Equipment.TryGetItem(5).ID))
{
client.Equipment.Remove(5); // Katana
}
}
|
|
|
08/21/2013, 01:28
|
#7
|
elite*gold: 0
Join Date: Jan 2010
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by Smaehtin
No he won't. People like this guy really shouldn't be running private servers - they have NO clue what they're doing.
|
It is true that I do not have the slightest idea about servers, so too you do not have the slightest idea about the fields and pragmatic
|
|
|
08/21/2013, 01:30
|
#8
|
elite*gold: 0
Join Date: Jan 2010
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by marcbacor6666
You need something like this to fixed it, they equipped your weapon using the quick equipping techniq, so u need a code like this to make sure they wont be able to used that.
Code:
if (client.Equipment.TryGetItem(4) != null && client.Equipment.TryGetItem(4).ID >= 601000 && client.Equipment.TryGetItem(4).ID <= 601439)
{
if (client.Equipment.TryGetItem(5) != null && !Network.PacketHandler.IsKatana(client.Equipment.TryGetItem(5).ID))
{
client.Equipment.Remove(5); // Katana
}
}
|
Thank you my friend has now reached information
|
|
|
08/21/2013, 02:20
|
#9
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by مصطفى خضرى
It is true that I do not have the slightest idea about servers, so too you do not have the slightest idea about the fields and pragmatic
|
What drugs are you on?
|
|
|
08/21/2013, 02:55
|
#10
|
elite*gold: 0
Join Date: Jan 2010
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by Super Aids
What drugs are you on?
|
??????????????????????
|
|
|
08/21/2013, 06:36
|
#11
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
|
Quote:
Originally Posted by مصطفى خضرى
??????????????????????
|
You come into a developer's section for programming private servers, download a private server that someone from this section made, and demanded help from us because you don't want to work at all. That's fine, but your logic makes no sense. Do you not understand that these servers and everything here was programmed by a member? You're basically saying, "Since I don't know how to program, nobody else here in this section (including the person you were talking to) knows how to program."
The answer was provided to you by two different people. The code was actually provided to you, so there's nothing stopping you now from fixing your source. Please, if you have any further questions, ask away. Hint: "I want you to do everything for me" is not a question.
|
|
|
08/21/2013, 17:43
|
#12
|
elite*gold: 0
Join Date: Jan 2010
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by Fang
You come into a developer's section for programming private servers, download a private server that someone from this section made, and demanded help from us because you don't want to work at all. That's fine, but your logic makes no sense. Do you not understand that these servers and everything here was programmed by a member? You're basically saying, "Since I don't know how to program, nobody else here in this section (including the person you were talking to) knows how to program."
The answer was provided to you by two different people. The code was actually provided to you, so there's nothing stopping you now from fixing your source. Please, if you have any further questions, ask away. Hint: "I want you to do everything for me" is not a question.
|
Words concept and I respect him a lot
*********************
There is no any other questions
Thank you
|
|
|
All times are GMT +1. The time now is 01:37.
|
|