Jump to content

[Share][Guide] Superhero Install+Download+etc...


Recommended Posts

Posted

SuperHero Mod

 

Download SuperHeroMod v1.2.0.10

 

Introduction

 

Hope Page: SuperHero Mod

 

Download Updates and Extras Here

 

Extract the superhero zip package anyplace on your computer, just so you know where you put it. Make sure you are extracting with the folder structure, this is on by default in most unzipping software. If after it is extracted all the files are in one folder then it did NOT extract with the folders.

 

The default settings for SuperHero allow a maximum of 20 levels and 100 heroes. In the past there was no way to have more than 20 levels, now there is. If you need to change these settings the plugin must be recompiled to support it. Please see the compiling documentation. See the Extras section for info on the sample ini for 20 levels.

 

New Installation

 

First thing that must be done is installing AMXModX and MetaMod ( follow: Installing Metamod + AMX mod X )

AMXModX Base - CStrike | AMXModX Documentation

 

Please read the AMXX documentation and have a working installation of AMXX before attempting to install superhero. You need to install the CStrike package for AMXModX on top of the base package.

 

Once AMXX is fully working upload / copy everything you extracted earlier into your addons/amxmodx folder, except you do not need to copy the contrib folder. Make sure that the folder "shero" is created inside the configs folder or the plugin will error out and not work correctly.

 

Edit the plugins.ini inside the configs folder. You need to add some things to the bottom to load superhero which are shown in the block below. Don't think you are done after this step, keep reading to see how to enabled extra modules in AMXModX that superhero requires.

 

 

// ---------------------- START SUPERHERO PLUGINS -------------------------------

//To save XP to the nVault file (default)
superheromodnvault.amxx

//To save XP to the VAULT file  (uncomment this and comment out the other plugin) 
//superheromodvault.amxx

//To save XP to a mysql database (uncomment this and comment out the other plugin) 
//superheromodmysql.amxx

//Add these lines to enable all the stock heroes 
sh_anubis.amxx
sh_aquaman.amxx
sh_batman.amxx
sh_bomberman.amxx
sh_captaina.amxx
sh_cyclops.amxx
sh_daredevil.amxx
sh_dazzler.amxx
sh_dracula.amxx
sh_flash.amxx
sh_hobgoblin.amxx
sh_hulk.amxx
sh_humantorch.amxx
sh_ironman.amxx
sh_kamikaze.amxx
sh_magneto.amxx
sh_mystique.amxx
sh_nightcrawler.amxx
sh_punisher.amxx
sh_skeletor.amxx
sh_spiderman.amxx
sh_superman.amxx
sh_windwalker.amxx
sh_wolverine.amxx
sh_xavier.amxx
sh_zeus.amxx

// ---------------------- END SUPERHERO PLUGINS -------------------------------

 

Extra Modules / Plugins

 

* The "contribs" folder is a separate download

 

Example superhero.ini for 20 levels - Located in the contribs folder. Just place this file in your amxmodx/configs/shero folder overwriting the existing one and you should have 20 levels available on the server when it next changes maps.

 

Monster - The skeletor hero needs this module to spawn monsters on campers. Look in the contrib folder and find the monster zip file. Extract this into your mod folder (cstrike) and it will put all the files in their places. It should make a folder in addons called "monster". Edit the metamod plugins.ini and add the following lines to the end of it. This will load the correct plugin for linux or widows systems.

 

 

;Monster Mod
win32 addons/monster/dlls/monster_mm.dll
linux addons/monster/dlls/monster_mm_i386.so

 

 

Engine and CStrike Modules - for superhero these modules must be enabled. Edit the modules.ini in the configs folder and uncomment the lines to load the Engine and CStrike modules. You must restart the server for the modules to load. It should look something like this when enabled.

 

 

; ----------------------------------------------------
; Engine - provides engine functions core to Half-Life
; ----------------------------------------------------
engine_amxx_i386.so
engine_amxx.dll
engine_amxx_amd64.so

 

 

; ----------------------------------------------------------
; Counter-Strike - adds functions specific to Counter-Strike
; ----------------------------------------------------------
cstrike_amxx_i386.so
cstrike_amxx.dll
cstrike_amxx_amd64.so

 

 

MySQL Instructions

 

If you are using the mysql saving method you will want to import the shero_mysql_install.sql script (in contrib folder) into your database. You should edit it to reflect the correct database name and username for your setup. If you need to ask about how to do this then you should not be using mysql saving, stick to the vault.

 

Enable the "superheromodmysql.amx" and disable the vault saving plugin as shown in the example plugins.ini entries above in the New Install instructions.

 

Edit the modules.ini for AMXModX and enable the mysql module, it should look like this when enabled.

 

 

; -------------------------------------------
; Database Access - only enable one of these
; -------------------------------------------
; MySQL
mysql_amxx_i386.so
mysql_amxx.dll
mysql_amxx_amd64.so

 

The AMXX compile of the MySQL saving plugin uses the new DBI API for AMXModX, it should support any of the modules that AMXModX supports. Please remeber that it has only been tested on MySQL though.

 

Edit the shconfig.cfg to enable and set the mysql cvars so SuperHero knows how to connect to the database. If nothing is set for those cvars superhero will use the amx mysql settings that are used by the admin_mysql plugin.

 

Once you have all this done you will need to STOP your server and restart it for the mysql AMXX module to load correctly.

 

Upgrade Existing Installation

 

Upload / copy the contents of the plugins folder into your existing plugins folder, overwriting any existing files. If CVARS were added or changed you can look in the shconfig.cfg in this package and see the changes / additions.

 

Make sure its Working

 

There are a few commands to make sure everything is loaded correctly. They must be run in the server console or in rcon via HLSW (or similar software). These commands will NOT work the same with the in game console unless it is a listenserver because then the server console is actually the same as the in game console.

 

Command:

 

Meta list

 

Example Output:

 

Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
[ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.00     ini  ANY   ANY
[ 3] Monster          RUN   -    monster_mm.dll    v3.00.00  ini  Chlvl Chlvl
2 plugins, 2 running

 

Command:

 

 

amxx plugins

 

 

Example output

 

[ 20] SuperHero Mod      1.17.5   JTP10181/{HOJ}Ba  superheromodvau  running
[ 21] SUPERHERO Anubis   1.17.5   AssKicR/JTP10181  sh_anubis.amxx   running
[ 22] SUPERHERO Aquaman  1.17.5   AssKicR/Lazy/JTP  sh_aquaman.amxx  running
[ 23] SUPERHERO Batman   1.17.5   {HOJ} Batman/JTP  sh_batman.amxx   running
[ 24] SUPERHERO Bomberm  1.17.5   AssKicR           sh_bomberman.am  running
[ 25] SUPERHERO Captain  1.17.5   {HOJ} Batman/JTP  sh_captaina.amx  running
[ 26] SUPERHERO Cyclops  1.17.5   AssKicR/Batman/J  sh_cyclops.amxx  running
[ 27] SUPERHERO Daredev  1.17.5   {HOJ} Batman/JTP  sh_daredevil.am  running
[ 28] SUPERHERO Dazzler  1.17.5   {HOJ} Batman      sh_dazzler.amxx  running
[ 29] SUPERHERO Dracula  1.17.5   {HOJ} Batman/JTP  sh_dracula.amxx  running
[ 30] SUPERHERO Flash    1.17.5   {HOJ} Batman      sh_flash.amxx    running
[ 31] SUPERHERO Hobgobl  1.17.5   {HOJ} Batman/JTP  sh_hobgoblin.am  running
[ 32] SUPERHERO Hulk     1.17.5   {HOJ} Batman      sh_hulk.amxx     running
[ 33] SUPERHERO Human T  1.17.5   {HOJ} Batman/JTP  sh_humantorch.a  running
[ 34] SUPERHERO Ironman  1.17.5   {HOJ} Batman/JTP  sh_ironman.amxx  running
[ 35] SUPERHERO Kamikaz  1.17.5   AssKicR/JTP10181  sh_kamikaze.amx  running
[ 36] SUPERHERO Magneto  1.17.5   AssKicR           sh_magneto.amxx  running
[ 37] SUPERHERO Mystiqu  1.17.5   {HOJ} Batman      sh_mystique.amx  running
[ 38] SUPERHERO Nightcr  1.17.5   {HOJ} Batman      sh_nightcrawler  running
[ 39] SUPERHERO Punishe  1.17.5   {HOJ} Batman      sh_punisher.amx  running
[ 40] SUPERHERO Skeleto  1.17.5   {HOJ} Batman      sh_skeletor.amx  running
[ 41] SUPERHERO Spiderm  1.17.5   {HOJ} Batman/JTP  sh_spiderman.am  running
[ 42] SUPERHERO Superma  1.17.5   {HOJ} Batman      sh_superman.amx  running
[ 43] SUPERHERO Wind Wa  1.17.5   AssKicR/JTP10181  sh_windwalker.a  running
[ 44] SUPERHERO Wolveri  1.17.5   {HOJ}Batman/JTP1  sh_wolverine.am  running
[ 45] SUPERHERO Xavier   1.17.5   {HOJ} Batman      sh_xavier.amxx   running
[ 46] SUPERHERO Zeus     1.17.5   {HOJ} Batman/JTP  sh_zeus.amxx     running

 

 

All credit goes to: AssKicR, JTP10181, Freecode, vittu from SuperHero Mod

 

 

/e:

- fixed link to SH Homepage

- fixed link for download

-- blooddog

 

  • 4 weeks later...
  • 4 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 1 month later...
Posted

i have to ask if all the players have the same lvl , i instaled a sh plugin , and all the new players had the same level as the pld players, i need one in wich the level is diferent from player to player

  • 3 weeks later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...