[Help] Reskil (stat point)1299

Results 1 to 4 of 4
  1. #1
    Newbie kaue123 is offline
    MemberRank
    Aug 2005 Join Date
    BrasilLocation
    9Posts

    [Help] Reskil (stat point)1299

    when I reskill level in 80 so get back to 6 points stat point

    and fixed it ...


  2. #2
    Newbie ascxc is offline
    MemberRank
    May 2008 Join Date
    4Posts

    Re: Reskil (stat point)1299

    Ponts in USERDATA value tinyint (0-255). Points value tinyint to smalint and fix points for knightonline.exe

  3. #3
    Newbie stringSyntax is offline
    MemberRank
    Jul 2008 Join Date
    3Posts

    Re: [Help] Reskil (stat point)1299

    I see that the Points column in USERDATA holds a max value of 255 because it is a tinyint. I have changed it to a smallint which should hold the larger numbers. However as soon as you log in the Points column gets changed. I have a feeling that in the client program it is set for a certain size as well. (Maybe its a byte? Because when I set Points myself the highest value it will hold before resetting is 127) Anyone know how I can change this? I was thinking maybe there was some way I could call another script to change it or if i could find the one that does it. Also I noticed the manner points hold int values which would suffice and since they aren't really being used for anything storing the Points in there seems like a possibility.

    I have downloaded a decompiler but I'm not sure exactly how to use it. I am a CS major so if anyone knows how to fix this or a place to read up on fixing the exe let me know. Thanks.

  4. #4
    Newbie stringSyntax is offline
    MemberRank
    Jul 2008 Join Date
    3Posts

    Re: [Help] Reskil (stat point)1299

    To add to my last post. I think the file that is doing the translating wrong is the server files. Not the client. And at this point I am almost positive its a byte thats holding the value. So if anyone knows how to decompile the code change the data type to an int from byte and recompile we could actually have the stat reset working.



Advertisement