Hirasu Posted October 30, 2012 Posted October 30, 2012 its possible to make a script when a player is lvl 150 (max lvl 155) to disable exp gains ? Quote
-1 Bin4ry Posted October 30, 2012 Posted October 30, 2012 (edited) You can try this script: OnNPCKillEvent: if (BaseLevel >= 150) getexp - getmonsterinfo(killedrid,3), - getmonsterinfo(killedrid,4); end; Somehow feels like AnnieRuru gonna come in and shoots at me Edited October 30, 2012 by darristan 1 Quote
Ryokem Posted October 30, 2012 Posted October 30, 2012 You can try this script: OnNPCKillEvent: if (BaseLevel >= 150) getexp - getmonsterinfo(killedrid,3), - getmonsterinfo(killedrid,4); end; Somehow feels like AnnieRuru gonna come in and shoots at me It's a nice solution, but that prevents the player to gain exp from killing monsters only, not from all other script sources (like quests, for example). Even if, I must agree there is no way to prevent a script command to work, unless the proper source modifications. its possible to make a script when a player is lvl 150 (max lvl 155) to disable exp gains ? You should be more detailed about "which" exp you want players not to gain: only EXP from killing monsters, only EXP from other script souurces, or both. 1 Quote
GmOcean Posted October 30, 2012 Posted October 30, 2012 I believe, there was a way around this... i think someone said to remove those level's from exp db, or set them to 0. I believe it's the first. Theoretically, this will prevent them from leveling up to those levels, but commands such as, @blvl will still work. 1 Quote
AnnieRuru Posted October 30, 2012 Posted October 30, 2012 @GmOcean yes, I was the one who said that and I just found the original topic that I learned that from Yhn http://www.eathena.ws/board/index.php?showtopic=151290 Google Translation - Dutch -> English The source is the maximum level gedefinierd (mmo.h I thought), default is 99.In exp.txt the maximum feasible level gedefinierd. What you can do is (outside kutwerk) the max level in your exp.txt set at 255, and the 254th entry of that row to 0. This would in theory anyone with experience to level 254 can come, and because the required exp is 0, they can not go to 255. At least, that was always tongue.gif (You would just be sure to try the exp for lvl 10 to 0 or similar). quite understandable 1 Quote
Hirasu Posted October 31, 2012 Author Posted October 31, 2012 (edited) Thanks for all the replays @GmOcean,AnnieRuru wow this is a nice and simple idea thanks!! Edited October 31, 2012 by Hirasu Quote
doommap Posted December 3, 2012 Posted December 3, 2012 You can try this script:OnNPCKillEvent:if (BaseLevel >= 150) getexp - getmonsterinfo(killedrid,3), - getmonsterinfo(killedrid,4);end; Somehow feels like AnnieRuru gonna come in and shoots at me i tried this and its not working on me here's what i did - script noexp -1,{ OnNPCKillEvent: if (BaseLevel >= 150) getexp - getmonsterinfo(killedrid,3), - getmonsterinfo(killedrid,4); end; } what i want is when you reached level 99 you cant gain experience anymore. am i doin it wrong? @.@ Quote
GmOcean Posted December 3, 2012 Posted December 3, 2012 Refer to Post #5. The script way that your doing only makes it so if they gain exp from a monster at X level, to erase that exp. Which is ineffective since you could potentially level up off of one kill, in that case, it would be useless. So again, refer to post #5. Quote
Question
Hirasu
its possible to make a script when a player is lvl 150 (max lvl 155) to disable exp gains ?
7 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.