Quote:
Originally Posted by Super Aids
Fang made a thread about it.
And Yuki one thing.
Code:
if (C.MyChar.Mining)
{
C.MyChar.Mining = false;
}
Could just be:
Code:
C.MyChar.Mining = false;
No need to actually do the check.
|
That's there from like, 4 years ago.
___
On topic:
You might want to check your CPU usage, if you're running the server on low cores and scatter makes the CPU usage go high, it will simply jump over threads as I've experienced on duo core. I've had this problem before.
Also you might want to make sure that the Packet to send Useskill is always sent in the handler.
However, if it is always sending, then I'd recommend you checking the where it adds every target "UID" of mobs into the skill packet send. List/Dictionary whatever it may be.
(Make a dump for the list if UIDs), if it returns no uids when it kills the mobs without the arrows popping up, then that's what's faulty
Quote:
add a condition
if (ValueOfDictionary != null)
in this case, you might have it trying to do condition check on a entity that is null and it will simply stop the loop. And not add any targets to the "Dictionary" list for skill packet.
|
My conclusion
Quote:
On handler: CanUseSpell tries to add a null and returns an error. Breaking the loop
Something that shouldn't be added to the dictionary is added and causes a error somewhere before Skill Packet, or within it.
Make sure before trying to get a variable from the value, that it is not null.
|