Register for your free account! | Forgot your password?

You last visited: Today at 22:57

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

Advertisement



[Release] Reflect

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2007
Posts: 27
Received Thanks: 1
[Release] Reflect

#Deleted
Seimorpoop is offline  
Thanks
1 User
Old 01/10/2009, 02:59   #2
 
elite*gold: 0
Join Date: Apr 2008
Posts: 56
Received Thanks: 8
Quote:
Originally Posted by Seimorpoop View Post
Im releasing half of my reflect code i dont want to release the whole thing because then it would be too easy for you guys so figure out the rest yourselves but with this code it will reflect only melee and archer damage. Not ss or magic attacks or anything like that.

This code also has fixed archer damage. For those of you who dont have luckytime in your source just erase the pieces about luckytime or add it. To learn reflect just type /skill 3060 0. thats it any problems just tell me

1.in the Character.cs search for

2. Copy that whole section and replace it with
3. In your database.cs search
Under that add

Say thanks

Really, Great release =],but you need to edit the code, because it has some parts which contains some things that other people do not have... Type : if (LocMap != World.PKCity)
DungMaster is offline  
Old 01/10/2009, 03:16   #3
 
elite*gold: 0
Join Date: Apr 2007
Posts: 27
Received Thanks: 1
thx
Seimorpoop is offline  
Old 01/10/2009, 08:41   #4
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Looks to be taken from the source I released, rofl =P
kinshi88 is offline  
Old 01/10/2009, 09:52   #5
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Kinshi, I seriously wouldnt doubt that. People nowadays huh...

Anyways, why not fix up the code? Do like this:

At the start, case 74, do like:
if (MyChar.Skills.Contains(ReflectSkillID))
MyChar.Reflect = true;

Then at attack part where it caculate and sets damage.

If (MyChar.Reflect)
if(Other.ChanceSuccess(AnyChanceSuccessHere)
{
if Attacker.CurHP >= Attacker.Damage
Attacker.CurHP -= Attacker.Damage;
else
{
Attacker.CurHP = 0;
Attacker.Die();
}


SendHPPacket;
SendReflectEffect ( Tao, I know, not the real way =P )
}


Something like that?<.<
_Emme_ is offline  
Old 01/10/2009, 10:13   #6
 
Kital82's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 129
Received Thanks: 15
What's the reflect effect for sendpacket.etc.... ??
Kital82 is offline  
Old 01/10/2009, 15:46   #7
 
sherwin9's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 222
Received Thanks: 27
It's already in the code...
sherwin9 is offline  
Old 01/10/2009, 18:54   #8
 
elite*gold: 0
Join Date: Apr 2007
Posts: 27
Received Thanks: 1
um dont criticize it cuz i did fix it up kinshi, i took ur reflect and fixed it so maybe u should compare the 2? urs after u reflect once u will reflect for the rest of the time that u r online, mine it actually works, and in urs if the attacker gets reflected till he has no hp both chars die, mine thats fixed so dont try to say its not a good code cuz it is it works perfect i just didnt release the rest of it cuz then that would b way too easy for everyone, and on my source it reflects every type of attack including tao, but as i said im not going to release that. For you guys i dont get wat the point is of going around and criticizing everyones releases and posts hows that supposed to help anyone? Maybe you should test out this release and if it doesnt work then u can come back and say oh it sucks but otherwise if u dont know then dont say anything
Seimorpoop is offline  
Old 01/10/2009, 20:30   #9
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Quote:
Originally Posted by EmmeTheCoder View Post
Kinshi, I seriously wouldnt doubt that. People nowadays huh...
Haha yeah, and whats even more funny is that the Reflect I made sucks =P
kinshi88 is offline  
Old 01/10/2009, 21:21   #10
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Quote:
Originally Posted by kinshi88 View Post
Haha yeah, and whats even more funny is that the Reflect I made sucks =P
I Guess Its only Reflect EFFECT , not an fully working Reflect ... He didnt even check if This Reflect Actually Reflects Back the Damage Someone gives... Pointless thread
damianpesta is offline  
Old 01/11/2009, 11:38   #11
 
Kital82's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 129
Received Thanks: 15
Quote:
Originally Posted by damianpesta View Post
I Guess Its only Reflect EFFECT , not an fully working Reflect ... He didnt even check if This Reflect Actually Reflects Back the Damage Someone gives... Pointless thread
If you edit it, you can get it working
I have it working on my server.
Kital82 is offline  
Old 01/11/2009, 13:21   #12
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
Originally Posted by kinshi88 View Post
Haha yeah, and whats even more funny is that the Reflect I made sucks =P
I sure know that you are capable of doing a much better code than that.
_Emme_ is offline  
Old 01/11/2009, 13:34   #13
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Quote:
Originally Posted by EmmeTheCoder View Post
I sure know that you are capable of doing a much better code than that.
I am, don't worry =P
I coded that reflect SOOO long ago!
kinshi88 is offline  
Old 01/11/2009, 14:08   #14
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Quote:
Originally Posted by Kital82 View Post
If you edit it, you can get it working
I have it working on my server.
Im sure of it lol , Only Few people there are capable of coding it and your one of them uhmmm interesting [/sarcasm]Did u even check if it gives back dmg? lol...
damianpesta is offline  
Old 01/11/2009, 16:43   #15
 
elite*gold: 0
Join Date: Apr 2007
Posts: 27
Received Thanks: 1
yes it gives back damage y would i release a code for the reflect effect only, obviously im gonna make sure it gives back damage, and the attacked doesnt lose hp... stop making these assumptions that i dont know anything, i know somethings, try out the code ull see.
Seimorpoop is offline  
Reply


Similar Threads Similar Threads
[Release] Reflect Code (5165 LOTF)
04/18/2012 - CO2 PServer Guides & Releases - 46 Replies
Maybe isn't very right but it works.... at Character.cs more ore less at line 1711 add this: public bool CanReflect = false; Now you have to make a check for the CanReflect become true.... go to LoadCharacter void at database.cs and add this after the load for skills:
Reflect
09/08/2010 - CO2 Private Server - 3 Replies
Why is it that after 3rd rb reflect skill dissapears does someone knows how i can fix this in eliteEmu 5095 source..
[Help] Reflect
07/25/2009 - CO2 Private Server - 15 Replies
I need some help on how to make my reflect work. Can someone help me. Thanks.
[Release] Reflect Code
12/04/2008 - CO2 PServer Guides & Releases - 5 Replies
#Deleted Sorry
Need some help with reflect
09/05/2008 - CO2 Private Server - 38 Replies
Well, this is what i did so far : Added the ReflectOn = false; line where it belongs in the character.cs Reflect code : This is in the Database.cs - note: I`m not sure about the activation rates



All times are GMT +1. The time now is 22:57.


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.