Raised This Month: $12 Target: $400
 3% 

Max Level Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WiLD10k
Junior Member
Join Date: Dec 2011
Location: Denmark
Old 05-28-2014 , 15:20   Max Level Problem
Reply With Quote #1

Hellothere AM.
I just got my new server up&running but I can't seem to get my server to have 25 levels, it only has 18 max.. How do I change this?

Thank you so much in advance!


amxmodx > configs > shero > shconfig.cfg :
Code:
//********************** SUPERHERO CORE CVARS **********************

//Enables/disables the mod.
//	0 - Disabled
//	1 - Enabled
sv_superheros 1

//Admin flag to determine who can access the important server commands
//Note: With AMXX 1.80 or above this can be modified in cmdaccess.ini
sh_adminaccess m

//Debug Message Level.
//ONLY enable this if you are trying to fix something, it prints A LOT of messages.
//	0 - Disabled
//	1 - Server Print
//	2 - Server Log
//	3 or above - More Messages, Server Log (higher the number the more messages)
sh_debug_messages 0

//Number of heroes allowed with bind characters - after that you must pick non-bind heroes only. (max 9 default)
sh_maxbinds 4

//Max number of powers players can pick from, this is also limited by the number of levels you have.
sh_maxpowers 25

//What level to start newcomers at.
sh_minlevel 3

//Save XP or restart it from 0 each map.
//	0 - Reset XP each map (Short Term)
//	1 - Save XP (Long Term)
sh_savexp 1

//Key used to save players XP data by.
//	0 - Force save by name/nick
//	1 - Auto-detect, save by SteamID or IP if LAN (default)
//	2 - Force save by IP
sh_saveby 1

//How many days a user's XP is saved after the user's last connection.
//Recommended max setting of 30 for VAULT style saving. Max value is 365.
sh_xpsavedays 365

//Minimum number of players required to gain any kind of non-frag XP (ie. objective/mercy XP).
sh_minplayersxp 2

//Default server wide reload mode.
//Used only if the hero is set to use the server's reload mode setting.
//	0 - do nothing, normal cs ammo and reloading functionality
//	1 - continuous shooting, no reload
//	2 - fill the backpack (must reload)
//	3 - drop the gun and get a new one with full clip (not recommended)
sh_reloadmode 0

//Block VIP flags
//	a - block use of +powers (good to stop from nocliping to rescue zone)
//	b - block giving of weapons by heroes
//	c - block max health set by heroes
//	d - block max armor set by heroes
//	e - block max speed set by heroes
//	f - block min gravity set by heroes
//	g - block all extradamage set by heroes (includes powers like lasers)
//	h - custom block setting (some heroes might use this)
sh_blockvip "abcdef"

//Enable this to save XP at end of every round.
//May cause a very small amount of lag at round end with MySQL saving.
//	0 - Disabled
//	1 - Enabled
sh_endroundsave 1

//This cvar sets the value of XP given/taken from players for Hostage / Bomb / VIP events.
//Hostage rescues get sh_objectivexp divided by number of hostages on map, per hostage.
sh_objectivexp 8

//Give new players an average level of XP based on people already playing. (Setting is ignored with Saved XP)
//	0 - Disabled
//	1 - Enabled
sh_autobalance 0

//Load XP right when a player joins (may cause lag with large user database)
//	0 - Disabled
//	1 - Enabled
sh_loadimmediate 0

//MercyXP mode, gives players XP if they did not gain any during a round.
//	0 - MercyXP system Disabled.
//	1 - Give any player a set amount of XP which is set with sh_mercyxp.
//	2 - Give only players up to a certain level MercyXP, max level is set with sh_mercyxp.
//		XP given will be the inverse of the amount they would get for killing
//		someone at their level, then this is divided by 2 to keep it low.
//		So as a players level increases they will get less MercyXP with mode 2.
sh_mercyxpmode 1

//If sh_mercyxpmode = 1: How much Mercy XP to give players
//If sh_mercyxpmode = 2: Max level to give MercyXP to players
sh_mercyxp 10

//Command Projector, displays help info to players in a HUD messages non-stop.
//	0 - Disabled
//	1 - Only show to DEAD players
//	2 - Show to ALL players
sh_cmdprojector 1

//How many highest level heroes can a person pick.
//If this is set to 2 and a client is at level 9,
//they can only pick 2 level 9 heroes max, 3 level 8 heroes max, ect.
//There is a bunch of complicated math that goes into this system and it limits more than
//just the highest level available to that person, try it and see what I mean.
//Set to 0 to disable this limiting of choices
sh_lvllimit 1

//SuperHero Menu mode
//	0 - Old style menu, hides disabled heroes from showing on the menu
//	1 - New style menu, shows disabled heroes grayed out
sh_menumode 1

//Headshot Multiplyer - if you kill someone with a headshot the XP given
//will be multiplied by the value.  Setting this to "1.0" will effectively
//disable it because x * 1.0 = x. Any value less than 1.0 is ignored.
sh_hsmult 2.0

//Can clients drop heroes while alive?
//This is OFF by default because many people expliot the server by picking a hero
//like batman, get the weapons, then drop him.  This will prevent that kind of activity.
sh_alivedrop 0

//Set whether Free For All mode is enabled for team killing. (Only works when friendly fire is on)
//	0 - Lose money, frags, and XP on TK (default)
//	1 - Gain money, frags, and XP on TK
sh_ffa 0

// *** MySQL Settings, Only needed if using the mysql saving method ***
// Uncomment the cvar lines to enable these settings

//sh_mysql_host "localhost"
//sh_mysql_user "SuperHeroModUser"
//sh_mysql_pass ""
//sh_mysql_db "sherodb"
//sh_mysql_persistent 0

// *************** END SUPERHERO CORE CVARS ***************
amxmodx > configs > shero > superhero :
Code:
## NUMLEVELS  - The total Number of levels to award players
## XPLEVELS   - How much XP does it take to earn each level (0..NUMLEVELS)
## XPGIVEN    - How much XP is given when a Level(N) player is killed (0..NUMLEVELS)
## LTXPLEVELS - Same as XPLEVELS but for Long-Term mode (sh_savexp 1)
## LTXPGIVEN  - Same as XPGIVEN but for Long-Term mode (sh_savexp 1)
NUMLEVELS 25
XPLEVELS   0 100 300 600 1000 1500 2100 2800 3600 4500 5500
XPGIVEN    60 80 100 120 140 160 180 200 220 240 260
LTXPLEVELS 0 100 200 400 800 1600 3200 6400 12800 25600 51200 102400 204800 409600 819200 1638400 3276800 6553600 13107200 2621440 52428800 104857600 209715200 419430400 838860800 1677721600
LTXPGIVEN  10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260
WiLD10k is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 05-29-2014 , 05:13   Re: Max Level Problem
Reply With Quote #2

Enable debug and look in the server console. It should tell you if you made some mistakes in superhero.ini.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
WiLD10k
Junior Member
Join Date: Dec 2011
Location: Denmark
Old 05-30-2014 , 12:11   Re: Max Level Problem
Reply With Quote #3

Quote:
Originally Posted by Jelle View Post
Enable debug and look in the server console. It should tell you if you made some mistakes in superhero.ini.
Thank you!
The mistake was that my level 19 experience was lower than my level 18
WiLD10k is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 06-02-2014 , 04:28   Re: Max Level Problem
Reply With Quote #4

That is usually the problem. I was looking at it but didn't notice a mistake on that part but good you found it.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode