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!

New cm command

Status
Not open for further replies.
Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
i was bored so i made it...
i dont think someone did it. and if someone did, dont flame.

public int Reborns() {
return getPlayer().getReborns();
}


hmm its like cm.getLevel
but this command is for your reborns. if you smart you can do lots of things with this command.

edit: im kind of newb so this is a great progress for me...
 
Master Summoner
Loyal Member
Joined
May 5, 2008
Messages
532
Reaction score
0
Re: [RELEASE]New cm command

WTF? What is this? 8O
 
Experienced Elementalist
Joined
Jun 18, 2008
Messages
216
Reaction score
0
Re: [RELEASE]New cm command

-agrees with savage-
.....
 
Newbie Spellweaver
Joined
Jun 9, 2008
Messages
15
Reaction score
0
Re: [RELEASE]New cm command

@ SavageSteez Ah hah! this is what i needed ^_^

I'm fairly sure this goes under NPCConversationManager.java under

public int getLevel() {
return getPlayer().getLevel();
}

but please don't quote me cuz I'm no java pro >_<
 
Junior Spellweaver
Joined
Jun 25, 2008
Messages
166
Reaction score
0
Re: [RELEASE]New cm command

:|
its like getLevel
its shows how much reborns player got
but you need airflow's reborn script,
or you can do cm.getReborns >,<,= 20....
 
Newbie Spellweaver
Joined
Jun 9, 2008
Messages
15
Reaction score
0
Re: [RELEASE]New cm command

Ok, for anyone that cares, I got the command working, but you need to add something before you can get it to work though.

public int Reborns() { <------ change to public int getReborns() {
return getPlayer().getReborns();
}

This goes under "NPCConversationManager.java" and to add it to an NPC to check reborns add "if (cm.getReborns() >= X) {" to the script with X being the number of reborns you want it to check for.

Nice command =D
 
Junior Spellweaver
Joined
Apr 26, 2008
Messages
134
Reaction score
0
Re: [RELEASE]New cm command

what does it do......?
 
Newbie Spellweaver
Joined
Jun 9, 2008
Messages
15
Reaction score
0
Re: [RELEASE]New cm command

@tensyume This allows you to add a command for an NPC to check if a person has reborn or not. It can also be used to check if a person has reached so many reborns. It's almost the exact same as the cm.getLevel except it checks reborns instead.
 
Status
Not open for further replies.
Back
Top