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

30 levels not working.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Iconoclast
Senior Member
Join Date: Jul 2004
Location: Illinois
Old 03-28-2005 , 18:08   30 levels not working.
Reply With Quote #1

i followed the instructions exactly and for some reason only 25 levels work.. :-\

amxx 1.01 shero 1.17.6 metamod 1.17.4

shconfig.cfg
Code:
//Max number of powers players can pick from, this is also limited by the number of levels you have.
sh_maxpowers 31
superhero.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 30
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 26214400 52428800 104857600 209715200 419430400 838860800 1677721600 3355443200 6710886400 13421772800 16843545600 24879640000
LTXPGIVEN  15 20 40 45 50 54 59 64 68 73 77 81 85 90 92 94 98 100 107 115 120 125 130 137 142 146 150 155 157 163 170
superheromod.inc

Code:
//Max levels that can be loaded from the superhero.ini
#define SH_MAXLEVELS 31

BTW, before i was using only 20 levels so i know the changes worked...

i also tried having superheromod.inc MAXLEVELS and shconfig.cfg MAXPOWERS set at 30 but no luck...
__________________
-[IR]-Servers | Superhero Mod 24.14.27.156:27015
Fast+Saved+Mercy XP, 14 players max, Custom Heros+Maps, 30 Levels
START AT LVL 4! E-mail [email protected] for buying level/admin details.
Iconoclast is offline
Send a message via AIM to Iconoclast Send a message via MSN to Iconoclast
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 03-28-2005 , 18:13  
Reply With Quote #2

make sure you renamed the newly compiled file before you moved it to the plugins folder... I'm guessing that you compiled it and moved it over and are not loading it... possibly you have a file called superheromod.amxx in your plugins folder and are still loading the old file in plugins.ini superheromodvault.amxx

Thats the whole reason for Step 5.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Iconoclast
Senior Member
Join Date: Jul 2004
Location: Illinois
Old 03-28-2005 , 18:18  
Reply With Quote #3

nope, its called superheromodvault.amxx

edit: i did make some changes to the .sma but those are just changes to the HUD's.... ill even attach it.
Attached Files
File Type: sma Get Plugin or Get Source (superheromodvault.sma - 763 views - 130.1 KB)
__________________
-[IR]-Servers | Superhero Mod 24.14.27.156:27015
Fast+Saved+Mercy XP, 14 players max, Custom Heros+Maps, 30 Levels
START AT LVL 4! E-mail [email protected] for buying level/admin details.
Iconoclast is offline
Send a message via AIM to Iconoclast Send a message via MSN to Iconoclast
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 03-28-2005 , 22:09  
Reply With Quote #4

watch for errors as server loads, there is ALWAYS an error if the loading levels is diff than what you set in numlevels, also try setting the debug mode to 3 or higher to see extra info
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
tight2089
Member
Join Date: Mar 2005
Location: Newport Beach, CA
Old 03-29-2005 , 00:44  
Reply With Quote #5

yeah well i noticed on one of ur files u had only 30 levels not the 31 u posted. check dat out! its in ur superhero.ini u only posted 30 not the 31 u wanted or had in the other 2 files.


ok so have all ur files the same levels, and wen i downloaded ur file u put on the forum i noticed that its name was superheromodvault_512.sma.

now i dont think that it should be an sma file it should be amxx after u recompiled it and also wats up with the 512?

o, and please tell me what level you are trying to set up, i dont understand if its 31 or 30.
__________________
Condition Zero UWC3 Server I.P:
67.18.205.222:27015
Clan WebSite:
www.GamingC3nter.com
tight2089 is offline
Send a message via AIM to tight2089 Send a message via MSN to tight2089
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 03-29-2005 , 01:17  
Reply With Quote #6

thight, that doesnt matter... the include and shconfig cvar can have more levels then the superhero.ini... superhero.ini is the most important part...

and the number 512 only happens because of the attachment mod, so it doesnt matter as long as the compiled file matches what is set in the plugins.ini

Unfortunatly he is not supplying any errors which makes it very difficult to help, most likely he just screwed up somewhere during the process...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Iconoclast
Senior Member
Join Date: Jul 2004
Location: Illinois
Old 03-29-2005 , 01:20  
Reply With Quote #7

ok, as you see, in both the shconfig.cfg and superheromod.inc it says MAXlevels and MAXpowers... so im just trying to keep it safe with that, the superhero.ini is the file that actually decides how many levels the server will have, and it is set to 30. as for the "512" when you download files from this forum sometimes the number goes there for some reason..

So, as you see, everything is done correctly and the outcome is still 25 levels... i dont even understand where the server even comes up with 25....


EDIT:

Noob question... do i enable the logs in the shconfig.cfg...? because i set that to 4..... and where do all these messages log...?
__________________
-[IR]-Servers | Superhero Mod 24.14.27.156:27015
Fast+Saved+Mercy XP, 14 players max, Custom Heros+Maps, 30 Levels
START AT LVL 4! E-mail [email protected] for buying level/admin details.
Iconoclast is offline
Send a message via AIM to Iconoclast Send a message via MSN to Iconoclast
tight2089
Member
Join Date: Mar 2005
Location: Newport Beach, CA
Old 03-29-2005 , 01:34  
Reply With Quote #8

yeah well im sry i tried.
__________________
Condition Zero UWC3 Server I.P:
67.18.205.222:27015
Clan WebSite:
www.GamingC3nter.com
tight2089 is offline
Send a message via AIM to tight2089 Send a message via MSN to tight2089
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 03-29-2005 , 01:37  
Reply With Quote #9

How to enable logging - http://shero.rocks-hideout.com/docs/faq.htm#12
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Iconoclast
Senior Member
Join Date: Jul 2004
Location: Illinois
Old 03-29-2005 , 02:49  
Reply With Quote #10

not one error comes up when i start the server. i have logging on and in shconfig.cfg i have it set to 4...

edit: i just set it to 10 and still not a single error comes up.
__________________
-[IR]-Servers | Superhero Mod 24.14.27.156:27015
Fast+Saved+Mercy XP, 14 players max, Custom Heros+Maps, 30 Levels
START AT LVL 4! E-mail [email protected] for buying level/admin details.
Iconoclast is offline
Send a message via AIM to Iconoclast Send a message via MSN to Iconoclast
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:30.


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