Skip to content

Java Command

Featured Replies

hi i need java comand to set player 1 lvl ...like this:

 

                                                        st.takeItems(ADENA_ID,1)

st.getPlayer().setNoble(True)

st.giveItems(NOBLESS_TIARA,1)

 

but for set player 1 lvl.

why dont u try //setlevel 1 or //set_level 1 ? :S

  • Author

bcuz i need it for my quest

 

if you don't understand i speek about __init__.py file in quest

# + player.removeExpAndSp(player.getExp() - Experience.LEVEL[1], 0);//Set player to level 1.
# + player.setClassId(player.getBaseClass());//Resets character to first class.
# + for (L2Skill skill : player.getAllSkills()){//Remove the player's current skills.
# + player.removeSkill(skill);
# + }
# + player.giveAvailableSkills();//Give players their eligible skills.
# + player.store(); //Updates the player's information in the Character Database.
# + 

# + player.removeExpAndSp(player.getExp() - Experience.LEVEL[1], 0);//Set player to level 1.
# + player.setClassId(player.getBaseClass());//Resets character to first class.
# + for (L2Skill skill : player.getAllSkills()){//Remove the player's current skills.
# + player.removeSkill(skill);
# + }
# + player.giveAvailableSkills();//Give players their eligible skills.
# + player.store(); //Updates the player's information in the Character Database.
# + 

 

That's java and not python.

 

st.getPlayer().setExp(0)
st.getPlayer().getStat().setLevel(1)

 

If you don't unset exp to 0, the exp bar will show things like 4033.16% or 8126.53%.

  • Author

yea this help me a little

st.getPlayer().setExp(0)

st.getPlayer().getStat().setLevel(1)

 

but then if i exp i have all time 1 hp,mp,cp :/ dude

 

i wana make rebirth system but nothing...if any one have rebirth system for interlude plox post link here...i need it very very!!!!

i wana make rebirth system but nothing...if any one have rebirth system for interlude plox post link here...i need it very very!!!!

 

Here you are ;)

 

http://www.4shared.com/file/199518032/247348a8/RebirthSystem.html

 

LOL it's for off

  • Author

yes it's for off....but i need for java...

a and one more any one have or can make npc who will make you 1 lvl like from start and give one item

 

That's java and not python.

 

st.getPlayer().setExp(0)
st.getPlayer().getStat().setLevel(1)

 

If you don't unset exp to 0, the exp bar will show things like 4033.16% or 8126.53%.

 

yeah it work but i have 1hp,cp,mp...and when i exp i don't take back my hp,cp,mp...

and one more to take 1 lvl i need change any armor on me

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.