Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 08:29

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

Advertisement



[PROBLEM]CounterKill/ScapeGoat!

Discussion on [PROBLEM]CounterKill/ScapeGoat! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
[PROBLEM]CounterKill/ScapeGoat!

Idk why my counter-kill not working good ! when I use it not work CounterKill Swich ON/OFF !


Look on that Photo ! Who can help make reply what is wrong here !


Sp!!ke is offline  
Old 06/20/2010, 04:46   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
I really don't use lotf but it's not all that hard to code... make some values for your character. Personally what I did was...

int to control percentage activation rate
bool to control on/off
datetime to control last activated.


Then in your attack handling find the attack type for counter kill, link it off to a function (or your own cs file if that's easiest) and run your checks (if stamina is enough, if it's on already, etc)

Then send the client the correct attack packet (0 dmg being off, any other dmg being on.) and update the variables (rate, last activated, on/off).

then in your attack code simply check if it's on (if GC.MyChar.CounterKill) and if it is then run your counter kill attack code...

It's SHOCKINGLY easy to code... not sure why people have such problems with it.

If you want an example, you can see my super basic version I released for CoEmu (in my link list) and if you want to find the actual attack types for it (if lotf for some reason doesn't have them saved) then use my "figuring out packet subtypes for your self" thread... that's how I got my attack types sorted out for this stuff.


Best of luck.
P4N
pro4never is offline  
Old 06/20/2010, 09:24   #3
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
Quote:
Originally Posted by pro4never View Post
I really don't use lotf but it's not all that hard to code... make some values for your character. Personally what I did was...

int to control percentage activation rate
bool to control on/off
datetime to control last activated.


Then in your attack handling find the attack type for counter kill, link it off to a function (or your own cs file if that's easiest) and run your checks (if stamina is enough, if it's on already, etc)

Then send the client the correct attack packet (0 dmg being off, any other dmg being on.) and update the variables (rate, last activated, on/off).

then in your attack code simply check if it's on (if GC.MyChar.CounterKill) and if it is then run your counter kill attack code...

It's SHOCKINGLY easy to code... not sure why people have such problems with it.

If you want an example, you can see my super basic version I released for CoEmu (in my link list) and if you want to find the actual attack types for it (if lotf for some reason doesn't have them saved) then use my "figuring out packet subtypes for your self" thread... that's how I got my attack types sorted out for this stuff.


Best of luck.
P4N

counter-kill is codded in source but I don't know which is good configuration for it

Look on my thread at photo !
Sp!!ke is offline  
Reply


Similar Threads Similar Threads
Lvling CounterKill>Phoenix Sword skill !Easyway
08/04/2010 - CO2 Guides & Templates - 26 Replies
Hello evryone, before i start.. i just wanna tell evryone For those who know this.. and wanna say: old... evryone know.. bla bla.. Trust me.. evrybody dont know. and all i want to do.. is to help they who dont know.. so stop been rude! Ok Lets start
[HELP]CounterKill
05/20/2010 - CO2 Private Server - 20 Replies
hello guys I work now on CounterKill but Idk why that not work !.. Korvacs,Arco. etc. anyone can help me to make counterkill full work for 5165? else if (AttackType == 44) { ushort SkillId = 6003; ushort x = GC.MyChar.Loc.X; ushort y = GC.MyChar.Loc.Y;
[Question] Scapegoat Effect
04/08/2010 - CO2 Private Server - 1 Replies
Alright so in the 5165 its called scapegoat its yourself flipping over the guy your counter killing Anyone no the 3deffect name? Coding it for 5095 and have looked all over for it Thx



All times are GMT +1. The time now is 08:30.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.