inner_ability_skills V117

Results 1 to 8 of 8
  1. #1
    Member ilikeme is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    54Posts

    inner_ability_skills V117

    Who can give me SQL code for the table 'inner_ability_skills'.


  2. #2
    Enthusiast Kuuichi is offline
    MemberRank
    Mar 2011 Join Date
    30Posts

    Re: inner_ability_skills V117

    PHP Code:
    CREATE TABLE `inner_ability_skills` (
      `
    player_idint(11NOT NULL AUTO_INCREMENT,
      `
    skill_idint(11NOT NULL,
      `
    skill_leveltinyint(1NOT NULL,
      `
    max_leveltinyint(1NOT NULL,
      `
    ranktinyint(1NOT NULL,
      
    PRIMARY KEY (`player_id`)
    ENGINE=InnoDB DEFAULT CHARSET=latin1
    Not sure if those are the right variables/sizes, but it works for me.

  3. #3
    Omega sunnyboy is offline
    MemberRank
    Mar 2010 Join Date
    6,108Posts

    Re: inner_ability_skills V117

    here's correct one

    PHP Code:
    DROP TABLE IF EXISTS `inner_ability_skills`;
    CREATE TABLE `inner_ability_skills` (
      `
    player_idint(11unsigned NOT NULL,
      `
    skill_idint(9unsigned NOT NULL,
      `
    skill_leveltinyint(2unsigned NOT NULL,
      `
    max_leveltinyint(2unsigned NOT NULL,
      `
    ranktinyint(1unsigned NOT NULL DEFAULT '0',
      
    PRIMARY KEY (`player_id`,`skill_id`)
    ENGINE=InnoDB DEFAULT CHARSET=latin1

  4. #4
    Member ilikeme is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    54Posts

    Re: inner_ability_skills V117

    Quote Originally Posted by sunnyboy184 View Post
    here's correct one

    PHP Code:
    DROP TABLE IF EXISTS `inner_ability_skills`;
    CREATE TABLE `inner_ability_skills` (
      `
    player_idint(11unsigned NOT NULL,
      `
    skill_idint(9unsigned NOT NULL,
      `
    skill_leveltinyint(2unsigned NOT NULL,
      `
    max_leveltinyint(2unsigned NOT NULL,
      `
    ranktinyint(1unsigned NOT NULL DEFAULT '0',
      
    PRIMARY KEY (`player_id`,`skill_id`)
    ENGINE=InnoDB DEFAULT CHARSET=latin1
    Quote Originally Posted by Kuuichi View Post
    PHP Code:
    CREATE TABLE `inner_ability_skills` (
      `
    player_idint(11NOT NULL AUTO_INCREMENT,
      `
    skill_idint(11NOT NULL,
      `
    skill_leveltinyint(1NOT NULL,
      `
    max_leveltinyint(1NOT NULL,
      `
    ranktinyint(1NOT NULL,
      
    PRIMARY KEY (`player_id`)
    ENGINE=InnoDB DEFAULT CHARSET=latin1
    Not sure if those are the right variables/sizes, but it works for me.
    Thank you guys ;)
    but when I'm wearing white angelic blessing ring the player get d/c

  5. #5
    至死不渝 noviceboy55 is offline
    MemberRank
    Dec 2008 Join Date
    SingaporeLocation
    708Posts

    Re: inner_ability_skills V117

    Quote Originally Posted by ilikeme View Post
    Thank you guys ;)
    but when I'm wearing white angelic blessing ring the player get d/c
    It's due to the player not having the angel passive.

  6. #6
    Member ilikeme is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    54Posts

    Re: inner_ability_skills V117

    Quote Originally Posted by noviceboy55 View Post
    It's due to the player not having the angel passive.
    How the player can have angle passive?

    BTW,
    I've been programming for 5 years (2 years in school and 3 years I've learned before the school), but MapleStory Private Server I'm new then I don't know how it's work, and it's look really intersting ;)

  7. #7
    Apprentice pwx603 is offline
    MemberRank
    May 2011 Join Date
    8Posts

    Re: inner_ability_skills V117

    The white angelic passive appears to only work on certain classes. humm~~~ I'm still delving into the codes to find out why...

  8. #8
    Flow even is offline
    MemberRank
    Nov 2012 Join Date
    BaniLocation
    610Posts

    Re: inner_ability_skills V117

    use this in playerstats.java
    Code:
            if (first_login && chra.getLevel() >= 30) { //Angelic blessing for all jobs
                 if (chra.isGM()) { //!job lol
                    for (int i = 0; i < allJobs.length; i++) {
                        sData.put(SkillFactory.getSkill(1085 + allJobs[i]), new SkillEntry((byte) 1, (byte) 0, -1));
                        sData.put(SkillFactory.getSkill(1087 + allJobs[i]), new SkillEntry((byte) 1, (byte) 0, -1));
                        sData.put(SkillFactory.getSkill(1179 + allJobs[i]), new SkillEntry((byte) 1, (byte) 0, -1));
                    }
                } else {
                    sData.put(SkillFactory.getSkill(getSkillByJob(1085, chra.getJob())), new SkillEntry((byte) 1, (byte) 0, -1));
                    sData.put(SkillFactory.getSkill(getSkillByJob(1087, chra.getJob())), new SkillEntry((byte) 1, (byte) 0, -1));
                    sData.put(SkillFactory.getSkill(getSkillByJob(1179, chra.getJob())), new SkillEntry((byte) 1, (byte) 0, -1));
                }
            }



Advertisement