[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.
Re: [CN-2012] Auto Learned Skills
DefaultCharacterData.txt :o
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
JakeJigsaw
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
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.
http://i.imgur.com/vkAg7hy.png
The screenshot explains everything that occurs @ level 20.
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
Myth
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.
https://forum.ragezone.com/cache.php...%2FvkAg7hy.png
The screenshot explains everything that occurs @ level 20.
thanks a million.
starting to make sence of it just by testing what changes cause changes.
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
Myth
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.
http://i.imgur.com/vkAg7hy.png
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?)
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
Dec
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).
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
Myth
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.
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.
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
MrFarbodD
@
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?
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.
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
Gruntilda
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.
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
Gruntilda
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)
Re: [CN-2012] Auto Learned Skills
Quote:
Originally Posted by
Myth
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.
Re: [CN-2012] Auto Learned Skills
Closing this thread seeing as OP's issue has been resolved.