Fresh Install of CSGO, installed MetaMOD and Source MOD, dropped CSGO-SHM into SourceMOD and staged the custom files on our website for downloading, (for some reason you cannot download custom content from the hosted game server anymore [thanks VALVe]), joined the server and played it for a while. There isn't any help or hints displayed in the game for players. I am trying to figure out why myself.
I can say that it doesn't work like the AMXX for HL1 when you level-up and prompted to pick a hero. This you have to do on your own after you die or join team spectator. But the SuperHero MOD for CSGO works fine. However compiling is a whole other issue. Having a superheromod.sp and a superheromod-sql.sp is nonsense because the -sql.sp errors out to the point of aborting. I tried renaming it to superheromod-sql.inc and putting it in the /include folder in scripting of SM and no luck. Changes made to the superheromod.sp, compiled, did not work. I mean buyxp for 50XP for 16000 is not worth it with the default leveling system.
I cannot get it working with MySQL (that is why I am here). There are a few errors in the coding syntax of creating the database as this had to be done manually and syntax corrected but it looks like it doesn't connect or even try to connect to the database. The database.cfg file has "superheromod" section with the database name, user, password and port and it doesn't see it. Otherwise, this DOES work. If you say it doesn't then you are doing something wrong or your files are corrupted or something. Mind you, I do not, and have never rented my servers. My only drawback this time is I am running temporary servers on Windows Server 2019 for the time being.
Our server is running right now. And no, I am not going to post the address here. Heck, I have not even updated gametracker. So my question is, how can there be so many warnings and compile issues with this mod. Oh, I know, the files are
not hosted here as they are at a third party website?? If this ever got approved it would get unapproved. I really do not know how this can be allowed (call me old school).
This is what happens with these files.
Code:
//// superheromod-sql.sp
//
// superheromod-sql.sp(43) : error 017: undefined symbol "g_hPlayerData"
// superheromod-sql.sp(43) : warning 215: expression has no effect
// superheromod-sql.sp(44) : error 017: undefined symbol "g_hPlayerData"
// superheromod-sql.sp(74) : error 017: undefined symbol "g_hPlayerData"
// superheromod-sql.sp(85) : error 017: undefined symbol "g_hPlayerData"
// superheromod-sql.sp(98) : error 017: undefined symbol "g_hPlayerData"
// superheromod-sql.sp(103) : error 017: undefined symbol "g_iMemoryTableExperience"
// superheromod-sql.sp(103) : warning 217: loose indentation
// superheromod-sql.sp(103) : warning 215: expression has no effect
// superheromod-sql.sp(103) : error 001: expected token: ";", but found "]"
// superheromod-sql.sp(103) : error 029: invalid expression, assumed zero
// superheromod-sql.sp(103) : fatal error 190: too many error messages on one line
//
// Compilation aborted.
// 9 Errors.
//
// Compilation Time: 0.34 sec
// ----------------------------------------
//// superheromod.sp
//
// superheromod.sp(25) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// Code size: 88008 bytes
// Data size: 333816 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 438208 bytes
//
// 1 Warning.
//
// Compilation Time: 0.95 sec
// ----------------------------------------
We are just happy to report that this mod does work, despite others saying otherwise. I was expecting it to fail and to my surprise, everything 100% stock runs, just not as expected as a player.
We've been running for a few weeks maybe longer. I just migrated my database from MySQL V8.0.21 to MariaDB as I did so due to performance. The server hosting the game runs Apache 2.4 to host other web modules for the game server like HLStatsx, Sourebans and a few others. And Source MOD used that database for admins so I know there isn't a problem connecting to the databases as I have admin and the admin-flatfile.smx is in a disabled folder. So I am driving myself crazy with getting this into a database.
This is all for now....
Krillin
__________________