rullezz Posted January 17, 2010 Posted January 17, 2010 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. Quote
0 disast3r Posted January 17, 2010 Posted January 17, 2010 why dont u try //setlevel 1 or //set_level 1 ? :S Quote
0 rullezz Posted January 17, 2010 Author Posted January 17, 2010 bcuz i need it for my quest if you don't understand i speek about __init__.py file in quest Quote
0 rodox Posted January 17, 2010 Posted January 17, 2010 # + 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. # + Quote
0 Zeeyo Posted January 17, 2010 Posted January 17, 2010 # + 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%. Quote
0 rullezz Posted January 17, 2010 Author Posted January 17, 2010 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!!!! Quote
0 Commodus Posted January 17, 2010 Posted January 17, 2010 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 Quote
0 rullezz Posted January 17, 2010 Author Posted January 17, 2010 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 Quote
Question
rullezz
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.
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.