Jump to content
  • 0

No EXP at Level xxx


Hirasu

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   6
  • Joined:  12/23/11
  • Last Seen:  

its possible to make a script when a player is lvl 150 (max lvl 155) to disable exp gains ?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • -1

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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 :P

Edited by darristan
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  205
  • Reputation:   19
  • Joined:  10/12/12
  • Last Seen:  

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 :P

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.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

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.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

@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
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   6
  • Joined:  12/23/11
  • Last Seen:  

Thanks for all the replays :)

@GmOcean,AnnieRuru

wow this is a nice and simple idea thanks!!

Edited by Hirasu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  11/21/12
  • Last Seen:  

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 :P

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? @.@

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...