[Help] Profiency Experience

05/08/2021 11:39 Soulfly25#1
Hello,

Can anybody help with my problem? The issue is that the weapon prof experience has been reaching 100%.

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

I used the WeaponSkillLevelExp.ini in ini/folder for my weapon prof experience.

This is how I used to get the weapon prof experience from a client to a source.

1,0
2,1200
3,68000
4,250000
5,640000
6,1600000
7,4000000
8,10000000
9,22000000
10,40000000
11,90000000
12,95000000
13,142500000
14,213750000
15,320625000
16,480937500
17,721406250
18,1082109375
19,1623164063
20,2100000000

So if anyone can help with this problem it's a really big help for me :)

Thank you.
05/08/2021 17:19 12tails#2
Can you show us the packet structure? seems an offset is wrong or you're sending to the client the wrong level exp (maybe)
05/08/2021 17:44 Soulfly25#3
Quote:
Originally Posted by 12tails View Post
Can you show us the packet structure? seems an offset is wrong or you're sending to the client the wrong level exp (maybe)
My profexp are the same to the client which I get in WeaponSkillExp.ini which I used to get the experience.

Here is the packet structure
Code:
 public unsafe static partial class MsgBuilder
    {
        public static unsafe void GetProficiency(this ServerSockets.Packet stream, out MsgProficiency prof)
        {
            prof = new MsgProficiency();
            prof.ID = stream.ReadUInt32();
            prof.Level = stream.ReadUInt32();
            prof.Experience = stream.ReadUInt32();
            prof.UID = stream.ReadUInt32();
        }
        public static unsafe ServerSockets.Packet ProficiencyCreate(this ServerSockets.Packet stream, uint ID,uint Level, uint Experience, uint UID)
        {
            stream.InitWriter();

            stream.Write(ID);
            stream.Write(Level);
            stream.Write(Experience);
            stream.Write(UID);
            stream.Finalize(GamePackets.Proficiency);
            return stream;
        }
    }
    public class MsgProficiency
    {
        public uint ID;
        public uint Level;
        public uint Experience;
        public uint UID;
        public byte PreviouseLevel;
    }
05/08/2021 22:18 12tails#4
With version you're using?

At version 5165 or lower, this structure works.

05/08/2021 22:21 Soulfly25#5
I'm using the 5517 version the source I used is the Conquer_Server_V3.