[Question] How can i fix herc's bug?

06/06/2010 13:15 ~Master#1
I'm kinda new in making pservers , using c#

I'm using tanel's 5165 source and it has a bug with herc.

I've been trying to fix herc's range but i couldn't do it .

i even added this code to skills.cs but nothing changed :(
Code:
                        if (S.ID == 1115)
                            S.Targetting = TargetType.Range;
                        S.StaminaCost = byte.Parse(Info[27]);
Have a look at the picture if you don't know what is herc's bug

[Only registered and activated users can see links. Click Here To Register...]

Any help will be appreciated :)
06/06/2010 23:06 dragon89928#2
try going to skilladder from the console by typing /skilladder then go to skill list tab, find herc press edit, go to the skill add tab, herc should be there. Make sure that the distance is set properly. That's all I can think of since herc works fine for me.
06/07/2010 13:27 ~Master#3
I kept changing the distance/sector size but i still have same problem -.-'
06/08/2010 08:48 Arcо#4
Maybe its just the type of attack it is.
06/08/2010 18:24 Tw3ak#5
Quote:
Originally Posted by .Arco View Post
Maybe its just the type of attack it is.
Naw it has always been fked up i told everyone that about 4 mnths ago or so whenever the 5165 garbage source appeared.

It isn't just range bug with herc either you can fb/ss some one nearly 2 screens away if ya know how to do it lol. The reason it may work right on other peoples 5165 sources is because they fixed it as the fixes were posted long time ago after i posted that the bugs existed in it.

There have been so many recycled copy+pasted 5165 releases it is probably hard to find one now that has it fixed and ones that don't.
06/08/2010 22:19 Arcо#6
So what exactly was wrong with it then?
06/09/2010 01:57 pro4never#7
It probably doesn't have a proper range calculation coded into certain attack type functions...


I know ALOT of sources skipped over attack type completely on AOE attacks (CoFuture... I think early versions of CoEmu... some others had it too) where it would simply default all of them to magic attack type which was a total pain in the ass. Not surprised that some versions of lotf skipped over similar type things although you would think range would be a fairly obvious thing you would need to code.