[CN-2012] Auto Learned Skills

Results 1 to 14 of 14
  1. #1
    Account Upgraded | Title Enabled! JakeJigsaw is offline
    MemberRank
    Jan 2014 Join Date
    ElderineLocation
    201Posts

    [CN-2012] Auto Learned Skills

    Upon hitting level 20, you learn a shit ton of passive skills that pertain to crafting, and production skills. I was wondering which file it is to edit the skills you receive, and if you can change the levels you obtain them.


  2. #2
    Apprentice wesleyd is offline
    MemberRank
    Apr 2012 Join Date
    24Posts

    Re: [CN-2012] Auto Learned Skills

    DefaultCharacterData.txt :o

  3. #3
    ExtrinsicStudio™ Myth is offline
    MemberRank
    Jan 2012 Join Date
    367Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by JakeJigsaw View Post
    Upon hitting level 20, you learn a shit ton of passive skills that pertain to crafting, and production skills. I was wondering which file it is to edit the skills you receive, and if you can change the levels you obtain them.
    Quote Originally Posted by wesleyd View Post
    DefaultCharacterData.txt :o
    DefaultCharacterData.txt is for new characters, pretty sure the Level 20 one is hard-coded to reward based on grade, easiest way to be sure is to Olly zone and check the exp-gain, but I'll start you on your journey and show you where/what you're after.



    The screenshot explains everything that occurs @ level 20.

  4. #4
    Account Upgraded | Title Enabled! JakeJigsaw is offline
    MemberRank
    Jan 2014 Join Date
    ElderineLocation
    201Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by Myth View Post
    DefaultCharacterData.txt is for new characters, pretty sure the Level 20 one is hard-coded to reward based on grade, easiest way to be sure is to Olly zone and check the exp-gain, but I'll start you on your journey and show you where/what you're after.



    The screenshot explains everything that occurs @ level 20.
    thanks a million.
    starting to make sence of it just by testing what changes cause changes.

  5. #5
    57 61 72 72 65 6e 32 47 6 Dec is offline
    MemberRank
    Aug 2012 Join Date
    220Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by Myth View Post
    DefaultCharacterData.txt is for new characters, pretty sure the Level 20 one is hard-coded to reward based on grade, easiest way to be sure is to Olly zone and check the exp-gain, but I'll start you on your journey and show you where/what you're after.



    The screenshot explains everything that occurs @ level 20.
    Bruh where its the highlighting in that olly setup jheeezzzz!

    But yeah, how much of this is hard coded (if you know) Warren? Would it not be good to create a hook of sorts here and get it working like it used to? (If I recall correctly was it not just a table via txt file before?)

  6. #6
    ExtrinsicStudio™ Myth is offline
    MemberRank
    Jan 2012 Join Date
    367Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by Dec View Post
    Bruh where its the highlighting in that olly setup jheeezzzz!

    But yeah, how much of this is hard coded (if you know) Warren? Would it not be good to create a hook of sorts here and get it working like it used to? (If I recall correctly was it not just a table via txt file before?)
    Not entirely sure, I just quickly looked for the exp distribute as I figured they'd have everything that takes place per-levelup around that section, but they generally have a few alternative methods doing the same thing with different input.

    And to be even more of a nice guy, here's a good resource to use for all the conditional jumps and operational instructions, as you can see with the JB in the image, it'll jump the whole block if their level is less than 20 (which means this check is done regardless once they're >= 20), easy solution is to simply JMP it for now (to remove completely).

  7. #7
    Account Upgraded | Title Enabled! JakeJigsaw is offline
    MemberRank
    Jan 2014 Join Date
    ElderineLocation
    201Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by Myth View Post
    Not entirely sure, I just quickly looked for the exp distribute as I figured they'd have everything that takes place per-levelup around that section, but they generally have a few alternative methods doing the same thing with different input.

    And to be even more of a nice guy, here's a good resource to use for all the conditional jumps and operational instructions, as you can see with the JB in the image, it'll jump the whole block if their level is less than 20 (which means this check is done regardless once they're >= 20), easy solution is to simply JMP it for now (to remove completely).
    Basically my goal is to add all the skills for all the classes. So over time you are granted skills, an since im running HK, so learned class automatically go to your action bar.
    So the JNE Short seems to be where it is calling upon for a certian class and spec of that class. I just do not know what each number represents for each spec.

  8. #8
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: [CN-2012] Auto Learned Skills

    @JakeJigsaw You would probably be better off creating a hook like @Dec said because hard coding all of those skills is going to be a pain, especially when you add new skills, modify or remove any, you'd need to edit the bin every time if you did it was hard coded. Not sure how it works, maybe it checks if the skills are valid, but I doubt that.

  9. #9
    57 61 72 72 65 6e 32 47 6 Dec is offline
    MemberRank
    Aug 2012 Join Date
    220Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by MrFarbodD View Post
    @JakeJigsaw You would probably be better off creating a hook like @Dec said because hard coding all of those skills is going to be a pain, especially when you add new skills, modify or remove any, you'd need to edit the bin every time if you did it was hard coded. Not sure how it works, maybe it checks if the skills are valid, but I doubt that.
    From what I can see in the provided screenshot, it should be very basic to do, just do a hook in that area and perform the same commands above with your own checks/arguments, then jump back. The hardest bit would be class checking etc, but there seems to be a function "csl_IsLearn" could possibly be related to checking that?

  10. #10
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: [CN-2012] Auto Learned Skills

    I don't understand why nobody mentioned the easy way out and just edit the stored procedure for leveling up. Sure they would have to relog but I mean, pservers are shit anyways.
    Last edited by Gruntilda; 28-09-15 at 03:31 AM.

  11. #11
    Account Upgraded | Title Enabled! JakeJigsaw is offline
    MemberRank
    Jan 2014 Join Date
    ElderineLocation
    201Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by Gruntilda View Post
    I don't understand why nobody mentioned the easy way out and just edit the stored procedure for leveling up. Sure they would have to relog but I mean, pservers are shit anyways.
    Servers may be shit, but I am trying to change everything to make it less Fiesta PS typical spoon fed gameplay.
    I dont care if I have a player base or not, its a hobby that is just nice to work on to pass time.

  12. #12
    ExtrinsicStudio™ Myth is offline
    MemberRank
    Jan 2012 Join Date
    367Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by Gruntilda View Post
    I don't understand why nobody mentioned the easy way out and just edit the stored procedure for leveling up. Sure they would have to relog but I mean, pservers are shit anyways.
    INSERT INTO tCharacter FROM tSkill WHEN nLevel >= 20 IF EXISTS(WHERE 2 >= 2)

  13. #13
    Account Upgraded | Title Enabled! JakeJigsaw is offline
    MemberRank
    Jan 2014 Join Date
    ElderineLocation
    201Posts

    Re: [CN-2012] Auto Learned Skills

    Quote Originally Posted by Myth View Post
    INSERT INTO tCharacter FROM tSkill WHEN nLevel >= 20 IF EXISTS(WHERE 2 >= 2)
    This is what I have been using. Lot easier to read, and modify.

  14. #14
    əʇılə ɯɐ ı fiestanerd69 is offline
    MemberRank
    Jun 2009 Join Date
    958Posts

    Re: [CN-2012] Auto Learned Skills

    Closing this thread seeing as OP's issue has been resolved.



Advertisement