xpskill error with coemu

03/10/2010 17:59 LegalConquer#1
everytime someone jumps on my server
the xp time just keeps going back up....
where should i be looking to alter this coz i looked in jump.cs with no luck :/
03/10/2010 18:10 pro4never#2
I would think packet handler (that handles the packets basically saying what to do when they happen)

Sounds to me like update position or jump is causing the problem. I believe that update position is fairly self contained but jump has it's own .cs file dealing with it. It could also be the status updates dealing with spawning the character. I know that if you mess with certain things in quick/swordco it will cause effects not to show properly to other characters.... although that shouldn't have any effect on the xp bar.
03/10/2010 19:48 LegalConquer#3
i fixed exp skills now but superman never ends / doesnt do its making attacks stronger effect as well...
03/10/2010 20:48 pro4never#4
Quote:
Originally Posted by LegalConquer View Post
i fixed exp skills now but superman never ends / doesnt do its making attacks stronger effect as well...
Wow what source are you using that xp skills are so poorly coded?


You need to remove the superman/cyclone over time using some sort of a check and raise it whenever you kill a monster while in that state.

As for making attacks stronger, go to the attack calculation and so something along the lines of

if(CSocket.Client.Superman)
Damage = Damage * 9.9

then continue on with the attack calculations as they are. Most sources use 9.9 x instead of 10x to force it back into a double so that the other calculations will handle it better but you could just as easily force the conversion so that errors wont pop up. Either way works though.
04/28/2010 07:15 sawickas#5
How yuo fixidet xp skills?