PDA

View Full Version : Experience/Level Restrictions, by Zone Question


utbbop
02-18-2015, 09:50 AM
Hi Everyone,
Back again with another question!

Did some searching and couldn't find anything, which seems odd to me so perhaps its something wrong on my end...but...

I am interested in applying level caps/experience gain caps at the zone level.

Example:

- Tier 1 (The starting Tier for my server) is the in the Zone of The Oasis.
This Tier/Zone should only allow players to gain experience up until they reach level 5.
It is fine, and actually preferred, that the player be able to gain 99% of level 5 so that when moving to Tier 2 they can ding to level 6 after 1 kill or so...

Anyone able to advise me on how I might be able to achieve this?

I did see a post that mentioned controlling this by adjusting EXP Modifiers based on the CON of the mob. Aka make Blues/Light Blues, etc, 0% exp in an effort to achieve this. I will mess with this if needed but figured I would see if there are any newer methods to achieve what I am looking for as I do intend to have some zones where Light Blues could be grinded for AA exp so making them 0% exp would be in conflict with this.


As per usual, thank you for the support/input.

Leetsauce
02-18-2015, 10:47 AM
I do this by mob con as well. At level 5, level 1 mobs no longer give you xp, etc. Then if you wanted to get super deep into it you could control loot by mob level via perl (default.pl in whatever zone folder you're wanting it in)

There may be a more efficient way to do this, but this method is what I use.

Edit: You can also have the player port themselves out of the zone upon reaching level 6 by perl.

trevius
02-18-2015, 02:25 PM
If you want to hard set level caps per zone, you can use rule sets to do it. In your zones table, you can define a rule set to use for each zone. What you need to do is create a rule set for each zone in the rule_sets table, then in your rules_values, add an entry for that rule set number for the MaxLevel rules. Then just add that rule set to the zone you want to cap there. You can use the #rules command (I think it is #rules reloadall) to reload rules while your server is running so you can test them yourself if you like. Once you get one figured out and working, the rest should be cake.

utbbop
02-18-2015, 04:57 PM
If you want to hard set level caps per zone, you can use rule sets to do it. In your zones table, you can define a rule set to use for each zone. What you need to do is create a rule set for each zone in the rule_sets table, then in your rules_values, add an entry for that rule set number for the MaxLevel rules. Then just add that rule set to the zone you want to cap there. You can use the #rules command (I think it is #rules reloadall) to reload rules while your server is running so you can test them yourself if you like. Once you get one figured out and working, the rest should be cake.

Thanks Trev, can you help me/clarify the following:

1. Create a new rule in rule_sets table.
- Example:
ruleset_id = 20 (randomly decided by me)
name = OasisMaxLevel (randomly decided by me)

2. Create a new rule in rule_values table.
- Example:
ruleset_id = 20 (based on my decision in rule_sets)
rule_name = MaxLevel (based on what you told me)
rule_value = 5 (based on my desire to have level 5 be the max level for Oasis)
notes = Oasis Maximum Level Allowed to Gain Experience from Killing Monsters in this zone. (STILL ALLOWS ANY LEVEL PLAYER TO ENTER THE ZONE) (randomly decided by me)

3. Add newly created rule to Oasis in zone table.
- Example:
ruleset = 20 (based on the creation of my new rule)


Thanks Trev, let me know if it looks like I am off base on anything here.

dagulus2
02-18-2015, 07:18 PM
Not sure what the difference betwwen 'Character:MaxXPLevel' an Character:MaxLevel' is, but you might want to test both.

You may also need to set 'Character:KeepLevelOverMax' to true, or characters might delevel when entering the zone?

epilz
02-18-2015, 08:08 PM
I use Character:MaxXPLevel to set initial characters created before progression, that way they do not go over level 50 until they finish Kunark Progression.. I set Character:MaxLevel to each expansion for progression. Do not have a rule for Character:KeepLevelOverMax. I might need to look into creating that rule. I have not seen any delevels yet. If they try to zone in, it says they do not have permission and they never really zone.

utbbop
02-19-2015, 09:32 AM
Okay, looks like I was able to get this working. I used MaxEXPLevel instead of MaxLevel.

1. Create a new rule in rule_sets table.
- Example:
ruleset_id = 20
name = OasisMaxLevel

2. Create a new rule in rule_values table.
- Example:
ruleset_id = 20
rule_name = MaxExpLevel
rule_value = 5
notes = Oasis Maximum Level Allowed to Gain Experience from Killing Monsters in this zone. (STILL ALLOWS ANY LEVEL PLAYER TO ENTER THE ZONE)

3. Add newly created rule to Oasis in zone table.
- Example:
ruleset = 20


Thanks all for the help!