Reward sp

11/24/2018 12:23 polk99#1
Hello I have problem reward sp
After punching 20j it does not get sp 1
11/24/2018 13:27 Nephya#2
Code:
                case 20:
                    switch (session.Character.Class)
                    {
                        case ClassType.Swordman:
                            session.Character.GiftAdd(901, 1);
                            break;
                        case ClassType.Archer:
                            session.Character.GiftAdd(903, 1);
                            break;
                        case ClassType.Magician:
                            session.Character.GiftAdd(905, 1);
                            break;
                    }
                    break;
11/24/2018 13:29 polk99#3
i have code no work

[Only registered and activated users can see links. Click Here To Register...]
11/24/2018 13:51 Nephya#4
"JobLevel"
11/24/2018 14:18 polk99#5
No work
11/24/2018 15:03 Nephya#6
Code:
        public void GetLevelUpRewards(ClientSession session)
        {
            switch (session.Character.Level)
            {

                case 20:
                    switch (session.Character.Class)
                    {
                        case ClassType.Swordman:
                            session.Character.GiftAdd(901, 1);
                            break;
                        case ClassType.Archer:
                            session.Character.GiftAdd(903, 1);
                            break;
                        case ClassType.Magician:
                            session.Character.GiftAdd(905, 1);
                            break;
                    }
                    break;
11/24/2018 15:23 polk99#7
no work fuck :(
11/24/2018 15:48 Fizo55#8
Quote:
Originally Posted by polk99 View Post
no work fuck :(
In OpenNos.GameObject/Character.cs in GenerateLevelXpLevelUp function you have RewardsHelper.Instance.GetLevelUpRewards(Session); ????

Normally, this is already done on the Opennos noswings source
11/24/2018 15:55 polk99#9
i no have function GenerateLevelXpLevelUp
11/24/2018 16:14 Fizo55#10
Quote:
Originally Posted by polk99 View Post
i no have function GenerateLevelXpLevelUp
in OpenNos.GameObject/Character.cs you have GenerateXp function
logicaly in this function under GetReferrerReward(); you have RewardsHelper.Instance.GetLevelUpRewards(Session); if you don't have this line write it
11/25/2018 01:14 FI0w#11
Quote:
Originally Posted by Nephya View Post
Code:
        public void GetLevelUpRewards(ClientSession session)
        {
            switch (session.Character.Level)
            {

                case 20:
                    switch (session.Character.Class)
                    {
                        case ClassType.Swordman:
                            session.Character.GiftAdd(901, 1);
                            break;
                        case ClassType.Archer:
                            session.Character.GiftAdd(903, 1);
                            break;
                        case ClassType.Magician:
                            session.Character.GiftAdd(905, 1);
                            break;
                    }
                    break;
idk if you are stupid but he wanna check for JobLevel so why you tell him its wrong so that he should use Level?
11/25/2018 10:14 Nephya#12
your mother the whore no ? at least I'm trying of help unlike you
11/25/2018 10:47 Saber none#13
Quote:
Originally Posted by Nephya View Post
your mother the whore no ? at least I'm trying of help unlike you
yep, apprently you are trying to help him with code that you dont even understand. Well played.
11/25/2018 10:54 polk99#14
done thanks for help
11/25/2018 11:00 Fizo55#15
Quote:
Originally Posted by Nephya View Post
your mother the whore no ? at least I'm trying of help unlike you
Why so much hate ?