Jump to content

Cannot select a team


Jakub

Recommended Posts

 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 0
pb_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 0
set sv_privatepassword ""
set sv_fullmsg "Server is full."
 
set rconpassword ""
set refereePassword ""
 
set sv_maxRate 45000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 1
set sv_wwwBaseURL ""
set sv_wwwFallbackURL ""
 
set sv_pure 0
set sv_minping 0
set sv_maxping 0
 
// silEnT mod supported cvars
 
set g_antilag 1
set g_antiwarp 1
set g_maxWarp 4
set g_skipCorrection 1
set g_heavyWeaponRestriction 100
set g_altStopwatchMode 0
set g_autofireteams 1
set g_complaintlimit 6
set g_ipcomplaintlimit 3
set g_fastres 0
set g_friendlyFire 1
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 30
set match_latejoin "1"
set match_minplayers 1
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 320
set g_gravity 800
set g_knockback 1000
set g_inactivity 0
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword ""
set g_spoofOptions 3
set g_maxNameChanges 3
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3
 
// Votes
set g_voting 0
set vote_limit 5
set vote_percent 50
set g_noVoteTime 0
set vote_allow_comp 1
set vote_allow_gametype 1
set vote_allow_kick 1
set vote_allow_map 1
set vote_allow_matchreset 1
set vote_allow_mutespecs 1
set vote_allow_nextmap 1
set vote_allow_pub 1
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 1
set vote_allow_friendlyfire 1
set vote_allow_timelimit 0
set vote_allow_warmupdamage 1
set vote_allow_antilag 1
set vote_allow_balancedteams 1
set vote_allow_muting 1
set vote_allow_surrender 1
set vote_allow_nextcampaign 1
set vote_allow_restartcampaign 1
set vote_allow_poll 1
set vote_allow_maprestart 1
set vote_allow_shufflenorestart 1
set vote_allow_cointoss 1
 
// Logs
set g_log "server.log"
set g_cheatLog "cheat.log"
set logfile 2
set g_logOptions 0
set g_logAdmin "admin.log"
 
// XP Save configuration
set g_XPSave 21
// Only stored XP
set g_XPSaveMaxAge_xp "30d"
// Stored XP and all rating values
set 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 Database
set g_dbDirectory "database"
set g_dbUserMaxAge "90d"
set g_minConnectLevel 0
// see documentation about tyranny enabled commands and flags
set g_tyranny 1
set g_greetingPos 0
set g_warningOptions 0
set g_warningDecay 24
set g_maxWarnings 3
set g_autoTempBan 0
set g_autoTempBanTime 1800
 
set g_shuffle_rating 3
 
//
// Censoring
set g_censor ""
set g_censorNames ""
set g_censorNeil 0
set g_censorNeilNames 0
set g_censorPenalty 0
set g_censorMuteTime 60
set g_censorXP 5
 
//
// Intermission
set g_intermissionTime 30
set g_intermissionReadyPercent 100
 
//
// Skill points needed for level
set 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 1
set g_killRating 1
set g_playerRating 1
set g_playerRating_mapPad 50
set g_playerRating_minplayers 8
set g_stats 0
 
 
// Custom configs
set g_mapScriptDirectory "mapscripts"
set g_campaignFile ""
set g_mapConfigs "mapconfigs"
set g_banners "banners.cfg"
 
 
// Miscellanous
set g_classweapons 48
set g_skills 0
set g_teamDamageRestriction 0
set g_minHits 6
set g_weapons 0
set g_mg42 1
set g_goomba 0
set g_goombaFlags 0
set g_spinCorpse 0
set g_teamChangeKills 1
set g_poison 1
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 0
set g_medics 0
set g_medicHealthRegen 0
set g_coverts 0
set g_truePing 0
set g_dropObj 0
set g_hitsounds 1
set g_playDead 1
set g_shove 1
set g_shoveNoZ 1
set g_dragCorpse 0
set g_classChange 1
set g_forceLimboHealth 1
set g_privateMessages 0
set g_packDistance 0
set g_dropHealth 1
set g_dropAmmo 1
set g_tossDistance 0
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 0
set g_asblock 0
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 0
set g_canisterKick 0
set g_spreeOptions 0
set g_multikillTime 1000
set g_medicSelfhealTime 0
set g_maxPanzerSuicides -1
set g_panzerPackDistance 0
set g_maxSelfkills -1
set g_voteResultsMinLevel -1
set g_minCommandWaitTime 0
set g_noSkillUpgrades 0
set g_flushItems 1
set g_headshot 0
set g_instagibDamage 400
set g_staminaRecharge 1.0
set g_mineid 0
set g_landmineNotifyType 1
 
//
// Weapon damages and radius settings
set g_dmgKnife 10
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgPPSh 19
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 0
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 50
 
//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps -1
set team_maxSoldiers -1
set g_maxTeamLandmines 10
set g_maxTeamTripmines 3
set team_maxPanzers -1
set team_maxMortars -1
set team_maxFlamers -1
set team_maxMG42s -1
set team_maxGrenLaunchers -1
 
//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 0
 
//
// Flood protection
set g_floodprotect 1
set g_floodthreshold 6
set g_floodWait 1000
set g_voiceChatsAllowed 4
 
//
// Map voting
set g_mapVoteFlags 13
set g_maxMapsVotedFor 30
set g_minMapAge 5
set g_resetXPMapCount 0
 
//
// Omni-bots
set omnibot_enable 0
set omnibot_path ""
set g_bot_maxXP -1
set g_bot_minPlayers -1
set 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 use
set g_fixedphysics 0
set g_fixedphysicsfps 125
 
//
// Lua API
set lua_modules ""
set lua_allowedModules ""
 
exec objectivecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "exec objectivecycle.cfg"
Link to comment
Share on other sites

  • Management

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Management

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?

Link to comment
Share on other sites

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 0

I 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 1

It 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...

Link to comment
Share on other sites

 g_gametype will be changed upon restarting.

------ Server Initialization ------
Server: oasis
Hunk_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 files
Sys_LoadDll(/usr/local/games/enemy-territory/silent/qagame.mp.i386.so)... ok
Sys_LoadDll(qagame) found **vmMain** at  0xaf6edb90  
Sys_LoadDll(qagame) succeeded!
------- Game Initialization -------
gamename: etmain
gamedate: 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 time
Resolving etmaster.idsoftware.com
etmaster.idsoftware.com resolved to 192.246.40.60:27950
Sending heartbeat to etmaster.idsoftware.com
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
Sys_LoadDll(/usr/local/games/enemy-territory/silent/qagame.mp.i386.so)... ok
Sys_LoadDll(qagame) found **vmMain** at  0xaf6afb90  
Sys_LoadDll(qagame) succeeded!
------- Game Initialization -------
gamename: etmain
gamedate: Mar 10 2005
Edited by Jakub
Link to comment
Share on other sites

  • Management

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: silEnT
gamedate: Jan 13 2013
402 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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...