Centralized Kal Online Information Resources

Results 1 to 14 of 14
  1. #1
    Member RevEngKal is offline
    MemberRank
    Mar 2016 Join Date
    33Posts

    Centralized Kal Online Information Resources


    RaGEZONE Recommends

    RaGEZONE Recommends

    I'm thinking about creating a simple reference site which centralizes all Kal Online related information. That is, all information regarding used specifications (KCM, KSM, GB, GTX, ...), network protocols, DB procedures, DB Schema, etc.

    The reason is, that I spend far too much time browsing this site, reading though myriads of threads, in order to collect enough information to develop some more stuff.

    What are your thoughts? Any information you have already would be greatly appreciated and help everyone in the community. Anyway, I'll keep you updated.


  2. #2
    Hardcore Member Skansmer is offline
    MemberRank
    Jul 2015 Join Date
    122Posts

    Re: Centralized Kal Online Information Resources

    Here's some "information"... read the leaked source and insert the info u've gathered from it into a thread and maybe the sleeping mods will sticky it for u to find it later.

    yw.

  3. #3
    Member RevEngKal is offline
    MemberRank
    Mar 2016 Join Date
    33Posts

    Re: Centralized Kal Online Information Resources

    Thanks. These kind of answers, along with the continuous begging is why I never really cared about this section. I though maybe it got better since 2007, but apparently not.

  4. #4
    Member thestander is offline
    MemberRank
    Feb 2012 Join Date
    RDP/RootLocation
    85Posts

    Re: Centralized Kal Online Information Resources

    Quote Originally Posted by Skansmer View Post
    Here's some "information"... read the leaked source and insert the info u've gathered from it into a thread and maybe the sleeping mods will sticky it for u to find it later.

    yw.
    mods are a joke they know nothing about community just random mods who don't know anything about the community nor the game

  5. #5
    Hardcore Member Skansmer is offline
    MemberRank
    Jul 2015 Join Date
    122Posts

    Re: Centralized Kal Online Information Resources

    Nope it only got worse from 2007. :P

    P.S. In 2007 there was no source so most of the ppl tried to make sense of the files, now u just need to download the sauces and start reading if u want to understand how something (really) works.

    again.. yw.

  6. #6
    Account Upgraded | Title Enabled! lafreak is offline
    True MemberRank
    Aug 2012 Join Date
    211Posts

    Re: Centralized Kal Online Information Resources

    Quote Originally Posted by RevEngKal View Post
    Thanks. These kind of answers, along with the continuous begging is why I never really cared about this section. I though maybe it got better since 2007, but apparently not.
    Don't mind him, he's just a kal .gb model guy. :P

    About KSM, I can speak about it, since few days ago I implemented more or less safezones for emu.
    I couldn't find any resources aswell, all I had was compiled Kal World Editor that can draw KSM zones.
    First thing I did, was looking up .ksm hex:



    So I found out each cell might be represented by 4 bytes.
    I've made small program to read these bytes and draw it and ensure I'm right:



    So now, what each byte in 4 byte cell description mean?
    I tried to draw each zone in KWE, save and look up .ksm hex.
    It appears that first 2 bytes are either 0x00 0x00 or 0xFF 0xFF and very rarely something in between.
    0x00 0x00 stands for KWE green zone (free for mobs) and anything higher than it safezone.
    Next 2 bytes (WORD) is "sub zone":
    Code:
    #define ZONE_ONEWAY_PORTAL 0x01
    #define ZONE_TWOWAY_PORTAL 0x02
    #define ZONE_PK_FREE 0x04
    #define ZONE_TOWN (ZONE_TWOWAY_PORTAL | ZONE_PK_FREE)
    #define ZONE_CASTLE 0x10
    To get right cell using raw .ksm byte array having player/monster X & Y you can refer to my emulator source:
    https://github.com/lafreak/Bango/blo.../CZone.cpp#L60

  7. #7
    Member RevEngKal is offline
    MemberRank
    Mar 2016 Join Date
    33Posts

    Re: Centralized Kal Online Information Resources

    Thanks! I've actually wrote a KSM parser just this week, but have not pushed it yet. I could add that the files are in Little Endian byte order. I don't have much time now to add more, but I'll set up a wiki like page over the course of the week. Since I'm currently dealing with server development, I'll start in with: (old) en/decryption, packet protocol, KSM, and all server config files.

  8. #8
    Account Upgraded | Title Enabled! lafreak is offline
    True MemberRank
    Aug 2012 Join Date
    211Posts

    Re: Centralized Kal Online Information Resources

    @RevEngKal btw, first 4 bytes of file = header, you need to skip it

  9. #9
    Hardcore Member Skansmer is offline
    MemberRank
    Jul 2015 Join Date
    122Posts

    Re: Centralized Kal Online Information Resources

    Quote Originally Posted by lafreak View Post
    Don't mind him, he's just a kal .gb model guy. :P


    P.s There's no such thing as a Two way portal. fix it plz
    Last edited by Skansmer; 30-07-17 at 06:18 PM.

  10. #10
    Hardcore Member FlyingBurrito is offline
    MemberRank
    Jul 2016 Join Date
    111Posts

    Re: Centralized Kal Online Information Resources

    Quote Originally Posted by Skansmer View Post


    P.s There's no such thing as a Two way portal. fix it plz

    LMFAO i saw that one coming ^^

  11. #11
    Account Upgraded | Title Enabled! lafreak is offline
    True MemberRank
    Aug 2012 Join Date
    211Posts

    Re: Centralized Kal Online Information Resources

    Quote Originally Posted by Skansmer View Post


    P.s There's no such thing as a Two way portal. fix it plz
    Animal transformation restricted area?

  12. #12
    Hardcore Member Skansmer is offline
    MemberRank
    Jul 2015 Join Date
    122Posts

    Re: Centralized Kal Online Information Resources

    Well... i could tell u or u could take the "info" i gave in my first post here, by that i mean... read the files.

    But then again, don't mind me... i'm just the gb model guy. ^^


    EDIT: ehm here u go in case u can't find it...my ksm newbprogram

    All = (ignore this one... its just everything together... pretty much what u've showed here)
    Mob = 0
    Portal = 1
    Town = 2
    SinSafe = 4
    Castle Attacker = 8
    Castle Defender = 16



    yw...
    Last edited by Skansmer; 31-07-17 at 07:34 PM.

  13. #13
    Member RevEngKal is offline
    MemberRank
    Mar 2016 Join Date
    33Posts

    Re: Centralized Kal Online Information Resources

    That's the spirit :D Anyway, I've decided to use Jekyll + GitHub Pages to setup a site, as dealing with Wikipedia like sites was way too annoying.
    Last edited by RevEngKal; 4 Weeks Ago at 09:07 PM.

  14. #14
    Member RevEngKal is offline
    MemberRank
    Mar 2016 Join Date
    33Posts

    Re: Centralized Kal Online Information Resources

    Turns out, most static site generators are quite awful. However, I found a neat solution which fits my purpose: https://github.com/GitbookIO/gitbook. Hopefully settings up a site won't take too much effort, as I'm quite busy. Anyway, I just wanted to let you know I'm still working on a solution. This way new developers do not always have to start from scratch.




Advertisement