Register for your free account! | Forgot your password?

You last visited: Today at 21:39

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

Advertisement



Atacking

Discussion on Atacking within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Talking LOTF Bug!

Can Anyone take the mooment to help me with this Bug
the bug is when a Player Gets Killed they Die and you can keep attacking them when they are dead Only with 2 Handed Weapon or with a Bow you can do it,
The bug is weird but yeah I tested it so far With Wand/Spear/And Bow if anyone can help Me Please!
-Shunsui- is offline  
Old 09/04/2009, 06:26   #2
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Does your attack function modify the alive boolean to false upon death?
© Haydz is offline  
Old 09/04/2009, 06:59   #3
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Nope it dosent cause the packets are basicly still saying iam alive so people can keep atackin me when im dead .. Where do i find the attack function?
-Shunsui- is offline  
Old 09/04/2009, 10:21   #4
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Are u on my msn? if so i offered u to fix it just gimme a nudge
~Yuki~ is offline  
Old 09/04/2009, 18:53   #5
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
#Bump Still Need Help
Ty Yuki For trying ;P
-Shunsui- is offline  
Old 09/04/2009, 23:56   #6
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
seems all melee attack have this bug , so i think u need to check if Target.alive or Target.Current Hp is more than 0 then attack else return
samehvan is offline  
Thanks
1 User
Old 09/05/2009, 01:23   #7
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
I tried that on his source but seems it doest work
@Haydz: Yes
~Yuki~ is offline  
Old 09/05/2009, 02:11   #8
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
=\
-Shunsui- is offline  
Old 09/05/2009, 02:53   #9
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by ~Yuki~ View Post
I tried that on his source but seems it doest work
@Haydz: Yes
@flako27
tell me then what source u use or if u can give me a copy or link for the base source and i'll try to have a look
samehvan is offline  
Thanks
1 User
Old 09/05/2009, 03:16   #10
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Alright u sec ill post cheacter.cs here, k thats were the bug is i think if not tell me wat u need or add my msn
Attached Files
File Type: rar Character.rar (26.3 KB, 3 views)
-Shunsui- is offline  
Old 09/05/2009, 04:16   #11
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by flako27 View Post
Alright u sec ill post cheacter.cs here, k thats were the bug is i think if not tell me wat u need or add my msn
you should send the attack.cs , anyway i think the main problem is at your

public void Die()

coz the whole code u put in there is for other characters online not for the dead player , u put all the code in the foreach statements and u just need this code in it

Code:
Character Target = (Character)DE.Value;
                    if (Target.TargetUID == UID)
                    {
                        Target.TargetUID = 0;
                        Target.PTarget = null;
                        Target.Attacking = false;
                        SkillLoopingTarget = 0;

                    }
the rest of the code suppose to be outside the foreach statements ,and don't forget to add

Code:
Alive=false;
hope this will fix it
samehvan is offline  
Thanks
2 Users
Old 09/05/2009, 04:51   #12
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
alrite ill try it now
-Shunsui- is offline  
Old 09/05/2009, 11:34   #13
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
SameHvan Everytime Awesome to see you back on epvp
Thanks for the code idk if it works now but thanks
~Yuki~ is offline  
Old 09/05/2009, 13:42   #14
 
elite*gold: 0
Join Date: Sep 2009
Posts: 26
Received Thanks: 0
Try this character.cs if u still having troubles... it should be fixed now for melee for players and monsters.
Attached Files
File Type: rar Character.rar (26.3 KB, 2 views)
ftplayer is offline  
Old 09/05/2009, 19:29   #15
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Nope its not fixed @_@
-Shunsui- is offline  
Reply




All times are GMT +2. The time now is 21:39.


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.