Jump to content

Xp save dont work when server restart


NiEGaz0wany

Recommended Posts

So what i need to do ?

 

 

FROM SERVER LOG

 

 

*=====DATABASE READY FOR USE

0:02 Lua API: can not open file LVL.lua

0:02 Lua API: can not open file pow.lua

0:02 Lua API: can not open file guid.lua

0:33 === ShutdownGame -------------------------------------------

0:33 *=====CLOSING DATABASE

0:33 Buffers cleaned.

0:33 Big Memory Cache cleaned.

0:33 *=====DATABASE IS CLOSED

0:33 ShutdownGame: done. Closing log.

0:33 --------------------------------------

 

 

and i was set xpSave to 31 and this again doesnt work

Edited by NiEGaz0wany
Link to comment
Share on other sites

  • Management

0:02 Lua API: can not open file LVL.lua
0:02 Lua API: can not open file pow.lua
0:02 Lua API: can not open file guid.lua

 

The Lua files are not in the correct folder. If they were but had errors, the log would have error messages from the Lua interpreter. If it is possible for you to set rconpassword temporarily to something meaningless, I could join the server to do some checks. Don't post it here, but if it is possible I could join the server where you could give it.

Link to comment
Share on other sites

  • Management

No it's not a problem. Just thinking if you are editing in wrong folder. In this instance I would need to get more information to get further. Also excluding different accidental errors. I have tested the age settings you are using and those did work correctly in the tests.

 

and i was set xpSave to 31 and this again doesnt work

 

Try to set it to 9.

 

EDIT:

Tested 31 without issues. (using !nextmap and /rcon timelimit commands)

Link to comment
Share on other sites

9 doesn't work.. hmmm

 

So.. if this is not a problem of settings ... the problem is my host? server is a problem ?

 

 

// 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 "^0|^2GT^0|^2Ganja^0-^2Team ^0@ Zabijaka.pl"
set server_motd0 " ^2Zapr^7a^2szamy!"
set server_motd1 " ^2SK^7=^2warn/^1kick"
set server_motd2 " ^2Cheats/Hacks^7=^1Ban"
set server_motd3 " ^2Przes^7t^2rzegaj Zasad"
set server_motd4 " ^1Duel Tournament^7-^1Zapisy!"
set server_motd5 " ^2g^74^2nj^74^2team.dbv.pl"
set sv_maxclients "20"
set g_password ""
set sv_privateclients 0
set sv_privatepassword ""
set sv_fullmsg "Serwer pelny lecz zaraz zwolni sie miejsce."
set rconpassword ""
set refereePassword ""
set sv_maxRate 25000
set sv_dl_maxRate 42000
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwDlDisconnected 0
set sv_wwwBaseURL "http://s19987.fd.zabijaka.pl/"
set sv_wwwFallbackURL ""
set sv_pure 1
set sv_minping 0
set sv_maxping 0
set g_gametype 6
// 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 0
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 0
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 50
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword ""
set g_spoofOptions 3
set g_maxNameChanges -1
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3
set g_useralliedrespawntime 6
set g_useraxisrespawntime 6
SET g_ammoCabinetTime 20
SET g_healthCabinetTime 20
// Votes
set g_voting 0
set vote_limit 5
set vote_percent 75
set g_noVoteTime 0
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
set vote_allow_map 0
set vote_allow_matchreset 0
set vote_allow_mutespecs 0
set vote_allow_nextmap 1
set vote_allow_pub 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 0
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 1
set vote_allow_antilag 1
set vote_allow_balancedteams 0
set vote_allow_muting 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 0
set vote_allow_maprestart 1
set vote_allow_shufflenorestart 0
set vote_allow_cointoss 0
// Logs
set g_log "server.log"
set logfile 2
set g_logOptions 0
set g_logAdmin "admin.log"
set g_cheatLog "cheat.log"
set g_adminProtection "7"
// XP Save configuration
set g_XPSave 9
set g_XPSaveMaxAge_xp "30d"
set g_XPSaveMaxAge "12o"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "900000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "0"
set g_maxXPResetWarn "0"
//set g_punkbuster 1
// Shrubbot and Database
set g_dbDirectory "database"
set g_dbUserMaxAge "12od"
set g_minConnectLevel "0"
// see documentation about tyranny enabled commands and flags
set g_tyranny "1"
set g_greetingPos "0"
set g_warningOptions "3"
set g_warningDecay "24"
set g_maxWarnings "3"
set g_autoTempBan "0"
set g_autoTempBanTime "1800"
set g_shuffle_rating "1"
//
// 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 15
set g_intermissionReadyPercent 100
//
// Skill points needed for level
set skill_soldier "15 30 45 60"
set skill_medic "15 30 45 60"
set skill_engineer "15 30 45 60"
set skill_fieldops "15 30 45 60"
set skill_covertops "15 30 45 60"
set skill_battlesense "15 30 45 60"
set skill_lightweapons "15 30 45 60"
set g_serverInfo 1
set g_killRating 1
set g_playerRating 1
set g_playerRating_mapPad 50
set g_playerRating_minplayers 4
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 0
set g_teamDamageRestriction 0
set g_minHits 6
set g_weapons 7143
set g_mg42 3
set g_goomba 5
set g_goombaFlags 1
set g_spinCorpse 1
set g_teamChangeKills 1
set g_poison 25
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 1
set g_medics 4
set g_medicHealthRegen 5
set g_coverts 1796
set g_truePing 0
set g_dropObj 0
set g_hitsounds 9
set g_playDead 1
set g_shove 80
set g_shoveNoZ 0
set g_dragCorpse 1
set g_classChange 1
set g_forceLimboHealth 0
set g_privateMessages 1
set g_packDistance 15
set g_dropHealth 4
set g_dropAmmo 4
set g_tossDistance 5
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 1
set g_asblock 26
set g_panzersVulnerable 1
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 31
set g_canisterKick 110
set g_canisterKickOwner 1
set g_spreeOptions 1655
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 1
set g_tactics 0
set g_landmineNotifyType 1
set g_misc 7
set g_extraStatistics 5
//
// Weapon damages and radius settings
set g_dmgKnife 50
set g_dmgSten 17
set g_dmgFG42 18
set g_dmgPistol 21
set g_dmgSMG 21
set g_dmgPPSh 22
set g_dmgMG42 21
set g_dmgMG 23
set g_dmgFG42Scope 35
set g_dmgInfRifle 43
set g_dmgSniper 65
set g_dmgFlamer 7
set g_dmgGrenade 500
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 600
set g_dmgGLauncherRadius 170
set g_dmgLandmine 400
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 350
set g_dmgAir 300
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 37
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 80
//
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps 1
set team_maxCovertOps -1
set g_maxTeamLandmines 35
set g_maxTeamTripmines 8
set team_maxPanzers 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxMG42s 1
set team_maxGrenLaunchers 4
//
// Friendly fire
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 9
//
// 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 1
set omnibot_path "/omni-bot"
set g_bot_maxXP 50000
set g_bot_minPlayers 8
set omnibot_flags 1
//
// 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
//
// ETPub experimental, not advised to use
set g_fixedphysics 0
set g_fixedphysicsfps 125
//
// Lua API
set lua_modules "LVL.lua pow.lua guid.lua"
set lua_allowedModules ""

exec mapvotecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "exec mapvotecycle.cfg"
								   
								   
								   
exec boty.cfg									   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   
								   

 

Again actualy settings

Link to comment
Share on other sites

  • Management

Indeed blackops, I didn't think about it but I did a quick test with 2 exec commands on the command line and it appeared that the second one was not executed.

 

NiEGaz0wany, please try using only one exec in the command line. You can exec several config files by adding "exec silent.cfg" inside the server.cfg for example.

Link to comment
Share on other sites

  • Management
Mapvoting is g_gametype 6. You should fix that in the rotation cfg. Also you should set a cvar only in one cfg file. Will help you later if you make changes. I personally chain execs so that I first exec a generic cfg with some settings that are the same or similar (e.g. sv_x cvars) to all servers I may start up. Inside that file I do exec silent.cfg which is more specific to the mod I'm starting. In the very end I exec mapcycle and set watchdog command.
Link to comment
Share on other sites

  • Management

You can scroll the different scoreboards using the tab button. Just press it couple times quickly and it will change.You can also disable all of the player rating and kill rating from the server side, but remember that commands like listteams and howfair use those values.

 

Take a look at g_playerRating and g_killRating to disable them completely.

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