(not that important lol)
So a lot of people are asking me how I did this on Ren.
I've decided to share how I applied instant leveling(without the use of mobs) to the game.
This will allow your players to select what level they want when making a toon.
Like so:
- First you need to go into the stored procedure usp_Create_Char_R.
(This is located in PS_GameData for those that do not know) - Now that you have that open find this line:
Code:SET @SkillPoint = 5
- Remove that first before doing anything else.
(If this is kept it will mess with the edits. At least for me it did)
Where to add these edits you ask? After these lines:
Code:@CharID int = 0, @NameCnt tinyint = 0 AS SET NOCOUNT ON DECLARE @Ret int
- Now that we have all that out of the way it's time to start working on the instant leveling:
Code:IF @Grow = 1 -- normal mode BEGIN SET @Grow = 3 SET @Level = 15 SET @StatPoint = 126 SET @SkillPoint = 70
- Now this is pretty simple to set up here. You can choose what Grow or level you want. Make sure you set the stat and skill points correctly at whatever level you put in. (If someone applies a reset they will get unedited points)
- You also need to set the base stat points per level:
(I added this part directly under the above part)
Code:IF @Job = 0 BEGIN SET @Str = 28 END ELSE IF @Job = 1 BEGIN SET @rec = 26 END
- This is set up to go with the level above. You will have to do the math on the points they get if you wish to increase/decrease the starting level.
That's it Now you can apply this to your server and tweak it how you want.
Make sure you always use a test server before applying something to a live server.
Note: This is not complete. You need to fill in the blanks like the Jobs and if you want to add custom levels to the other buttons.
I will NOT upload a video or screens on how to do this.
You must figure out how to do the extras on your own.
Extra: So lets say you want to add a custom start location based upon your new edit instead of just a single Job location in the map.ini.
Well this is pretty simple as well:
Code:
IF @Grow = 1 -- normal mode BEGIN SET @Grow = 3 SET @Level = 15 SET @StatPoint = 126 SET @SkillPoint = 70 SET @Map = 18
Code:
IF @Family IN(0,1) BEGIN -- set light coords and map SET @PosX = 208 SET @PosY = 20 SET @PosZ = 177 END ELSE IF @Family IN(2,3) BEGIN -- set fury coords and map SET @PosX = 766 SET @PosY = 3 SET @PosZ = 825 END
This one makes lights start in the 1-15 light base and fury in fury base.
Simple really. Just thought someone might ask :P
Not sure if I'm missing anything here just let me know if something doesn't work right(no stupid "this doesn't work for me" or "how do i apply this?" questions. I will NOT answer those.)
Credits go to Abrasive for walking me through making this.
(Sorry for all the spam those times Abrasive lol)