Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 09:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Level limit on maps [HELP]

Discussion on Level limit on maps [HELP] within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2019
Posts: 27
Received Thanks: 1
Level limit on maps [HELP]

Hello, I want to put a level limit on the maps. For example, when I reach the 20th level in Nosville, I want no more exp, how can I do it?
NosNight is offline  
Old 07/01/2022, 22:11   #2
 
Limoo's Avatar
 
elite*gold: 0
Join Date: Jan 2017
Posts: 475
Received Thanks: 192
Put an NPC that says "MAX LV 20 or BAN"
Limoo is offline  
Thanks
5 Users
Old 07/01/2022, 22:58   #3
 
XV50's Avatar
 
elite*gold: 0
Join Date: Sep 2019
Posts: 379
Received Thanks: 168
Smartest way is to add byte LevelRequired to PortalDTO and then just do 1 simple check.

You can either check if the EXP/Drop should be blocked or use the MonsterBonus Generation and check if LevelRequired is equal or higher/lower and then so the work.

Or use the PortalHandler and do the same check there to block the entry
XV50 is offline  
Old 07/01/2022, 22:59   #4
 
elite*gold: 110
Join Date: Jun 2016
Posts: 573
Received Thanks: 191
Preq packet ->

if (session.character.level < 20 && packet.destmapinstance.mapid == 1)
{
session.sendpacket(session.generatemsg("gneugneu", 0));
return;
}

then you can't access to the map without reaching a specific level or

GenerateMonsterBonus ->

Search for GenerateXp ->

if (session.character.level < 20 && session.currentmapinstance.mapid == 1)
{
GenerateXp();
}

then no more xp

both ways are not clean but still do the work
Fizo55 is offline  
Old 07/02/2022, 12:26   #5
 
elite*gold: 0
Join Date: Mar 2018
Posts: 132
Received Thanks: 53
Quote:
Originally Posted by XV50 View Post
Smartest way is to add byte LevelRequired to PortalDTO and then just do 1 simple check.

You can either check if the EXP/Drop should be blocked or use the MonsterBonus Generation and check if LevelRequired is equal or higher/lower and then so the work.

Or use the PortalHandler and do the same check there to block the entry
make a nostale moba
g3stapo is offline  
Old 07/02/2022, 12:29   #6
 
XV50's Avatar
 
elite*gold: 0
Join Date: Sep 2019
Posts: 379
Received Thanks: 168
Quote:
Originally Posted by g3stapo View Post
make a nostale moba
League of NosVille
XV50 is offline  
Old 07/02/2022, 13:48   #7
 
elite*gold: 0
Join Date: Mar 2018
Posts: 132
Received Thanks: 53
Quote:
Originally Posted by XV50 View Post
League of NosVille
i will provide a map
g3stapo is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Koordinaten] Alle Maps ; Neue Maps ; Unbekannte Maps.
04/08/2013 - Metin2 PServer Guides & Strategies - 28 Replies
Hallu o.o Das Tool von Eddy˛ hat mich auf die Idee gebracht, alle Orte mal aufzulisten, mit den Koordinaten die man brauch um sich dahin zu teleportieren ;D Rotes Reich Map1 /warp 4742 9544 Rotes Reich Map2 /warp 3529 8825



All times are GMT +1. The time now is 09:18.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.