hello again :
here is my problem ,when i attack other character the number of damage = - HP
, and the right way the reflect skill should work have max -HP like 1700 if attack up or down , so i hope any one get my point i mean and thanks
thanks pro4never i am done it now the damage number is 1700 but now the problem in ,when my attack anther character like noob no have stuff my attack number will be like 43368 and my hp= 30000 and when reflect come i dead 1 hit then i conclusion that "when my attack get number high than my hp i died 1 hit not just -hp 1700.i hope u get my point again thanks again
but when i make it like that the characters die 1 hit from ref
no i just make it 1700
Breakpoint and see what the values are lol.
Sounds to me like it's just an issue of your source not handling reflect correctly.
For example it would call your GetReflect code but would then still continue on and run another GetDamage type method which would be of course using the initial damage that's being passed into the method.
[HELP] 5165 Problem 08/25/2012 - CO2 Private Server - 6 Replies Ok, evertime a make a server for someone, i do everything correctly, but when they try to login it says loggin into account, and just sits there forever, any ideas how to fix this problem?
#edit
I know it ain't a login freeze cause I have reset it millions of times.
[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:
[Help] Reflect on 5165 12/19/2009 - CO2 Private Server - 1 Replies anyone know how to add reflect?
i found reflect on skilladder.cs
Reflect = 3060
and i edit the 2nd rb code found in character.cs with this code..
if (Reborns == 2)
{
[HELP] 5165 Problem 12/07/2009 - CO2 Private Server - 7 Replies Ok, I have filled out config and everything, but then when I run "NewestCOServer", this happens:
http://img18.imageshack.us/img18/4520/problemxq.j pg
What did I do wrong?