Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Instant Gear for New Characters

Status
Not open for further replies.
Junior Spellweaver
Joined
Dec 23, 2011
Messages
159
Reaction score
87
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:
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:

SITFN - Instant Gear for New Characters - RaGEZONE Forums

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
Newbie Spellweaver
Joined
Feb 15, 2008
Messages
90
Reaction score
4
How about adding 2 swords sir or 2 rings and 2 earrings. You can also go directly to player_initial_data.xml then add everything there without worrying the //set class command
 
Experienced Elementalist
Joined
Jul 27, 2008
Messages
222
Reaction score
9
To give 2 different items just change this
ItemService.addItem(player, ITEMID, AMOUNT);
 
Newbie Spellweaver
Joined
Jun 20, 2012
Messages
23
Reaction score
0
thanks for the share, im new in playing aion and this help me a lot..
 
Newbie Spellweaver
Joined
Dec 17, 2011
Messages
12
Reaction score
0
Items are already equiped or he needs lvl 55 to equip?
Edit: It's not working, what compile means? i need to run "Build&Copy Aion Server" again?
 
Last edited:
Newbie Spellweaver
Joined
Jun 20, 2012
Messages
23
Reaction score
0
Just love seeing the cool equipped pic... kick butt
 
Status
Not open for further replies.
Back
Top