I get this error: ( 20) Load fails: Module/Library "shero" required for plugin. Check modules.ini. 89 plugins, 88 running.
This is what ive done that differs from normal plugin hero installation:
- Putted this cvars in the end of my amxx.cfg. Though i wonder why i need to put this cvars here, there is always some of this cvars in the shconfig.cfg
//Max number of powers players can pick from, this is also limited by the number of levels you have.
sh_maxpowers 20
//Enables/disables the mod 0=disable, 1=enable
sv_superheros 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.0
Etc.. So just curious how u know that the cvars in the amxx.cfg dominates/overwrites the ones in the shconfig.cfg ones in the shero map.
sh_superhero 1- <1/0> Self-Explanatory. Turns mod on/off. Put this somewhere into you config file (server.cfg is fine)
sh_numlevels 20- <#> (default = 10). Number of Max Levels. Put this somewhere into you config file (server.cfg is fine)
sh_savexp 1- <1/0> Save XP points or not? (will save to binary file only). No MySQL support in this version.
sh_saveby 1- <1/2> Save int binary by: 1. SteamID 2. Name
sh_debug 0- <1/0> Will log debug messages. Only use when your server is crashing. Post your log file into forums to help us fix the crash.
sh_hsmult 1- (Default 1.0). Headshot multiplier. Gain more XP for killing with Headshot.
1. Extracted the amxmodx files from amxmodx-1.8.0-cstrike and amxmodx-1.8.0-base.
2. Extracted the amxmodx files from Shero2.0.
3. Got the metamod installed and running.
- Extracted yours scriptings, plugins and changed the plugin.ini file
- Extracted the models, sprites, sound to cstrike
- Don’t got monster installed do i need that?
- Extracted the shero folder from superheromod_AMXX_1.18d into configs.
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.0.3 ini Start ANY
[ 2] Fun RUN - fun_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 3] Engine RUN - engine_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 4] FakeMeta RUN - fakemeta_amxx.dl v1.8.0.3 pl1 ANY ANY
[ 5] SuperHero RUN - shero_amxx.dll v2.001a pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 7] CSX RUN - csx_amxx.dll v1.8.0.3 pl1 ANY ANY
7 plugins, 7 running
amx_modules
Currently loaded modules:
name version author status
Fun 1.8.0.3660 AMX Mod X Dev Team running
Engine 1.8.0.3660 AMX Mod X Dev Team running
FakeMeta 1.8.0.3660 AMX Mod X Dev Team running
SuperHero 2.001a Freecode running
CStrike 1.8.0.3660 AMX Mod X Dev Team running
CSX 1.8.0.3660 AMX Mod X Dev Team running
6 modules
I got this in my plugins.ini
PHP Code:
; AMX Mod X plugins
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
; Custom - Add 3rd party plugins here
shero.amxx
shero_merchant.amxx
shero_mercyxp.amxx
shero_adminmenu.amxx
//-----------------------------------------
sh_abomination.amxx
sh_achilles.amxx
sh_alien.amxx
sh_anubis.amxx
sh_aquaman.amxx
//sh_ash.amxx
sh_batgirl.amxx
sh_batman.amxx
sh_beast.amxx
sh_blackpanther.amxx
sh_blink.amxx
sh_blob.amxx
sh_bomberman.amxx
sh_bombsquad.amxx
sh_captaina.amxx
sh_catwoman.amxx
sh_cola.amxx
sh_cyclone.amxx
sh_cyclops.amxx
sh_daredevil.amxx
sh_dazzler.amxx
sh_deman.amxx
sh_demoman.amxx
sh_dracula.amxx
sh_empyrean.amxx
sh_explosion.amxx
sh_flash.amxx
sh_frogger.amxx
sh_grandmaster.amxx
sh_hobgoblin.amxx
sh_hulk.amxx
sh_humantorch.amxx
sh_impulse.amxx
sh_ironman.amxx
sh_jolt.amxx
sh_juggernaut.amxx
sh_justice.amxx
sh_kamikaze.amxx
sh_madness.amxx
sh_magneto.amxx
sh_mesmero.amxx
//sh_mesmero_auto.amxx
sh_mirage.amxx
sh_morpheus.amxx
sh_mystique.amxx
sh_penguin.amxx
sh_poisonivy.amxx
sh_pokemon.amxx
sh_probe.amxx
sh_psylocke.amxx
sh_punisher.amxx
sh_rattler.amxx
sh_robin.amxx
sh_roboky.amxx
sh_shadowcat.amxx
sh_shangchi.amxx
sh_sikorsky.amxx
sh_skeletor.amxx
sh_slayer.amxx
sh_speedball.amxx
sh_spiderman.amxx
sh_superman.amxx
sh_thing.amxx
sh_tyrael.amxx
sh_vash.amxx
sh_wolverine.amxx
//sh_wolverine_model.amxx
sh_wonderwoman.amxx
sh_xavier.amxx
In my modules.ini i got
fun
engine
fakemeta
;geoip
;sockets
;regex
;nvault
shero_amxx.dll
Ive also tried with only shero in the modules.ini, cause the others hasnt any _ammx.dll after the name.
I also got the shero_amxx.dll in the modules folder. And ive copied the scripting files and plugin files from shero2.0zip into the right folders. So why isn't the shero plugin loaded?
And btw sh_setxp "nick" "amount" doesn't work.
It says i got 0/100 xp in the left corner even if the shero plugin doesnt run.
Could this possible be cause im using version amxmodx 1.8? do i have to use 1.55 can only get base to it, cant find the cstrike. When i tried with that version it said that cstrike was needed and nearly all heroes was disabled.
Also does the beta version 2.001a works with this packet?
I’ve also tried the newer version 2.002 but u said it was only for checking bugs so i aint using that atm.
Wonder if i need to add any other cvars u wrote,
like in the inc files at the site
http://forums.alliedmods.net/showthread.php?t=34164
or like these
sv_merchant 1 //enable / disable plugin 0=disabled, 1=enabled
shm_buyxpamt 100 //amount of exp given per buy (set to zero to disable)
shm_buyxpcost 5000 //cost per purchase of exp amount
are they needed, if yes, where shall they be put?
//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 5
this shall be added to or its enough to have them in amxx.cfg?
I’ve tried another amxmodx version, v1.55 and then i got this errors:
( 20) Load fails: Module/Library "shero" required for plugin. Check modules.ini.
( 36) Load fails: Module/Library Class "xstats" required for plugin. Check modules.ini.
( 44) Load fails: Module/Library Class "xstats" required for plugin. Check modules.ini.
89 plugins, 86 running
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.75a ini ANY ANY
[ 2] Fun RUN - fun_amxx.dll v1.75 pl1 ANY ANY
[ 3] Engine RUN - engine_amxx.dll v1.75 pl1 ANY ANY
[ 4] FakeMeta RUN - fakemeta_amxx.dl v1.75 pl1 ANY ANY
[ 5] SuperHero RUN - shero_amxx.dll v2.001a pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx.dll v1.55 pl1 ANY ANY
[ 7] CSX RUN - csx_amxx.dll v1.55 pl1 ANY ANY
7 plugins, 7 running
Got this errors in logs too:
L 12/30/2007 - 17:25:05: Called dynanative into a paused plugin.
L 12/30/2007 - 17:25:05: [AMXX] Run time error 10 (plugin "sh_bomberman.amxx") (native "sh_uset") - debug not enabled!
L 12/30/2007 - 17:25:05: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).