Raised This Month: $ Target: $400
 0% 

Help with setting max levels


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
-=TJL=- Staff
Member
Join Date: Jan 2009
Old 01-31-2009 , 21:29   Help with setting max levels
Reply With Quote #1

Trying to make my max levels 20. It doesn't load. It simply loads 10 levels. Not what I set it to. Help please.


SERVER LOG
Code:
21:22:29 hostname:  -=TJL=- Super Hero-20 Levels-3 Free
         version :  48/1.1.2.6/Stdio 4383 secure  (10)
         tcp/ip  :  8.9.15.156:27015
         map     :  cs_assault at: 0 x, 0 y, 0 z
         players :  1 active (20 max)
         
         #      name userid uniqueid frag time ping loss adr
         # 1 "-=TJL=- 5up3r-m4n-S-" 5 STEAM_0:1:12986872  -1 04:12   59    0 
         1 users
21:22:39 og L 01/31/2009 - 21:22:31: "-=TJL=- 5up3r-m4n-S-<5><STEAM_0:1:12986872><TERRORIST>" triggered "weaponstats" (weapon "m4a1") (shots "250") (hits "0") (kills "0") (headshots "0") (tks "0") (damage "0") (deaths "0")
21:22:39 og L 01/31/2009 - 21:22:31: "-=TJL=- 5up3r-m4n-S-<5><STEAM_0:1:12986872><TERRORIST>" triggered "weaponstats2" (weapon "m4a1") (head "0") (chest "0") (stomach "0") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "0")
21:22:39 og L 01/31/2009 - 21:22:31: "-=TJL=- 5up3r-m4n-S-<5><STEAM_0:1:12986872><TERRORIST>" triggered "time" (time "2:56")
21:22:39 og L 01/31/2009 - 21:22:31: "-=TJL=- 5up3r-m4n-S-<5><STEAM_0:1:12986872><TERRORIST>" triggered "latency" (ping "72")
21:22:39 og L 01/31/2009 - 21:22:31: [SH] Making final XP save before plugin unloads
21:22:39 og L 01/31/2009 - 21:22:31: [META] ini: Begin re-reading plugins list: /usr/local/games/cs/727726/8.9.15.156:27015/cstrike/addons/metamod/plugins.ini
21:22:39 og L 01/31/2009 - 21:22:31: [META] ini: Read plugin config for: AMX Mod X
21:22:39 og L 01/31/2009 - 21:22:31: [META] ini: Read plugin config for: Monster
21:22:39 og L 01/31/2009 - 21:22:31: [META] ini: Finished reading plugins list: /usr/local/games/cs/727726/8.9.15.156:27015/cstrike/addons/metamod/plugins.ini; Found 2 plugins
21:22:39 og L 01/31/2009 - 21:22:31: [META] dll: Updating plugins...
21:22:39 og L 01/31/2009 - 21:22:31: [META] dll: Finished updating 7 plugins; kept 2, loaded 0, unloaded 0, reloaded 0, delayed 0
21:22:39 og L 01/31/2009 - 21:22:31: "-=TJL=- 5up3r-m4n-S-<5><STEAM_0:1:12986872><TERRORIST>" disconnected
21:22:39 og L 01/31/2009 - 21:22:31: World triggered "Round_Draw" (CT "0") (T "0")
21:22:39 og L 01/31/2009 - 21:22:31: World triggered "Round_End"
21:22:39 og L 01/31/2009 - 21:22:31: Log file closed
21:22:39 og L 01/31/2009 - 21:22:31: Log file started (file "logs/L0131001.log") (game "cstrike") (version "48/1.1.2.6/Stdio/4383")
21:22:39 og L 01/31/2009 - 21:22:31: Loading map "cs_assault"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvars start
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_bomb_viewable_check_interval" = "0.5"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_debug_level" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_examine_time" = "0.5"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_hint_interval_time" = "10.0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_look_angle" = "10"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_look_distance" = "200"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_message_character_display_time_coefficient" = "0.07"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_message_minimum_display_time" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_message_repeats" = "5"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "_tutor_view_distance" = "1000"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "allow_spectators" = "90"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "amx_client_languages" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "amx_language" = "en"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "amx_nextmap" = "cs_siege"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "amx_timeleft" = "56:55"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "amxmodx_version" = "1.75a"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "coop" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "deathmatch" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "decalfrequency" = "40"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "edgefriction" = "2"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "hostage_debug" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "hostage_stop" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "humans_join_team" = "any"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "max_queries_sec" = "3.0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "max_queries_sec_global" = "30"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "max_queries_window" = "60"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "metamod_version" = "1.19p28"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "monster_version" = "3.02.01"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_allowmonsters" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_autokick" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_autoteambalance" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_buytime" = "1.5"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_c4timer" = "45"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_chattime" = "5"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_consistency" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_fadetoblack" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_flashlight" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_footsteps" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_forcecamera" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_forcechasecam" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_fragsleft" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_freezetime" = "2"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_friendlyfire" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_ghostfrequency" = "0.1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_hostagepenalty" = "4"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_kickpercent" = "0.66"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_limitteams" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_logdetail" = "0"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "mp_logfile" = "1"
21:22:39 og L 01/31/2009 - 21:22:31: [MONSTER] Processing skill file: "cstrike/addons/monster/config/skill.cfg"
21:22:39 og L 01/31/2009 - 21:22:31: [MONSTER] Processing precache file: "cstrike/addons/monster/config/precache.cfg"
21:22:39 og L 01/31/2009 - 21:22:31: Server cvar "sv_maxspeed" = "900"
21:22:39 og L 01/31/2009 - 21:22:32: Server cvar "amx_nextmap" = "de_cbble"
21:22:39 logaddress 216.16.220.227 5461
21:22:39 og L 01/31/2009 - 21:22:32: Started map "cs_assault" (CRC "777915923")
21:22:40 og L 01/31/2009 - 21:22:35: Rcon: "rcon 2275786103 "727726" logaddress 216.16.220.227 5461" from "216.16.220.227:5461"
21:22:40 logaddress:  216.16.220.227:5461
21:22:40 og L 01/31/2009 - 21:22:35: World triggered "Round_Start"
21:22:41 og L 01/31/2009 - 21:22:36: Server cvar "sv_maxspeed" = "1050"
21:22:44 og L 01/31/2009 - 21:22:40: "-=TJL=- 5up3r-m4n-S-<5><STEAM_0:1:12986872><>" entered the game
SH.ini
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 20
XPLEVELS   0 100 300 1000 3000 5500 8100 10800 13600 17500 25500 36300 47500 65312 81231 105500 120550 154000 250000 450000
XPGIVEN    60 80 100 120 140 160 180 200 220 240 260
 340 420 500 560 630 710 800 800 800 800
LTXPLEVELS 0 100 300 1000 3000 5500 8100 10800 13600 17500 25500 36300 47500 65312 81231 105500 120550 
154000 250000 450000
LTXPGIVEN  60 80 100 120 140 160 180 200 220 240 260
 340 420 500 560 630 710 800 800 800
 800
//--------

SH.inc
Code:
--------------------------------------------------------------------------------------
// Changeable DEFINE Settings
//----------------------------------------------------------------------------------------------

//Max player slots, should not really be changed from 32
#define SH_MAXSLOTS 32

//Max levels that can be loaded from the superhero.ini
#define SH_MAXLEVELS 20

//Max Amount of heros that can be loaded
#define SH_MAXHEROS 300

//Potential of power1-power9 but limited by sh_maxbinds (3 default)
#define SH_MAXBINDPOWERS 9

#if !defined AMXX_VERSION
//This define must be un-commented to compile on AMX 0.9.9+
//The define may also be added to the amxconst.inc instead
//#define AMX_NEW
SHConfig
Code:
//********************** GENERAL MOD CVARS **********************


//Enables/disables the mod 0=disable, 1=enable

sv_superheros 1


//Flag to determine who can access the important server commands

sh_adminaccess m


//If optional C/D is on a server - don't let people without C/D have powers

sh_cdrequired 0


//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+ = More Messages, Server Log

sh_debug_messages 0


//Number of heros allowed with bind characters - after that you must pick non-bind heros only

sh_maxbinds 5

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

sh_maxpowers 20


//What level to start newcomers at

sh_minlevel 3


//Save XP or restart it from 0 each map: 1 = save, 0 = restart each map

sh_savexp 1


//How many days XP is saved after a users last connection

//Recommended max setting of 30 for VAULT style saving. Max value is 365.

sh_xpsavedays 120
//Enable this to save XP at end of every round

//May cause a very small ammount of lag at round end with MySQL saving

sh_endroundsave 1


//This cvar sets the value of XP given/taken from players for Hostage / Bomb events.

//Hostage rescues only get 1/4th the XP because there is usually 4 of them.

sh_bombhostxp 0
//Give new players an average level of XP based on people already playing - 1=on | 0=off

//DO NOT USE WITH LONG-TERM XP

sh_autobalance 0


//Load XP right when a player joins (may cause lag with large user database)

sh_loadimmediate 0

// MercyXP 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 certian 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 thier level, then this is diveded by 2 to keep it low.

//    So as a players level increases they will get less MercyXP with mode 2

sh_mercyxpmode 1
//Mode 1: How much Mercy XP to give players

//Mode 2: Max level to give MercyXP to players

sh_mercyxp 0


//Command Projector, displays help info to players in a HUD messages non-stop - 1+ = on | 0=off

//    1 - Only show to DEAD players

//    2 - Show to ALL players

sh_cmdprojector 1


//How many highest level heros 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.

//There is a bunch of complicated math that goes into this system and it limits more than

//just the highest level avliable to that person, try it and see what I mean.

//Set to 0 to disable this limiting of choices

sh_lvllimit 0
// 1 = New style menu, shows disabled heros grayed out

// 0 = Old style menu, hides disabled heros from showing on the menu

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 effectivly

//disable it because x * 1 = x.  Any value less than 1.0 is ignored.

sh_hsmult 1.5


//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 1

// *** MySQL Settings, Only Needed if using the mysql saving method ***

// Uncomment the cvar lines to enable these settings


//sh_mysql_host "8.9.15.156"

//sh_mysql_user "****"

//sh_mysql_pass "****"

//sh_mysql_db "sherodb"

//sh_mysql_persistent 0

Last edited by -=TJL=- Staff; 01-31-2009 at 21:43.
-=TJL=- Staff is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-31-2009 , 21:35   Re: Help with setting max levels
Reply With Quote #2

Check your regular (not error) amxx (not server) logs for errors.

Though I do already see you are 1 number short for 20 levels in LTXPLEVELS (needs 21 numbers for 20 levels since 0 is a level 0-20 is 21).

and
Code:
//Max Amount of heros that can be loaded
#define SH_MAXHEROS 300
is impossible for SH 1.18e so might as well not bulk up the code by doing that. Max most people can get for 1.18e and prior is around 60-80 not more.

Last edited by vittu; 01-31-2009 at 21:39.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
-=TJL=- Staff
Member
Join Date: Jan 2009
Old 01-31-2009 , 21:51   Re: Help with setting max levels
Reply With Quote #3

Ok, here are the logs in their files. And if you can tell me how to fix the 3 heros that arent loading that would be cool to .
And I fixed the files u were talking about, but still not working.
Attached Files
File Type: log L20090131.log (64 Bytes, 101 views)
File Type: log L0131.log (16.3 KB, 85 views)
File Type: log error_013109.log (215 Bytes, 81 views)
-=TJL=- Staff is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-31-2009 , 22:05   Re: Help with setting max levels
Reply With Quote #4

whatever you are editing the files with is adding returns into the lines which is screwing you up. (use notepad it doesn't add formating into files)

This:
Code:
LTXPGIVEN  60 80 100 120 140 160 180 200 220 240 260
 340 420 500 560 630 710 800 800 800
 800
Should look like this:
Code:
LTXPGIVEN  60 80 100 120 140 160 180 200 220 240 260 340 420 500 560 630 710 800 800 800 800
and that is why you are getting the error:
Code:
L 01/31/2009 - 21:22:32: [superheromodnvault.amxx] DEBUG: Ran out of levels to load, check your superhero.ini for errors. Adjusting NUMLEVELS to 10
becase it can only read the line LTXPGIVEN 60 80 100 120 140 160 180 200 220 240 260 as max ten levels


sh_shangchi, sh_copperhead and sh_billy all require SH 1.2.0 or above, you are running an older SH (1.18e) so those wont work.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
-=TJL=- Staff
Member
Join Date: Jan 2009
Old 01-31-2009 , 22:08   Re: Help with setting max levels
Reply With Quote #5

i use notepad and i cant find 1.2.0

Last edited by -=TJL=- Staff; 01-31-2009 at 22:11.
-=TJL=- Staff is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-31-2009 , 22:19   Re: Help with setting max levels
Reply With Quote #6

Quote:
Originally Posted by -=TJL=- Staff View Post
i use notepad and i cant find 1.2.0
If that's true I don't know how you are managing to screw up text files like that.

1.2.0 is stickied in the Off-Topic / General Chat section (like the main download has always been), but be aware if you do decide to update to it you have to update your amxmodx as well as read the post for the changes in sh that you would need to make to your server.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
-=TJL=- Staff
Member
Join Date: Jan 2009
Old 01-31-2009 , 22:22   Re: Help with setting max levels
Reply With Quote #7

ok..and it keeps adding the word wrap function..i try and disable it but it simply puts it back in. i have no clue how to fix it. its almost stupid
-=TJL=- Staff is offline
-=TJL=- Staff
Member
Join Date: Jan 2009
Old 02-01-2009 , 12:28   Re: Help with setting max levels
Reply With Quote #8

can noone help me out here? im doing all i can and its not working
-=TJL=- Staff is offline
-=TJL=- Staff
Member
Join Date: Jan 2009
Old 02-01-2009 , 15:58   Re: Help with setting max levels
Reply With Quote #9

Ok, I have uploaded straight from my FTP the files that require alteration inorder to obtain 20 levels as a max. Please tell me what is wrong.
Attached Files
File Type: ini superhero.ini (830 Bytes, 119 views)
File Type: cfg shconfig.cfg (18.1 KB, 103 views)
File Type: log L20090131.log (64 Bytes, 94 views)
File Type: log L0201.log (10.3 KB, 104 views)
File Type: log L0131.log (16.3 KB, 93 views)
File Type: log error_013109.log (215 Bytes, 95 views)
-=TJL=- Staff is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 02-01-2009 , 16:31   Re: Help with setting max levels
Reply With Quote #10

I already told you, whatever you are editing the files with is really screwed up, it's adding new lines to everything. Find something else to edit text files with that does not cause this problem and doesn't add unnecessary formatting. Notepad's word wrap should not do this even if it is on.

Your file should look like this:
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 20
XPLEVELS   0 100 300 1000 3000 5500 8100 10800 13600 17500 25500 36300 47500 65312 81231 105500 120550 154000 250000 350000 500000
XPGIVEN    60 80 100 120 140 160 180 200 220 240 260 340 420 500 560 630 710 800 800 500 600
LTXPLEVELS 0 100 300 1000 3000 5500 8100 10800 13600 17500 25500 36300 47500 65312 81231 105500 120550 154000 250000 350000 500000
LTXPGIVEN  60 80 100 120 140 160 180 200 220 240 260 340 420 500 560 630 710 800 800 500 600
Not like this:
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 20
XPLEVELS   0 100 300 1000 3000 5500 8100 10800 13600 17500 25500 36300 47500 65312 81231 105500 120550 154000 250000 350000 500000
XPGIVEN    60 80 100 120 140 160 180 200 220 240 260
 340 420 500 560 630 710 800 800 500 600
LTXPLEVELS 0 100 300 1000 3000 5500 8100 10800 13600 17500 25500 36300 47500 65312 81231 105500 120550 
154000 250000 350000 500000
LTXPGIVEN  60 80 100 120 140 160 180 200 220 240 260
 340 420 500 560 630 710 800 800 500
 600
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Reply



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 06:31.


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