Hey. This is something I find matches together pretty decently with my other tutorial posted here:
http://forum.ragezone.com/f588/howto-set-instant-lv55-lvxx-825015/
Step 1. - Direct to Src/Gameserver/model/gameobjects/player/PlayerCommonData.java and open it.
Step 2. - Search for:
Step 3. - Replace the method with this:
Step 4. - Save the Class file, compile the server, and enjoy.
I won't give my entire configurations that I've implemented, because I don't just want to give everything on a silver plate. You can add more items to the classes by using the addItem method.
PlayerClasses - Replace ".GLADIATOR":
What does this essentially do?
This combined with Instant 2nd Class (Assassin/Ranger etc) will give you starter gear for your character, or your player's newly created characters.
Sample:
Freshly Created Character (Instant LV55) + Instant StormWing Set
Downsides:
The downside with this is that it goes against the //set class # command because everytime you use the //set class # command on a target or yourself, the specified gear will be added. However, I don't see a reason for an Admin/GM to use this command on an Instant LV55 PvP server which this is designed for. So no worries.
http://forum.ragezone.com/f588/howto-set-instant-lv55-lvxx-825015/
Step 1. - Direct to Src/Gameserver/model/gameobjects/player/PlayerCommonData.java and open it.
Step 2. - Search for:
Code:
public void setPlayerClass(PlayerClass playerClass) {
Step 3. - Replace the method with this:
Code:
public void setPlayerClass(PlayerClass playerClass) {
Player player = getPlayer();
if(playerClass == PlayerClass.WARRIOR || playerClass == PlayerClass.SCOUT || playerClass == PlayerClass.MAGE || playerClass == PlayerClass.PRIEST) {
this.playerClass = playerClass;
}
if(playerClass == PlayerClass.GLADIATOR) {
ItemService.addItem(player, 100900684, 1); //WEAPON
ItemService.addItem(player, 182400001, 1000000); // KINAH
this.playerClass = playerClass;
SkillLearnService.addMissingSkills(player);
}
}
Step 4. - Save the Class file, compile the server, and enjoy.
I won't give my entire configurations that I've implemented, because I don't just want to give everything on a silver plate. You can add more items to the classes by using the addItem method.
PlayerClasses - Replace ".GLADIATOR":
Code:
- SPIRIT_MASTER
- RANGER
- ASSASSIN
- TEMPLAR
- SORCEROR
- CHANTER
- CLERIC
What does this essentially do?
This combined with Instant 2nd Class (Assassin/Ranger etc) will give you starter gear for your character, or your player's newly created characters.
Sample:
Freshly Created Character (Instant LV55) + Instant StormWing Set
Downsides:
The downside with this is that it goes against the //set class # command because everytime you use the //set class # command on a target or yourself, the specified gear will be added. However, I don't see a reason for an Admin/GM to use this command on an Instant LV55 PvP server which this is designed for. So no worries.
Attachments
You must be registered for see attachments list