Need help on technical problem

12/04/2009 17:37 Jun8989#1
Hi its my first time posting in this section. Hope i post it right..if not please help me move it to the correct section.

I just wanna ask any experts out there about the coding for SRO client.

this is the code i send for character level up 0400B0360000 + CharID, when you level up ,the client will only shows the animation effect, in fact there is no change in level, is there anything else i need to add or change in character's level.

Appreciate any help from experts.

Thank you and have a nice day ;)
12/05/2009 11:56 Windrius#2
To level send the get xp/sp packet + 3 word.
So it should look like this:
Code:
            writer.Create(0x31B4); // This is KSRO opcode
            writer.UInt32((uint)mobuid); // Monster unique ID
            writer.UInt64((ulong)xp); // How much XP the monster gave you
            writer.UInt64((ulong)SP); // How much SP the monster gave you
            writer.Byte(0);
            writer.UInt16(3); //THIS IS NEEDED TO LEVEL UP :)
12/05/2009 18:30 Jun8989#3
Quote:
Originally Posted by Windrius View Post
To level send the get xp/sp packet + 3 word.
So it should look like this:
Code:
            writer.Create(0x31B4); // This is KSRO opcode
            writer.UInt32((uint)mobuid); // Monster unique ID
            writer.UInt64((ulong)xp); // How much XP the monster gave you
            writer.UInt64((ulong)SP); // How much SP the monster gave you
            writer.Byte(0);
            writer.UInt16(3); //THIS IS NEEDED TO LEVEL UP :)
You got my Thanks....thank you so much my friend.