Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

XPSAVE


  • Please log in to reply
4 replies to this topic

#1
OFFLINE   makavelii

makavelii

    Member

  • Members
  • PipPip
  • 49 posts
35
Getting Better

Hey guys,

I noticed some time ago and aswell as players have reported to me that the XP on the server doesn't save.
Having all the cmds set accordingly to the wiki the xp disappers.

It happens when someone new connects to server and then plays a round, next map is loaded and the XP is gone.
After the second sometimes even third or fourth it starts to save, but not always. One of my members had this kind of problem with the levels. I had to set his levels around 10 times because everytime a new map was loaded his xp + lvl disappeared.
Im wondering if this could be any of buggs in Silent or is there a mistake in my cfg?

 

// 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 sv_hostname *******"
set server_motd0 "******] "
set server_motd1 "*******"
set server_motd2 "^^rWe Are Recruiting!"
set server_motd3 "^1Enjoy your stay!"
set server_motd4 "^5siLeNtMOD running!"
set server_motd5 ""

set sv_maxclients ""
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_wwwBaseURL"******"
set sv_wwwDlDisconnected  "1"
set sv_wwwDownload "1"
set sv_allowDownload "1"
set sv_wwwFallbackURL "*****
set sv_pure 1
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 0
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 1
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 15
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 50
set team_maxplayers 0
set g_speed 340
set g_gravity 650
set g_knockback 1000
set g_inactivity 280
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
set g_redlimbotime 3
set g_userAlliedRespawnTime 3
set g_userAxisRespawnTime 3
set g_bluelimbotime 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 23
// Only stored XP
set g_XPSaveMaxAge_xp "365d"
// Stored XP and all rating values
set g_XPSaveMaxAge "365d"
set g_damageXP "5"
set g_damageXPLevel "50"
set g_maxXP "900000000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"
//set g_punkbuster 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 79

//
// Skill points needed for level
set skill_soldier "20 30 50 100"
set skill_medic "10 30 40 60"
set skill_engineer "20 30 40 60"
set skill_fieldops "20 35 50 60"
set skill_covertops "20 50 90 140"
set skill_battlesense "10 20 30 50"
set skill_lightweapons "20 30 40 50"

set g_serverInfo 1
set g_killRating 1
set g_playerRating 1
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_skills 4
set g_teamDamageRestriction 0
set g_minHits 6
set g_mg42 0
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 80
set g_shoveNoZ 0
set g_dragCorpse 1
set g_classChange 0
set g_forceLimboHealth 1
set g_privateMessages 1
set g_packDistance 2
set g_dropHealth 4
set g_dropAmmo 4
set g_tossDistance 7
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_dyno 0
set g_canisterKick 0
set g_spreeOptions 1
set g_multikillTime 2500
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
set g_misc 199
set g_mod 8
set g_ammoCabinetTime 10 000
set g_healthCabinetTime 10 000
set g_engineerChargeTime 10 000
set g_doubleJumpHeight 1.4
set g_spreeOptions 2751
set g_weapons 17663
set g_gametype 6
set g_adrendmgreduction 50

//
// Weapon damages and radius settings
set g_dmgKnife 50
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
set g_LTChargeTime 15000
set g_medicChargeTime 10000
set g_engineerchargetime 10000
set g_covertopChargeTime 10000


//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps -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 2
set g_dbMaxAliases 5

//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 4

//
// 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 1
set g_resetXPMapCount 0

//
// Omni-bots
set omnibot_enable 1
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 1

//
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"

set g_silentac 1








#2
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

use set g_XPSave 31 it will not keep disapearing unless the other settings are set to tell it to.

On ours we have

// XP Save configuration
set g_XPSave 31  //changed from 21
set g_XPSaveMaxAge_xp "5d"  //changed from "30d"
set g_damageXP "0"  //changed from "1"
set g_damageXPLevel "50"
set g_maxXP -1  //changed from "90000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "0"  //changed from "1"
set g_identOptions 31

with this the xp is save for 5 days but if you reconnect before then the xp is kept, we reset ours using the clearxp command once a month.



#3
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3098 posts
216
On the road to fame
  • LocationPoland

One note from me, instead of setting this value so high

set g_maxXP "900000000"

you can simply set it to -1 to disable it.

 

And 1 more thing not related to the topic:

 

set server_motd4 "^5siLeNtMOD running!

it's silEnT, not siLeNt! :)

 

E and T are for Enemy Territory.



#4
OFFLINE   makavelii

makavelii

    Member

  • Members
  • PipPip
  • 49 posts
35
Getting Better

use set g_XPSave 31 it will not keep disapearing unless the other settings are set to tell it to.

On ours we have

// XP Save configuration
set g_XPSave 31  //changed from 21
set g_XPSaveMaxAge_xp "5d"  //changed from "30d"
set g_damageXP "0"  //changed from "1"
set g_damageXPLevel "50"
set g_maxXP -1  //changed from "90000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "0"  //changed from "1"
set g_identOptions 31

with this the xp is save for 5 days but if you reconnect before then the xp is kept, we reset ours using the clearxp command once a month.

Okay I'll check if 31 works, had 21 before didn't work, i've set it to 23 and didn't work. Have no Idea what the problem is..
But why do the levels disappear with the xp?
+ whats xpdecayfloor
and damagexp?

 

One note from me, instead of setting this value so high

set g_maxXP "900000000"

you can simply set it to -1 to disable it.

 

And 1 more thing not related to the topic:

it's silEnT, not siLeNt! :)

 

E and T are for Enemy Territory.

Yeah, I know I was just bored and really didn't know what to put in there:P
sorry boss, i'll fix it right away so you don't slap me for insulting your work! :D



#5
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

they are for how much xp you lose when you get damaged (shot, knifed or blown up) and how much xp you lose as time passes if your not gaining xp.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users