Jakub Posted April 8, 2013 Share Posted April 8, 2013 I am running the latest mod with et2.6b on ubuntu.I've disabled punkbuster as I don't want players to require an etkey. Whenever I try to join a team on my server I get this error: class weapon 0 disabled. I have looked on this forum and saw a similar post saying to remove the restriction on mgs for soldier class but did not understand how to do this. I also set g_weaponclass to 48 but this did not fix any issue. The server is not playable because of this. Any help would be greatly appreciated. Below is my silent.cfg Thanks! // silEnT mod - Sample server.cfg file// If you need help contact us on forums. http://mygamingtalk.com/ // Generic server cvars // //set dedicated 2//set net_ip "localhost"//set net_port 27960 //set pb_sv_noguidgrace 0pb_sv_disable set sv_hostname "^1My Server"set server_motd0 " ^NsilEnT ^7MOTD "set server_motd1 ""set server_motd2 ""set server_motd3 ""set server_motd4 ""set server_motd5 "" set sv_maxclients "16"set g_password ""set sv_privateclients 0set sv_privatepassword ""set sv_fullmsg "Server is full." set rconpassword ""set refereePassword "" set sv_maxRate 45000set sv_dl_maxRate 42000set sv_allowDownload 1set sv_wwwDownload 1set sv_wwwDlDisconnected 1set sv_wwwBaseURL ""set sv_wwwFallbackURL "" set sv_pure 0set sv_minping 0set sv_maxping 0 // silEnT mod supported cvars set g_antilag 1set g_antiwarp 1set g_maxWarp 4set g_skipCorrection 1set g_heavyWeaponRestriction 100set g_altStopwatchMode 0set g_autofireteams 1set g_complaintlimit 6set g_ipcomplaintlimit 3set g_fastres 0set g_friendlyFire 1set g_disableComplaints 0set g_minGameClients 0set g_maxlives 0set g_alliedmaxlives 0set g_axismaxlives 0set g_teamforcebalance 0set g_noTeamSwitching 0set g_doWarmup 0set g_warmup 30set match_latejoin "1"set match_minplayers 1set match_mutespecs 0set match_readypercent 100set match_warmupDamage 1set team_maxplayers 0set g_speed 320set g_gravity 800set g_knockback 1000set g_inactivity 0set g_spectatorInactivity 0set g_maxConnsPerIP 4set shoutcastPassword ""set g_spoofOptions 3set g_maxNameChanges 3set g_watermark ""set g_watermarkFadeAfter 0set g_watermarkFadeTime 0set g_inactivityOptions 3set g_ettvFlags 3 // Votesset g_voting 0set vote_limit 5set vote_percent 50set g_noVoteTime 0set vote_allow_comp 1set vote_allow_gametype 1set vote_allow_kick 1set vote_allow_map 1set vote_allow_matchreset 1set vote_allow_mutespecs 1set vote_allow_nextmap 1set vote_allow_pub 1set vote_allow_referee 0set vote_allow_shuffleteamsxp 1set vote_allow_swapteams 1set vote_allow_friendlyfire 1set vote_allow_timelimit 0set vote_allow_warmupdamage 1set vote_allow_antilag 1set vote_allow_balancedteams 1set vote_allow_muting 1set vote_allow_surrender 1set vote_allow_nextcampaign 1set vote_allow_restartcampaign 1set vote_allow_poll 1set vote_allow_maprestart 1set vote_allow_shufflenorestart 1set vote_allow_cointoss 1 // Logsset g_log "server.log"set g_cheatLog "cheat.log"set logfile 2set g_logOptions 0set g_logAdmin "admin.log" // XP Save configurationset g_XPSave 21// Only stored XPset g_XPSaveMaxAge_xp "30d"// Stored XP and all rating valuesset g_XPSaveMaxAge "30d"set g_damageXP "1"set g_damageXPLevel "50"set g_maxXP "999999"set g_xpdecay "0"set g_xpdecayrate "0"set g_xpdecayfloor "1" // Shrubbot and Databaseset g_dbDirectory "database"set g_dbUserMaxAge "90d"set g_minConnectLevel 0// see documentation about tyranny enabled commands and flagsset g_tyranny 1set g_greetingPos 0set g_warningOptions 0set g_warningDecay 24set g_maxWarnings 3set g_autoTempBan 0set g_autoTempBanTime 1800 set g_shuffle_rating 3 //// Censoringset g_censor ""set g_censorNames ""set g_censorNeil 0set g_censorNeilNames 0set g_censorPenalty 0set g_censorMuteTime 60set g_censorXP 5 //// Intermissionset g_intermissionTime 30set g_intermissionReadyPercent 100 //// Skill points needed for levelset skill_soldier "20 50 90 140"set skill_medic "20 50 90 140"set skill_engineer "20 50 90 140"set skill_fieldops "20 50 90 140"set skill_covertops "20 50 90 140"set skill_battlesense "20 50 90 140"set skill_lightweapons "20 50 90 140" set g_serverInfo 1set g_killRating 1set g_playerRating 1set g_playerRating_mapPad 50set g_playerRating_minplayers 8set g_stats 0 // Custom configsset g_mapScriptDirectory "mapscripts"set g_campaignFile ""set g_mapConfigs "mapconfigs"set g_banners "banners.cfg" // Miscellanousset g_classweapons 48set g_skills 0set g_teamDamageRestriction 0set g_minHits 6set g_weapons 0set g_mg42 1set g_goomba 0set g_goombaFlags 0set g_spinCorpse 0set g_teamChangeKills 1set g_poison 1set g_poisonFlags 7set g_slashKill 0set g_spectator 0set g_medics 0set g_medicHealthRegen 0set g_coverts 0set g_truePing 0set g_dropObj 0set g_hitsounds 1set g_playDead 1set g_shove 1set g_shoveNoZ 1set g_dragCorpse 0set g_classChange 1set g_forceLimboHealth 1set g_privateMessages 0set g_packDistance 0set g_dropHealth 1set g_dropAmmo 1set g_tossDistance 0set g_fear 2000set g_obituary 1set g_throwableKnives 1set g_maxKnives 5set g_knifeChargeTime 800set g_constructibleXPSharing 0set g_asblock 0set g_panzersVulnerable 0set g_panzersSpeed 2500set g_panzersGravity 0set g_realHead 1set g_dyno 0set g_canisterKick 0set g_spreeOptions 0set g_multikillTime 1000set g_medicSelfhealTime 0set g_maxPanzerSuicides -1set g_panzerPackDistance 0set g_maxSelfkills -1set g_voteResultsMinLevel -1set g_minCommandWaitTime 0set g_noSkillUpgrades 0set g_flushItems 1set g_headshot 0set g_instagibDamage 400set g_staminaRecharge 1.0set g_mineid 0set g_landmineNotifyType 1 //// Weapon damages and radius settingsset g_dmgKnife 10set g_dmgSten 14set g_dmgFG42 15set g_dmgPistol 18set g_dmgSMG 18set g_dmgPPSh 19set g_dmgMG42 18set g_dmgMG 20set g_dmgFG42Scope 30set g_dmgInfRifle 34set g_dmgSniper 50set g_dmgFlamer 5set g_dmgGrenade 250set g_dmgGrenadeRadius 250set g_dmgGLauncher 250set g_dmgGLauncherRadius 250set g_dmgLandmine 250set g_dmgLandmineRadius 250set g_dmgSatchel 250set g_dmgSatchelRadius 250set g_dmgPanzer 400set g_dmgPanzerRadius 300set g_dmgMortar 400set g_dmgMortarRadius 400set g_dmgDynamite 400set g_dmgDynamiteRadius 400set g_dmgAir 400set g_dmgAirRadius 400set g_dmgArty 400set g_dmgArtyRadius 400set g_dmg 0set g_dmgHeadShotMin 50set g_dmgHeadShotRatio 2.0set g_dmgTMine 260set g_knifeThrowDamage 50 //// Team restrictionsset team_maxMedics -1set team_maxEngineers -1set team_maxFieldOps -1set team_maxCovertOps -1set team_maxSoldiers -1set g_maxTeamLandmines 10set g_maxTeamTripmines 3set team_maxPanzers -1set team_maxMortars -1set team_maxFlamers -1set team_maxMG42s -1set team_maxGrenLaunchers -1 //// Friendly fireset g_reflectFriendlyFire 0set g_reflectFFWeapons 31set g_friendlyFireOpts 0 //// Flood protectionset g_floodprotect 1set g_floodthreshold 6set g_floodWait 1000set g_voiceChatsAllowed 4 //// Map votingset g_mapVoteFlags 13set g_maxMapsVotedFor 30set g_minMapAge 5set g_resetXPMapCount 0 //// Omni-botsset omnibot_enable 0set omnibot_path ""set g_bot_maxXP -1set g_bot_minPlayers -1set omnibot_flags 0 //// Fun wars//set g_sniperwar 0//set g_panzerwar 0//set g_riflewar 0 //// Country flags, You need to have GeoIP database installed to use this.set g_countryFlags 0 //// ETPub experimental, not advised to useset g_fixedphysics 0set g_fixedphysicsfps 125 //// Lua APIset lua_modules ""set lua_allowedModules "" exec objectivecycle.cfgset com_watchdog 60set com_watchdog_cmd "exec objectivecycle.cfg" Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 8, 2013 Management Share Posted April 8, 2013 Enable flags 16 and 32 in g_classWeapons http://mygamingtalk.com/wiki/index.php/Silent_Mod_Server_Cvar#g_classWeapons to go around the bug. Ensure that these flags are set with rcon. The reason why this happens is that when the player clicks the team button in the limbo panel, the default class is soldier and if the bottom weapon in the expanding weapon box is not available for selecting, this error will close the client. Note that it happens exactly when clicking the team button. Jakub 1 Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks for your response.I understand why it is happening exactly as you described, I have enabled flags 16 and 32 (to the best of my knowledge) by adding the line: set g_classweapons 48 Is this not sufficient? Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 8, 2013 Management Share Posted April 8, 2013 It should be. You should confirm the value is set using rcon. Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 It should be. You should confirm the value is set using rcon. I have set it to 63 to enable all the settings. I have confirmed this on my running server and yet I still have this problem. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 8, 2013 Management Share Posted April 8, 2013 Make sure you have the correct silent-0.6.3.pk3 file in the server. Also, you have sv_pure in your config set to 0. This should be set to 1, unless you're using the server for map making or something similar. Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks again for your help. I have set the sv_pure back to 1. When I do, I get the following error when trying to connect: Game code (ui_mp_x86.dll) failed Pure Server check. I have verified that silent-0.6.3.pk3 is on the server as well. My goal is to have a working silent server with no punkbuster/etkey required. I'd imagine once I get this working integrating the omnibots shouldn't be too much more work. Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 I tried setting sv_pure to 1 and ran ET as admin. It connected fine but had no evidence of the silent mod except for in the MOTD. So I set sv_pure back to 0. Now I get:BG_IndexForString: unknown token 'PPSH': (animations/scripts/human_base.script, line 22) Not sure what the heck is going on now. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 8, 2013 Management Share Posted April 8, 2013 It sounds like at first it didn't download the silent pk3. Second problem it downloaded it but the game couldn't extract the binaries before you did run the client as an admin. The third issue:BG_IndexForString: unknown token 'PPSH': (animations/scripts/human_base.script, line 22)Happens because the silent cgame is not loaded. Is this on localhost? Make sure you run both client and the server as admin. Make sure you have the qagame in the silent folder of the server. What is the command you use to start the server? Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 I can seem to get everything working but always have that class weapon 0 disabled problem. I am running the server on a vps server and trying to connect from my home pc. Here is my startup script: etded +set dedicated 2 +set sv_punkbuster 0 +set fs_game silent +set fs_homepath /usr/local/games/enemy-territory/silent +exec silent.cfg So to sum up:If I set sv_pure to 0I get silent menus/behaviour but as soon as I select a team it crashes with: class weapon 0 disabled. If I set sv_pure to 1It lets me choose a team fine and play, but there is no silent mod functionality (note the MOTD from silent.cfg IS loaded however). I have silent pk3s locally as I have played on several servers before. Any other information that I can provide that might help figure this out? Maybe I should just reinstall everything from scratch here... Quote Link to comment Share on other sites More sharing options...
clan DIABOLIK Posted April 8, 2013 Share Posted April 8, 2013 (edited) Give the IP to test but ensure server runs only with sv_pure=1, never change it for a "normal" server Edited April 8, 2013 by clan DIABOLIK Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 Sure, give it a try.192.157.59.156 Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 As mentioned before, when I have sv_pure 1 it behaves like a vanilla et server. Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 I tried setting removing the fs_homepath, I cleaned up the config a bit too, still nothing. I may try to start from scratch. Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 (edited) g_gametype will be changed upon restarting.------ Server Initialization ------Server: oasisHunk_Clear: reset the hunk ok----- FS_Startup -----Current search path:/usr/local/games/enemy-territory/silent/usr/local/games/enemy-territory/etmain/pak2.pk3 (22 files)/usr/local/games/enemy-territory/etmain/pak1.pk3 (10 files)/usr/local/games/enemy-territory/etmain/pak0.pk3 (3725 files)/usr/local/games/enemy-territory/etmain/mp_bin.pk3 (6 files)/usr/local/games/enemy-territory/etmain handle 1: etconsole.log----------------------7526 files in pk3 filesSys_LoadDll(/usr/local/games/enemy-territory/silent/qagame.mp.i386.so)... okSys_LoadDll(qagame) found **vmMain** at 0xaf6edb90 Sys_LoadDll(qagame) succeeded!------- Game Initialization -------gamename: etmaingamedate: Mar 10 2005 It seems like it finds the qagame in the mod silent folder... but Game initialization says gamename: etmain Is that right? After it sends the initial heartbeat to server it does this: Hitch warning: 1640 msec frame timeResolving etmaster.idsoftware.cometmaster.idsoftware.com resolved to 192.246.40.60:27950Sending heartbeat to etmaster.idsoftware.com==== ShutdownGame ====ShutdownGame:------------------------------------------------------------Sys_LoadDll(/usr/local/games/enemy-territory/silent/qagame.mp.i386.so)... okSys_LoadDll(qagame) found **vmMain** at 0xaf6afb90 Sys_LoadDll(qagame) succeeded!------- Game Initialization -------gamename: etmaingamedate: Mar 10 2005 Edited April 8, 2013 by Jakub Quote Link to comment Share on other sites More sharing options...
clan DIABOLIK Posted April 8, 2013 Share Posted April 8, 2013 Confirmation: 100% etmain server, did not download any silent pack ... Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 8, 2013 Management Share Posted April 8, 2013 That is indeed intializing etmain. Finding the silent-0.6.3.pk3 is also missing from the log. That should be just above the line /usr/local/games/enemy-territory/silent The log should say this.------- Game Initialization -------gamename: silEnTgamedate: Jan 13 2013402 cvars in use. The server silent folder must have both qagame.mp.i386.so and silent-0.6.3.pk3 for the mod to load. clan DIABOLIK 1 Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks for your help guys. My silent folder on the server contains both the qagame.mp.i386.so and the pk3 file mentioned above. I can't figure out why it isn't loading it properly... Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted April 8, 2013 Management Share Posted April 8, 2013 Just to get rid of the silly things first Are you sure the qagame.mp.i386.so in silent folder is from the silEnT release zip package? Maybe you copied the one from the etmain? Quote Link to comment Share on other sites More sharing options...
Jakub Posted April 9, 2013 Author Share Posted April 9, 2013 Hey all,I redid everything from the start and have everything + bots working as I wanted now. Thanks for all who took the time to help out! Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted April 9, 2013 Management Share Posted April 9, 2013 Glad to hear that Jakub 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.