PDA

View Full Version : Where does shconfig.cfg go and such?


kanu | DarkPredator
08-28-2004, 02:15
I downloaded an autoinstaller of superheromod ( i think from your site), and installed it, and my server worked fine for two hours.
Then i was looking around the files and realized i don't have shconfig.cfg.
Is that possible?
What folder is it supposed to be in?
If I do have it it is extremely well hidden, if not do I need it?

As well, I booted my server back up after installing a crapload of heroes from you guys, and now the /showmenu doesnt work.
I know you will say to tell you specifics, but I don't know how to find a log of errors, Plz help.

kanu | DarkPredator
08-28-2004, 02:28
I uninstalled all my heroes except the normal basic ones and the problems above persist.

jtp10181
08-28-2004, 08:27
I do not support the autoinstallers. Get the current AMX version and read the install docsumentation and update your install to the newest one.

I hope yo have AMX anyway.... or do you have AMXX?

123
08-28-2004, 10:36
jtp10181 -> Why don't you support the autoinstallers ?
I think it is much easyer to use one of those
Plus you don't have to explain 100 times where shconfig goes...

jtp10181
08-28-2004, 10:41
the autoinstallers are old and have old versions. Also I don't even know if they set everything up correctly.

Plus its just a plugin, its not hard to install.... if you need an installer just to install an AMX plugin you should not be running a server.

kanu | DarkPredator
08-28-2004, 11:59
umm, could you tell me the folder where shconfig.cfg goes?

i got the file (shconfig.cfg) from your download, but i dont know where to put it.

Other question: do i have to write in all the cvars into shconfig.cfg for the extra heroes?

jtp10181
08-28-2004, 13:50
well if you read the docs you would see that the folders are all laid out in the zip, so since the shconfig.cfg is in the root of the zip it goes in the amx folder.

and if you want to change cvars for extra herso you should add them to the shconfig.cfg

kanu | DarkPredator
08-28-2004, 22:55
i have installed my extra heroes, but the ppl in the server can choose heroes of any level. I want to restrict the heroes to certain lvls. HOw do i do this?. This is my shconfig.cfg:

echo "[AMX] Successfully Loaded Superhero Config File"

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

//# of heros allowed with bind characters - after that you must pick non-bind heros only
sh_maxbinds 3

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

//Save XP or restart from 0 each map
sh_savexp 1

//How many days to save xp for?
sh_xpsavedays 5

//Save XP at end of every round
//Very Useful for servers that crash a lot
sh_endroundsave 1

//Give XP for Hostage/Bomb Events
//This cvar sets the level of XP given/taken from players for these events.
//Set to -1 to disable this feature.
sh_bombhostxp 1

//DO NOT USE WITH LONG-TERM XP
//1 = on | 0 = off - Give people entering late an average level of players already playing
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 20

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

//1 = on | 0 = off - Should alive players also see the Command Projector?
sh_cpalive 0

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

// 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. If you set it to "0" then players would
//get NO XP for headshot kills.
sh_hsmult 1.5

// *** 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"

// *************** END STANDARD SUPERHERO CVARS ***************

// ***************** START HERO SPECIFIC CVARS ****************

//Agent
agent_level 8
agent_cooldown 3
agent_cliptime 3

//Alien
alien_level 5
alien_health 125
alien_armor 125
alien_darken 50
alien_vision 160
alien_knifemult 0
alien_invis 50

//Anubis
anubis_level 6
anubis_showdamage 1
anubis_showchat 1

//Aquaman
aquaman_level 3
aquaman_armorcost 0
aquaman_numbubbles 7
aquaman_bubbledamage 10

//Bat Girl
batgirl_level 9
batgirl_moveacc 150
batgirl_reelspeed 400
batgirl_hookstyle 3
batgirl_maxhooks -1

//Batman
batman_level 7
batman_health 125
batman_armor 125

//Beast
beast_level 8
beast_gravity 0.40
beast_health 175
beast_armor 200

//Beyonder
beyonder_level 6
beyonder_cooldown 0
beyonder_maxtime 30

//Bill Gates
gates_level 7
gates_buytime 1
mp_buytime 5
gates_buyzone 0
gates_buyteam 0
gates_buymulti 1
gates_buygrenades 2
gates_money 32000

//Billy The Kid
billy_level 3
billy_health 125
billy_armor 50
billy_speed 275
billy_elitemult 3
billy_revspeed 260
billy_armorcost 15

//Black Mage
blackmage_level 8
blackmage_cooldown 45
blackmage_time 5
blackmage_decayradius 150
blackmage_decaydamage 15
blackmage_instantdamage 20
blackmage_deathradius 300
blackmage_deathdamage 25

//Blink
blink_level 12
blink_amount 8

//Blob
blob_level 2

//Bomberman
bomberman_level 1
bomberman_xpbased 0
bomberman_bombs 1
bomberman_bpl 1
bomberman_radius 400
bomberman_maxdamage 100

//Bullseye
bullseye_level 5
bullseye_health 100
bullseye_armor 100
bullseye_zoommode 0

//Captain America
captaina_level 4
captaina_pctperlev 0.02
captaina_godsecs 1

//Colussus
colussus_level 9
colussus_cooldown 30
colussus_godtime 5
colussus_armor 500

//Copycat
copycat_level 9
copycat_cooldown 45

//Cyclops
cyclops_level 2
cyclops_laser_ammo 20
cyclops_laser_burndecals 1
cyclops_cooldown 1
cyclops_mulishot 0.20

//Daredevil
daredevil_level 1
daredevil_radius 600
daredevil_bright 192

//Dazzler
dazzler_level 1
dazzler_radius 3000
dazzler_cooldown 15

//Demoman
demoman_level 2
demoman_radius 400
demoman_maxdamage 100

//Dracula
dracula_level 2
dracula_pctperlev 0.03

//Dr. Doom
doom_level 10
doom_armor 200
doom_speed 200
doom_laser_ammo 30
doom_laser_burndecals 1
doom_cooldown 0.25

//Electro
electro_level 6
electro_cooldown 45
electro_searchtime 45
electro_health 100
electro_armor 100
electro_speed 100
electro_range 500

//Exodus
exodus_level 9
exodus_cooldown 15
exodus_grabforce 8

//Flash
flash_level 1
flash_speed 350

//Mr. Freeze
Freeze_level 5
Freeze_cooldown 45.0
Freeze_maxtime 16.0

//Gambit
gambit_level 8
gambit_grenademult 60.9

//Gohan
gohon_level 19
gohon_healpoints 10

//Goku
goku_level 8
goku_speed 400
goku_laser_ammo 3
goku_laser_burndecals 1
goku_cooldown 10

//Green Arrow
garrow_level 11
garrow_arrows 15
garrow_getscout 1

//Hobgoblin
goblin_level 4
goblin_grenademult 1.5
goblin_grenadetimer 10

//Hulk
hulk_level 1
hulk_radius 1800
hulk_cooldown 7
hulk_stuntime 3
hulk_stunspeed 70

//Human Torch
htorch_level 2
htorch_armorcost 15
htorch_numburns 5
htorch_burndamage 10

//Iceman
ice_level 10
ice_armor 200
ice_freezetime 5
ice_freezespeed 50
ice_searchtime 25
ice_cooldown 30

//Invisible Man
invisman_level 17
invisman_invisibility 60
invisman_clockedmove 1

//Ithius
ithius_level 8
ithius_bright 200
ithius_speed 500

//Ironman
ironman_level 2
ironman_timer 0.1
ironman_thrust 125
ironman_maxspeed 400
ironman_xymult 1.05
ironman_armorfuel 1
ironman_fuelcost 1
ironman_armor 100

//Jubilee
Jubilee_level 5
Jubilee_Brightness 50
Jubilee_cooldown 60
Jubilee_flash 1

//Kamikaze
kamikaze_level 1
kamikaze_radius 300
kamikaze_fuse 15
kamikaze_maxdamage 125

//Kraven
Kraven_level 4
Kraven_stun 0.3

//Longshot
longshot_level 7
longshot_knifeammo 30
longshot_throwforce 1000
longshot_cooldown 0.25
longshot_knifedmg 25
longshot_knifecost 250
longshot_knifebuy 1
longshot_knifesinpack 10

//Madness
madness_level 9
madness_health 200
madness_armor 100
madness_gravity 0.35

//Magneto
magneto_level 13
magneto_cooldown 45
magneto_boost 125
magneto_giveglock 1

//Medic V3
medic_level 3
medic_healpoints 3
medic_healteam 6
medic_specialheal 45
medic_healradius 250
medic_cooldown 45

//Molecule Man
mol_level 10
mol_cooldown 45

//Morpheus
morpheus_level 8
morpheus_gravity 0.35

//Mystique
mystique_level 6
mystique_cooldown 0
mystique_maxtime 0
mystique_toggle 1

//Nightcrawler
nightc_level 4
nightc_cooldown 30
nightc_cliptime 6

//Pheonix
pheonix_level 14
phoenix_cooldown 120
phoenix_damage 90
phoenix_radius 375

//Poison Ivy
posionivy_level 10
posionivy_poisonpoints 4

//Punisher
punisher_level 1
punisher_dropwpn 1

//Quicksand
quicksand_level 9
quicksand_cooldown 20.0

//Robin
robin_level 8
robin_health 125
robin_armor 125

//Rock
rock_level 9

//Scorpion
Scorpion_level 9
Scorpion_moveacc 150
Scorpion_reelspeed 400
Scorpion_maxhooks -1

//Sentinel
Sentinel_level 12
Sentinel_towerammo 2
Sentinel_throwforce 200
Sentinel_cooldown 0.25
Sentinel_radius 700
Sentinel_time 1
Sentinel_dmg 75
Sentinel_dist 250
Sentinel_hp 1000.0

//Shang Chi
shangchi_level 1
shangchi_armor 130
shangchi_health 80

//Shocker
Shocker_level 5
Shocker_cooldown 10

//Silver Surfer
surfer_level 15
surfer_speed 500

//Skeletor
skeletor_level 1
skeletor_cooldown 20
skeletor_camptime 10
skeletor_movedist 10

//Spiderman
spiderman_level 4
spiderman_moveacc 150
spiderman_reelspeed 400
spiderman_hookstyle 2
spiderman_maxhooks -1

//Dr. Strange
strange_level 13
strange_revive 600
strange_boltammo 30
strange_boltdecals 1
strange_cooldown .20

//Superman
superman_level 5
superman_gravity 0.35
superman_armor 150
superman_health 150

//Windwalker
windwalker_level 3

//Wolverine
wolverine_level 1
wolv_healpoints 3
wolv_knifespeed 290
wolv_knifemult 1.35

//Wonder Woman
wonderwoman_level 3
wonderwoman_cooldown 45
wonderwoman_searchtime 45
wonderwoman_health 100
wonderwoman_armor 100

//Xavier
xavier_level 7
xavier_traillength 25
xavier_showteam 0
xavier_showenemy 1
xavier_refreshtimer 5.0

//Yoda
Yoda_level 9
Yoda_cooldown 10
Yoda_radius 500
Yoda_power 300
Yoda_damage 10
Yoda_self 1

//Zeus
zeus_level 6
zeus_cooldown 600

--The end

BTW, i found out that I *was* running my server properly for 2 hours without even having shconfig.cfg which is really weird.

Chivas2973
08-29-2004, 00:06
just so you know, the cfg is only to modify the default cvars that are in the mod and or the hero, so with out it, all heros and mod run on default, which isn't bad at all

make sure your shconfig.cfg is in the amx folder and see if in console when you start server if it says that shconfig.cfg was started

jtp10181
08-29-2004, 07:24
also with some servers the heros get loaded before the config file so the cvars are not used right away. Please change maps and see if the cvars take effect.