Help with ThreadPoolManager

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
ouro
Posts: 23
Joined: Thu Mar 29, 2007 9:20 pm
Location: Spain

Help with ThreadPoolManager

Post by ouro »

Hello all, im working in a little game project for learn about thread pool and socket this summer and i need your help.

First of all i have to say that im using the ThreadPoolManager of L2Jserver.

So im trying to do a EffectManager to manage Buff like on l2, buff like shield, might etc. this work on my code yet but i have 2 problems.

I try to do "poison effect"(damage over time) and it work however i dont like how it work. The second problem is how to remove efects with skill like cleanse and cancel. I read about FutureTask and Callable but my head hurt so hard :( .

Any suggestions to do damage over time and cancel thread?
Post Reply